summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuang Yee <guang.yee@suse.com>2018-07-27 13:27:20 -0700
committerGuang Yee <guang.yee@suse.com>2018-07-27 13:27:20 -0700
commit79e397b7696cf0aa04996fff54ebc677392a0ae7 (patch)
tree5242ccca78a9a5a1da072255e358af6ab9c1ca65
parentbdf571d48f0c5dc7858a8db79710983d9db48e03 (diff)
add alias for hpe_comware
Netmiko has not changed the device name for hp_comware to hpe_comware yet. See https://github.com/ktbyers/netmiko/blob/develop/netmiko/ssh_dispatcher.py Therefore, the device will fail to load as netmiko will only recognize "hp_comware". We'll need to alias "hpe_comware" with "hp_comware" till netmiko recognizes HPE. Change-Id: I4dba5a926357b731c0d9ebad8ba9fcf65b1847bd
Notes
Notes (review): Code-Review+2: Mark Goddard <mark@stackhpc.com> Code-Review+2: Julia Kreger <juliaashleykreger@gmail.com> Workflow+1: Julia Kreger <juliaashleykreger@gmail.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 30 Jul 2018 15:26:10 +0000 Reviewed-on: https://review.openstack.org/586681 Project: openstack/networking-generic-switch Branch: refs/heads/master
-rw-r--r--doc/source/configuration.rst2
-rw-r--r--releasenotes/notes/add_alias_for_hpe_comware-0eb9a016f0c992df.yaml11
-rw-r--r--setup.cfg1
3 files changed, 13 insertions, 1 deletions
diff --git a/doc/source/configuration.rst b/doc/source/configuration.rst
index 580e237..ee36f49 100644
--- a/doc/source/configuration.rst
+++ b/doc/source/configuration.rst
@@ -124,7 +124,7 @@ for the Ruijie device::
124for the HPE 5900 Series device:: 124for the HPE 5900 Series device::
125 125
126 [genericswitch:sw-hostname] 126 [genericswitch:sw-hostname]
127 device_type = netmiko_hpe_comware 127 device_type = netmiko_hp_comware
128 username = admin 128 username = admin
129 password = password 129 password = password
130 ip = <switch mgmt ip address> 130 ip = <switch mgmt ip address>
diff --git a/releasenotes/notes/add_alias_for_hpe_comware-0eb9a016f0c992df.yaml b/releasenotes/notes/add_alias_for_hpe_comware-0eb9a016f0c992df.yaml
new file mode 100644
index 0000000..2414699
--- /dev/null
+++ b/releasenotes/notes/add_alias_for_hpe_comware-0eb9a016f0c992df.yaml
@@ -0,0 +1,11 @@
1---
2issues:
3 - |
4 Netmiko has not changed the device name for hp_comware to hpe_comware
5 yet. See
6
7 https://github.com/ktbyers/netmiko/blob/develop/netmiko/ssh_dispatcher.py
8
9 Therefore, the device will fail to load as netmiko will only recognize
10 "hp_comware". We'll need to alias "hpe_comware" with "hp_comware" till
11 netmiko recognizes HPE.
diff --git a/setup.cfg b/setup.cfg
index 3afdc6e..ab1e5a0 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -29,6 +29,7 @@ generic_switch.devices =
29 netmiko_brocade_fastiron = networking_generic_switch.devices.netmiko_devices.brocade:BrocadeFastIron 29 netmiko_brocade_fastiron = networking_generic_switch.devices.netmiko_devices.brocade:BrocadeFastIron
30 netmiko_ruijie = networking_generic_switch.devices.netmiko_devices.ruijie:Ruijie 30 netmiko_ruijie = networking_generic_switch.devices.netmiko_devices.ruijie:Ruijie
31 netmiko_hpe_comware = networking_generic_switch.devices.netmiko_devices.hpe:HpeComware 31 netmiko_hpe_comware = networking_generic_switch.devices.netmiko_devices.hpe:HpeComware
32 netmiko_hp_comware = networking_generic_switch.devices.netmiko_devices.hpe:HpeComware
32 netmiko_juniper = networking_generic_switch.devices.netmiko_devices.juniper:Juniper 33 netmiko_juniper = networking_generic_switch.devices.netmiko_devices.juniper:Juniper
33tempest.test_plugins = 34tempest.test_plugins =
34 ngs_tests = tempest_plugin.plugin:NGSTempestPlugin 35 ngs_tests = tempest_plugin.plugin:NGSTempestPlugin