fiber switch support for huawei switch

Bug #1697676 reported by Miles Fu
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Networking ML2 Generic Switch
Fix Committed
Undecided
Miles Fu

Bug Description

The commands for some huawei switch like CE6850EI does’nt suit the code in huawei.py.
It needs to execute the command 'commit' after configing the port or network.
So, I want to add a new device for this type of huawei switch.

<HUAWEI>dis version
Huawei Versatile Routing Platform Software
VRP (R) software, Version 8.100 (CE6850EI V100R005C10SPC200)
Copyright (C) 2012-2015 Huawei Technologies Co., Ltd.
HUAWEI CE6850-48S4Q-EI uptime is 77 days, 3 hours, 0 minute
Patch Version: V100R005SPH008

CE6850-48S4Q-EI(Master) 1 : uptime is 77 days, 3 hours, 0 minute
        StartupTime 2017/03/28 16:18:16
Memory Size : 2048 M bytes
Flash Size : 1024 M bytes
NVRAM Size : 512 K bytes
CE6850-48S4Q-EI version information
1. PCB Version : CEM48S4QP01 VER C
2. MAB Version : 1
3. Board Type : CE6850-48S4Q-EI
4. CPLD1 Version : 108
5. CPLD2 Version : 108
6. BIOS Version : 312

<HUAWEI>sy
[~HUAWEI-10GE1/0/10]d th
#
interface 10GE1/0/10
 port default vlan 14
 device transceiver 10GBASE-FIBER
#
return
[~HUAWEI-10GE1/0/10]port default v
[~HUAWEI-10GE1/0/10]port default vlan 50
[~HUAWEI-10GE1/0/10]d th
#
interface 10GE1/0/10
 port default vlan 14
 device transceiver 10GBASE-FIBER
#
return
[*HUAWEI-10GE1/0/10]commit
[~HUAWEI-10GE1/0/10]d th
#
interface 10GE1/0/10
 port default vlan 50
 device transceiver 10GBASE-FIBER
#
return

Miles Fu (fumeng2005)
Changed in networking-generic-switch:
assignee: nobody → Miles Fu (fumeng2005)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-generic-switch (master)

Fix proposed to branch: master
Review: https://review.openstack.org/473800

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-generic-switch (master)

Reviewed: https://review.openstack.org/473800
Committed: https://git.openstack.org/cgit/openstack/networking-generic-switch/commit/?id=3dbc82a98445905f88644ae335050d995745687a
Submitter: Jenkins
Branch: master

commit 3dbc82a98445905f88644ae335050d995745687a
Author: fumeng2005 <fumeng2005@126.com>
Date: Tue Jun 13 19:39:10 2017 +0800

    add support for huawei VRPV8 switch.

    detail:
        Huawei switch like CE6850EI needs to execute the command 'commit'
        after configuring the port or network. And also add the unit test for
        this type of switch.
        All newest huawei devices use VRP v8 as the next network OS now. For
        VRP v8 platform, the command 'commit' is used to avoid making some
        mistakes in a ssh connection.

    Change-Id: I962398b18dcfb4b42f5a557bbdbc28be94107a0d
    Close-bug: #1697676

Miles Fu (fumeng2005)
Changed in networking-generic-switch:
status: New → Fix Committed
Revision history for this message
zhangfei gao (zhangfei-gao) wrote :

Report bug
https://bugs.launchpad.net/networking-generic-switch/+bug/1736341

Netmiko does not support device type huawei_vrpv8, and neutron_server keeps rebooting.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.