1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140
|
---
http_interactions:
- request:
method: post
uri: http://devstack.openstack.stack:9696/net/v2.0/networks
body:
encoding: UTF-8
string: ! '{"network":{"name":"foo-net12","shared":false}}'
headers:
User-Agent:
- fog-core/1.32.0
Content-Type:
- application/json
Accept:
- application/json
X-Auth-Token:
- 0afbf49d007a4d82850b853b703025d7
response:
status:
code: 201
message: ''
headers:
Content-Type:
- application/json; charset=UTF-8
Content-Length:
- '344'
X-Openstack-Request-Id:
- req-cc7677e6-9700-4215-b16d-d4a867db376b
Date:
- Thu, 16 Jul 2015 13:30:02 GMT
body:
encoding: US-ASCII
string: ! '{"network": {"status": "ACTIVE", "subnets": [], "name": "foo-net12",
"provider:physical_network": null, "router:external": false, "tenant_id":
"5b1c4e7218d94dc8879d542002ffbc48", "admin_state_up": true, "mtu": 0, "shared":
false, "provider:network_type": "vxlan", "id": "0629b827-668a-443c-b73e-1725359350fb",
"provider:segmentation_id": 1104}}'
http_version:
recorded_at: Thu, 16 Jul 2015 13:30:19 GMT
- request:
method: post
uri: http://devstack.openstack.stack:9696/net/v2.0/subnets
body:
encoding: UTF-8
string: ! '{"subnet":{"network_id":"0629b827-668a-443c-b73e-1725359350fb","cidr":"172.16.0.0/16","ip_version":4,"name":"my-network","gateway_ip":null}}'
headers:
User-Agent:
- fog-core/1.32.0
Content-Type:
- application/json
Accept:
- application/json
X-Auth-Token:
- 0afbf49d007a4d82850b853b703025d7
response:
status:
code: 201
message: ''
headers:
Content-Type:
- application/json; charset=UTF-8
Content-Length:
- '452'
X-Openstack-Request-Id:
- req-295d5e91-514b-4980-85a4-adce351161a8
Date:
- Thu, 16 Jul 2015 13:30:02 GMT
body:
encoding: US-ASCII
string: ! '{"subnet": {"name": "my-network", "enable_dhcp": true, "network_id":
"0629b827-668a-443c-b73e-1725359350fb", "tenant_id": "5b1c4e7218d94dc8879d542002ffbc48",
"dns_nameservers": [], "gateway_ip": null, "ipv6_ra_mode": null, "allocation_pools":
[{"start": "172.16.0.1", "end": "172.16.255.254"}], "host_routes": [], "ip_version":
4, "ipv6_address_mode": null, "cidr": "172.16.0.0/16", "id": "11bef948-6df8-4fa3-8c21-3fbd3cc4ca6d",
"subnetpool_id": null}}'
http_version:
recorded_at: Thu, 16 Jul 2015 13:30:19 GMT
- request:
method: delete
uri: http://devstack.openstack.stack:9696/net/v2.0/subnets/11bef948-6df8-4fa3-8c21-3fbd3cc4ca6d
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- fog-core/1.32.0
Content-Type:
- application/json
Accept:
- application/json
X-Auth-Token:
- 0afbf49d007a4d82850b853b703025d7
response:
status:
code: 204
message: ''
headers:
Content-Length:
- '0'
X-Openstack-Request-Id:
- req-5c4205db-8183-4eeb-a702-e6e156f82db1
Date:
- Thu, 16 Jul 2015 13:30:03 GMT
body:
encoding: US-ASCII
string: ''
http_version:
recorded_at: Thu, 16 Jul 2015 13:30:20 GMT
- request:
method: delete
uri: http://devstack.openstack.stack:9696/net/v2.0/networks/0629b827-668a-443c-b73e-1725359350fb
body:
encoding: US-ASCII
string: ''
headers:
User-Agent:
- fog-core/1.32.0
Content-Type:
- application/json
Accept:
- application/json
X-Auth-Token:
- 0afbf49d007a4d82850b853b703025d7
response:
status:
code: 204
message: ''
headers:
Content-Length:
- '0'
X-Openstack-Request-Id:
- req-f21f4c07-2e64-4920-a53d-19f221af0c99
Date:
- Thu, 16 Jul 2015 13:30:03 GMT
body:
encoding: US-ASCII
string: ''
http_version:
recorded_at: Thu, 16 Jul 2015 13:30:20 GMT
recorded_with: VCR 2.9.3
|