Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support matching multiple prefixes for routing policy match
Allow specifying multiple prefixes for routing policy match Test case to validate it Change-Id: Ib79fde031aa1c3a56a87288186afdb06757728b4 Related-bug: #1500698
- Loading branch information
Showing
10 changed files
with
175 additions
and
53 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<config> | ||
<routing-policy name='basic'> | ||
<term> | ||
<from> | ||
<prefix> | ||
<prefix>10.0.1.1/32</prefix> | ||
</prefix> | ||
<prefix> | ||
<prefix>20.1.1.0/24</prefix> | ||
<type>longer</type> | ||
</prefix> | ||
</from> | ||
<then> | ||
<update> | ||
<local-pref>102</local-pref> | ||
</update> | ||
<action>accept</action> | ||
</then> | ||
</term> | ||
</routing-policy> | ||
<routing-instance name="test"> | ||
<routing-policy to="basic"> | ||
<sequence>1.0</sequence> | ||
</routing-policy> | ||
<vrf-target>target:1:103</vrf-target> | ||
</routing-instance> | ||
</config> |
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