idnits 2.17.1 draft-chen-bier-rpcs-yang-01.txt: Checking boilerplate required by RFC 5378 and the IETF Trust (see https://trustee.ietf.org/license-info): ---------------------------------------------------------------------------- No issues found here. Checking nits according to https://www.ietf.org/id-info/1id-guidelines.txt: ---------------------------------------------------------------------------- No issues found here. Checking nits according to https://www.ietf.org/id-info/checklist : ---------------------------------------------------------------------------- ** There are 31 instances of too long lines in the document, the longest one being 64 characters in excess of 72. Miscellaneous warnings: ---------------------------------------------------------------------------- == The copyright year in the IETF Trust and authors Copyright Line does not match the current year == Line 73 has weird spacing: '...r-bfrid bie...' == Line 81 has weird spacing: '...r-bfrid bie...' == Line 90 has weird spacing: '...osition bie...' == Line 112 has weird spacing: '...r-bfrid bie...' == Line 120 has weird spacing: '...r-bfrid bie...' == (16 more instances...) -- The document date (August 28, 2018) is 2039 days in the past. Is this intentional? Checking references for intended status: Proposed Standard ---------------------------------------------------------------------------- (See RFCs 3967 and 4897 for information about using normative references to lower-maturity documents in RFCs) == Unused Reference: 'I-D.ietf-bier-architecture' is defined on line 832, but no explicit reference was found in the text == Unused Reference: 'I-D.ietf-bier-bier-yang' is defined on line 838, but no explicit reference was found in the text == Unused Reference: 'I-D.ietf-bier-te-arch' is defined on line 844, but no explicit reference was found in the text == Unused Reference: 'I-D.ietf-lime-yang-connectionless-oam-methods' is defined on line 850, but no explicit reference was found in the text == Unused Reference: 'RFC6020' is defined on line 858, but no explicit reference was found in the text == Unused Reference: 'RFC6241' is defined on line 863, but no explicit reference was found in the text == Unused Reference: 'RFC6991' is defined on line 868, but no explicit reference was found in the text == Unused Reference: 'RFC7223' is defined on line 872, but no explicit reference was found in the text == Outdated reference: A later version (-08) exists of draft-ietf-bier-bier-yang-03 == Outdated reference: A later version (-13) exists of draft-ietf-bier-te-arch-00 ** Obsolete normative reference: RFC 7223 (Obsoleted by RFC 8343) Summary: 2 errors (**), 0 flaws (~~), 17 warnings (==), 1 comment (--). Run idnits with the --verbose option for more detailed information about the items above. -------------------------------------------------------------------------------- 2 BIER WG Ran. Chen 3 Internet-Draft Min. Gu 4 Intended status: Standards Track ZTE Corporation 5 Expires: March 1, 2019 August 28, 2018 7 YANG Data Model for BIER RPCs 8 draft-chen-bier-rpcs-yang-01.txt 10 Abstract 12 This document defines a YANG data model for BIER RPCs. 14 Status of This Memo 16 This Internet-Draft is submitted in full conformance with the 17 provisions of BCP 78 and BCP 79. 19 Internet-Drafts are working documents of the Internet Engineering 20 Task Force (IETF). Note that other groups may also distribute 21 working documents as Internet-Drafts. The list of current Internet- 22 Drafts is at https://datatracker.ietf.org/drafts/current/. 24 Internet-Drafts are draft documents valid for a maximum of six months 25 and may be updated, replaced, or obsoleted by other documents at any 26 time. It is inappropriate to use Internet-Drafts as reference 27 material or to cite them other than as "work in progress." 29 This Internet-Draft will expire on March 1, 2019. 31 Copyright Notice 33 Copyright (c) 2018 IETF Trust and the persons identified as the 34 document authors. All rights reserved. 36 This document is subject to BCP 78 and the IETF Trust's Legal 37 Provisions Relating to IETF Documents 38 (https://trustee.ietf.org/license-info) in effect on the date of 39 publication of this document. Please review these documents 40 carefully, as they describe your rights and restrictions with respect 41 to this document. Code Components extracted from this document must 42 include Simplified BSD License text as described in Section 4.e of 43 the Trust Legal Provisions and are provided without warranty as 44 described in the Simplified BSD License. 46 Table of Contents 48 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 49 2. Design of the Data Model . . . . . . . . . . . . . . . . . . 2 50 3. Overview the bier rpcs model . . . . . . . . . . . . . . . . 8 51 4. BIER YANG Data Model . . . . . . . . . . . . . . . . . . . . 9 52 5. Security Considerations . . . . . . . . . . . . . . . . . . . 18 53 6. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . 18 54 7. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 18 55 8. Normative references . . . . . . . . . . . . . . . . . . . . 18 56 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 19 58 1. Introduction 60 This document defines a YANG data model for BIER RPCs. 62 2. Design of the Data Model 64 module: ietf-bier-rpcs 65 augment /coam-methods:continuity-check/coam-methods:input/coam-methods:destination-tp: 66 +---- bier-address 67 | +---- (bier-address)? 68 | | +--:(bfrs) 69 | | | +---- bier-bsl? bier:bsl 70 | | | +---- bier-subdomainid? bier:sub-domain-id 71 | | | +---- bfir? bier:bfr-id 72 | | | +---- bier-bfers* [bier-bfrid] 73 | | | +---- bier-bfrid bier:bfr-id 74 | | +--:(m-addr) 75 | | +---- vpn-id? uint32 76 | | +---- source-address? inet:ip-address 77 | | +---- source-wildcard? uint8 78 | | +---- group-address? inet:ip-address 79 | | +---- group-wildcard? uint8 80 | +---- target-bfers* [bier-bfrid] 81 | | +---- bier-bfrid bier:bfr-id 82 | +---- reply-mode? reply-mode 83 +---- bier-te-address 84 +---- bier-te-subdomainid? bier:sub-domain-id 85 +---- bier-te-bp-info* [bier-te-bsl] 86 | +---- bier-te-bsl bier:bsl 87 | +---- bitstring* [si] 88 | | +---- si bier:si 89 | | +---- bitpositions* [bitposition] 90 | | +---- bitposition bier-te:bit-string 91 | +---- fec-stack-type* [si] 92 | +---- si bier:si 93 | +---- fec-stack-info* [bitposition] 94 | +---- bitposition bier-te:bit-string 95 | +---- (fec-stack-type) 96 | +--:(connected) 97 | | +---- local-bfr? inet:ip-address 98 | | +---- local-interface? if:interface-ref 99 | +--:(routed) 100 | | +---- routed-bfr? inet:ip-address 101 | +--:(local-decap) 102 | +---- bfer? inet:ip-address 103 +---- reply-mode-te? reply-mode 104 augment /coam-methods:continuity-check/coam-methods:output/coam-methods:src-test-point: 105 +---- bier-address 106 | +---- (bier-address)? 107 | | +--:(bfrs) 108 | | | +---- bier-bsl? bier:bsl 109 | | | +---- bier-subdomainid? bier:sub-domain-id 110 | | | +---- bfir? bier:bfr-id 111 | | | +---- bier-bfers* [bier-bfrid] 112 | | | +---- bier-bfrid bier:bfr-id 113 | | +--:(m-addr) 114 | | +---- vpn-id? uint32 115 | | +---- source-address? inet:ip-address 116 | | +---- source-wildcard? uint8 117 | | +---- group-address? inet:ip-address 118 | | +---- group-wildcard? uint8 119 | +---- target-bfers* [bier-bfrid] 120 | | +---- bier-bfrid bier:bfr-id 121 | +---- reply-mode? reply-mode 122 +---- bier-te-address 123 +---- bier-te-subdomainid? bier:sub-domain-id 124 +---- bier-te-bp-info* [bier-te-bsl] 125 | +---- bier-te-bsl bier:bsl 126 | +---- bitstring* [si] 127 | | +---- si bier:si 128 | | +---- bitpositions* [bitposition] 129 | | +---- bitposition bier-te:bit-string 130 | +---- fec-stack-type* [si] 131 | +---- si bier:si 132 | +---- fec-stack-info* [bitposition] 133 | +---- bitposition bier-te:bit-string 134 | +---- (fec-stack-type) 135 | +--:(connected) 136 | | +---- local-bfr? inet:ip-address 137 | | +---- local-interface? if:interface-ref 138 | +--:(routed) 139 | | +---- routed-bfr? inet:ip-address 140 | +--:(local-decap) 141 | +---- bfer? inet:ip-address 142 +---- reply-mode-te? reply-mode 143 augment /coam-methods:continuity-check/coam-methods:output/coam-methods:dest-test-point: 144 +---- bier-address 145 | +---- (bier-address)? 146 | | +--:(bfrs) 147 | | | +---- bier-bsl? bier:bsl 148 | | | +---- bier-subdomainid? bier:sub-domain-id 149 | | | +---- bfir? bier:bfr-id 150 | | | +---- bier-bfers* [bier-bfrid] 151 | | | +---- bier-bfrid bier:bfr-id 152 | | +--:(m-addr) 153 | | +---- vpn-id? uint32 154 | | +---- source-address? inet:ip-address 155 | | +---- source-wildcard? uint8 156 | | +---- group-address? inet:ip-address 157 | | +---- group-wildcard? uint8 158 | +---- target-bfers* [bier-bfrid] 159 | | +---- bier-bfrid bier:bfr-id 160 | +---- reply-mode? reply-mode 161 +---- bier-te-address 162 +---- bier-te-subdomainid? bier:sub-domain-id 163 +---- bier-te-bp-info* [bier-te-bsl] 164 | +---- bier-te-bsl bier:bsl 165 | +---- bitstring* [si] 166 | | +---- si bier:si 167 | | +---- bitpositions* [bitposition] 168 | | +---- bitposition bier-te:bit-string 169 | +---- fec-stack-type* [si] 170 | +---- si bier:si 171 | +---- fec-stack-info* [bitposition] 172 | +---- bitposition bier-te:bit-string 173 | +---- (fec-stack-type) 174 | +--:(connected) 175 | | +---- local-bfr? inet:ip-address 176 | | +---- local-interface? if:interface-ref 177 | +--:(routed) 178 | | +---- routed-bfr? inet:ip-address 179 | +--:(local-decap) 180 | +---- bfer? inet:ip-address 181 +---- reply-mode-te? reply-mode 182 augment /coam-methods:path-discovery/coam-methods:input/coam-methods:destination-tp: 183 +---- bier-address 184 | +---- (bier-address)? 185 | | +--:(bfrs) 186 | | | +---- bier-bsl? bier:bsl 187 | | | +---- bier-subdomainid? bier:sub-domain-id 188 | | | +---- bfir? bier:bfr-id 189 | | | +---- bier-bfers* [bier-bfrid] 190 | | | +---- bier-bfrid bier:bfr-id 191 | | +--:(m-addr) 192 | | +---- vpn-id? uint32 193 | | +---- source-address? inet:ip-address 194 | | +---- source-wildcard? uint8 195 | | +---- group-address? inet:ip-address 196 | | +---- group-wildcard? uint8 197 | +---- target-bfers* [bier-bfrid] 198 | | +---- bier-bfrid bier:bfr-id 199 | +---- reply-mode? reply-mode 200 +---- bier-te-address 201 +---- bier-te-subdomainid? bier:sub-domain-id 202 +---- bier-te-bp-info* [bier-te-bsl] 203 | +---- bier-te-bsl bier:bsl 204 | +---- bitstring* [si] 205 | | +---- si bier:si 206 | | +---- bitpositions* [bitposition] 207 | | +---- bitposition bier-te:bit-string 208 | +---- fec-stack-type* [si] 209 | +---- si bier:si 210 | +---- fec-stack-info* [bitposition] 211 | +---- bitposition bier-te:bit-string 212 | +---- (fec-stack-type) 213 | +--:(connected) 214 | | +---- local-bfr? inet:ip-address 215 | | +---- local-interface? if:interface-ref 216 | +--:(routed) 217 | | +---- routed-bfr? inet:ip-address 218 | +--:(local-decap) 219 | +---- bfer? inet:ip-address 220 +---- reply-mode-te? reply-mode 221 augment /coam-methods:path-discovery/coam-methods:output/coam-methods:src-test-point: 222 +---- bier-address 223 | +---- (bier-address)? 224 | | +--:(bfrs) 225 | | | +---- bier-bsl? bier:bsl 226 | | | +---- bier-subdomainid? bier:sub-domain-id 227 | | | +---- bfir? bier:bfr-id 228 | | | +---- bier-bfers* [bier-bfrid] 229 | | | +---- bier-bfrid bier:bfr-id 230 | | +--:(m-addr) 231 | | +---- vpn-id? uint32 232 | | +---- source-address? inet:ip-address 233 | | +---- source-wildcard? uint8 234 | | +---- group-address? inet:ip-address 235 | | +---- group-wildcard? uint8 236 | +---- target-bfers* [bier-bfrid] 237 | | +---- bier-bfrid bier:bfr-id 238 | +---- reply-mode? reply-mode 239 +---- bier-te-address 240 +---- bier-te-subdomainid? bier:sub-domain-id 241 +---- bier-te-bp-info* [bier-te-bsl] 242 | +---- bier-te-bsl bier:bsl 243 | +---- bitstring* [si] 244 | | +---- si bier:si 245 | | +---- bitpositions* [bitposition] 246 | | +---- bitposition bier-te:bit-string 247 | +---- fec-stack-type* [si] 248 | +---- si bier:si 249 | +---- fec-stack-info* [bitposition] 250 | +---- bitposition bier-te:bit-string 251 | +---- (fec-stack-type) 252 | +--:(connected) 253 | | +---- local-bfr? inet:ip-address 254 | | +---- local-interface? if:interface-ref 255 | +--:(routed) 256 | | +---- routed-bfr? inet:ip-address 257 | +--:(local-decap) 258 | +---- bfer? inet:ip-address 259 +---- reply-mode-te? reply-mode 260 augment /coam-methods:path-discovery/coam-methods:output/coam-methods:dest-test-point: 261 +---- bier-address 262 | +---- (bier-address)? 263 | | +--:(bfrs) 264 | | | +---- bier-bsl? bier:bsl 265 | | | +---- bier-subdomainid? bier:sub-domain-id 266 | | | +---- bfir? bier:bfr-id 267 | | | +---- bier-bfers* [bier-bfrid] 268 | | | +---- bier-bfrid bier:bfr-id 269 | | +--:(m-addr) 270 | | +---- vpn-id? uint32 271 | | +---- source-address? inet:ip-address 272 | | +---- source-wildcard? uint8 273 | | +---- group-address? inet:ip-address 274 | | +---- group-wildcard? uint8 275 | +---- target-bfers* [bier-bfrid] 276 | | +---- bier-bfrid bier:bfr-id 277 | +---- reply-mode? reply-mode 278 +---- bier-te-address 279 +---- bier-te-subdomainid? bier:sub-domain-id 280 +---- bier-te-bp-info* [bier-te-bsl] 281 | +---- bier-te-bsl bier:bsl 282 | +---- bitstring* [si] 283 | | +---- si bier:si 284 | | +---- bitpositions* [bitposition] 285 | | +---- bitposition bier-te:bit-string 286 | +---- fec-stack-type* [si] 287 | +---- si bier:si 288 | +---- fec-stack-info* [bitposition] 289 | +---- bitposition bier-te:bit-string 290 | +---- (fec-stack-type) 291 | +--:(connected) 292 | | +---- local-bfr? inet:ip-address 293 | | +---- local-interface? if:interface-ref 294 | +--:(routed) 295 | | +---- routed-bfr? inet:ip-address 296 | +--:(local-decap) 297 | +---- bfer? inet:ip-address 298 +---- reply-mode-te? reply-mode 299 augment /coam-methods:path-discovery/coam-methods:output/coam-methods:path-trace-info/coam-methods:path-trace-info-list: 300 +---- bier-address 301 | +---- (bier-address)? 302 | | +--:(bfrs) 303 | | | +---- bier-bsl? bier:bsl 304 | | | +---- bier-subdomainid? bier:sub-domain-id 305 | | | +---- bfir? bier:bfr-id 306 | | | +---- bier-bfers* [bier-bfrid] 307 | | | +---- bier-bfrid bier:bfr-id 308 | | +--:(m-addr) 309 | | +---- vpn-id? uint32 310 | | +---- source-address? inet:ip-address 311 | | +---- source-wildcard? uint8 312 | | +---- group-address? inet:ip-address 313 | | +---- group-wildcard? uint8 314 | +---- target-bfers* [bier-bfrid] 315 | | +---- bier-bfrid bier:bfr-id 316 | +---- reply-mode? reply-mode 317 +---- bier-te-address 318 | +---- bier-te-subdomainid? bier:sub-domain-id 319 | +---- bier-te-bp-info* [bier-te-bsl] 320 | | +---- bier-te-bsl bier:bsl 321 | | +---- bitstring* [si] 322 | | | +---- si bier:si 323 | | | +---- bitpositions* [bitposition] 324 | | | +---- bitposition bier-te:bit-string 325 | | +---- fec-stack-type* [si] 326 | | +---- si bier:si 327 | | +---- fec-stack-info* [bitposition] 328 | | +---- bitposition bier-te:bit-string 329 | | +---- (fec-stack-type) 330 | | +--:(connected) 331 | | | +---- local-bfr? inet:ip-address 332 | | | +---- local-interface? if:interface-ref 333 | | +--:(routed) 334 | | | +---- routed-bfr? inet:ip-address 335 | | +--:(local-decap) 336 | | +---- bfer? inet:ip-address 337 | +---- reply-mode-te? reply-mode 338 +---- bier-response 339 +---- ttl? int16 340 +---- responder-bfr? inet:ip-address 342 3. Overview the bier rpcs model 344 There are seven parts of the bier rpcs data model. 346 o This Module augments the "coam-methods:continuity-check/coam- 347 methods:input/coam-methods:destination-tp:" with a bier-address 348 container and bier-te address container. The Containers define 349 all the input parameters related to 'continuity-check' operation. 351 o This Module augments the "coam-methods:continuity-check/coam- 352 methods:output/coam-methods:src-test-point: " with a bier-address 353 container and bier-te address container. The Containers define 354 all the output src-test-point parameters related to 'continuity- 355 check' operation. 357 o This Module augments the "coam-methods:continuity-check/coam- 358 methods:output/coam-methods:dest-test-point: " with a bier-address 359 container and bier-te address container. The Containers define 360 all the output dest-test-point parameters related to 'continuity- 361 check' operation. 363 o This Module augments the " coam-methods:path-discovery/coam- 364 methods:input/coam-methods:destination-tp: " with a bier-address 365 container and bier-te address container. The Containers define 366 all the input parameters related to 'path-discovery' operation. 368 o This Module augments the "coam-methods:path-discovery/coam- 369 methods:output/coam-methods:src-test-point: " with a bier-address 370 container and bier-te address container. The Containers define 371 all the output src-test-point parameters related to 'path- 372 discovery' operation. 374 o This Module augments the "coam-methods:path-discovery/coam- 375 methods:output/coam-methods:dest-test-point: " with a bier-address 376 container and bier-te address container. The Containers define 377 all the output dest-test-point parameters related to 'path- 378 discovery' operation. 380 o This Module augments the "coam-methods:path-discovery/coam- 381 methods:output/coam-methods:path-trace-info/coam-methods:path- 382 trace-info-list" with a bier-address container,bier-te address 383 container and bier-response container. The Containers define all 384 the output path trace infomation list related to 'path-discovery' 385 operation. 387 4. BIER YANG Data Model 389 file "ietf-bier-rpcs@2018-02-08.yang" 390 module ietf-bier-rpcs { 391 namespace "urn:ietf:params:xml:ns:yang:ietf-bier-rpcs"; 392 prefix bier-rpcs; 394 import ietf-bier { 395 prefix bier; 396 } 398 import ietf-bier-te{ 399 prefix bier-te; 400 } 402 import ietf-connectionless-oam-methods { 403 prefix coam-methods; 404 } 406 import ietf-inet-types { 407 prefix "inet"; 408 } 410 import ietf-interfaces { 411 prefix if; 412 } 414 import ietf-multicast-information { 415 prefix multicast-info; 416 } 418 organization 419 "IETF BIER(Bit Indexed Explicit Replication ) Working Group"; 421 contact 422 "WG List: 423 WG Chair: Tony Przygienda 424 426 WG Chair: Greg Shepherd 427 428 Editor: Ran Chen 429 430 Editor: Min Gu 431 433 "; 435 description 436 "The YANG module defines BIER RPCs data model."; 437 revision 2018-08-28{ 438 description 439 "01 revision"; 440 reference "RFC XXXX: YANG module defines BIER RPCs data model."; 441 } 443 revision 2018-02-08{ 444 description 445 "00 revision"; 446 reference "RFC XXXX: YANG module defines BIER RPCs data model."; 447 } 449 typedef reply-mode { 450 type enumeration{ 451 enum "do not Reply"{ 452 value 1; 453 description 454 "reply mode is do not reply"; 455 } 456 enum "reply via IPv4/IPv6 UDP packet"{ 457 value 2; 458 description 459 "reply mode is via IPv4/IPv6 UDP packet."; 460 } 461 enum "reply via BIER-TE packet"{ 462 value 3; 463 description 464 "reply mode is via BIER-TE packet."; 465 } 466 } 467 description "Reply mode."; 468 } 470 grouping general-multicast { 471 description "The general multicast address information."; 472 leaf source-address { 473 type inet:ip-address; 474 description "The address of multicast source. The value set to zero 475 means that the receiver interests in all source that relevant to 476 one group."; 477 } 478 leaf source-wildcard { 479 type uint8; 480 description "The wildcard information of source."; 481 } 482 leaf group-address { 483 type inet:ip-address; 484 description "The address of multicast group."; 485 } 486 leaf group-wildcard { 487 type uint8; 488 description "The wildcard information of group."; 489 } 490 } 492 grouping m-addr { 493 description "The vpn multicast information."; 494 leaf vpn-id { 495 type uint32; 496 description "The vpn-id of the multicast flow. 497 If there is global instance, the vpnid value should be zero."; 498 } 499 uses general-multicast; 500 } 502 grouping bier-address{ 503 description 504 "bier test point address."; 506 choice bier-address { 507 case bfrs { 508 description "use bfrs as address."; 509 leaf bier-bsl{ 510 type bier:bsl; 511 description 512 "bier bitstringlength."; 513 } 514 leaf bier-subdomainid { 515 type bier:sub-domain-id; 516 description 517 "bier sub-domain id."; 518 } 519 leaf bfir { 520 type bier:bfr-id; 521 description 522 "bier bfir id."; 523 } 524 list bier-bfers { 525 key bier-bfrid; 526 leaf bier-bfrid { 527 type bier:bfr-id; 528 description 529 "bier bfr identifier."; 530 } 531 description 532 "bier BFERs."; 533 } 534 } 535 case m-addr { 536 description "use multicast flow address as address."; 537 uses multicast-info:m-addr; 538 } 539 description "BIER address." ; 540 } 542 list target-bfers { 543 key bier-bfrid; 544 leaf bier-bfrid { 545 type bier:bfr-id; 546 description 547 "bier bfr identifier."; 548 } 549 description 550 "target BFERs."; 551 } 553 leaf reply-mode{ 554 type reply-mode; 555 description 556 "reply mode."; 557 } 559 } 561 grouping bier-te-address{ 562 description 563 "bier-te test point address."; 564 leaf bier-te-subdomainid { 565 type bier:sub-domain-id; 566 description 567 "bier-te sub-domain id."; 568 } 569 list bier-te-bp-info { 570 key "bier-te-bsl"; 571 description 572 "bier-te bitpositions information."; 573 leaf bier-te-bsl{ 574 type bier:bsl; 575 description 576 "bier bitstringlength."; 577 } 578 list bitstring{ 579 key "si"; 580 description 581 "The bitstring of BIER-TE path."; 582 leaf si { 583 type bier:si; 584 description 585 "The set identifier of this forwarding item."; 586 } 587 list bitpositions { 588 key "bitposition"; 589 description 590 "the list of bitposition information."; 591 leaf bitposition{ 592 type bier-te:bit-string; 593 description 594 "the bitposition information."; 595 } 596 } 597 } 598 list fec-stack-type{ 599 key "si"; 600 description 601 "The FEC stack info."; 602 leaf si { 603 type bier:si; 604 description 605 "The set identifier of this forwarding item."; 606 } 607 list fec-stack-info { 608 key "bitposition"; 609 description 610 "the choice of fec stack type."; 611 leaf bitposition{ 612 type bier-te:bit-string; 613 description 614 "the bitposition information."; 616 } 617 choice fec-stack-type{ 618 mandatory true; 619 case connected { 620 description "The type of adjacency is connected. Mostly connected interfaces."; 621 leaf local-bfr{ 622 type inet:ip-address; 623 description 624 "the local bfr identifier."; 625 } 626 leaf local-interface{ 627 type if:interface-ref; 628 description 629 "the local interface."; 630 } 631 } 632 case routed { 633 description "The type of adjacency is routed. Mostly not connected interfaces."; 634 leaf routed-bfr{ 635 type inet:ip-address; 636 description 637 "the loopback address of bfr."; 638 } 639 } 640 case local-decap { 641 description "Means that the packet should be decapsulated and forward out BIER domain."; 642 leaf bfer{ 643 type inet:ip-address; 644 description 645 "bfer indentifier."; 646 } 647 } 648 description "FEC stack type."; 649 } 650 } 651 } 653 } 655 leaf reply-mode-te{ 656 type reply-mode; 657 description 658 "the reply mode."; 659 } 661 } 662 identity tp-address-technology-type { 663 description 664 "Test point address type"; 665 } 667 identity bier-address-type { 668 base tp-address-technology-type; 669 description 670 "bier address address type"; 671 } 673 identity bier-te-address-type { 674 base tp-address-technology-type; 675 description 676 "bier te address address type"; 677 } 679 augment /coam-methods:continuity-check/coam-methods:input/coam-methods:destination-tp{ 680 description 681 "augment the connectionless oam methods yang for input CC destination test point address"; 682 container bier-address { 683 uses bier-address; 684 description 685 "bier Address."; 686 } 688 container bier-te-address { 689 uses bier-te-address; 690 description 691 "bier te Address."; 692 } 693 } 695 augment /coam-methods:continuity-check/coam-methods:output/coam-methods:src-test-point{ 696 description 697 "augment the connectionless oam methods yang for output CC source test point address"; 699 container bier-address { 700 uses bier-address; 701 description 702 "bier Address."; 703 } 705 container bier-te-address { 706 uses bier-te-address; 707 description 708 "bier te Address."; 709 } 710 } 711 augment /coam-methods:continuity-check/coam-methods:output/coam-methods:dest-test-point{ 712 description 713 "augment the connectionless oam methods yang for output CC destination test point address"; 714 container bier-address { 715 uses bier-address; 716 description 717 "bier Address."; 718 } 720 container bier-te-address { 721 uses bier-te-address; 722 description 723 "bier te Address."; 724 } 725 } 726 augment /coam-methods:path-discovery/coam-methods:input/coam-methods:destination-tp { 727 description 728 "augment the connectionless oam methods yang for input path-discovery destination test point address"; 729 container bier-address { 730 uses bier-address; 731 description 732 "bier Address."; 733 } 735 container bier-te-address { 736 uses bier-te-address; 737 description 738 "bier te Address."; 739 } 740 } 742 augment /coam-methods:path-discovery/coam-methods:output/coam-methods:src-test-point{ 743 description 744 "augment the connectionless oam methods yang for output path-discovery src test point address"; 745 container bier-address { 746 uses bier-address; 747 description 748 "bier Address."; 749 } 751 container bier-te-address { 752 uses bier-te-address; 753 description 754 "bier te Address."; 756 } 757 } 759 augment "/coam-methods:path-discovery/coam-methods:output/coam-methods:dest-test-point"{ 760 description 761 "augment the connectionless oam methods yang for output path-discovery destination test point address"; 762 container bier-address { 763 uses bier-address; 764 description 765 "bier Address."; 766 } 768 container bier-te-address { 769 uses bier-te-address; 770 description 771 "bier te Address."; 772 } 773 } 775 augment /coam-methods:path-discovery/coam-methods:output/coam-methods:path-trace-info/coam-methods:path-trace-info-list{ 776 description 777 "augment the connectionless oam methods yang for output path trace info."; 778 container bier-address { 779 uses bier-address; 780 description 781 "bier Address."; 782 } 784 container bier-te-address { 785 uses bier-te-address; 786 description 787 "bier te Address."; 788 } 790 container bier-te-address { 791 uses bier-te-address; 792 description 793 "bier te Address."; 794 } 795 container bier-response{ 796 leaf ttl{ 797 type int16; 798 description 799 "TTL is "; 800 } 801 leaf responder-bfr{ 802 type inet:ip-address; 803 description 804 "Responder bfr."; 805 } 806 description 807 "Bier response."; 808 } 810 } 812 } 814 816 5. Security Considerations 818 TBD. 820 6. Acknowledgements 822 We would like to thank IJsbrand Wijnands, Reshad Rahman and Giles 823 Heron for their comments and support of this work. 825 7. IANA Considerations 827 This document requires no IANA Actions. Please remove this section 828 before RFC publication. 830 8. Normative references 832 [I-D.ietf-bier-architecture] 833 Wijnands, I., Rosen, E., Dolganow, A., Przygienda, T., and 834 S. Aldrin, "Multicast using Bit Index Explicit 835 Replication", draft-ietf-bier-architecture-08 (work in 836 progress), September 2017. 838 [I-D.ietf-bier-bier-yang] 839 Chen, R., hu, f., Zhang, Z., dai.xianxian@zte.com.cn, d., 840 and M. Sivakumar, "YANG Data Model for BIER Protocol", 841 draft-ietf-bier-bier-yang-03 (work in progress), February 842 2018. 844 [I-D.ietf-bier-te-arch] 845 Eckert, T., Cauchie, G., Braun, W., and M. Menth, "Traffic 846 Engineering for Bit Index Explicit Replication (BIER-TE)", 847 draft-ietf-bier-te-arch-00 (work in progress), January 848 2018. 850 [I-D.ietf-lime-yang-connectionless-oam-methods] 851 Kumar, D., Wang, Z., Wu, Q., Rahman, R., and S. Raghavan, 852 "Retrieval Methods YANG Data Model for the Management of 853 Operations, Administration, and Maintenance (OAM) 854 Protocols that use Connectionless Communications", draft- 855 ietf-lime-yang-connectionless-oam-methods-13 (work in 856 progress), November 2017. 858 [RFC6020] Bjorklund, M., Ed., "YANG - A Data Modeling Language for 859 the Network Configuration Protocol (NETCONF)", RFC 6020, 860 DOI 10.17487/RFC6020, October 2010, 861 . 863 [RFC6241] Enns, R., Ed., Bjorklund, M., Ed., Schoenwaelder, J., Ed., 864 and A. Bierman, Ed., "Network Configuration Protocol 865 (NETCONF)", RFC 6241, DOI 10.17487/RFC6241, June 2011, 866 . 868 [RFC6991] Schoenwaelder, J., Ed., "Common YANG Data Types", 869 RFC 6991, DOI 10.17487/RFC6991, July 2013, 870 . 872 [RFC7223] Bjorklund, M., "A YANG Data Model for Interface 873 Management", RFC 7223, DOI 10.17487/RFC7223, May 2014, 874 . 876 Authors' Addresses 878 Ran Chen 879 ZTE Corporation 880 No.50 Software Avenue,Yuhuatai District 881 Nanjing, Jiangsu Province 210012 882 China 884 Phone: +86 025 88014636 885 Email: chen.ran@zte.com.cn 887 Min Gu 888 ZTE Corporation 889 No.50 Software Avenue,Yuhuatai District 890 Nanjing, Jiangsu Province 210012 891 China