You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ansible/test/integration/targets/exos_l2_interfaces/vars/main.yaml

45 lines
2.7 KiB
YAML

---
merged:
requests:
- data: '{"openconfig-vlan:config": {"interface-mode": "ACCESS", "access-vlan": 20}}'
method: PATCH
path: /rest/restconf/data/openconfig-interfaces:interfaces/interface=1/openconfig-if-ethernet:ethernet/openconfig-vlan:switched-vlan/config
- data: '{"openconfig-vlan:config": {"trunk-vlans": [20, 30], "interface-mode": "TRUNK", "native-vlan": 10}}'
method: PATCH
path: /rest/restconf/data/openconfig-interfaces:interfaces/interface=2/openconfig-if-ethernet:ethernet/openconfig-vlan:switched-vlan/config
replaced:
requests:
- data: '{"openconfig-vlan:config": {"trunk-vlans": [40], "interface-mode": "TRUNK", "native-vlan": 30}}'
method: PATCH
path: /rest/restconf/data/openconfig-interfaces:interfaces/interface=2/openconfig-if-ethernet:ethernet/openconfig-vlan:switched-vlan/config
- data: '{"openconfig-vlan:config": {"interface-mode": "ACCESS", "access-vlan": 10}}'
method: PATCH
path: /rest/restconf/data/openconfig-interfaces:interfaces/interface=3/openconfig-if-ethernet:ethernet/openconfig-vlan:switched-vlan/config
overridden:
requests:
- data: '{"openconfig-vlan:config": {"trunk-vlans": [20, 30], "interface-mode": "TRUNK", "native-vlan": 10}}'
method: PATCH
path: /rest/restconf/data/openconfig-interfaces:interfaces/interface=1/openconfig-if-ethernet:ethernet/openconfig-vlan:switched-vlan/config
- data: '{"openconfig-vlan:config": {"interface-mode": "ACCESS", "access-vlan": 1}}'
method: PATCH
path: /rest/restconf/data/openconfig-interfaces:interfaces/interface=2/openconfig-if-ethernet:ethernet/openconfig-vlan:switched-vlan/config
- data: '{"openconfig-vlan:config": {"interface-mode": "ACCESS", "access-vlan": 1}}'
method: PATCH
path: /rest/restconf/data/openconfig-interfaces:interfaces/interface=3/openconfig-if-ethernet:ethernet/openconfig-vlan:switched-vlan/config
deleted:
requests_1:
- data: '{"openconfig-vlan:config": {"interface-mode": "ACCESS", "access-vlan": 1}}'
method: PATCH
path: /rest/restconf/data/openconfig-interfaces:interfaces/interface=2/openconfig-if-ethernet:ethernet/openconfig-vlan:switched-vlan/config
- data: '{"openconfig-vlan:config": {"interface-mode": "ACCESS", "access-vlan": 1}}'
method: PATCH
path: /rest/restconf/data/openconfig-interfaces:interfaces/interface=3/openconfig-if-ethernet:ethernet/openconfig-vlan:switched-vlan/config
requests_2:
- data: '{"openconfig-vlan:config": {"interface-mode": "ACCESS", "access-vlan": 1}}'
method: PATCH
path: /rest/restconf/data/openconfig-interfaces:interfaces/interface=1/openconfig-if-ethernet:ethernet/openconfig-vlan:switched-vlan/config