@@ -38,28 +38,6 @@ module openconfig-mclag {
3838 oc-ext:catalog-organization "openconfig" ;
3939 oc-ext:origin "openconfig" ;
4040
41- typedef mclag-peer-ip-option {
42- type enumeration {
43- enum USE_LINK_LOCAL {
44- description
45- "Indicates the usage of link-local address to communicate
46- to MCLAG peer" ;
47- }
48- }
49- description
50- "MCLAG Peer IP options other than configuring peer ip address" ;
51- }
52-
53- typedef mclag-peer {
54- type union {
55- type oc-inet:ip-address;
56- type mclag-peer-ip-option;
57- }
58- description
59- "MCLAG peer address can be a configurable IP address or
60- a link-local address" ;
61- }
62-
6341 // grouping statements
6442
6543 grouping mclag-domain-config {
@@ -82,7 +60,7 @@ module openconfig-mclag {
8260 }
8361
8462 leaf peer-address {
85- type mclag-peer ;
63+ type oc-inet:ip-address ;
8664 description
8765 "peer address of MCLAG Domain" ;
8866 }
@@ -207,16 +185,6 @@ module openconfig-mclag {
207185 description
208186 "Reference to MCLAG domain list key" ;
209187 }
210-
211- leaf mclag-id {
212- type uint16 {
213- range 1 ..256 ;
214- }
215- description
216- "Groups the mclag interfaces among the mclag peers, which
217- are bundled together to connect to the same attached device.
218- mclag-id has to be same on all these interfaces." ;
219- }
220188 }
221189
222190 grouping mclag-interface-state {
@@ -444,11 +412,4 @@ module openconfig-mclag {
444412
445413 // augment statements
446414
447- deviation
448- /oc-mclag:mclag/oc-mclag:mclag-domains/oc-mclag:mclag-domain/oc-mclag:config /oc-mclag:peer-address
449- {
450- deviate replace {
451- type oc-inet:ip-address;
452- }
453- }
454415}
0 commit comments