forked from roll-wg/mpl-yang
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathietf-yang-mpl-domain@2018-07-06.yang
122 lines (101 loc) · 3.68 KB
/
ietf-yang-mpl-domain@2018-07-06.yang
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
module ietf-yang-mpl-domain {
yang-version 1.1;
namespace
"urn:ietf:params:xml:ns:yang:ietf-yang-mpl-domain";
prefix mpl;
import ietf-inet-types{
prefix inet;
}
organization
"IETF ROLL (Routing Over Low power and lossy networks)
Working Group";
contact
"WG Web: http://tools.ietf.org/wg/roll/
WG List: mailto:roll@ietf.org
WG Chair: Peter van der Stok
mailto:consultancy@vanderstok.org
WG Chair: Ines Robles
mailto:maria.ines.robles@ericsson.com
Editor: Peter van der Stok
mailto:consultancy@vanderstok.org";
description
"This module contains information about the state of the MPL domain.
Copyright (c) 2018 IETF Trust and the persons identified as
authors of the code. All rights reserved.
Redistribution and use in source and binary forms, with or
without modification, is permitted pursuant to, and subject
to the license terms contained in, the Simplified BSD License
set forth in Section 4.c of the IETF Trust's Legal Provisions
Relating to IETF Documents
(http://trustee.ietf.org/license-info).
This version of this YANG module is part of RFC XXXX; see
the RFC itself for full legal notices.";
revision "2018-07-06" {
description "revision 3";
reference
"I-D:draft-ietf-roll-mpl-yang: A YANG model for Multicast
Protocol for Low power and lossy Networks (MPL)";
}
container domain {
description
"High level container containing the choice statement
between single domain/interface and multiple
domains and interfaces.";
choice multiple {
description
"A choice for large devices with multiple domains
and interfaces.";
container mpl-domain {
description
"The entries describe the MPL domains, the associated
Multicast addresses and interfaces.";
list domains {
key domainID;
description
"The entries describe a given domain identified with
domainID and the associated Multicast addresses.";
leaf domainID {
type uint16;
description
"Entry uniquely identifies the domain in the
forwarder.";
}
leaf-list MClist{
type inet:ipv6-address;
description
"List of associated IPv6 Addresses.";
}
} // domains list
list addresses {
key MCaddress;
description
"The entries describe the interfaces enabled
with the specified MC address.";
leaf MCaddress {
type inet:ipv6-address;
description
"MC address belonging to a MPL domain.";
}
leaf-list interfaces {
type string;
description
"List of names of interfaces enabled for this
Multicast address. Interface name is defined
in Appendix A of [RFC8343].";
}
} // addresses list
} // container mpl-domain
container mpl-single {
description
"A choice for constrained devices with a list of
MC addresses for single interface and domain.";
leaf-list MCaddresses{
type inet:ipv6-address;
description
"list of MC addresses belonging to one single
domain and interface.";
}
} // container mpl-simple
} // choice simple
} // container module
} //module ietf-yang-mpl-domain