Files
oxipy/tests/fixtures/huawei/config.expected.json
IluaAir 1bc01c9c1b 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.
2026-06-07 08:44:35 +03:00

95 lines
1.5 KiB
JSON

{
"system": {
"model": "S5731",
"serial_number": "102266666666",
"version": "5.170"
},
"interfaces": [
{
"interface": "GigabitEthernet0/0/33",
"ip_address": null,
"mask": null,
"description": null
},
{
"interface": "Vlanif120",
"ip_address": "10.26.196.254",
"mask": 24,
"description": "SSH"
}
],
"vlans": [
{
"vlan_id": 13,
"description": null
},
{
"vlan_id": 26,
"description": null
},
{
"vlan_id": 101,
"description": null
},
{
"vlan_id": 102,
"description": null
},
{
"vlan_id": 103,
"description": null
},
{
"vlan_id": 110,
"description": null
},
{
"vlan_id": 120,
"description": null
},
{
"vlan_id": 130,
"description": null
},
{
"vlan_id": 201,
"description": null
},
{
"vlan_id": 202,
"description": null
},
{
"vlan_id": 203,
"description": null
},
{
"vlan_id": 204,
"description": null
},
{
"vlan_id": 209,
"description": null
},
{
"vlan_id": 210,
"description": null
},
{
"vlan_id": 211,
"description": null
},
{
"vlan_id": 212,
"description": null
},
{
"vlan_id": 350,
"description": null
},
{
"vlan_id": 360,
"description": null
}
]
}