Comment 2 for bug 1477486

Revision history for this message
Daisuke Nakajima (dnakajima) wrote :

Virtual-network JSON
{
    "virtual-network": {
        "display_name": "NoDHCP",
        "flood_unknown_unicast": false,
        "fq_name": [
            "default-domain",
            "demo",
            "NoDHCP"
        ],
        "href": "http://172.27.113.209:8082/virtual-network/a60b8b08-640e-497d-a21f-3f819d9b7a01",
        "id_perms": {
            "created": "2015-07-23T09:55:06.543704",
            "creator": null,
            "description": null,
            "enable": true,
            "last_modified": "2015-07-23T09:55:06.805423",
            "permissions": {
                "group": "admin",
                "group_access": 7,
                "other_access": 7,
                "owner": "admin",
                "owner_access": 7
            },
            "user_visible": true,
            "uuid": {
                "uuid_lslong": 11682125784349899265,
                "uuid_mslong": 11964809703194511741
            }
        },
        "instance_ip_back_refs": [
            {
                "attr": null,
                "href": "http://172.27.113.209:8082/instance-ip/1907ef8e-32a2-495a-bdab-19960cb89fc6",
                "to": [
                    "1907ef8e-32a2-495a-bdab-19960cb89fc6"
                ],
                "uuid": "1907ef8e-32a2-495a-bdab-19960cb89fc6"
            },
            {
                "attr": null,
                "href": "http://172.27.113.209:8082/instance-ip/1952c1de-ae33-489b-b44f-8b8739e8c500",
                "to": [
                    "1952c1de-ae33-489b-b44f-8b8739e8c500"
                ],
                "uuid": "1952c1de-ae33-489b-b44f-8b8739e8c500"
            }
        ],
        "is_shared": false,
        "name": "NoDHCP",
        "network_ipam_refs": [
            {
                "attr": {
                    "ipam_subnets": [
                        {
                            "addr_from_start": true,
                            "allocation_pools": [],
                            "default_gateway": "20.0.0.1",
                            "dhcp_option_list": {
                                "dhcp_option": [
                                    {
                                        "dhcp_option_name": "6",
                                        "dhcp_option_value": "0.0.0.0"
                                    }
                                ]
                            },
                            "dns_server_address": "20.0.0.2",
                            "enable_dhcp": false,
                            "host_routes": {
                                "route": []
                            },
                            "subnet": {
                                "ip_prefix": "20.0.0.0",
                                "ip_prefix_len": 24
                            },
                            "subnet_uuid": "0b5a3608-57b4-454a-9475-552bf27b7d7b"
                        }
                    ]
                },
                "href": "http://172.27.113.209:8082/network-ipam/644962c8-b54f-497b-b3b1-7cb901fe59b6",
                "to": [
                    "default-domain",
                    "default-project",
                    "default-network-ipam"
                ],
                "uuid": "644962c8-b54f-497b-b3b1-7cb901fe59b6"
            }
        ],
        "parent_href": "http://172.27.113.209:8082/project/c05418b9-2f32-47f3-a085-a004dae65e49",
        "parent_type": "project",
        "parent_uuid": "c05418b9-2f32-47f3-a085-a004dae65e49",
        "route_target_list": {},
        "router_external": false,
        "routing_instances": [
            {
                "href": "http://172.27.113.209:8082/routing-instance/c6f8491c-cb3e-49d9-9223-a8ea8dbeb1a6",
                "to": [
                    "default-domain",
                    "demo",
                    "NoDHCP",
                    "NoDHCP"
                ],
                "uuid": "c6f8491c-cb3e-49d9-9223-a8ea8dbeb1a6"
            }
        ],
        "uuid": "a60b8b08-640e-497d-a21f-3f819d9b7a01",
        "virtual_machine_interface_back_refs": [
            {
                "attr": null,
                "href": "http://172.27.113.209:8082/virtual-machine-interface/5d4a419d-906a-4179-a54a-6fe66f1df8b7",
                "to": [
                    "default-domain",
                    "demo",
                    "5d4a419d-906a-4179-a54a-6fe66f1df8b7"
                ],
                "uuid": "5d4a419d-906a-4179-a54a-6fe66f1df8b7"
            },
            {
                "attr": null,
                "href": "http://172.27.113.209:8082/virtual-machine-interface/cbeefe78-96ff-4612-b62d-e5eeaf908413",
                "to": [
                    "default-domain",
                    "demo",
                    "cbeefe78-96ff-4612-b62d-e5eeaf908413"
                ],
                "uuid": "cbeefe78-96ff-4612-b62d-e5eeaf908413"
            }
        ],
        "virtual_network_network_id": 12,
        "virtual_network_properties": {
            "allow_transit": false,
            "forwarding_mode": "l2_l3"
        }
    }
}