-
Notifications
You must be signed in to change notification settings - Fork 228
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Junos: Add missing vxlan grammar (#8112)
- Loading branch information
Showing
14 changed files
with
230 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
projects/batfish/src/test/resources/org/batfish/grammar/juniper/testconfigs/interface-vni
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# | ||
set system host-name interface-vni | ||
# | ||
set interfaces ge-0/0/0 unit 0 family ethernet-switching vlan members VLAN_TEST | ||
set interfaces ge-0/0/0 unit 0 family ethernet-switching interface-mode trunk | ||
|
||
set vlans VLAN_TEST vlan-id 101 | ||
|
||
set vlans VLAN_TEST vlan-id 101 | ||
set vlans VLAN_TEST vxlan vni 10101 |
18 changes: 18 additions & 0 deletions
18
...fish/src/test/resources/org/batfish/grammar/juniper/testconfigs/juniper-evpn-vni-list-all
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# | ||
set system host-name juniper-evpn-vni-list-all | ||
# | ||
set interfaces ge-0/0/0 unit 0 family ethernet-switching vlan members VLAN_TEST | ||
set interfaces ge-0/0/0 unit 0 family ethernet-switching interface-mode trunk | ||
|
||
set vlans VLAN_TEST vlan-id 101 | ||
|
||
set vlans VLAN_TEST vlan-id 101 | ||
set vlans VLAN_TEST vxlan vni 10101 | ||
|
||
|
||
set protocols evpn vni-options vni 10101 vrf-target target:65310:11003 | ||
set protocols evpn encapsulation vxlan | ||
set protocols evpn multicast-mode ingress-replication | ||
set protocols evpn default-gateway no-gateway-community | ||
set protocols evpn extended-vni-list all | ||
set protocols evpn duplicate-mac-detection auto-recovery-time 15 |
18 changes: 18 additions & 0 deletions
18
...src/test/resources/org/batfish/grammar/juniper/testconfigs/juniper-evpn-vni-list-no-range
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# | ||
set system host-name juniper-evpn-vni-list-no-range | ||
# | ||
set interfaces ge-0/0/0 unit 0 family ethernet-switching vlan members VLAN_TEST | ||
set interfaces ge-0/0/0 unit 0 family ethernet-switching interface-mode trunk | ||
|
||
set vlans VLAN_TEST vlan-id 101 | ||
|
||
set vlans VLAN_TEST vlan-id 101 | ||
set vlans VLAN_TEST vxlan vni 10101 | ||
|
||
|
||
set protocols evpn vni-options vni 10101 vrf-target target:65310:11003 | ||
set protocols evpn encapsulation vxlan | ||
set protocols evpn multicast-mode ingress-replication | ||
set protocols evpn default-gateway no-gateway-community | ||
set protocols evpn extended-vni-list [ 10101 10103 10105 ] | ||
set protocols evpn duplicate-mac-detection auto-recovery-time 15 |
18 changes: 18 additions & 0 deletions
18
...c/test/resources/org/batfish/grammar/juniper/testconfigs/juniper-evpn-vni-list-with-range
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# | ||
set system host-name juniper-evpn-vni-list-with-range | ||
# | ||
set interfaces ge-0/0/0 unit 0 family ethernet-switching vlan members VLAN_TEST | ||
set interfaces ge-0/0/0 unit 0 family ethernet-switching interface-mode trunk | ||
|
||
set vlans VLAN_TEST vlan-id 101 | ||
|
||
set vlans VLAN_TEST vlan-id 101 | ||
set vlans VLAN_TEST vxlan vni 10101 | ||
|
||
|
||
set protocols evpn vni-options vni 10101 vrf-target target:65310:11003 | ||
set protocols evpn encapsulation vxlan | ||
set protocols evpn multicast-mode ingress-replication | ||
set protocols evpn default-gateway no-gateway-community | ||
set protocols evpn extended-vni-list [ 10101-10103 10105 ] | ||
set protocols evpn duplicate-mac-detection auto-recovery-time 15 |
4 changes: 4 additions & 0 deletions
4
...s/batfish/src/test/resources/org/batfish/grammar/juniper/testconfigs/juniper-overlay-ecmp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# | ||
set system host-name juniper-overlay-ecmp | ||
# | ||
set forwarding-options vxlan-routing overlay-ecmp |
Oops, something went wrong.