diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-12-09 23:19:19 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-12-09 23:19:19 +0100 |
commit | e639b84e56a131e6391aa94adb1c1937f3c8dc60 (patch) | |
tree | f7354f446d689bd8ebd6b00ede1d05db1e1512c6 /interface-definitions | |
parent | 0ec938326ffd63ad5eab5f3be3038e13fe3118ec (diff) | |
download | vyos-1x-e639b84e56a131e6391aa94adb1c1937f3c8dc60.tar.gz vyos-1x-e639b84e56a131e6391aa94adb1c1937f3c8dc60.zip |
xml: T4058: provide building block for BFD profiles
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/include/bfd/profile.xml.i | 14 | ||||
-rw-r--r-- | interface-definitions/protocols-bfd.xml.in | 13 |
2 files changed, 15 insertions, 12 deletions
diff --git a/interface-definitions/include/bfd/profile.xml.i b/interface-definitions/include/bfd/profile.xml.i new file mode 100644 index 000000000..5ff057286 --- /dev/null +++ b/interface-definitions/include/bfd/profile.xml.i @@ -0,0 +1,14 @@ +<!-- include start from bfd/profile.xml.i --> +<leafNode name="profile"> + <properties> + <help>Use settings from BFD profile</help> + <completionHelp> + <path>protocols bfd profile</path> + </completionHelp> + <valueHelp> + <format>txt</format> + <description>BFD profile name</description> + </valueHelp> + </properties> +</leafNode> +<!-- include end --> diff --git a/interface-definitions/protocols-bfd.xml.in b/interface-definitions/protocols-bfd.xml.in index 265c9603a..a9957d884 100644 --- a/interface-definitions/protocols-bfd.xml.in +++ b/interface-definitions/protocols-bfd.xml.in @@ -26,18 +26,7 @@ </constraint> </properties> <children> - <leafNode name="profile"> - <properties> - <help>Use settings from BFD profile</help> - <completionHelp> - <path>protocols bfd profile</path> - </completionHelp> - <valueHelp> - <format>txt</format> - <description>BFD profile name</description> - </valueHelp> - </properties> - </leafNode> + #include <include/bfd/profile.xml.i> <node name="source"> <properties> <help>Bind listener to specified interface/address, mandatory for IPv6</help> |