bugtool: Add verbose service json dump
bugtool: Add verbose service json dump

Useful to gather all API data from the agent PoV, e.g.:

  # ./cilium/cilium service list -o=json
  [
    {
      "spec": {
        "backend-addresses": [
          {
            "ip": "2a03:2880:f11c:8183:face:b00c:0:25de",
            "port": 80
          }
        ],
        "flags": {
          "natPolicy": "Nat46",
          "trafficPolicy": "Cluster",
          "type": "ExternalIPs"
        },
        "frontend-address": {
          "ip": "192.168.178.91",
          "port": 8082,
          "scope": "external"
        },
        "id": 11
      },
      "status": {
        "realized": {
          "backend-addresses": [
            {
              "ip": "2a03:2880:f11c:8183:face:b00c:0:25de",
              "port": 80
            }
          ],
          "flags": {
            "natPolicy": "Nat46",
            "trafficPolicy": "Cluster",
            "type": "ExternalIPs"
          },
          "frontend-address": {
            "ip": "192.168.178.91",
            "port": 8082,
            "scope": "external"
          },
          "id": 11
        }
      }
    },
    {
      "spec": {
        "backend-addresses": [
          {
            "ip": "1.1.1.1",
            "port": 80
          }
        ],
        "flags": {
          "natPolicy": "Nat64",
          "trafficPolicy": "Cluster",
          "type": "ExternalIPs"
        },
        "frontend-address": {
          "ip": "2001:1620:665:0:1ac0:4dff:fe09:c164",
          "port": 8080,
          "scope": "external"
        },
        "id": 8
      },
      "status": {
        "realized": {
          "backend-addresses": [
            {
              "ip": "1.1.1.1",
              "port": 80
            }
          ],
          "flags": {
            "natPolicy": "Nat64",
            "trafficPolicy": "Cluster",
            "type": "ExternalIPs"
          },
          "frontend-address": {
            "ip": "2001:1620:665:0:1ac0:4dff:fe09:c164",
            "port": 8080,
            "scope": "external"
          },
          "id": 8
        }
      }
    }
  ]

Signed-off-by: Daniel Borkmann <3d0f3b9ddcacec30c4008c5e030e6c13a478cb4f@iogearbox.net>

cilium/cilium,cilium/cilium,cilium/cilium,cilium/cilium,michi-covalent/cilium,michi-covalent/cilium,michi-covalent/cilium,michi-covalent/cilium,michi-covalent/cilium,cilium/cilium