diff options
| author | Nathan Bahr <nbahr@atcorp.com> | 2024-06-26 12:41:45 -0500 |
|---|---|---|
| committer | Nathan Bahr <nbahr@atcorp.com> | 2024-08-15 16:20:00 +0000 |
| commit | 0cb1bf78736573f13d45e6b138a8c1ac42228b1f (patch) | |
| tree | b79a2e0bcbcdbb02d22052f03c300c06d8cd9d16 /yang | |
| parent | aa9d66e922e2a232b2fd89b87d8cb7409ae82dc1 (diff) | |
pimd, yang: Implement igmp static-group command
This will add a static IGMP group that does not rely on an underlying
socket join which sends traffic to the cpu unneccesarily. Instead, the
groups are joined directly without any IGMP interactions.
New command is under interfaces, 'ip igmp static-group ...'.
Added an alias for 'ip igmp join ...' to 'ip igmp join-group'.
Moved IGMP join groups to new yang list "join-group" and reused
the "static-group" list for the IGMP static groups.
Signed-off-by: Nathan Bahr <nbahr@atcorp.com>
Diffstat (limited to 'yang')
| -rw-r--r-- | yang/frr-gmp.yang | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/yang/frr-gmp.yang b/yang/frr-gmp.yang index c8a05a2bdb..e6a1f7f640 100644 --- a/yang/frr-gmp.yang +++ b/yang/frr-gmp.yang @@ -147,10 +147,10 @@ module frr-gmp { expected packet loss on a network."; } - list static-group { + list join-group { key "group-addr source-addr"; description - "A static multicast route, (*,G) or (S,G). + "A static GMP join, (*,G) or (S,G). The version of IGMP must be 3 to support (S,G)."; leaf group-addr { @@ -164,6 +164,23 @@ module frr-gmp { "Multicast source address."; } } + + list static-group { + key "group-addr source-addr"; + description + "A static multicast group without GMP, (*,G) or (S,G)."; + + leaf group-addr { + type rt-types:ip-multicast-group-address; + description + "Multicast group address."; + } + leaf source-addr { + type inet:ip-address; + description + "Multicast source address."; + } + } } // interface-config-attributes /* |
