This module contains a collection of YANG definitions for Cisco IOS-XR ping action package configuration. Copyright (c) 2016-20...
Version: 2019-10-01
module Cisco-IOS-XR-traceroute-act { yang-version 1; namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-traceroute-act"; prefix traceroute-act; import cisco-semver { prefix semver; } include Cisco-IOS-XR-ipv4-traceroute-act; include Cisco-IOS-XR-ipv6-traceroute-act; organization "Cisco Systems, Inc."; contact "Cisco Systems, Inc. Customer Service Postal: 170 West Tasman Drive San Jose, CA 95134 Tel: +1 800 553-NETS E-mail: cs-yang@cisco.com"; description "This module contains a collection of YANG definitions for Cisco IOS-XR ping action package configuration. Copyright (c) 2016-2019 by Cisco Systems, Inc. All rights reserved."; revision "2019-10-01" { description "Made changes to be RFC6087 compliant"; } revision "2019-04-05" { description "Establish semantic version baseline."; } revision "2018-10-01" { description "IOS XR 6.2.1 revision."; } semver:module-version "1.1.0"; semver:module-version "1.0.0"; rpc traceroute { description "Trace route to destination"; input { container destination { presence "traceroute input"; description "Trace route destination"; leaf destination { type string; mandatory true; description "Destination address or hostname"; } leaf source { type string; description "Source address or interface"; } leaf timeout { type uint32 { range "0..36"; } default "3"; description "Timeout in seconds"; } leaf probe { type uint16 { range "1..64"; } default "3"; description "Probe count"; } leaf numeric { type boolean; description "Numeric display only"; } leaf vrf-name { type string; description "VRF name"; } leaf min-ttl { type uint16 { range "0..255"; } default "1"; description "minimum time to live"; } leaf max-ttl { type uint16 { range "0..255"; } default "30"; description "maximum time to live"; } leaf port { type uint32 { range "0..65535"; } description "Port numbe"; } leaf verbose { type boolean; description "verbose output"; } leaf priority { type uint16 { range "0..15"; } description "Priority of hte packet"; } leaf outgoing-interface { type string; description "Outgoing interface, needed in case of traceroute to link local address"; } leaf flowlabel { type uint32 { range "0..1048575"; } description "Flowlabel of hte packet"; } container use-srv6-end-op-sid { presence "enable srv6 END.OP operations"; description "Use End.OP SID in Segment Routing Header"; leaf user-end-op-sid { type inet:ipv6-address; description "IPv6 End.OP address"; } } // container use-srv6-end-op-sid } // container destination container ipv4 { presence "ipv4 traceroute"; description "Trace route IPv4"; leaf destination { type string; mandatory true; description "Destination address or hostname"; } leaf source { type string; description "Source address or interface"; } leaf timeout { type uint32 { range "0..36"; } default "3"; description "Timeout in seconds"; } leaf probe { type uint16 { range "1..64"; } default "3"; description "Probe count"; } leaf numeric { type boolean; description "Numeric display only"; } leaf vrf-name { type string; description "VRF name"; } leaf min-ttl { type uint16 { range "0..255"; } default "1"; description "minimum time to live"; } leaf max-ttl { type uint16 { range "0..255"; } default "30"; description "maximum time to live"; } leaf port { type uint32 { range "0..65535"; } description "Port numbe"; } leaf verbose { type boolean; description "verbose output"; } } // container ipv4 container ipv6 { presence "ipv6 traceroute"; description "Trace route IPv6"; leaf destination { type string; mandatory true; description "Destination address or hostname"; } leaf source { type string; description "Source address or interface"; } leaf timeout { type uint32 { range "0..36"; } default "3"; description "Timeout in seconds"; } leaf probe { type uint16 { range "1..64"; } default "3"; description "Probe count"; } leaf numeric { type boolean; description "Numeric display only"; } leaf vrf-name { type string; description "VRF name"; } leaf min-ttl { type uint16 { range "0..255"; } default "1"; description "minimum time to live"; } leaf max-ttl { type uint16 { range "0..255"; } default "30"; description "maximum time to live"; } leaf port { type uint32 { range "0..65535"; } description "Port numbe"; } leaf verbose { type boolean; description "verbose output"; } leaf priority { type uint16 { range "0..15"; } description "Priority of hte packet"; } leaf outgoing-interface { type string; description "Outgoing interface, needed in case of traceroute to link local address"; } leaf flowlabel { type uint32 { range "0..1048575"; } description "Flowlabel of hte packet"; } container use-srv6-end-op-sid { presence "enable srv6 END.OP operations"; description "Use End.OP SID in Segment Routing Header"; leaf user-end-op-sid { type inet:ipv6-address; description "IPv6 End.OP address"; } } // container use-srv6-end-op-sid } // container ipv6 } output { container traceroute-response { description "Trace route response"; container ipv4 { presence "ipv4 traceroute output"; description "Trace route IPv4 response"; leaf destination { type string; description "Destination address or hostname"; } container hops { description "Hops info"; list hop { key "hop-index"; description "Hop info"; leaf hop-index { type uint32; description "Index of the hop"; } leaf hop-address { type string; description "Address of the hop"; } leaf hop-hostname { type string; description "Hostname of the hop"; } container probes { description "Probes info"; list probe { key "probe-index"; description "Probe info"; leaf probe-index { type uint32; description "Index of the probe"; } leaf result { type string; description "Response for each probe"; } leaf delta-time { type uint32; description "Delta time in seconds"; } leaf hop-address { type string; description "Address of the hop"; } leaf hop-hostname { type string; description "Hostname of the hop"; } container srv6-header { description "SRV6 header"; leaf destination-address { type uint32; description "Destination address for srv6 header"; } leaf segments-left { type uint32; description "Number of segments left"; } container segments { description "Segments"; leaf-list segment { type string; description "sid in sidlist"; } } // container segments } // container srv6-header } // list probe } // container probes } // list hop } // container hops leaf verbose-output { type string; description "Verbose output"; } } // container ipv4 container ipv6 { presence "ipv6 traceroute output"; description "Trace route IPv6 response"; leaf destination { type string; description "Destination address or hostname"; } container hops { description "Hops info"; list hop { key "hop-index"; description "Hop info"; leaf hop-index { type uint32; description "Index of the hop"; } leaf hop-address { type string; description "Address of the hop"; } leaf hop-hostname { type string; description "Hostname of the hop"; } container probes { description "Probes info"; list probe { key "probe-index"; description "Probe info"; leaf probe-index { type uint32; description "Index of the probe"; } leaf result { type string; description "Response for each probe"; } leaf delta-time { type uint32; description "Delta time in seconds"; } leaf hop-address { type string; description "Address of the hop"; } leaf hop-hostname { type string; description "Hostname of the hop"; } container srv6-header { description "SRV6 header"; leaf destination-address { type uint32; description "Destination address for srv6 header"; } leaf segments-left { type uint32; description "Number of segments left"; } container segments { description "Segments"; leaf-list segment { type string; description "sid in sidlist"; } } // container segments } // container srv6-header } // list probe } // container probes } // list hop } // container hops leaf verbose-output { type string; description "Verbose output"; } } // container ipv6 } // container traceroute-response } } // rpc traceroute } // module Cisco-IOS-XR-traceroute-act
© 2023 YumaWorks, Inc. All rights reserved.