9cc6decb7a
Blueprint cisco-plugin-v2-api-support New meta-plugin which makes use of the Quantum db_plugin and supports the new v2 API Changes to the Cisco DB model, now reusing quantum DB for core attributes Changes to the device sub plugins to access the quantum DB for core resources' state versus Cisco DB Addition of fake/dummy drivers to support testing of the device sub plugins even without actual hardware New v2 unit tests which exercise the meta-plugin and the device sub -plugins as well In general creating new v2 modules such that v1.x code can be deprecated easily by deleting the older modules. The following files are v2 versions of older modules, only the imports have changed, most of the other code is the same as from the older modules (already reviewed): quantum/plugins/cisco/common/cisco_credentials_v2.py quantum/plugins/cisco/db/network_db_v2.py quantum/plugins/cisco/db/network_models_v2.py quantum/plugins/cisco/db/nexus_db_v2.py quantum/plugins/cisco/db/nexus_models_v2.py quantum/plugins/cisco/db/ucs_db_v2.py quantum/plugins/cisco/db/ucs_models_v2.py quantum/plugins/cisco/nexus/cisco_nexus_plugin_v2.py quantum/plugins/cisco/ucs/cisco_ucs_inventory_v2.py quantum/plugins/cisco/ucs/cisco_ucs_plugin_v2.py quantum/plugins/cisco/segmentation/l2network_vlan_mgr_v2.py All changes are contained with the Cisco plugin. (Sumit & Rohit) Change-Id: Ib82a9f843548c286c84ba63caf5406a773ac85b1
13 lines
573 B
INI
13 lines
573 B
INI
[SWITCH]
|
|
# Change the following to reflect the Nexus switch details
|
|
nexus_ip_address=<put_nexus_switch_ip_address_here>
|
|
#Interfaces connected from the Nexus 7K Switch to the two UCSM 6120s, e.g.: 1/10 and 1/11
|
|
nexus_first_port=<put_interface_name_here>
|
|
nexus_second_port=<put_interface_name_here>
|
|
#Port number where the SSH will be running at the Nexus Switch, e.g.: 22 (Default)
|
|
nexus_ssh_port=22
|
|
|
|
[DRIVER]
|
|
#name=quantum.plugins.cisco.nexus.cisco_nexus_network_driver.CiscoNEXUSDriver
|
|
name=quantum.plugins.cisco.tests.unit.v2.nexus.fake_nexus_driver.CiscoNEXUSFakeDriver
|