3 namespace "http://frrouting.org/yang/igmp";
11 import ietf-routing-types {
15 import ietf-inet-types {
19 import frr-interface {
27 "FRR Users List: <mailto:frog@lists.frrouting.org>
28 FRR Development List: <mailto:dev@lists.frrouting.org>";
31 "This module defines a model for managing FRR pimd daemon.
33 Copyright 2020 FRRouting
35 Redistribution and use in source and binary forms, with or without
36 modification, are permitted provided that the following conditions
39 1. Redistributions of source code must retain the above copyright notice,
40 this list of conditions and the following disclaimer.
42 2. Redistributions in binary form must reproduce the above copyright
43 notice, this list of conditions and the following disclaimer in the
44 documentation and/or other materials provided with the distribution.
46 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
47 \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
48 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
49 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
50 HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
51 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
52 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
53 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
54 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
55 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
56 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.";
66 grouping interface-config-attributes {
68 "Configuration attributes applied to the interface level.";
74 "Enable IGMP flag on the interface.";
92 "The Query Interval is the interval between General Queries
93 sent by the Querier.";
96 leaf query-max-response-time {
103 "Query maximum response time specifies the maximum time
104 allowed before sending a responding report.";
107 leaf last-member-query-interval {
114 "Last Member Query Interval, which may be tuned to modify
115 the leave latency of the network.";
118 leaf robustness-variable {
124 "Querier's Robustness Variable allows tuning for the
125 expected packet loss on a network.";
129 grouping per-af-interface-config-attributes {
131 "Configuration attributes applied to the interface level per address family.";
134 key "group-addr source-addr";
136 "A static multicast route, (*,G) or (S,G).
137 The version of IGMP must be 3 to support (S,G).";
140 type rt-types:ip-multicast-group-address;
142 "Multicast group address.";
145 type inet:ip-address;
147 "Multicast source address.";
151 } // per-af-interface-config-attributes
154 * Per-interface configuration data
156 augment "/frr-interface:lib/frr-interface:interface" {
159 "Configure IGMP on an interface.";
160 uses interface-config-attributes;
161 list address-family {
162 key "address-family";
164 "Each list entry for one address family.";
165 uses frr-rt:address-family;
166 uses per-af-interface-config-attributes;