summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--interface-definitions/include/qos/tcp-flags.xml.i32
1 files changed, 16 insertions, 16 deletions
diff --git a/interface-definitions/include/qos/tcp-flags.xml.i b/interface-definitions/include/qos/tcp-flags.xml.i
index 81d70d1f3..b439e837a 100644
--- a/interface-definitions/include/qos/tcp-flags.xml.i
+++ b/interface-definitions/include/qos/tcp-flags.xml.i
@@ -1,21 +1,21 @@
<!-- include start from qos/tcp-flags.xml.i -->
-<node name="tcp">
+<leafNode name="tcp">
<properties>
<help>TCP Flags matching</help>
+ <completionHelp>
+ <list>ack syn</list>
+ </completionHelp>
+ <valueHelp>
+ <format>ack</format>
+ <description>Match TCP ACK</description>
+ </valueHelp>
+ <valueHelp>
+ <format>syn</format>
+ <description>Match TCP SYN</description>
+ </valueHelp>
+ <constraint>
+ <regex>(ack|syn)</regex>
+ </constraint>
</properties>
- <children>
- <leafNode name="ack">
- <properties>
- <help>Match TCP ACK</help>
- <valueless/>
- </properties>
- </leafNode>
- <leafNode name="syn">
- <properties>
- <help>Match TCP SYN</help>
- <valueless/>
- </properties>
- </leafNode>
- </children>
-</node>
+</leafNode>
<!-- include end -->