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
32 lines
935 B
JSON
32 lines
935 B
JSON
{
|
|
"network": {
|
|
"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
|
|
}
|
|
} |