Files
oxipy/tests/fixtures/h3c/config.expected.json
IluaAir a521c60d76 Add shutdown attribute to Interfaces class and update related templates
- Added a `shutdown` boolean attribute to the `Interfaces` class to manage interface states.
- Updated the `eltex.ttp` template to include the `shutdown` command based on the new attribute.
- Modified expected configuration JSON files for various devices to reflect the new `shutdown` attribute, ensuring accurate testing and validation of interface configurations.
2026-07-15 00:47:10 +03:00

167 lines
3.1 KiB
JSON

{
"system": {
"model": "S9820-64H",
"serial_number": "",
"version": "7.1.070"
},
"interfaces": [
{
"interface": "Bridge-Aggregation1",
"shutdown": false,
"ip_address": null,
"mask": null,
"description": "HW_TEST_1"
},
{
"interface": "Bridge-Aggregation2",
"shutdown": false,
"ip_address": null,
"mask": null,
"description": "HW_TEST_2"
},
{
"interface": "Bridge-Aggregation3",
"shutdown": false,
"ip_address": null,
"mask": null,
"description": "HW_TEST_3"
},
{
"interface": "Bridge-Aggregation4",
"shutdown": false,
"ip_address": null,
"mask": null,
"description": "HW_TEST_4"
},
{
"interface": "NULL0",
"shutdown": false,
"ip_address": null,
"mask": null,
"description": null
},
{
"interface": "Vlan-interface1",
"shutdown": false,
"ip_address": null,
"mask": null,
"description": null
},
{
"interface": "Vlan-interface12",
"shutdown": false,
"ip_address": "15.12.16.246",
"mask": 30,
"description": "BGP to OSPF1"
},
{
"interface": "Vlan-interface3000",
"shutdown": false,
"ip_address": "192.168.19.254",
"mask": 25,
"description": "L3 to HW_TEST_3"
},
{
"interface": "HundredGigE1/0/3",
"shutdown": false,
"ip_address": null,
"mask": null,
"description": "HW_TEST_1"
},
{
"interface": "HundredGigE1/0/63",
"shutdown": false,
"ip_address": null,
"mask": null,
"description": "HW_TEST_2"
},
{
"interface": "M-GigabitEthernet0/0/0",
"shutdown": false,
"ip_address": "192.168.10.101",
"mask": 24,
"description": null
},
{
"interface": "M-GigabitEthernet0/0/1",
"shutdown": false,
"ip_address": null,
"mask": null,
"description": null
}
],
"vlans": [
{
"vlan_id": 1,
"description": null
},
{
"vlan_id": 12,
"description": null
},
{
"vlan_id": 13,
"description": null
},
{
"vlan_id": 15,
"description": "HW_TEST_1"
},
{
"vlan_id": 222,
"description": "MGMT"
},
{
"vlan_id": 222,
"description": null
},
{
"vlan_id": 1122,
"description": "DATA"
},
{
"vlan_id": 1123,
"description": null
},
{
"vlan_id": 1200,
"description": null
},
{
"vlan_id": 1512,
"description": null
},
{
"vlan_id": 1513,
"description": null
},
{
"vlan_id": 2000,
"description": null
},
{
"vlan_id": 3377,
"description": "HW_TEST_1"
},
{
"vlan_id": 1112,
"description": null
},
{
"vlan_id": 1113,
"description": null
},
{
"vlan_id": 1114,
"description": null
},
{
"vlan_id": 1115,
"description": null
},
{
"vlan_id": 1116,
"description": null
}
]
}