| < draft-ietf-lime-yang-connectionless-oam-methods-02.txt | draft-ietf-lime-yang-connectionless-oam-methods-03.txt > | |||
|---|---|---|---|---|
| Network Working Group D. Kumar | Network Working Group D. Kumar | |||
| Internet-Draft Cisco | Internet-Draft Cisco | |||
| Intended status: Standards Track M. Wang | Intended status: Standards Track M. Wang | |||
| Expires: November 16, 2017 Q. Wu | Expires: December 1, 2017 Q. Wu | |||
| Huawei | Huawei | |||
| R. Rahman | R. Rahman | |||
| S. Raghavan | S. Raghavan | |||
| Cisco | Cisco | |||
| May 15, 2017 | May 30, 2017 | |||
| Retrieval Methods YANG Data Model for Connectionless Operations, | Retrieval Methods YANG Data Model for Connectionless Operations, | |||
| Administration, and Maintenance(OAM) protocols | Administration, and Maintenance(OAM) protocols | |||
| draft-ietf-lime-yang-connectionless-oam-methods-02 | draft-ietf-lime-yang-connectionless-oam-methods-03 | |||
| Abstract | Abstract | |||
| This document presents a retrieval method YANG Data model for | This document presents a retrieval method YANG Data model for | |||
| connectionless OAM protocols. It provides a technology-independent | connectionless OAM protocols. It provides a technology-independent | |||
| RPC commands for connectionless OAM protocols. The retrieval methods | RPC commands for connectionless OAM protocols. The retrieval methods | |||
| model presented here can be extended to include technology specific | model presented here can be extended to include technology specific | |||
| details. This is leading to uniformity between OAM protocols and | details. This is leading to uniformity between OAM protocols and | |||
| support both nested OAM workflows (i.e., performing OAM functions at | support both nested OAM workflows (i.e., performing OAM functions at | |||
| different levels through a unified interface) and interactive OAM | different levels through a unified interface) and interactive OAM | |||
| skipping to change at page 1, line 44 ¶ | skipping to change at page 1, line 44 ¶ | |||
| Internet-Drafts are working documents of the Internet Engineering | Internet-Drafts are working documents of the Internet Engineering | |||
| Task Force (IETF). Note that other groups may also distribute | Task Force (IETF). Note that other groups may also distribute | |||
| working documents as Internet-Drafts. The list of current Internet- | working documents as Internet-Drafts. The list of current Internet- | |||
| Drafts is at http://datatracker.ietf.org/drafts/current/. | Drafts is at http://datatracker.ietf.org/drafts/current/. | |||
| Internet-Drafts are draft documents valid for a maximum of six months | Internet-Drafts are draft documents valid for a maximum of six months | |||
| and may be updated, replaced, or obsoleted by other documents at any | and may be updated, replaced, or obsoleted by other documents at any | |||
| time. It is inappropriate to use Internet-Drafts as reference | time. It is inappropriate to use Internet-Drafts as reference | |||
| material or to cite them other than as "work in progress." | material or to cite them other than as "work in progress." | |||
| This Internet-Draft will expire on November 16, 2017. | This Internet-Draft will expire on December 1, 2017. | |||
| Copyright Notice | Copyright Notice | |||
| Copyright (c) 2017 IETF Trust and the persons identified as the | Copyright (c) 2017 IETF Trust and the persons identified as the | |||
| document authors. All rights reserved. | document authors. All rights reserved. | |||
| This document is subject to BCP 78 and the IETF Trust's Legal | This document is subject to BCP 78 and the IETF Trust's Legal | |||
| Provisions Relating to IETF Documents | Provisions Relating to IETF Documents | |||
| (http://trustee.ietf.org/license-info) in effect on the date of | (http://trustee.ietf.org/license-info) in effect on the date of | |||
| publication of this document. Please review these documents | publication of this document. Please review these documents | |||
| skipping to change at page 2, line 29 ¶ | skipping to change at page 2, line 29 ¶ | |||
| Table of Contents | Table of Contents | |||
| 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 | 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2 | |||
| 2. Conventions used in this document . . . . . . . . . . . . . . 3 | 2. Conventions used in this document . . . . . . . . . . . . . . 3 | |||
| 2.1. Terminology . . . . . . . . . . . . . . . . . . . . . . . 4 | 2.1. Terminology . . . . . . . . . . . . . . . . . . . . . . . 4 | |||
| 2.2. Tree Diagrams . . . . . . . . . . . . . . . . . . . . . . 4 | 2.2. Tree Diagrams . . . . . . . . . . . . . . . . . . . . . . 4 | |||
| 3. Overview of the Connectionless OAM retrieval methods Model . 5 | 3. Overview of the Connectionless OAM retrieval methods Model . 5 | |||
| 3.1. RPC definitions . . . . . . . . . . . . . . . . . . . . . 5 | 3.1. RPC definitions . . . . . . . . . . . . . . . . . . . . . 5 | |||
| 3.2. OAM Retrieval Methods Hierarchy . . . . . . . . . . . . . 8 | 3.2. OAM Retrieval Methods Hierarchy . . . . . . . . . . . . . 8 | |||
| 4. OAM Retrieval Methods YANG Module . . . . . . . . . . . . . . 9 | 4. OAM Retrieval Methods YANG Module . . . . . . . . . . . . . . 17 | |||
| 5. Security Considerations . . . . . . . . . . . . . . . . . . . 13 | 5. Security Considerations . . . . . . . . . . . . . . . . . . . 20 | |||
| 6. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 13 | 6. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 21 | |||
| 7. References . . . . . . . . . . . . . . . . . . . . . . . . . 14 | 7. References . . . . . . . . . . . . . . . . . . . . . . . . . 21 | |||
| 7.1. Normative References . . . . . . . . . . . . . . . . . . 14 | 7.1. Normative References . . . . . . . . . . . . . . . . . . 21 | |||
| 7.2. Informative References . . . . . . . . . . . . . . . . . 15 | 7.2. Informative References . . . . . . . . . . . . . . . . . 22 | |||
| Appendix A. Appendix . . . . . . . . . . . . . . . . . . . . . . 15 | Appendix A. Appendix . . . . . . . . . . . . . . . . . . . . . . 23 | |||
| A.1. OAM Retrieval Persistent Methods YANG Module . . . . . . 16 | A.1. OAM Retrieval Persistent Methods YANG Module . . . . . . 23 | |||
| Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 25 | Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 33 | |||
| 1. Introduction | 1. Introduction | |||
| Operations, Administration, and Maintenance (OAM) are important | Operations, Administration, and Maintenance (OAM) are important | |||
| networking functions that allow operators to: | networking functions that allow operators to: | |||
| 1. Monitor reachability of destinations (Reachability Verification, | 1. Monitor reachability of destinations (Reachability Verification, | |||
| Continuity Check). | Continuity Check). | |||
| 2. Troubleshoot failures (Fault verification and localization). | 2. Troubleshoot failures (Fault verification and localization). | |||
| skipping to change at page 9, line 5 ¶ | skipping to change at page 8, line 36 ¶ | |||
| } | } | |||
| } | } | |||
| Snippet of data hierarchy related to RPC calls | Snippet of data hierarchy related to RPC calls | |||
| 3.2. OAM Retrieval Methods Hierarchy | 3.2. OAM Retrieval Methods Hierarchy | |||
| The complete data hierarchy related to the Connectionless OAM | The complete data hierarchy related to the Connectionless OAM | |||
| Retrieval Methods YANG model is presented below. | Retrieval Methods YANG model is presented below. | |||
| module: ietf-connectionless-oam-methods | module: ietf-connectionless-oam-methods | |||
| rpcs: | rpcs: | |||
| +---x continuity-check {coam:continuity-check}? | +---x continuity-check {coam:continuity-check}? | |||
| | +---w input | | +---w input | |||
| | | +---w destination-tp | | | +---w destination-tp | |||
| | | +---w source-interface? if:interface-ref | | | | +---w tp-address-type-value? identityref | |||
| | | +---w outbound-interface? if:interface-ref | | | | +---w (tp-address)? | |||
| | | +---w count? uint32 | | | | +--:(mac-address) | |||
| | | +---w vrf? coam:routing-instance-ref | | | | | +---w mac-address? yang:mac-address | |||
| | | +---w ttl? uint8 | | | | +--:(ipv4-address) | |||
| | | +---w packet-size? uint32 | | | | | +---w ipv4-address? inet:ipv4-address | |||
| | +--ro output | | | | +--:(ipv6-address) | |||
| | +--ro error-code-list* [response-index] | | | | | +---w ipv6-address? inet:ipv6-address | |||
| | +--ro response-index uint32 | | | | +--:(src-dst-address) | |||
| | +--ro status-code? int32 | | | | | +---w src-ip-address? inet:ip-address | |||
| | +--ro status-sub-code? uint8 | | | | | +---w dst-ip-address? inet:ip-address | |||
| +---x path-discovery {coam:path-discovery}? | | | | | +---w Interface? if:interface-ref | |||
| +---w input | | | | +--:(fec) | |||
| | +---w destination-tp | | | | | +---w fec-type? fec-type | |||
| | +---w source-interface? if:interface-ref | | | | | +---w (fec-value)? | |||
| | +---w outbound-interface? if:interface-ref | | | | | +--:(ip-prefix) | |||
| | +---w vrf? coam:routing-instance-ref | | | | | | +---w ip-prefix? inet:ip-prefix | |||
| | +---w max-ttl? uint8 | | | | | +--:(bgp) | |||
| +--ro output | | | | | | +---w bgp? inet:ip-prefix | |||
| +--ro response-list* [response-index] | | | | | +--:(tunnel) | |||
| +--ro response-index uint32 | | | | | | +---w tunnel-interface? uint32 | |||
| +--ro status-code? int32 | | | | | +--:(pw) | |||
| +--ro status-sub-code? uint8 | | | | | | +---w remote-pe-address? inet:ip-address | |||
| | | | | | +---w pw-id? uint32 | ||||
| | | | | +--:(vpls) | ||||
| | | | | | +---w route-distinguisher? uint32 | ||||
| | | | | | +---w sender-ve-id? uint32 | ||||
| | | | | | +---w receiver-ve-id? uint32 | ||||
| | | | | +--:(mpls-mldp) | ||||
| | | | | +---w (root-address)? | ||||
| | | | | +--:(ip-address) | ||||
| | | | | | +---w source-address? inet:ip-address | ||||
| | | | | | +---w group-ip-address? IP-Multicast- | ||||
| Group-Address | ||||
| | | | | +--:(vpn) | ||||
| | | | | | +---w as-number? inet:as-number | ||||
| | | | | +--:(global-id) | ||||
| | | | | +---w lsp-id? string | ||||
| | | | +--:(tlv-address) | ||||
| | | | | +---w tlv-type? int16 | ||||
| | | | | +---w tlv-len? int16 | ||||
| | | | | +---w tlv-value? binary | ||||
| | | | +--:(system-info) | ||||
| | | | +---w system-id? inet:uri | ||||
| | | +---w session-type-enum? enumeration | ||||
| | | +---w source-interface? if:interface-ref | ||||
| | | +---w outbound-interface? if:interface-ref | ||||
| | | +---w count? uint32 | ||||
| | | +---w vrf? coam:routing-instance-ref | ||||
| | | +---w ttl? uint8 | ||||
| | | +---w packet-size? uint32 | ||||
| | +--ro output | ||||
| | +--ro error-code-list* [response-index] | ||||
| | | +--ro response-index uint32 | ||||
| | | +--ro status-code? int32 | ||||
| | | +--ro status-sub-code? uint8 | ||||
| | +--ro src-test-point | ||||
| | | +--ro vrf? routing-instance-ref | ||||
| | | +--ro tp-address-type-value? identityref | ||||
| | | +--ro (tp-address)? | ||||
| | | | +--:(mac-address) | ||||
| | | | | +--ro mac-address? yang:mac-address | ||||
| | | | +--:(ipv4-address) | ||||
| | | | | +--ro ipv4-address? inet:ipv4-address | ||||
| | | | +--:(ipv6-address) | ||||
| | | | | +--ro ipv6-address? inet:ipv6-address | ||||
| | | | +--:(src-dst-address) | ||||
| | | | | +--ro src-ip-address? inet:ip-address | ||||
| | | | | +--ro dst-ip-address? inet:ip-address | ||||
| | | | | +--ro Interface? if:interface-ref | ||||
| | | | +--:(fec) | ||||
| | | | | +--ro fec-type? fec-type | ||||
| | | | | +--ro (fec-value)? | ||||
| | | | | +--:(ip-prefix) | ||||
| | | | | | +--ro ip-prefix? inet:ip-prefix | ||||
| | | | | +--:(bgp) | ||||
| | | | | | +--ro bgp? inet:ip-prefix | ||||
| | | | | +--:(tunnel) | ||||
| | | | | | +--ro tunnel-interface? uint32 | ||||
| | | | | +--:(pw) | ||||
| | | | | | +--ro remote-pe-address? inet:ip-address | ||||
| | | | | | +--ro pw-id? uint32 | ||||
| | | | | +--:(vpls) | ||||
| | | | | | +--ro route-distinguisher? uint32 | ||||
| | | | | | +--ro sender-ve-id? uint32 | ||||
| | | | | | +--ro receiver-ve-id? uint32 | ||||
| | | | | +--:(mpls-mldp) | ||||
| | | | | +--ro (root-address)? | ||||
| | | | | +--:(ip-address) | ||||
| | | | | | +--ro source-address? inet:ip-address | ||||
| | | | | | +--ro group-ip-address? IP-Multicast- | ||||
| Group-Address | ||||
| | | | | +--:(vpn) | ||||
| | | | | | +--ro as-number? inet:as-number | ||||
| | | | | +--:(global-id) | ||||
| | | | | +--ro lsp-id? string | ||||
| | | | +--:(tlv-address) | ||||
| | | | | +--ro tlv-type? int16 | ||||
| | | | | +--ro tlv-len? int16 | ||||
| | | | | +--ro tlv-value? binary | ||||
| | | | +--:(system-info) | ||||
| | | | +--ro system-id? inet:uri | ||||
| | | +--ro egress-intf-name? if:interface-ref | ||||
| | +--ro dest-test-point | ||||
| | | +--ro vrf? routing-instance-ref | ||||
| | | +--ro tp-address-type-value? identityref | ||||
| | | +--ro (tp-address)? | ||||
| | | | +--:(mac-address) | ||||
| | | | | +--ro mac-address? yang:mac-address | ||||
| | | | +--:(ipv4-address) | ||||
| | | | | +--ro ipv4-address? inet:ipv4-address | ||||
| | | | +--:(ipv6-address) | ||||
| | | | | +--ro ipv6-address? inet:ipv6-address | ||||
| | | | +--:(src-dst-address) | ||||
| | | | | +--ro src-ip-address? inet:ip-address | ||||
| | | | | +--ro dst-ip-address? inet:ip-address | ||||
| | | | | +--ro Interface? if:interface-ref | ||||
| | | | +--:(fec) | ||||
| | | | | +--ro fec-type? fec-type | ||||
| | | | | +--ro (fec-value)? | ||||
| | | | | +--:(ip-prefix) | ||||
| | | | | | +--ro ip-prefix? inet:ip-prefix | ||||
| | | | | +--:(bgp) | ||||
| | | | | | +--ro bgp? inet:ip-prefix | ||||
| | | | | +--:(tunnel) | ||||
| | | | | | +--ro tunnel-interface? uint32 | ||||
| | | | | +--:(pw) | ||||
| | | | | | +--ro remote-pe-address? inet:ip-address | ||||
| | | | | | +--ro pw-id? uint32 | ||||
| | | | | +--:(vpls) | ||||
| | | | | | +--ro route-distinguisher? uint32 | ||||
| | | | | | +--ro sender-ve-id? uint32 | ||||
| | | | | | +--ro receiver-ve-id? uint32 | ||||
| | | | | +--:(mpls-mldp) | ||||
| | | | | +--ro (root-address)? | ||||
| | | | | +--:(ip-address) | ||||
| | | | | | +--ro source-address? inet:ip-address | ||||
| | | | | | +--ro group-ip-address? IP-Multicast- | ||||
| Group-Address | ||||
| | | | | +--:(vpn) | ||||
| | | | | | +--ro as-number? inet:as-number | ||||
| | | | | +--:(global-id) | ||||
| | | | | +--ro lsp-id? string | ||||
| | | | +--:(tlv-address) | ||||
| | | | | +--ro tlv-type? int16 | ||||
| | | | | +--ro tlv-len? int16 | ||||
| | | | | +--ro tlv-value? binary | ||||
| | | | +--:(system-info) | ||||
| | | | +--ro system-id? inet:uri | ||||
| | | +--ro ingress-intf-name? if:interface-ref | ||||
| | +--ro sequence-number? uint64 | ||||
| | +--ro hop-cnt? uint8 | ||||
| | +--ro session-packet-statistics | ||||
| | | +--ro rx-packet-count? uint32 | ||||
| | | +--ro tx-packet-count? uint32 | ||||
| | | +--ro rx-bad-packet? uint32 | ||||
| | | +--ro tx-packet-failed? uint32 | ||||
| | +--ro session-error-statistics | ||||
| | | +--ro packet-drops-count? uint32 | ||||
| | | +--ro packet-reorder-count? uint32 | ||||
| | | +--ro packets-out-of-seq-count? uint32 | ||||
| | | +--ro packets-dup-count? uint32 | ||||
| | +--ro session-delay-statistics | ||||
| | | +--ro time-resolution-value? identityref | ||||
| | | +--ro min-delay-value? uint32 | ||||
| | | +--ro max-delay-value? uint32 | ||||
| | | +--ro average-delay-value? uint32 | ||||
| | +--ro session-jitter-statistics | ||||
| | +--ro time-resolution-value? identityref | ||||
| | +--ro min-jitter-value? uint32 | ||||
| | +--ro max-jitter-value? uint32 | ||||
| | +--ro average-jitter-value? uint32 | ||||
| +---x path-discovery {coam:path-discovery}? | ||||
| +---w input | ||||
| | +---w destination-tp | ||||
| | | +---w tp-address-type-value? identityref | ||||
| | | +---w (tp-address)? | ||||
| | | +--:(mac-address) | ||||
| | | | +---w mac-address? yang:mac-address | ||||
| | | +--:(ipv4-address) | ||||
| | | | +---w ipv4-address? inet:ipv4-address | ||||
| | | +--:(ipv6-address) | ||||
| | | | +---w ipv6-address? inet:ipv6-address | ||||
| | | +--:(src-dst-address) | ||||
| | | | +---w src-ip-address? inet:ip-address | ||||
| | | | +---w dst-ip-address? inet:ip-address | ||||
| | | | +---w Interface? if:interface-ref | ||||
| | | +--:(fec) | ||||
| | | | +---w fec-type? fec-type | ||||
| | | | +---w (fec-value)? | ||||
| | | | +--:(ip-prefix) | ||||
| | | | | +---w ip-prefix? inet:ip-prefix | ||||
| | | | +--:(bgp) | ||||
| | | | | +---w bgp? inet:ip-prefix | ||||
| | | | +--:(tunnel) | ||||
| | | | | +---w tunnel-interface? uint32 | ||||
| | | | +--:(pw) | ||||
| | | | | +---w remote-pe-address? inet:ip-address | ||||
| | | | | +---w pw-id? uint32 | ||||
| | | | +--:(vpls) | ||||
| | | | | +---w route-distinguisher? uint32 | ||||
| | | | | +---w sender-ve-id? uint32 | ||||
| | | | | +---w receiver-ve-id? uint32 | ||||
| | | | +--:(mpls-mldp) | ||||
| | | | +---w (root-address)? | ||||
| | | | +--:(ip-address) | ||||
| | | | | +---w source-address? inet:ip-address | ||||
| | | | | +---w group-ip-address? IP-Multicast- | ||||
| Group-Address | ||||
| | | | +--:(vpn) | ||||
| | | | | +---w as-number? inet:as-number | ||||
| | | | +--:(global-id) | ||||
| | | | +---w lsp-id? string | ||||
| | | +--:(tlv-address) | ||||
| | | | +---w tlv-type? int16 | ||||
| | | | +---w tlv-len? int16 | ||||
| | | | +---w tlv-value? binary | ||||
| | | +--:(system-info) | ||||
| | | +---w system-id? inet:uri | ||||
| | +---w session-type-enum? enumeration | ||||
| | +---w source-interface? if:interface-ref | ||||
| | +---w outbound-interface? if:interface-ref | ||||
| | +---w vrf? coam:routing-instance-ref | ||||
| | +---w max-ttl? uint8 | ||||
| +--ro output | ||||
| +--ro response-list* [response-index] | ||||
| | +--ro response-index uint32 | ||||
| | +--ro status-code? int32 | ||||
| | +--ro status-sub-code? uint8 | ||||
| +--ro src-test-point | ||||
| | +--ro vrf? routing-instance-ref | ||||
| | +--ro tp-address-type-value? identityref | ||||
| | +--ro (tp-address)? | ||||
| | +--:(mac-address) | ||||
| | | +--ro mac-address? yang:mac-address | ||||
| | +--:(ipv4-address) | ||||
| | | +--ro ipv4-address? inet:ipv4-address | ||||
| | +--:(ipv6-address) | ||||
| | | +--ro ipv6-address? inet:ipv6-address | ||||
| | +--:(src-dst-address) | ||||
| | | +--ro src-ip-address? inet:ip-address | ||||
| | | +--ro dst-ip-address? inet:ip-address | ||||
| | | +--ro Interface? if:interface-ref | ||||
| | +--:(fec) | ||||
| | | +--ro fec-type? fec-type | ||||
| | | +--ro (fec-value)? | ||||
| | | +--:(ip-prefix) | ||||
| | | | +--ro ip-prefix? inet:ip-prefix | ||||
| | | +--:(bgp) | ||||
| | | | +--ro bgp? inet:ip-prefix | ||||
| | | +--:(tunnel) | ||||
| | | | +--ro tunnel-interface? uint32 | ||||
| | | +--:(pw) | ||||
| | | | +--ro remote-pe-address? inet:ip-address | ||||
| | | | +--ro pw-id? uint32 | ||||
| | | +--:(vpls) | ||||
| | | | +--ro route-distinguisher? uint32 | ||||
| | | | +--ro sender-ve-id? uint32 | ||||
| | | | +--ro receiver-ve-id? uint32 | ||||
| | | +--:(mpls-mldp) | ||||
| | | +--ro (root-address)? | ||||
| | | +--:(ip-address) | ||||
| | | | +--ro source-address? inet:ip-address | ||||
| | | | +--ro group-ip-address? IP-Multicast | ||||
| -Group-Address | ||||
| | | +--:(vpn) | ||||
| | | | +--ro as-number? inet:as-number | ||||
| | | +--:(global-id) | ||||
| | | +--ro lsp-id string | ||||
| | +--:(tlv-address) | ||||
| | | +--ro tlv-type? int16 | ||||
| | | +--ro tlv-len? int16 | ||||
| | | +--ro tlv-value? binary | ||||
| | +--:(system-info) | ||||
| | +--ro system-id? inet:uri | ||||
| +--ro dest-test-point | ||||
| | +--ro vrf? routing-instance-ref | ||||
| | +--ro tp-address-type-value? identityref | ||||
| | +--ro (tp-address)? | ||||
| | +--:(mac-address) | ||||
| | | +--ro mac-address? yang:mac-address | ||||
| | +--:(ipv4-address) | ||||
| | | +--ro ipv4-address? inet:ipv4-address | ||||
| | +--:(ipv6-address) | ||||
| | | +--ro ipv6-address? inet:ipv6-address | ||||
| | +--:(src-dst-address) | ||||
| | | +--ro src-ip-address? inet:ip-address | ||||
| | | +--ro dst-ip-address? inet:ip-address | ||||
| | | +--ro Interface? if:interface-ref | ||||
| | +--:(fec) | ||||
| | | +--ro fec-type? fec-type | ||||
| | | +--ro (fec-value)? | ||||
| | | +--:(ip-prefix) | ||||
| | | | +--ro ip-prefix? inet:ip-prefix | ||||
| | | +--:(bgp) | ||||
| | | | +--ro bgp? inet:ip-prefix | ||||
| | | +--:(tunnel) | ||||
| | | | +--ro tunnel-interface? uint32 | ||||
| | | +--:(pw) | ||||
| | | | +--ro remote-pe-address? inet:ip-address | ||||
| | | | +--ro pw-id? uint32 | ||||
| | | +--:(vpls) | ||||
| | | | +--ro route-distinguisher? uint32 | ||||
| | | | +--ro sender-ve-id? uint32 | ||||
| | | | +--ro receiver-ve-id? uint32 | ||||
| | | +--:(mpls-mldp) | ||||
| | | +--ro (root-address)? | ||||
| | | +--:(ip-address) | ||||
| | | | +--ro source-address? inet:ip-address | ||||
| | | | +--ro group-ip-address? IP-Multicast- | ||||
| Group-Address | ||||
| | | +--:(vpn) | ||||
| | | | +--ro as-number? inet:as-number | ||||
| | | +--:(global-id) | ||||
| | | +--ro lsp-id? string | ||||
| | +--:(tlv-address) | ||||
| | | +--ro tlv-type? int16 | ||||
| | | +--ro tlv-len? int16 | ||||
| | | +--ro tlv-value? binary | ||||
| | +--:(system-info) | ||||
| | +--ro system-id? inet:uri | ||||
| +--ro sequence-number? uint64 | ||||
| +--ro hop-cnt? uint8 | ||||
| +--ro session-packet-statistics | ||||
| | +--ro rx-packet-count? uint32 | ||||
| | +--ro tx-packet-count? uint32 | ||||
| | +--ro rx-bad-packet? uint32 | ||||
| | +--ro tx-packet-failed? uint32 | ||||
| +--ro session-error-statistics | ||||
| | +--ro packet-drops-count? uint32 | ||||
| | +--ro packet-reorder-count? uint32 | ||||
| | +--ro packets-out-of-seq-count? uint32 | ||||
| | +--ro packets-dup-count? uint32 | ||||
| +--ro session-delay-statistics | ||||
| | +--ro time-resolution-value? identityref | ||||
| | +--ro min-delay-value? uint32 | ||||
| | +--ro max-delay-value? uint32 | ||||
| | +--ro average-delay-value? uint32 | ||||
| +--ro session-jitter-statistics | ||||
| | +--ro time-resolution-value? identityref | ||||
| | +--ro min-jitter-value? uint32 | ||||
| | +--ro max-jitter-value? uint32 | ||||
| | +--ro average-jitter-value? uint32 | ||||
| +--ro path-verification | ||||
| | +--ro flow-info? string | ||||
| | +--ro session-path-verification-statistics | ||||
| | +--ro verified-count? uint32 | ||||
| | +--ro failed-count? uint32 | ||||
| +--ro path-trace-info | ||||
| +--ro path-trace-info-list* [index] | ||||
| +--ro index uint32 | ||||
| +--ro vrf? routing-instance-ref | ||||
| +--ro tp-address-type-value? identityref | ||||
| +--ro (tp-address)? | ||||
| | +--:(mac-address) | ||||
| | | +--ro mac-address? yang:mac-address | ||||
| | +--:(ipv4-address) | ||||
| | | +--ro ipv4-address? inet:ipv4-address | ||||
| | +--:(ipv6-address) | ||||
| | | +--ro ipv6-address? inet:ipv6-address | ||||
| | +--:(src-dst-address) | ||||
| | | +--ro src-ip-address? inet:ip-address | ||||
| | | +--ro dst-ip-address? inet:ip-address | ||||
| | | +--ro Interface? if:interface-ref | ||||
| | +--:(fec) | ||||
| | | +--ro fec-type? fec-type | ||||
| | | +--ro (fec-value)? | ||||
| | | +--:(ip-prefix) | ||||
| | | | +--ro ip-prefix? inet:ip-prefix | ||||
| | | +--:(bgp) | ||||
| | | | +--ro bgp? inet:ip-prefix | ||||
| | | +--:(tunnel) | ||||
| | | | +--ro tunnel-interface? uint32 | ||||
| | | +--:(pw) | ||||
| | | | +--ro remote-pe-address? inet:ip-address | ||||
| | | | +--ro pw-id? uint32 | ||||
| | | +--:(vpls) | ||||
| | | | +--ro route-distinguisher? uint32 | ||||
| | | | +--ro sender-ve-id? uint32 | ||||
| | | | +--ro receiver-ve-id? uint32 | ||||
| | | +--:(mpls-mldp) | ||||
| | | +--ro (root-address)? | ||||
| | | +--:(ip-address) | ||||
| | | | +--ro source-address inet:ip-address | ||||
| | | | +--ro group-ip-address? IP-Multicast- | ||||
| Group-Address | ||||
| | | +--:(vpn) | ||||
| | | | +--ro as-number? inet:as-number | ||||
| | | +--:(global-id) | ||||
| | | +--ro lsp-id? string | ||||
| | +--:(tlv-address) | ||||
| | | +--ro tlv-type? int16 | ||||
| | | +--ro tlv-len? int16 | ||||
| | | +--ro tlv-value? binary | ||||
| | +--:(system-info) | ||||
| | +--ro system-id? inet:uri | ||||
| +--ro timestamp-val? yang:date-and-time | ||||
| +--ro ingress-intf-name? if:interface-ref | ||||
| +--ro egress-intf-name? if:interface-ref | ||||
| +--ro app-meta-data? uint32 | ||||
| data hierarchy of OAM Retrieval Methods | data hierarchy of OAM Retrieval Methods | |||
| 4. OAM Retrieval Methods YANG Module | 4. OAM Retrieval Methods YANG Module | |||
| <CODE BEGINS> file "ietf-connectionless-oam-methods.yang" | <CODE BEGINS> file "ietf-connectionless-oam-methods@2017-05-18.yang" | |||
| module ietf-connectionless-oam-methods { | module ietf-connectionless-oam-methods { | |||
| namespace "urn:ietf:params:xml:ns:yang:ietf-connectionless-oam-methods"; | namespace "urn:ietf:params:xml:ns:yang:ietf-connectionless-oam-methods"; | |||
| prefix coam-methods; | prefix coam-methods; | |||
| import ietf-interfaces { | ||||
| prefix if; | ||||
| } | ||||
| import ietf-connectionless-oam { | ||||
| prefix coam; | ||||
| } | ||||
| import ietf-interfaces { | ||||
| prefix if; | ||||
| } | ||||
| import ietf-connectionless-oam { | ||||
| prefix coam; | ||||
| } | ||||
| import ietf-yang-types { | ||||
| prefix yang; | ||||
| } | ||||
| organization | organization | |||
| "IETF LIME Working Group"; | "IETF LIME Working Group"; | |||
| contact | contact | |||
| "Deepak Kumar dekumar@cisco.com | "Deepak Kumar dekumar@cisco.com | |||
| Qin Wu bill.wu@huawei.com | Qin Wu bill.wu@huawei.com | |||
| S Raghavan srihari@cisco.com | S Raghavan srihari@cisco.com | |||
| Zitao Wang wangzitao@huawei.com | Zitao Wang wangzitao@huawei.com | |||
| R Rahman rrahman@cisco.com"; | R Rahman rrahman@cisco.com"; | |||
| description | description | |||
| "This YANG module defines the RPCs for , | "This YANG module defines the RPCs for , | |||
| connectionless OAM to be used within IETF | connectionless OAM to be used within IETF | |||
| in a protocol Independent manner. | in a protocol Independent manner. | |||
| Functional level abstraction is indendent with | Functional level abstraction is indendent with | |||
| YANG modeling. It is assumed that each protocol maps | YANG modeling. It is assumed that each protocol maps | |||
| corresponding abstracts to its native format. | corresponding abstracts to its native format. | |||
| Each protocol may extend the YANG model defined | Each protocol may extend the YANG model defined | |||
| here to include protocol specific extensions"; | here to include protocol specific extensions"; | |||
| revision 2017-02-15 { | revision 2017-05-18 { | |||
| description | description | |||
| "02 version"; | "02 version"; | |||
| reference "draft-ietf-lime-yang-connectionless-oam-methods"; | reference "draft-ietf-lime-yang-connectionless-oam-methods"; | |||
| } | } | |||
| rpc continuity-check { | rpc continuity-check { | |||
| if-feature "coam:continuity-check"; | if-feature "coam:continuity-check"; | |||
| description | description | |||
| "Generates continuity-check as per RFC7276."; | "Generates continuity-check as per RFC7276."; | |||
| input { | input { | |||
| container destination-tp { | container destination-tp { | |||
| uses coam:tp-address; | uses coam:tp-address; | |||
| description | description | |||
| "Destination test point."; | "Destination test point."; | |||
| } | } | |||
| skipping to change at page 14, line 22 ¶ | skipping to change at page 21, line 50 ¶ | |||
| reference: RFC XXXX | reference: RFC XXXX | |||
| 7. References | 7. References | |||
| 7.1. Normative References | 7.1. Normative References | |||
| [I-D.ietf-lime-yang-connectionless-oam] | [I-D.ietf-lime-yang-connectionless-oam] | |||
| Kumar, D., Wang, Z., Wu, Q., Rahman, R., and S. Raghavan, | Kumar, D., Wang, Z., Wu, Q., Rahman, R., and S. Raghavan, | |||
| "Generic YANG Data Model for Connectionless Operations, | "Generic YANG Data Model for Connectionless Operations, | |||
| Administration, and Maintenance(OAM) protocols", draft- | Administration, and Maintenance(OAM) protocols", draft- | |||
| ietf-lime-yang-connectionless-oam-04 (work in progress), | ietf-lime-yang-connectionless-oam-05 (work in progress), | |||
| February 2017. | May 2017. | |||
| [I-D.ietf-netconf-yang-push] | [I-D.ietf-netconf-yang-push] | |||
| Clemm, A., Voit, E., Prieto, A., Tripathy, A., Nilsen- | Clemm, A., Voit, E., Prieto, A., Tripathy, A., Nilsen- | |||
| Nygaard, E., Bierman, A., and B. Lengyel, "Subscribing to | Nygaard, E., Bierman, A., and B. Lengyel, "Subscribing to | |||
| YANG datastore push updates", draft-ietf-netconf-yang- | YANG datastore push updates", draft-ietf-netconf-yang- | |||
| push-06 (work in progress), April 2017. | push-06 (work in progress), April 2017. | |||
| [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate | [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate | |||
| Requirement Levels", BCP 14, RFC 2119, | Requirement Levels", BCP 14, RFC 2119, | |||
| DOI 10.17487/RFC2119, March 1997, | DOI 10.17487/RFC2119, March 1997, | |||
| End of changes. 13 change blocks. | ||||
| 56 lines changed or deleted | 431 lines changed or added | |||
This html diff was produced by rfcdiff 1.48. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ | ||||