From: Edgar Magana Date: Mon, 15 Aug 2011 16:02:24 +0000 (-0700) Subject: Removing extra testing function on Nexus Driver X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=ff74c1deb0914530231582081ab2e736fe9ce443;p=openstack-build%2Fneutron-build.git Removing extra testing function on Nexus Driver --- diff --git a/quantum/plugins/cisco/nexus/cisco_nexus_network_driver.py b/quantum/plugins/cisco/nexus/cisco_nexus_network_driver.py index 02380dc9e..c7b4d801a 100644 --- a/quantum/plugins/cisco/nexus/cisco_nexus_network_driver.py +++ b/quantum/plugins/cisco/nexus/cisco_nexus_network_driver.py @@ -210,16 +210,6 @@ class CiscoNEXUSDriver(): print confstr mgr.edit_config(target='running', config=confstr) - def test_nxos_api(self, host, user, password): - with self.nxos_connect(host, port=22, user=user, - password=password) as m: - #enable_vlan(m, '100', 'ccn1') - #enable_vlan_on_trunk_int(m, '2/1', '100') - #disable_vlan_on_trunk_int(m, '2/1', '100') - #disable_vlan(m, '100') - result = m.get(("subtree", filter_show_vlan_brief_snippet)) - print result - def create_vlan(self, vlan_name, vlan_id, nexus_host, nexus_user, nexus_password, nexus_interface): #TODO (Edgar) Move the SSH port to the configuration file