Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Current »

Documentation: http://172.25.11.3:8082/documentation/rest_details.html#listing-resources

List the virtual-networks: http://172.25.11.3:8082/virtual-networks

detail virtual networks vN-A:

http://172.25.11.3:8082/virtual-network/71d43219-6dee-4a19-8071-b4b4c6597988

List virtual-Machines: http://172.25.11.3:8082/virtual-machines

List network policy: http://172.25.11.3:8082/network-policy

 

list virtual-networks

{"virtual-networks": [{"href": "http://172.25.11.3:8082/virtual-network/e4a8ed96-0dfd-4f17-83ea-31e3e9831f9f", "fq_name": ["default-domain", "default-project", "fabric1-management-network"], "uuid": "e4a8ed96-0dfd-4f17-83ea-31e3e9831f9f"}, {"href": "http://172.25.11.3:8082/virtual-network/78fe638c-550b-4969-8bb5-1838e420f769", "fq_name": ["default-domain", "default-project", "__link_local__"], "uuid": "78fe638c-550b-4969-8bb5-1838e420f769"}, {"href": "http://172.25.11.3:8082/virtual-network/64526d96-3b12-423a-9903-36329b3f7990", "fq_name": ["default-domain", "default-project", "_internal_vn_ipv6_link_local"], "uuid": "64526d96-3b12-423a-9903-36329b3f7990"}, {"href": "http://172.25.11.3:8082/virtual-network/71d43219-6dee-4a19-8071-b4b4c6597988", "fq_name": ["default-domain", "admin", "vN-A"], "uuid": "71d43219-6dee-4a19-8071-b4b4c6597988"}, {"href": "http://172.25.11.3:8082/virtual-network/a2261119-bd3f-40be-91c6-037e1c7a74d3", "fq_name": ["default-domain", "default-project", "default-virtual-network"], "uuid": "a2261119-bd3f-40be-91c6-037e1c7a74d3"}, {"href": "http://172.25.11.3:8082/virtual-network/05a9d341-c708-489c-abf9-96a2b79b5e0c", "fq_name": ["default-domain", "default-project", "fabric2-loopback-network"], "uuid": "05a9d341-c708-489c-abf9-96a2b79b5e0c"}, {"href": "http://172.25.11.3:8082/virtual-network/9e277c11-4563-40c6-8f6e-0a5d611a304c", "fq_name": ["default-domain", "default-project", "fabric2-management-network"], "uuid": "9e277c11-4563-40c6-8f6e-0a5d611a304c"}, {"href": "http://172.25.11.3:8082/virtual-network/07816798-0bec-4355-90aa-3548d8242d43", "fq_name": ["default-domain", "default-project", "dci-network"], "uuid": "07816798-0bec-4355-90aa-3548d8242d43"}, {"href": "http://172.25.11.3:8082/virtual-network/553d284b-5114-49ea-8f2c-03afb53c1301", "fq_name": ["default-domain", "default-project", "fabric1-loopback-network"], "uuid": "553d284b-5114-49ea-8f2c-03afb53c1301"}, {"href": "http://172.25.11.3:8082/virtual-network/9a868e06-fe3f-4a62-b035-4c8206ec19f9", "fq_name": ["default-domain", "admin", "vN-B"], "uuid": "9a868e06-fe3f-4a62-b035-4c8206ec19f9"}, {"href": "http://172.25.11.3:8082/virtual-network/a3efb33e-a854-49a4-beb3-eae3ad4d7fcd", "fq_name": ["default-domain", "default-project", "ip-fabric"], "uuid": "a3efb33e-a854-49a4-beb3-eae3ad4d7fcd"}]}

{
  "virtual-networks": [
    {
      "href": "http://172.25.11.3:8082/virtual-network/e4a8ed96-0dfd-4f17-83ea-31e3e9831f9f",
      "fq_name": [
        "default-domain",
        "default-project",
        "fabric1-management-network"
      ],
      "uuid": "e4a8ed96-0dfd-4f17-83ea-31e3e9831f9f"
    },
    {
      "href": "http://172.25.11.3:8082/virtual-network/78fe638c-550b-4969-8bb5-1838e420f769",
      "fq_name": [
        "default-domain",
        "default-project",
        "__link_local__"
      ],
      "uuid": "78fe638c-550b-4969-8bb5-1838e420f769"
    },
    {
      "href": "http://172.25.11.3:8082/virtual-network/64526d96-3b12-423a-9903-36329b3f7990",
      "fq_name": [
        "default-domain",
        "default-project",
        "_internal_vn_ipv6_link_local"
      ],
      "uuid": "64526d96-3b12-423a-9903-36329b3f7990"
    },
    {
      "href": "http://172.25.11.3:8082/virtual-network/71d43219-6dee-4a19-8071-b4b4c6597988",
      "fq_name": [
        "default-domain",
        "admin",
        "vN-A"
      ],
      "uuid": "71d43219-6dee-4a19-8071-b4b4c6597988"
    },
    {
      "href": "http://172.25.11.3:8082/virtual-network/a2261119-bd3f-40be-91c6-037e1c7a74d3",
      "fq_name": [
        "default-domain",
        "default-project",
        "default-virtual-network"
      ],
      "uuid": "a2261119-bd3f-40be-91c6-037e1c7a74d3"
    },
    {
      "href": "http://172.25.11.3:8082/virtual-network/05a9d341-c708-489c-abf9-96a2b79b5e0c",
      "fq_name": [
        "default-domain",
        "default-project",
        "fabric2-loopback-network"
      ],
      "uuid": "05a9d341-c708-489c-abf9-96a2b79b5e0c"
    },
    {
      "href": "http://172.25.11.3:8082/virtual-network/9e277c11-4563-40c6-8f6e-0a5d611a304c",
      "fq_name": [
        "default-domain",
        "default-project",
        "fabric2-management-network"
      ],
      "uuid": "9e277c11-4563-40c6-8f6e-0a5d611a304c"
    },
    {
      "href": "http://172.25.11.3:8082/virtual-network/07816798-0bec-4355-90aa-3548d8242d43",
      "fq_name": [
        "default-domain",
        "default-project",
        "dci-network"
      ],
      "uuid": "07816798-0bec-4355-90aa-3548d8242d43"
    },
    {
      "href": "http://172.25.11.3:8082/virtual-network/553d284b-5114-49ea-8f2c-03afb53c1301",
      "fq_name": [
        "default-domain",
        "default-project",
        "fabric1-loopback-network"
      ],
      "uuid": "553d284b-5114-49ea-8f2c-03afb53c1301"
    },
    {
      "href": "http://172.25.11.3:8082/virtual-network/9a868e06-fe3f-4a62-b035-4c8206ec19f9",
      "fq_name": [
        "default-domain",
        "admin",
        "vN-B"
      ],
      "uuid": "9a868e06-fe3f-4a62-b035-4c8206ec19f9"
    },
    {
      "href": "http://172.25.11.3:8082/virtual-network/a3efb33e-a854-49a4-beb3-eae3ad4d7fcd",
      "fq_name": [
        "default-domain",
        "default-project",
        "ip-fabric"
      ],
      "uuid": "a3efb33e-a854-49a4-beb3-eae3ad4d7fcd"
    }
  ]
}

virtual-Machines

{"virtual-machines": [{"href": "http://172.25.11.3:8082/virtual-machine/9e6d6bd4-f0d5-46e4-b847-dec8f7d75b04", "fq_name": ["9e6d6bd4-f0d5-46e4-b847-dec8f7d75b04"], "uuid": "9e6d6bd4-f0d5-46e4-b847-dec8f7d75b04"}, {"href": "http://172.25.11.3:8082/virtual-machine/93f6a07c-e87c-41bd-a203-a9872e6b1511", "fq_name": ["93f6a07c-e87c-41bd-a203-a9872e6b1511"], "uuid": "93f6a07c-e87c-41bd-a203-a9872e6b1511"}]}

detail virtual network

{
  "virtual-network": {
    "parent_uuid": "7f8d69d6-647b-4751-8f0f-d29e45a31bfc",
    "address_allocation_mode": "user-defined-subnet-only",
    "igmp_enable": false,
    "parent_type": "project",
    "route_target_list": null,
    "href": "http://172.25.11.3:8082/virtual-network/71d43219-6dee-4a19-8071-b4b4c6597988",
    "mac_learning_enabled": false,
    "fabric_snat": false,
    "pbb_etree_enable": false,
    "display_name": "vN-A",
    "uuid": "71d43219-6dee-4a19-8071-b4b4c6597988",
    "id_perms": {
      "enable": true,
      "description": null,
      "creator": null,
      "created": "2020-05-31T17:30:17.760329",
      "user_visible": true,
      "last_modified": "2020-05-31T17:34:06.717985",
      "permissions": {
        "owner": "cloud-admin",
        "owner_access": 7,
        "other_access": 7,
        "group": "cloud-admin-group",
        "group_access": 7
      },
      "uuid": {
        "uuid_mslong": 8202235906148421000,
        "uuid_lslong": 9255377397737945000
      }
    },
    "instance_ip_back_refs": [
      {
        "to": [
          "f3c27315-a741-4adb-9e5f-9a8be88bb10a"
        ],
        "href": "http://172.25.11.3:8082/instance-ip/f3c27315-a741-4adb-9e5f-9a8be88bb10a",
        "attr": null,
        "uuid": "f3c27315-a741-4adb-9e5f-9a8be88bb10a"
      }
    ],
    "multi_policy_service_chains_enabled": false,
    "virtual_network_properties": {
      "mirror_destination": false,
      "allow_transit": false,
      "rpf": "enable"
    },
    "ecmp_hashing_include_fields": {},
    "virtual_machine_interface_back_refs": [
      {
        "to": [
          "default-domain",
          "admin",
          "f82d9410-8ae4-412d-8001-43b9bff2c2c3"
        ],
        "href": "http://172.25.11.3:8082/virtual-machine-interface/f82d9410-8ae4-412d-8001-43b9bff2c2c3",
        "attr": null,
        "uuid": "f82d9410-8ae4-412d-8001-43b9bff2c2c3"
      }
    ],
    "network_policy_refs": [
      {
        "to": [
          "default-domain",
          "admin",
          "vNA-to-vNB"
        ],
        "href": "http://172.25.11.3:8082/network-policy/a55d7927-70a2-4c11-b0b9-2ba95520d91e",
        "attr": {
          "timer": null,
          "sequence": {
            "major": 0,
            "minor": 0
          }
        },
        "uuid": "a55d7927-70a2-4c11-b0b9-2ba95520d91e"
      }
    ],
    "parent_href": "http://172.25.11.3:8082/project/7f8d69d6-647b-4751-8f0f-d29e45a31bfc",
    "import_route_target_list": null,
    "perms2": {
      "owner": "7f8d69d6647b47518f0fd29e45a31bfc",
      "owner_access": 7,
      "global_access": 0,
      "share": []
    },
    "fq_name": [
      "default-domain",
      "admin",
      "vN-A"
    ],
    "routing_instances": [
      {
        "to": [
          "default-domain",
          "admin",
          "vN-A",
          "vN-A"
        ],
        "href": "http://172.25.11.3:8082/routing-instance/be71889b-fff9-46a7-87a9-637eb4132f4b",
        "uuid": "be71889b-fff9-46a7-87a9-637eb4132f4b"
      }
    ],
    "virtual_network_network_id": 10,
    "provider_properties": null,
    "name": "vN-A",
    "access_control_lists": [
      {
        "to": [
          "default-domain",
          "admin",
          "vN-A",
          "vN-A"
        ],
        "href": "http://172.25.11.3:8082/access-control-list/7a3fcc68-d06c-4c49-b8d5-133dd1967ef0",
        "uuid": "7a3fcc68-d06c-4c49-b8d5-133dd1967ef0"
      }
    ],
    "router_external": false,
    "pbb_evpn_enable": false,
    "export_route_target_list": null,
    "flood_unknown_unicast": false,
    "layer2_control_word": false,
    "network_ipam_refs": [
      {
        "to": [
          "default-domain",
          "default-project",
          "default-network-ipam"
        ],
        "href": "http://172.25.11.3:8082/network-ipam/f14785f2-b6c0-4256-9212-a791b69185ae",
        "attr": {
          "ipam_subnets": [
            {
              "subnet": {
                "ip_prefix": "10.10.10.0",
                "ip_prefix_len": 24
              },
              "dns_server_address": "10.10.10.2",
              "enable_dhcp": true,
              "default_gateway": "10.10.10.1",
              "subnet_uuid": "846f4585-1f04-48da-b13e-b34290c93ebf",
              "subnet_name": "846f4585-1f04-48da-b13e-b34290c93ebf",
              "addr_from_start": true,
              "host_routes": {
                "route": []
              }
            }
          ]
        },
        "uuid": "f14785f2-b6c0-4256-9212-a791b69185ae"
      }
    ],
    "is_shared": false
  }
}

  • No labels