Comment 1 for bug 1354314

Revision history for this message
Rahul (rahuls) wrote :

Response from webui server
========================
{
virtual-network: {
virtual_network_properties: {
network_id: 7,
vxlan_network_identifier: null,
forwarding_mode: "l2",
extend_to_external_routers: null
},
is_shared: false,
fq_name: [
"default-domain",
"admin",
"rahul1"
],
uuid: "f1e188df-402c-448e-8607-c19b8a7f8fa6",
router_external: false,
parent_uuid: "2d933e19-2848-4f45-9cf0-d65ef2d9cdbb",
parent_href: "http://10.204.216.59:9100/project/2d933e19-2848-4f45-9cf0-d65ef2d9cdbb",
parent_type: "project",
id_perms: {
enable: "true",
description: null,
created: "2014-08-08T07:55:53.900727",
uuid: {
uuid_mslong: 17429362525336259000,
uuid_lslong: 9657900799707025000
},
last_modified: "2014-08-08T08:00:32.943633",
permissions: {
owner: "cloud-admin",
owner_access: 7,
other_access: 7,
group: "cloud-admin-group",
group_access: 7
}
},
network_ipam_refs: [
{
subnet: {
ipam_subnet: "5.6.2.0/24",
default_gateway: "5.6.2.254",
enable_dhcp: true,
dns_nameservers: [ ],
allocation_pools: [
{
start: "5.6.2.2",
end: "5.6.2.100"
},
{
start: "5.6.2.120",
end: "5.6.2.133"
}
],
host_routes: {
route: [
{
prefix: "7.7.7.0/24",
next_hop: "3.3.3.1",
next_hop_type: null
},
{
prefix: "32.3.2.0/24",
next_hop: "5.5.5.11",
next_hop_type: null
}
]
},
dhcp_option_list: {
dhcp_option: [
{
dhcp_option_value: "8.8.8.8",
dhcp_option_name: "6"
},
{
dhcp_option_value: "9.9.9.9",
dhcp_option_name: "6"
},
{
dhcp_option_value: "13.2.1.1",
dhcp_option_name: "6"
}
]
},
ipam: [
"default-domain",
"default-project",
"default-network-ipam"
]
}
},
{
subnet: {
ipam_subnet: "13.22.1.0/24",
default_gateway: "13.22.1.1",
enable_dhcp: true,
dns_nameservers: [ ],
allocation_pools: [ ],
host_routes: "",
dhcp_option_list: {
dhcp_option: [
{
dhcp_option_value: "84.1.1.2",
dhcp_option_name: "6"
}
]
},
ipam: [
"default-domain",
"default-project",
"default-network-ipam"
]
}
},
{
subnet: {
ipam_subnet: "44.55.6.0/24",
default_gateway: "44.55.6.1",
enable_dhcp: true,
dns_nameservers: [ ],
allocation_pools: [ ],
host_routes: "",
dhcp_option_list: {
dhcp_option: [
{
dhcp_option_value: "33.21.66.5",
dhcp_option_name: "6"
}
]
},
ipam: [
"default-domain",
"default-project",
"default-network-ipam"
]
}
}
],
name: "rahul1"
}

Response from API server:
========================
{
  "virtual-network": {
    "virtual_network_properties": {
      "network_id": 7,
      "vxlan_network_identifier": null,
      "forwarding_mode": "l2",
      "extend_to_external_routers": null
    },
    "is_shared": false,
    "fq_name": [
      "default-domain",
      "admin",
      "rahul1"
    ],
    "uuid": "f1e188df-402c-448e-8607-c19b8a7f8fa6",
    "router_external": false,
    "parent_uuid": "2d933e19-2848-4f45-9cf0-d65ef2d9cdbb",
    "parent_href": "http://nodec2:8082/project/2d933e19-2848-4f45-9cf0-d65ef2d9cdbb",
    "parent_type": "project",
    "href": "http://nodec2:8082/virtual-network/f1e188df-402c-448e-8607-c19b8a7f8fa6",
    "id_perms": {
      "enable": "true",
      "description": null,
      "created": "2014-08-08T07:55:53.900727",
      "uuid": {
        "uuid_mslong": 17429362525336259000,
        "uuid_lslong": 9657900799707025000
      },
      "last_modified": "2014-08-08T08:00:32.943633",
      "permissions": {
        "owner": "cloud-admin",
        "owner_access": 7,
        "other_access": 7,
        "group": "cloud-admin-group",
        "group_access": 7
      }
    },
    "routing_instances": [
      {
        "to": [
          "default-domain",
          "admin",
          "rahul1",
          "rahul1"
        ],
        "href": "http://nodec2:8082/routing-instance/5ba69fc9-b627-4d3d-9659-d0089f4396c8",
        "uuid": "5ba69fc9-b627-4d3d-9659-d0089f4396c8"
      }
    ],
    "network_ipam_refs": [
      {
        "to": [
          "default-domain",
          "default-project",
          "default-network-ipam"
        ],
        "href": "http://nodec2:8082/network-ipam/a300bc93-402e-4816-91e7-6c490211262c",
        "attr": {
          "ipam_subnets": [
            {
              "subnet": {
                "ip_prefix": "5.6.2.0",
                "ip_prefix_len": 24
              },
              "enable_dhcp": true,
              "default_gateway": "5.6.2.254",
              "dns_nameservers": [],
              "allocation_pools": [
                {
                  "start": "5.6.2.2",
                  "end": "5.6.2.100"
                },
                {
                  "start": "5.6.2.120",
                  "end": "5.6.2.133"
                }
              ],
              "subnet_uuid": null,
              "dhcp_option_list": {
                "dhcp_option": [
                  {
                    "dhcp_option_value": "8.8.8.8",
                    "dhcp_option_name": "6"
                  },
                  {
                    "dhcp_option_value": "9.9.9.9",
                    "dhcp_option_name": "6"
                  },
                  {
                    "dhcp_option_value": "13.2.1.1",
                    "dhcp_option_name": "6"
                  }
                ]
              },
              "host_routes": {
                "route": [
                  {
                    "prefix": "7.7.7.0/24",
                    "next_hop": "3.3.3.1",
                    "next_hop_type": null
                  },
                  {
                    "prefix": "32.3.2.0/24",
                    "next_hop": "5.5.5.11",
                    "next_hop_type": null
                  }
                ]
              },
              "addr_from_start": true,
              "subnet_name": ""
            },
            {
              "subnet": {
                "ip_prefix": "13.22.1.0",
                "ip_prefix_len": 24
              },
              "enable_dhcp": true,
              "default_gateway": "13.22.1.1",
              "dns_nameservers": [],
              "allocation_pools": [],
              "subnet_uuid": null,
              "dhcp_option_list": {
                "dhcp_option": [
                  {
                    "dhcp_option_value": "84.1.1.2",
                    "dhcp_option_name": "6"
                  }
                ]
              },
              "host_routes": null,
              "addr_from_start": true,
              "subnet_name": ""
            },
            {
              "subnet": {
                "ip_prefix": "44.55.6.0",
                "ip_prefix_len": 24
              },
              "enable_dhcp": true,
              "default_gateway": "44.55.6.1",
              "dns_nameservers": [],
              "allocation_pools": [],
              "subnet_uuid": null,
              "dhcp_option_list": {
                "dhcp_option": [
                  {
                    "dhcp_option_value": "33.21.66.5",
                    "dhcp_option_name": "6"
                  }
                ]
              },
              "host_routes": null,
              "addr_from_start": true,
              "subnet_name": ""
            }
          ],
          "host_routes": null
        },
        "uuid": "a300bc93-402e-4816-91e7-6c490211262c"
      }
    ],
    "name": "rahul1"
  }
}