From 698c5a40b2ece2f3eb41ad932660f7ceb1f80092 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sun, 4 Nov 2018 11:47:51 +0100 Subject: T959: XML/Python rewrite of "protocol igmp-proxy" and op-mode commands Examples: ========= CFG commands: vyos@vyos# set protocols igmp-proxy disable-quickleave vyos@vyos# set protocols igmp-proxy interface eth0 alt-subnet '172.16.35.0/24' vyos@vyos# set protocols igmp-proxy interface eth0 alt-subnet '172.31.0.0/24' vyos@vyos# set protocols igmp-proxy interface eth0 role 'upstream' vyos@vyos# set protocols igmp-proxy interface eth1 role 'downstream' vyos@vyos# show protocols igmp-proxy { disable-quickleave interface eth0 { alt-subnet 172.16.35.0/24 alt-subnet 172.31.0.0/24 role upstream } interface eth1 { role downstream } } OP mode commands: ----------------- vyos@vyos:~$ show ip multicast interface Interface BytesIn PktsIn BytesOut PktsOut Local eth0 0.0b 0 0.0b 0 xxx.xxx.xxx.65 eth1 0.0b 0 0.0b 0 xxx.xxx.xx.201 vyos@vyos:~$ show ip multicast mfc Group Origin Pkts Bytes Wrong In Out xxx.x.xx.1 xxx.xx.0.1 10 9.81KB 0 eth0 eth1 xxx.x.xx.2 xxx.xx.0.1 -- --- interface-definitions/igmp-proxy.xml | 100 +++++++++++++++++++++++++++++++++++ 1 file changed, 100 insertions(+) create mode 100644 interface-definitions/igmp-proxy.xml (limited to 'interface-definitions') diff --git a/interface-definitions/igmp-proxy.xml b/interface-definitions/igmp-proxy.xml new file mode 100644 index 000000000..ab56019b4 --- /dev/null +++ b/interface-definitions/igmp-proxy.xml @@ -0,0 +1,100 @@ + + + + + + + + Internet Group Management Protocol (IGMP) proxy parameters + 740 + + + + + Option to disable IGMP proxy + + + + + + Option to disable "quickleave" + + + + + + Interface for IGMP proxy [REQUIRED] + + + + + + + + Allowed unicast sources for multicast traffic to be proxy'ed + + ipv4net + IPv4 network + + + + + + + + + + Role of this IGMP interface + + upstream downstream disabled + + + upstream + Upstream interface (only 1 allowed) + + + downstream + Downstream interface(s) (default) + + + disabled + Disabled interface + + + (upstream|downstream|disabled) + + + + + + TTL threshold + + 1-255 + TTL threshold for the interfaces (default: 1) + + + + + threshold must be between 1 and 255 + + + + + Group to whitelist + + ipv4net + IPv4 network + + + + + + + + + + + + + + -- cgit v1.2.3