diff options
Diffstat (limited to 'interface-definitions')
| -rw-r--r-- | interface-definitions/include/version/vpp-version.xml.i | 2 | ||||
| -rw-r--r-- | interface-definitions/vpp.xml.in | 39 |
2 files changed, 36 insertions, 5 deletions
diff --git a/interface-definitions/include/version/vpp-version.xml.i b/interface-definitions/include/version/vpp-version.xml.i index 205e87916..b92e9a21a 100644 --- a/interface-definitions/include/version/vpp-version.xml.i +++ b/interface-definitions/include/version/vpp-version.xml.i @@ -1,3 +1,3 @@ <!-- include start from include/version/vpp-version.xml.i --> -<syntaxVersion component='vpp' version='2'></syntaxVersion> +<syntaxVersion component='vpp' version='3'></syntaxVersion> <!-- include end -->
\ No newline at end of file diff --git a/interface-definitions/vpp.xml.in b/interface-definitions/vpp.xml.in index 911c6f668..96e7358d8 100644 --- a/interface-definitions/vpp.xml.in +++ b/interface-definitions/vpp.xml.in @@ -952,14 +952,45 @@ <multi/> </properties> </leafNode> - <leafNode name="sample-rate"> + <leafNode name="header-bytes"> <properties> - <help>sFlow sample rate</help> + <help>sFlow maximum packet-header length</help> + <completionHelp> + <list>64 96 128 160 192 224 256</list> + </completionHelp> + <valueHelp> + <format>64</format> + <description>64 bytes</description> + </valueHelp> + <valueHelp> + <format>96</format> + <description>96 bytes</description> + </valueHelp> + <valueHelp> + <format>128</format> + <description>128 bytes</description> + </valueHelp> + <valueHelp> + <format>160</format> + <description>160 bytes</description> + </valueHelp> + <valueHelp> + <format>192</format> + <description>192 bytes</description> + </valueHelp> + <valueHelp> + <format>224</format> + <description>224 bytes</description> + </valueHelp> <valueHelp> - <format>u32</format> - <description>sFlow sample rate</description> + <format>256</format> + <description>256 bytes</description> </valueHelp> + <constraint> + <regex>(64|96|128|160|192|224|256)</regex> + </constraint> </properties> + <defaultValue>128</defaultValue> </leafNode> </children> </node> |
