Skip to content

Commit

Permalink
xml: T7161: provide re-usable building block for alternative routing …
Browse files Browse the repository at this point in the history
…tables
  • Loading branch information
c-po committed Feb 13, 2025
1 parent 5ddcfdb commit 8f6246d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<!-- include start from constraint/host-name.xml.i -->
<valueHelp>
<format>u32:1-200</format>
<description>Policy route table number</description>
</valueHelp>
<constraint>
<validator name="numeric" argument="--range 1-200"/>
</constraint>
<!-- include end -->
10 changes: 2 additions & 8 deletions interface-definitions/protocols_static.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,8 @@
#include <include/static/static-route6.xml.i>
<tagNode name="table">
<properties>
<help>Policy route table number</help>
<valueHelp>
<format>u32:1-200</format>
<description>Policy route table number</description>
</valueHelp>
<constraint>
<validator name="numeric" argument="--range 1-200"/>
</constraint>
<help>Non-main Kernel Routing Table</help>
#include <include/constraint/protocols-static-table.xml.i>
</properties>
<children>
<!--
Expand Down

0 comments on commit 8f6246d

Please sign in to comment.