-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove (most) '/os-networks' REST APIs
Drop support for most of the 'os-networks' REST APIs excluding those that proxy through to neutron. This API now returns a 410 response for the non-proxy routes. Unit tests are removed for removed APIs and the functional API sample tests are just asserting the 410 response now same. The latter are also expanded to cover APIs that weren't previously tested. The API sample docs are left intact since the API reference still builds from those and can be considered more or less branchless, so people looking at the API reference can apply it to older deployments of nova before these APIs were removed. Note: yes, the API samples are correct. It really is a useless API when used with neutron. Change-Id: I68bfa77a520382317fc490a4f6c12dd62fc6dcda Signed-off-by: Stephen Finucane <[email protected]>
- Loading branch information
1 parent
3776e97
commit 1b71252
Showing
26 changed files
with
174 additions
and
1,182 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,36 +1,36 @@ | ||
{ | ||
"network": { | ||
"bridge": "br100", | ||
"bridge_interface": "eth0", | ||
"broadcast": "10.0.0.7", | ||
"cidr": "10.0.0.0/29", | ||
"bridge": null, | ||
"bridge_interface": null, | ||
"broadcast": null, | ||
"cidr": null, | ||
"cidr_v6": null, | ||
"created_at": "2011-08-15T06:19:19.387525", | ||
"deleted": false, | ||
"created_at": null, | ||
"deleted": null, | ||
"deleted_at": null, | ||
"dhcp_server": "10.0.0.1", | ||
"dhcp_start": "10.0.0.3", | ||
"dhcp_server": null, | ||
"dhcp_start": null, | ||
"dns1": null, | ||
"dns2": null, | ||
"enable_dhcp": true, | ||
"gateway": "10.0.0.1", | ||
"enable_dhcp": null, | ||
"gateway": null, | ||
"gateway_v6": null, | ||
"host": "nsokolov-desktop", | ||
"host": null, | ||
"id": "20c8acc0-f747-4d71-a389-46d078ebf047", | ||
"injected": false, | ||
"label": "mynet_0", | ||
"injected": null, | ||
"label": "private", | ||
"mtu": null, | ||
"multi_host": false, | ||
"netmask": "255.255.255.248", | ||
"multi_host": null, | ||
"netmask": null, | ||
"netmask_v6": null, | ||
"priority": null, | ||
"project_id": "6133f8b603924f45bc0c9e21f6df12fa", | ||
"project_id": null, | ||
"rxtx_base": null, | ||
"share_address": false, | ||
"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 | ||
"share_address": null, | ||
"updated_at": null, | ||
"vlan": null, | ||
"vpn_private_address": null, | ||
"vpn_public_address": null, | ||
"vpn_public_port": null | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,72 +1,38 @@ | ||
{ | ||
"networks": [ | ||
{ | ||
"bridge": "br100", | ||
"bridge_interface": "eth0", | ||
"broadcast": "10.0.0.7", | ||
"cidr": "10.0.0.0/29", | ||
"bridge": null, | ||
"bridge_interface": null, | ||
"broadcast": null, | ||
"cidr": null, | ||
"cidr_v6": null, | ||
"created_at": "2011-08-15T06:19:19.387525", | ||
"deleted": false, | ||
"created_at": null, | ||
"deleted": null, | ||
"deleted_at": null, | ||
"dhcp_server": "10.0.0.1", | ||
"dhcp_start": "10.0.0.3", | ||
"dhcp_server": null, | ||
"dhcp_start": null, | ||
"dns1": null, | ||
"dns2": null, | ||
"enable_dhcp": true, | ||
"gateway": "10.0.0.1", | ||
"gateway_v6": null, | ||
"host": "nsokolov-desktop", | ||
"id": "20c8acc0-f747-4d71-a389-46d078ebf047", | ||
"injected": false, | ||
"label": "mynet_0", | ||
"mtu": null, | ||
"multi_host": false, | ||
"netmask": "255.255.255.248", | ||
"netmask_v6": null, | ||
"priority": null, | ||
"project_id": "6133f8b603924f45bc0c9e21f6df12fa", | ||
"rxtx_base": null, | ||
"share_address": false, | ||
"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_server": "10.0.0.9", | ||
"dhcp_start": "10.0.0.11", | ||
"dns1": null, | ||
"dns2": null, | ||
"enable_dhcp": true, | ||
"gateway": "10.0.0.9", | ||
"enable_dhcp": null, | ||
"gateway": null, | ||
"gateway_v6": null, | ||
"host": null, | ||
"id": "20c8acc0-f747-4d71-a389-46d078ebf000", | ||
"injected": false, | ||
"label": "mynet_1", | ||
"id": "20c8acc0-f747-4d71-a389-46d078ebf047", | ||
"injected": null, | ||
"label": "private", | ||
"mtu": null, | ||
"multi_host": false, | ||
"netmask": "255.255.255.248", | ||
"multi_host": null, | ||
"netmask": null, | ||
"netmask_v6": null, | ||
"priority": null, | ||
"project_id": null, | ||
"rxtx_base": null, | ||
"share_address": false, | ||
"share_address": null, | ||
"updated_at": null, | ||
"vlan": 101, | ||
"vpn_private_address": "10.0.0.10", | ||
"vlan": null, | ||
"vpn_private_address": null, | ||
"vpn_public_address": null, | ||
"vpn_public_port": 1001 | ||
"vpn_public_port": null | ||
} | ||
] | ||
} | ||
} |
Oops, something went wrong.