3 namespace "http://frrouting.org/yang/pim-rp";
7 import ietf-inet-types {
19 import frr-route-types {
20 prefix frr-route-types;
27 "FRR Users List: <mailto:frog@lists.frrouting.org>
28 FRR Development List: <mailto:dev@lists.frrouting.org>";
31 "The module defines a collection of YANG definitions common for
32 all PIM (Protocol Independent Multicast) RP (Rendezvous Point) model.
34 Copyright 2020 FRRouting
36 Redistribution and use in source and binary forms, with or without
37 modification, are permitted provided that the following conditions
40 1. Redistributions of source code must retain the above copyright notice,
41 this list of conditions and the following disclaimer.
43 2. Redistributions in binary form must reproduce the above copyright
44 notice, this list of conditions and the following disclaimer in the
45 documentation and/or other materials provided with the distribution.
47 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
48 \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
49 LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
50 A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
51 HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
52 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
53 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
54 DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
55 THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
56 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
57 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.";
63 "RFC XXXX: A YANG Data Model for PIM RP";
73 grouping static-rp-container {
75 "Grouping of static RP container.";
79 "Containing static RP attributes.";
84 "A list of RP addresses.";
89 "Specifies a static RP address.";
92 choice group-list-or-prefix-list {
93 description "Use group-list or prefix-list";
96 type frr-route-types:ip-multicast-group-prefix;
98 "List of multicast group address.";
105 "Group prefix-list filter";
111 } // static-rp-container
114 * Configuration data nodes
116 augment "/frr-rt:routing/frr-rt:control-plane-protocols/"
117 + "frr-rt:control-plane-protocol/frr-pim:pim/"
118 + "frr-pim:address-family" {
119 description "PIM RP augmentation.";
123 "PIM RP configuration data.";
124 uses static-rp-container;