From 78ea0df607d6bc22aaca85acc36bc76e3a984177 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 lib/ansible/modules/cloud/openstack/{quantum_router_gateway.py => _quantum_router_gateway.py} (99%) rename lib/ansible/modules/cloud/openstack/{quantum_router_interface.py => _quantum_router_interface.py} (99%) diff --git a/lib/ansible/modules/cloud/openstack/quantum_router_gateway.py b/lib/ansible/modules/cloud/openstack/_quantum_router_gateway.py similarity index 99% rename from lib/ansible/modules/cloud/openstack/quantum_router_gateway.py rename to lib/ansible/modules/cloud/openstack/_quantum_router_gateway.py index 4d97711f45f..719427e9528 100644 --- a/lib/ansible/modules/cloud/openstack/quantum_router_gateway.py +++ b/lib/ansible/modules/cloud/openstack/_quantum_router_gateway.py @@ -29,6 +29,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/lib/ansible/modules/cloud/openstack/quantum_router_interface.py b/lib/ansible/modules/cloud/openstack/_quantum_router_interface.py similarity index 99% rename from lib/ansible/modules/cloud/openstack/quantum_router_interface.py rename to lib/ansible/modules/cloud/openstack/_quantum_router_interface.py index c095a5bae92..991da453218 100644 --- a/lib/ansible/modules/cloud/openstack/quantum_router_interface.py +++ b/lib/ansible/modules/cloud/openstack/_quantum_router_interface.py @@ -29,6 +29,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.