From 5e57c00803d1e3e6ecaae944155b16e4e309b4dd Mon Sep 17 00:00:00 2001 From: Abhishek Raut Date: Fri, 30 Aug 2013 17:39:26 -0700 Subject: [PATCH] Allow default network and policy profiles Allow for default network/policy profile to be used if no network/policy profile is specified during network/port creation in the Cisco N1KV plugin. Change-Id: I6120abb5abb9a869eb7310453cf27dd8f72bfd1d Closes-Bug: #1218588 --- etc/neutron/plugins/cisco/cisco_plugins.ini | 37 +++++++++++++++---- .../plugins/cisco/common/cisco_exceptions.py | 6 +-- neutron/plugins/cisco/common/config.py | 4 ++ neutron/plugins/cisco/db/n1kv_db_v2.py | 21 +++++++++-- neutron/plugins/cisco/n1kv/n1kv_client.py | 1 + .../plugins/cisco/n1kv/n1kv_neutron_plugin.py | 23 ++++++++---- 6 files changed, 71 insertions(+), 21 deletions(-) diff --git a/etc/neutron/plugins/cisco/cisco_plugins.ini b/etc/neutron/plugins/cisco/cisco_plugins.ini index bce23b7465..50e6fc52ed 100644 --- a/etc/neutron/plugins/cisco/cisco_plugins.ini +++ b/etc/neutron/plugins/cisco/cisco_plugins.ini @@ -97,10 +97,33 @@ # password=mySecretPassword [cisco_n1k] -# integration_bridge=br-int -# enable_tunneling=True -# tunnel_bridge=br-tun -# local_ip=10.0.0.3 -# tenant_network_type=local -# default_policy_profile= -# poll_duration=