Skip to content

Commit

Permalink
Refactoring more in shared_utils
Browse files Browse the repository at this point in the history
  • Loading branch information
ClausHolbechArista committed Nov 5, 2024
1 parent 2771962 commit 824bbf9
Show file tree
Hide file tree
Showing 39 changed files with 274 additions and 338 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -650,32 +650,32 @@ vlans:
ip_access_lists:
- name: TEST-IPV4-ACL-WITH-IP-FIELDS-IN_Ethernet12
entries:
- sequence: 15
- source: any
destination: 10.10.40.10
sequence: 15
action: deny
protocol: ip
source: any
destination: 10.10.40.10
- name: TEST-IPV4-ACL-WITH-IP-FIELDS-IN_Ethernet13.10
entries:
- sequence: 15
- source: any
destination: 10.10.40.20
sequence: 15
action: deny
protocol: ip
source: any
destination: 10.10.40.20
- name: TEST-IPV4-ACL-WITH-IP-FIELDS-OUT_Ethernet12
entries:
- remark: Some remark will not require source and destination fields.
- action: permit
protocol: ip
source: 10.10.40.10
- source: 10.10.40.10
destination: any
action: permit
protocol: ip
- name: TEST-IPV4-ACL-WITH-IP-FIELDS-OUT_Ethernet13.10
entries:
- remark: Some remark will not require source and destination fields.
- action: permit
protocol: ip
source: 10.10.40.20
- source: 10.10.40.20
destination: any
action: permit
protocol: ip
ip_igmp_snooping:
globally_enabled: true
ip_virtual_router_mac_address: 00:dc:00:00:00:0a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -618,32 +618,32 @@ vlans:
ip_access_lists:
- name: TEST-IPV4-ACL-WITH-IP-FIELDS-IN_Ethernet12
entries:
- sequence: 15
- source: any
destination: 10.10.50.10
sequence: 15
action: deny
protocol: ip
source: any
destination: 10.10.50.10
- name: TEST-IPV4-ACL-WITH-IP-FIELDS-IN_Ethernet13.10
entries:
- sequence: 15
- source: any
destination: 10.10.50.20
sequence: 15
action: deny
protocol: ip
source: any
destination: 10.10.50.20
- name: TEST-IPV4-ACL-WITH-IP-FIELDS-OUT_Ethernet12
entries:
- remark: Some remark will not require source and destination fields.
- action: permit
protocol: ip
source: 10.10.50.10
- source: 10.10.50.10
destination: any
action: permit
protocol: ip
- name: TEST-IPV4-ACL-WITH-IP-FIELDS-OUT_Ethernet13.10
entries:
- remark: Some remark will not require source and destination fields.
- action: permit
protocol: ip
source: 10.10.50.20
- source: 10.10.50.20
destination: any
action: permit
protocol: ip
ip_igmp_snooping:
globally_enabled: true
ip_virtual_router_mac_address: 00:dc:00:00:00:0a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -978,18 +978,18 @@ vlans:
ip_access_lists:
- name: TEST-IPV4-ACL-WITH-IP-FIELDS-IN_Vlan110
entries:
- sequence: 15
- source: any
destination: 10.1.10.1
sequence: 15
action: deny
protocol: ip
source: any
destination: 10.1.10.1
- name: TEST-IPV4-ACL-WITH-IP-FIELDS-OUT_Vlan110
entries:
- remark: Some remark will not require source and destination fields.
- action: permit
protocol: ip
source: 10.1.10.1
- source: 10.1.10.1
destination: any
action: permit
protocol: ip
ip_igmp_snooping:
globally_enabled: true
vlans:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -923,18 +923,18 @@ vlans:
ip_access_lists:
- name: TEST-IPV4-ACL-WITH-IP-FIELDS-IN_Vlan110
entries:
- sequence: 15
- source: any
destination: 10.1.10.1
sequence: 15
action: deny
protocol: ip
source: any
destination: 10.1.10.1
- name: TEST-IPV4-ACL-WITH-IP-FIELDS-OUT_Vlan110
entries:
- remark: Some remark will not require source and destination fields.
- action: permit
protocol: ip
source: 10.1.10.1
- source: 10.1.10.1
destination: any
action: permit
protocol: ip
ip_igmp_snooping:
globally_enabled: true
vlans:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1679,18 +1679,18 @@ router_bfd:
ip_access_lists:
- name: TEST-IPV4-ACL-WITH-IP-FIELDS-IN_Vlan110
entries:
- sequence: 15
- source: any
destination: 10.1.10.1
sequence: 15
action: deny
protocol: ip
source: any
destination: 10.1.10.1
- name: TEST-IPV4-ACL-WITH-IP-FIELDS-OUT_Vlan110
entries:
- remark: Some remark will not require source and destination fields.
- action: permit
protocol: ip
source: 10.1.10.1
- source: 10.1.10.1
destination: any
action: permit
protocol: ip
ip_igmp_snooping:
globally_enabled: true
vlans:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1628,18 +1628,18 @@ router_bfd:
ip_access_lists:
- name: TEST-IPV4-ACL-WITH-IP-FIELDS-IN_Vlan110
entries:
- sequence: 15
- source: any
destination: 10.1.10.1
sequence: 15
action: deny
protocol: ip
source: any
destination: 10.1.10.1
- name: TEST-IPV4-ACL-WITH-IP-FIELDS-OUT_Vlan110
entries:
- remark: Some remark will not require source and destination fields.
- action: permit
protocol: ip
source: 10.1.10.1
- source: 10.1.10.1
destination: any
action: permit
protocol: ip
ip_igmp_snooping:
globally_enabled: true
vlans:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1009,18 +1009,18 @@ router_bfd:
ip_access_lists:
- name: TEST-IPV4-ACL-WITH-IP-FIELDS-IN_Vlan110
entries:
- sequence: 15
- source: any
destination: 10.1.10.1
sequence: 15
action: deny
protocol: ip
source: any
destination: 10.1.10.1
- name: TEST-IPV4-ACL-WITH-IP-FIELDS-OUT_Vlan110
entries:
- remark: Some remark will not require source and destination fields.
- action: permit
protocol: ip
source: 10.1.10.1
- source: 10.1.10.1
destination: any
action: permit
protocol: ip
ip_igmp_snooping:
globally_enabled: true
vlans:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1009,18 +1009,18 @@ router_bfd:
ip_access_lists:
- name: TEST-IPV4-ACL-WITH-IP-FIELDS-IN_Vlan110
entries:
- sequence: 15
- source: any
destination: 10.1.10.1
sequence: 15
action: deny
protocol: ip
source: any
destination: 10.1.10.1
- name: TEST-IPV4-ACL-WITH-IP-FIELDS-OUT_Vlan110
entries:
- remark: Some remark will not require source and destination fields.
- action: permit
protocol: ip
source: 10.1.10.1
- source: 10.1.10.1
destination: any
action: permit
protocol: ip
ip_igmp_snooping:
globally_enabled: true
vlans:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -365,39 +365,39 @@ agents:
ip_access_lists:
- name: TEST-IPV4-ACL-WITH-IP-FIELDS-IN_Ethernet1_49.3
entries:
- sequence: 15
- source: any
destination: 172.24.49.3
sequence: 15
action: deny
protocol: ip
source: any
- source: 172.24.49.2
destination: 172.24.49.3
- action: permit
action: permit
protocol: ip
source: 172.24.49.2
destination: 172.24.49.3
- name: ACL-NAT-IE-DIRECT
entries:
- sequence: 10
- source: any
destination: 5.0.0.0/24
sequence: 10
action: deny
protocol: ip
source: any
destination: 5.0.0.0/24
- sequence: 20
- source: any
destination: any
sequence: 20
action: permit
protocol: ip
source: any
destination: any
- name: ACL-NAT-IE-ZSCALER
entries:
- sequence: 10
- source: any
destination: 10.0.0.0/24
sequence: 10
action: permit
protocol: ip
source: any
destination: 10.0.0.0/24
- sequence: 20
- source: any
destination: any
sequence: 20
action: deny
protocol: ip
source: any
destination: any
ip_extcommunity_lists:
- name: ECL-EVPN-SOO
entries:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -666,18 +666,18 @@ vlans:
ip_access_lists:
- name: TEST-IPV4-ACL-WITH-IP-FIELDS-IN_Vlan110
entries:
- sequence: 15
- source: any
destination: 10.1.10.1
sequence: 15
action: deny
protocol: ip
source: any
destination: 10.1.10.1
- name: TEST-IPV4-ACL-WITH-IP-FIELDS-OUT_Vlan110
entries:
- remark: Some remark will not require source and destination fields.
- action: permit
protocol: ip
source: 10.1.10.1
- source: 10.1.10.1
destination: any
action: permit
protocol: ip
ip_igmp_snooping:
globally_enabled: true
vlans:
Expand Down
Loading

0 comments on commit 824bbf9

Please sign in to comment.