diff options
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/include/interface-mirror.xml.i | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/interface-definitions/include/interface-mirror.xml.i b/interface-definitions/include/interface-mirror.xml.i index e3720cde7..d34132a9c 100644 --- a/interface-definitions/include/interface-mirror.xml.i +++ b/interface-definitions/include/interface-mirror.xml.i @@ -1,11 +1,25 @@ <!-- included start from interface-mirror.xml.i --> -<leafNode name="mirror"> +<node name="mirror"> <properties> <help>Incoming/outgoing packet mirroring destination</help> - <completionHelp> - <script>${vyos_completion_dir}/list_interfaces.py</script> - </completionHelp> - <multi/> </properties> -</leafNode> + <children> + <leafNode name="ingress"> + <properties> + <help>Mirror the ingress traffic of the interface to the destination interface</help> + <completionHelp> + <script>${vyos_completion_dir}/list_interfaces.py</script> + </completionHelp> + </properties> + </leafNode> + <leafNode name="egress"> + <properties> + <help>Mirror the egress traffic of the interface to the destination interface</help> + <completionHelp> + <script>${vyos_completion_dir}/list_interfaces.py</script> + </completionHelp> + </properties> + </leafNode> + </children> +</node> <!-- included end --> |