dev #4
@@ -29,6 +29,7 @@ default_system = {
|
||||
|
||||
<group name="interfaces">
|
||||
interface {{ interface | ORPHRASE }}
|
||||
shutdown {{ shutdown | set(True) }}
|
||||
description {{ description | ORPHRASE }}
|
||||
ip address {{ ip_address }} {{ mask | to_cidr }}
|
||||
</group>
|
||||
|
||||
2
tests/fixtures/qtech/config_1.expected.json
vendored
2
tests/fixtures/qtech/config_1.expected.json
vendored
@@ -7,7 +7,7 @@
|
||||
"interfaces": [
|
||||
{
|
||||
"interface": "GigaEthernet1/0/9",
|
||||
"shutdown": false,
|
||||
"shutdown": true,
|
||||
"ip_address": null,
|
||||
"mask": null,
|
||||
"description": "FREE"
|
||||
|
||||
2
tests/fixtures/qtech/config_2.expected.json
vendored
2
tests/fixtures/qtech/config_2.expected.json
vendored
@@ -7,7 +7,7 @@
|
||||
"interfaces": [
|
||||
{
|
||||
"interface": "GigaEthernet1/0/9",
|
||||
"shutdown": false,
|
||||
"shutdown": true,
|
||||
"ip_address": null,
|
||||
"mask": null,
|
||||
"description": "FREE"
|
||||
|
||||
Reference in New Issue
Block a user