Add Huawei configuration files for testing
- Introduced a new configuration file `config.conf` for Huawei devices, detailing interface settings and VLAN configurations. - Added an expected output JSON file `config.expected.json` to validate the parsing of Huawei configurations against expected results, including system model, serial number, and interface details.
This commit is contained in:
38
tests/fixtures/huawei/config.conf
vendored
Normal file
38
tests/fixtures/huawei/config.conf
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
# Huawei Versatile Routing Platform Software
|
||||
# VRP (R) software, Version 5.170 (S5731 V200R019C00SPC500)
|
||||
# Copyright (C) 2000-2019 HUAWEI TECH Co., Ltd.
|
||||
#
|
||||
# DDR Memory Size : 4096 M bytes
|
||||
# FLASH Total Memory Size : 1024 M bytes
|
||||
# FLASH Available Memory Size : 739 M bytes
|
||||
# Pcb Version : VER.B
|
||||
# BootROM Version : 0000.04e4
|
||||
# BootLoad Version : 0213.0000
|
||||
# CPLD Version : 0104
|
||||
# Software Version : VRP (R) Software, Version 5.170 (V200R019C00SPC500)
|
||||
# FLASH Version : 0000.0000
|
||||
# PWR1 information
|
||||
# Pcb Version : PWR VER.D
|
||||
# PWR2 information
|
||||
# Pcb Version : PWR VER.D
|
||||
# FAN1 information
|
||||
# Pcb Version : NA
|
||||
# FAN2 information
|
||||
# Pcb Version : NA
|
||||
# ESN of slot 1: 102266666666
|
||||
# ESN of slot 2: 102288888888
|
||||
interface GigabitEthernet0/0/33
|
||||
port link-type access
|
||||
port default vlan 101
|
||||
loopback-detect enable
|
||||
stp disable
|
||||
storm-control broadcast min-rate 1500 max-rate 2500
|
||||
storm-control multicast min-rate 1000 max-rate 2000
|
||||
storm-control action error-down
|
||||
#
|
||||
interface Vlanif120
|
||||
description SSH
|
||||
ip address 10.26.196.254 255.255.255.0
|
||||
#
|
||||
vlan batch 13 26 101 to 103 110 120 130 201 to 204 209 to 212 350 360
|
||||
#
|
||||
Reference in New Issue
Block a user