-
Notifications
You must be signed in to change notification settings - Fork 378
T7432: RPKI VRF Support #4497
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+316
−183
Merged
T7432: RPKI VRF Support #4497
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
87 changes: 87 additions & 0 deletions
87
interface-definitions/include/rpki/protocol-common-config.xml.i
This file contains hidden or 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,87 @@ | ||
<!-- include start from rpki/protocol-common-config.xml.i --> | ||
<tagNode name="cache"> | ||
<properties> | ||
<help>RPKI cache server address</help> | ||
<valueHelp> | ||
<format>ipv4</format> | ||
<description>IP address of RPKI server</description> | ||
</valueHelp> | ||
<valueHelp> | ||
<format>ipv6</format> | ||
<description>IPv6 address of RPKI server</description> | ||
</valueHelp> | ||
<valueHelp> | ||
<format>hostname</format> | ||
<description>Fully qualified domain name of RPKI server</description> | ||
</valueHelp> | ||
<constraint> | ||
<validator name="ip-address"/> | ||
<validator name="fqdn"/> | ||
</constraint> | ||
</properties> | ||
<children> | ||
#include <include/port-number.xml.i> | ||
<leafNode name="preference"> | ||
<properties> | ||
<help>Preference of the cache server</help> | ||
<valueHelp> | ||
<format>u32:1-255</format> | ||
<description>Preference of the cache server</description> | ||
</valueHelp> | ||
<constraint> | ||
<validator name="numeric" argument="--range 1-255"/> | ||
</constraint> | ||
</properties> | ||
</leafNode> | ||
#include <include/source-address-ipv4.xml.i> | ||
<node name="ssh"> | ||
<properties> | ||
<help>RPKI SSH connection settings</help> | ||
</properties> | ||
<children> | ||
#include <include/pki/openssh-key.xml.i> | ||
#include <include/generic-username.xml.i> | ||
</children> | ||
</node> | ||
</children> | ||
</tagNode> | ||
<leafNode name="expire-interval"> | ||
<properties> | ||
<help>Interval to wait before expiring the cache</help> | ||
<valueHelp> | ||
<format>u32:600-172800</format> | ||
<description>Interval in seconds</description> | ||
</valueHelp> | ||
<constraint> | ||
<validator name="numeric" argument="--range 600-172800"/> | ||
</constraint> | ||
</properties> | ||
<defaultValue>7200</defaultValue> | ||
</leafNode> | ||
<leafNode name="polling-period"> | ||
<properties> | ||
<help>Cache polling interval</help> | ||
<valueHelp> | ||
<format>u32:1-86400</format> | ||
<description>Interval in seconds</description> | ||
</valueHelp> | ||
<constraint> | ||
<validator name="numeric" argument="--range 1-86400"/> | ||
</constraint> | ||
</properties> | ||
<defaultValue>300</defaultValue> | ||
</leafNode> | ||
<leafNode name="retry-interval"> | ||
<properties> | ||
<help>Retry interval to connect to the cache server</help> | ||
<valueHelp> | ||
<format>u32:1-7200</format> | ||
<description>Interval in seconds</description> | ||
</valueHelp> | ||
<constraint> | ||
<validator name="numeric" argument="--range 1-7200"/> | ||
</constraint> | ||
</properties> | ||
<defaultValue>600</defaultValue> | ||
</leafNode> | ||
<!-- include end --> |
This file contains hidden or 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 hidden or 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 hidden or 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,11 @@ | ||
<!-- include start from rpki/vrf.xml.i --> | ||
<tagNode name="vrf"> | ||
<properties> | ||
<help>Virtual Routing and Forwarding (VRF)</help> | ||
<completionHelp> | ||
<path>vrf name</path> | ||
</completionHelp> | ||
</properties> | ||
<command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command> | ||
</tagNode> | ||
<!-- include end --> |
This file contains hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.