mirror of https://github.com/ansible/ansible.git
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.
84 lines
1.9 KiB
YAML
84 lines
1.9 KiB
YAML
Interfaces:
|
|
int1:
|
|
GigabitEthernet0/0
|
|
int2:
|
|
GigabitEthernet0/1
|
|
|
|
deleted1:
|
|
commands:
|
|
- interface GigabitEthernet0/0
|
|
- no ip access-group aclv401 in
|
|
- no ip access-group aclv402 out
|
|
- no ipv6 traffic-filter aclv601 out
|
|
|
|
merged:
|
|
commands:
|
|
- interface GigabitEthernet0/0
|
|
- ip access-group aclv401 in
|
|
- ip access-group aclv402 out
|
|
- ipv6 traffic-filter aclv601 out
|
|
- interface GigabitEthernet0/1
|
|
- ipv6 traffic-filter aclv601 in
|
|
|
|
replaced:
|
|
commands:
|
|
- interface GigabitEthernet0/1
|
|
- no ipv6 traffic-filter aclv601 in
|
|
- ip access-group aclv401 in
|
|
|
|
overridden:
|
|
commands:
|
|
- interface GigabitEthernet0/0
|
|
- no ip access-group aclv401 in
|
|
- no ip access-group aclv402 out
|
|
- no ipv6 traffic-filter aclv601 out
|
|
- interface GigabitEthernet0/1
|
|
- no ipv6 traffic-filter aclv601 in
|
|
- ip access-group aclv401 in
|
|
|
|
# Interface names will changed based on the platform used. Following configs are wrt ios.
|
|
gathered:
|
|
config:
|
|
- name: Loopback888
|
|
- access_groups:
|
|
- acls:
|
|
- direction: in
|
|
name: aclv401
|
|
- direction: out
|
|
name: aclv402
|
|
afi: ipv4
|
|
- acls:
|
|
- direction: out
|
|
name: aclv601
|
|
afi: ipv6
|
|
name: GigabitEthernet0/0
|
|
- access_groups:
|
|
- acls:
|
|
- direction: in
|
|
name: aclv601
|
|
afi: ipv6
|
|
name: GigabitEthernet0/1
|
|
- name: GigabitEthernet0/2
|
|
- name: GigabitEthernet0/3
|
|
|
|
parsed:
|
|
config:
|
|
- access_groups:
|
|
- acls:
|
|
- direction: in
|
|
name: aclv401
|
|
- direction: out
|
|
name: aclv402
|
|
afi: ipv4
|
|
- acls:
|
|
- direction: out
|
|
name: aclv601
|
|
afi: ipv6
|
|
name: GigabitEthernet0/0
|
|
- access_groups:
|
|
- acls:
|
|
- direction: in
|
|
name: aclv601
|
|
afi: ipv6
|
|
name: GigabitEthernet0/1
|