diff options
author | Christian Poessinger <christian@poessinger.com> | 2018-11-04 11:47:51 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2018-11-07 14:33:53 +0100 |
commit | f9e12731ec3a24e1dafeac733eb3594d0f049916 (patch) | |
tree | ef5c49d90e9b4311a9d8f9cd21bbd2dae17b4b59 /debian/rules | |
parent | 6f084a4253b8cfd9cbc9301cf2b349aaee92f2fb (diff) | |
download | vyos-1x-f9e12731ec3a24e1dafeac733eb3594d0f049916.tar.gz vyos-1x-f9e12731ec3a24e1dafeac733eb3594d0f049916.zip |
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 --
(cherry picked from commit 698c5a40b2ece2f3eb41ad932660f7ceb1f80092)
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules index 15dfec551..663aff4d9 100755 --- a/debian/rules +++ b/debian/rules @@ -64,3 +64,7 @@ override_dh_auto_install: # Install data files mkdir -p $(DIR)/$(VYOS_DATA_DIR) cp -r data/* $(DIR)/$(VYOS_DATA_DIR) + + # Install etc configuration files + mkdir -p $(DIR)/etc + cp -r src/etc/* $(DIR)/etc |