diff options
| author | Nataliia Solomko <natalirs1985@gmail.com> | 2025-10-17 15:21:41 +0300 |
|---|---|---|
| committer | Nataliia Solomko <natalirs1985@gmail.com> | 2025-10-21 17:30:51 +0300 |
| commit | 4c08b0694c65f1bb434538980a44a94e5ae15d24 (patch) | |
| tree | 3dd2693a0b88338d37583aa4dbc837ef9153c246 /interface-definitions | |
| parent | 69a9b93f71c818bf134ea06ad73d86a513628f06 (diff) | |
| download | vyos-1x-4c08b0694c65f1bb434538980a44a94e5ae15d24.tar.gz vyos-1x-4c08b0694c65f1bb434538980a44a94e5ae15d24.zip | |
T7938: VPP: Rewrite sFlow implementation
Execute commands for vpp sflow with API calls. Use values for polling interval and sampling rate from 'system sflow'. Add op-mode command
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> |
