41c45e4ba0
The fake networks use a pre-serialized timestamp in str(datetime) format which which doesn't give us the opportunity to test the serialization code properly and isn't the format use in practice. Use real dateime objects instead. Full context here: http://lists.openstack.org/pipermail/openstack-dev/2014-April/033971.html Change-Id: I5cbe722fb59cdd326b4c75dcfea14f206d71f668
64 lines
2.0 KiB
JSON
64 lines
2.0 KiB
JSON
{
|
|
"networks": [
|
|
{
|
|
"bridge": "br100",
|
|
"bridge_interface": "eth0",
|
|
"broadcast": "10.0.0.7",
|
|
"cidr": "10.0.0.0/29",
|
|
"cidr_v6": null,
|
|
"created_at": "2011-08-15T06:19:19.387525",
|
|
"deleted": false,
|
|
"deleted_at": null,
|
|
"dhcp_start": "10.0.0.3",
|
|
"dns1": null,
|
|
"dns2": null,
|
|
"gateway": "10.0.0.1",
|
|
"gateway_v6": null,
|
|
"host": "nsokolov-desktop",
|
|
"id": "20c8acc0-f747-4d71-a389-46d078ebf047",
|
|
"injected": false,
|
|
"label": "mynet_0",
|
|
"multi_host": false,
|
|
"netmask": "255.255.255.248",
|
|
"netmask_v6": null,
|
|
"priority": null,
|
|
"project_id": "1234",
|
|
"rxtx_base": null,
|
|
"updated_at": "2011-08-16T09:26:13.048257",
|
|
"vlan": 100,
|
|
"vpn_private_address": "10.0.0.2",
|
|
"vpn_public_address": "127.0.0.1",
|
|
"vpn_public_port": 1000
|
|
},
|
|
{
|
|
"bridge": "br101",
|
|
"bridge_interface": "eth0",
|
|
"broadcast": "10.0.0.15",
|
|
"cidr": "10.0.0.10/29",
|
|
"cidr_v6": null,
|
|
"created_at": "2011-08-15T06:19:19.885495",
|
|
"deleted": false,
|
|
"deleted_at": null,
|
|
"dhcp_start": "10.0.0.11",
|
|
"dns1": null,
|
|
"dns2": null,
|
|
"gateway": "10.0.0.9",
|
|
"gateway_v6": null,
|
|
"host": null,
|
|
"id": "20c8acc0-f747-4d71-a389-46d078ebf000",
|
|
"injected": false,
|
|
"label": "mynet_1",
|
|
"multi_host": false,
|
|
"netmask": "255.255.255.248",
|
|
"netmask_v6": null,
|
|
"priority": null,
|
|
"project_id": null,
|
|
"rxtx_base": null,
|
|
"updated_at": null,
|
|
"vlan": 101,
|
|
"vpn_private_address": "10.0.0.10",
|
|
"vpn_public_address": null,
|
|
"vpn_public_port": 1001
|
|
}
|
|
]
|
|
} |