This module contains a collection of YANG definitions for Cisco IOS-XR ethernet-loopback package operational data. This module ...
Version: 2019-04-05
module Cisco-IOS-XR-ethernet-loopback-oper { yang-version 1; namespace "http://cisco.com/ns/yang/Cisco-IOS-XR-ethernet-loopback-oper"; prefix ethernet-loopback-oper; import Cisco-IOS-XR-types { prefix xr; } import cisco-semver { prefix semver; } include Cisco-IOS-XR-ethernet-loopback-oper-sub1 { revision-date "2019-04-05"; } 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 ethernet-loopback package operational data. This module contains definitions for the following management objects: ethernet-loopback: Ethernet Loopback operational data. Copyright (c) 2013-2019 by Cisco Systems, Inc. All rights reserved."; revision "2019-04-05" { description "Establish semantic version baseline."; } revision "2015-11-09" { description "IOS XR 6.0 revision."; } semver:module-version "1.0.0"; container ethernet-loopback { config false; description "Ethernet Loopback operational data."; container messages-interfaces { description "Container for loopback messages"; list messages-interface { key "interface-name"; description "Loopback messages"; leaf interface-name { type xr:Interface-name; description "InterfaceName"; } list message { description "Loopback messages information"; leaf message-id { type uint32; description "The message ID"; } leaf time { type uint32; description "Time the message was sent"; } leaf direction { type Edpl-bag-message-dir; description "Was the message sent or received?"; } leaf type { type Cfm-bag-ll; description "Loopback message type"; } leaf interface { type string; description "Interface name"; } leaf mac { type Mac-address; description "target/source mac for outgoing/incoming messages"; } leaf mep { type uint16; description "target/source mep for outgoing/incoming messages"; } leaf mep-specified { type boolean; description "MEP ID is specified"; } leaf domain { type string; description "CFM domain on which the message was sent"; } leaf service { type string; description "CFM service on which the message was sent"; } leaf oam-level { type uint16; description "Indicates level of CFM domain"; } leaf outer-type { type Edpl-bag-vlan; description "type of outer VLAN tag (dot1ad or dot1Q)"; } leaf outer-vlanid { type uint16; description "Outer VLAN ID"; } leaf outer-vlan-specified { type boolean; description "Outer VLAN ID specified"; } leaf inner-vlanid { type uint16; description "Inner VLAN ID"; } leaf inner-vlan-specified { type boolean; description "Inner VLAN ID specified"; } leaf multicast { type boolean; description "Was the message sent multicast?"; } leaf capabilities { type uint8; description "Flags specifying capabilities of sender"; } leaf all-vlans { type boolean; description "Was all_vlans flag specified?"; } leaf response-code { type uint8; description "Error code specified"; } leaf status { type Edpl-bag-remote-session-status; description "Status of the loopback session"; } leaf session-direction { type Edpl-bag-direction; description "Direction of the loopback session"; } leaf timer { type uint32; units "second"; description "Length of the expiration timer, in seconds"; } } // list message } // list messages-interface } // container messages-interfaces container permitted-interfaces { description "Container for interfaces on which Ethernet Loopback is permitted."; list permitted-interface { key "interface-name"; description "Data for an interface permitted to use Ethernet Loopback."; leaf interface-name { type xr:Interface-name; description "InterfaceName"; } leaf external { type boolean; description "TRUE if external loopback is permitted"; } leaf internal { type boolean; description "TRUE if internal loopback is permitted"; } leaf external-latching { type boolean; description "TRUE if external latching-loopback is permitted"; } leaf internal-latching { type boolean; description "TRUE if internal latching-loopback is permitted"; } leaf log-changes { type boolean; description "TRUE if log-changes are to be recorded"; } leaf latching-loopback-controller { type boolean; description "TRUE if the latching loopback ctrlr is enabled"; } } // list permitted-interface } // container permitted-interfaces container active-interfaces { description "Container for interfaces with active Ethernet Loopback sessions."; list active-interface { key "interface-name"; description "Data for an interface with active Ethernet Loopback sessions."; leaf interface-name { type xr:Interface-name; description "InterfaceName"; } list session { description "Session information"; container outer-vlan-range { description "Outer VLAN range"; list vlan-range { max-elements 10; description "VLAN range"; leaf min { type uint16; description "Lowest value"; } leaf max { type uint16; description "Highest value"; } } // list vlan-range } // container outer-vlan-range container inner-vlan-range { description "Inner VLAN range"; list vlan-range { max-elements 10; description "VLAN range"; leaf min { type uint16; description "Lowest value"; } leaf max { type uint16; description "Highest value"; } } // list vlan-range } // container inner-vlan-range leaf session-id { type uint32; description "Session ID"; } leaf direction { type Edpl-bag-direction; description "Loopback direction"; } leaf session-type { type Edpl-bag-session; description "Loopback session type"; } leaf meg-level { type uint16; description "MEG level"; } leaf status { type Edpl-bag-status; description "Loopback status"; } leaf outer-vlan-type { type Edpl-bag-vlan; description "Outer VLAN type"; } leaf source-mac-address { type Mac-address; description "Source MAC address"; } leaf destination-mac-address { type Mac-address; description "Destination MAC address"; } leaf ether-type { type uint16; description "Ether type"; } leaf cos { type uint8; description "Class of Service"; } leaf llc-oui { type uint32; description "LLC OUI"; } leaf timeout { type uint32; description "Timeout period (s)"; } leaf time-left { type uint32; description "Time left (s)"; } } // list session } // list active-interface } // container active-interfaces } // container ethernet-loopback } // module Cisco-IOS-XR-ethernet-loopback-oper
© 2024 YumaWorks, Inc. All rights reserved.