]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Add template attr. for subnet, router create in Nuage plugin
authorChirag Shahani <chirag.shahani@gmail.com>
Fri, 8 Aug 2014 02:04:34 +0000 (19:04 -0700)
committerChirag Shahani <chirag.shahani@gmail.com>
Mon, 25 Aug 2014 17:57:22 +0000 (10:57 -0700)
commitb1b97dd721980bd06a97b9a9ad0fb15d95370164
tree0f43c2bcbdae07275c051f6ebdab8681f8d41989
parent8fde2e37f022a548df3820b29aa50e82d501bd83
Add template attr. for subnet, router create in Nuage plugin

subnet create and router create commands now gives the ability
to the user to create subnets and routers via neutron cli with
additional attributes nuage_subnet_template and nuage_router_template
respectively. The instantiated subnet and router inherits the properties
of the template that was mentioned in the additional parameters.

Change-Id: Ib73313e840cb35ede89df858baa536aab883efa2
Closes-Bug: #1353112
neutron/plugins/nuage/extensions/nuage_router.py
neutron/plugins/nuage/extensions/nuage_subnet.py
neutron/plugins/nuage/plugin.py
neutron/tests/unit/nuage/test_nuage_plugin.py