b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame] | 1 | ###################################### |
| 2 | ##-- mcproxy configuration script --## |
| 3 | ###################################### |
| 4 | |
| 5 | # Protocol: IGMPv1|IGMPv2|IGMPv3 (IPv4) - MLDv1|MLDv2 (IPv6) |
| 6 | protocol IGMPv3; |
| 7 | |
| 8 | ########################################### |
| 9 | |
| 10 | # Proxy Instance: upstream ==> downstream |
| 11 | pinstance A: ap a1 ==> ap a2; |
| 12 | pinstance B: bp b1 ==> bp b2; |
| 13 | |
| 14 | ########################################### |
| 15 | |
| 16 | # Tables |
| 17 | table allways { |
| 18 | (*|*) |
| 19 | }; |
| 20 | |
| 21 | table piA_peering_ifs { |
| 22 | ap(*|*) |
| 23 | }; |
| 24 | |
| 25 | table piA_upstreams { |
| 26 | a1(*|*) |
| 27 | }; |
| 28 | |
| 29 | table piB_peering_ifs { |
| 30 | bp(*|*) |
| 31 | }; |
| 32 | |
| 33 | table piB_upstreams { |
| 34 | b1(*|*) |
| 35 | }; |
| 36 | |
| 37 | ########################################### |
| 38 | |
| 39 | # Instance Behaviour |
| 40 | pinstance A upstream * in rulematching mutex 10; #or 25ms (u4) |
| 41 | #pinstance A upstream * out rulematching all; #default |
| 42 | |
| 43 | pinstance A upstream ap out blacklist table allways; #(u1) |
| 44 | #pinstance A upstream ap in whitelist table {(*|*)}; #default (u2, u3) |
| 45 | |
| 46 | pinstance A upstream a1 out blacklist table piA_peering_ifs; #(u3_1) |
| 47 | #pinstance A upstream a1 in whitelist table {(*|*)}; #default |
| 48 | |
| 49 | pinstance A downstream ap in blacklist table allways; #(d1) |
| 50 | pinstance A downstream ap out blacklist table piA_upstreams; #(d2, d2_1, d3, d4) |
| 51 | |
| 52 | #pinstance A downstream a2 in whitelist table {(*|*)}; #default |
| 53 | #pinstance A downstream a2 out whitelist table {(*|*)}; #default |
| 54 | |
| 55 | pinstance B upstream * in rulematching mutex 10; #or 25ms (u4) |
| 56 | #pinstance B upstream * out rulematching all; #default |
| 57 | |
| 58 | pinstance B upstream bp out blacklist table allways; #(u1) |
| 59 | #pinstance B upstream bp in whitelist table {(*|*)}; #default (u2, u3) |
| 60 | |
| 61 | pinstance B upstream b1 out blacklist table piB_peering_ifs; #(u3_1) |
| 62 | #pinstance b upstream b1 in whitelist table {(*|*)}; #default |
| 63 | |
| 64 | pinstance B downstream bp in blacklist table allways; #(d1) |
| 65 | pinstance B downstream bp out blacklist table piB_upstreams; #(d2, d2_1, d3, d4) |
| 66 | |
| 67 | #pinstance B downstream b2 in whitelist table {(*|*)}; #default |
| 68 | #pinstance B downstream b2 out whitelist table {(*|*)}; #default |