From 08e91ef68f1d83e9c0d5d6aae1b56b78e5504fc4 Mon Sep 17 00:00:00 2001 From: David Shrewsbury Date: Fri, 2 Oct 2015 09:19:55 -0400 Subject: [PATCH] Deprecate older router modules. The quantum_router_gateway.py and quantum_router_interface.py modules are deprecated with this change. --- .../{quantum_router_gateway.py => _quantum_router_gateway.py} | 1 + ...{quantum_router_interface.py => _quantum_router_interface.py} | 1 + 2 files changed, 2 insertions(+) rename cloud/openstack/{quantum_router_gateway.py => _quantum_router_gateway.py} (99%) rename cloud/openstack/{quantum_router_interface.py => _quantum_router_interface.py} (99%) diff --git a/cloud/openstack/quantum_router_gateway.py b/cloud/openstack/_quantum_router_gateway.py similarity index 99% rename from cloud/openstack/quantum_router_gateway.py rename to cloud/openstack/_quantum_router_gateway.py index 48248662ed7..891cee55a09 100644 --- a/cloud/openstack/quantum_router_gateway.py +++ b/cloud/openstack/_quantum_router_gateway.py @@ -31,6 +31,7 @@ DOCUMENTATION = ''' module: quantum_router_gateway version_added: "1.2" author: "Benno Joy (@bennojoy)" +deprecated: Deprecated in 2.0. Use os_router instead short_description: set/unset a gateway interface for the router with the specified external network description: - Creates/Removes a gateway interface from the router, used to associate a external network with a router to route external traffic. diff --git a/cloud/openstack/quantum_router_interface.py b/cloud/openstack/_quantum_router_interface.py similarity index 99% rename from cloud/openstack/quantum_router_interface.py rename to cloud/openstack/_quantum_router_interface.py index 7374b542390..4073c7d3b10 100644 --- a/cloud/openstack/quantum_router_interface.py +++ b/cloud/openstack/_quantum_router_interface.py @@ -31,6 +31,7 @@ DOCUMENTATION = ''' module: quantum_router_interface version_added: "1.2" author: "Benno Joy (@bennojoy)" +deprecated: Deprecated in 2.0. Use os_router instead short_description: Attach/Dettach a subnet's interface to a router description: - Attach/Dettach a subnet interface to a router, to provide a gateway for the subnet.