Module to enable mapping for oc-interfaces.
Version: 2017-10-30
module cisco-xe-openconfig-if-ethernet-ext { yang-version 1; namespace "http://cisco.com/ns/yang/cisco-xe-openconfig-if-ethernet-ext"; prefix cisco-if-eth; import openconfig-interfaces { prefix oc-if; } import openconfig-if-ethernet { prefix oc-if-eth; } import openconfig-extensions { prefix oc-ext; } organization "Cisco Systems, Inc."; contact "Cisco Systems, Inc. Customer Service Postal: 170 W Tasman Drive San Jose, CA 95134 Tel: +1 1800 553-NETS E-mail: cs-yang@cisco.com"; description "Module to enable mapping for oc-interfaces."; revision "2017-10-30" { description "Add switchport state augmentation for oc-if-eth"; reference "1.0.2"; } revision "2017-09-11" { description "Restored switchport augmentation for oc-if-eth"; reference "1.0.2"; } revision "2017-09-01" { description "Removed switchport augmentation for oc-if-eth"; reference "1.0.2"; } revision "2017-03-09" { description "Added identity for AUTO ethernet port speed for switches"; reference "1.0.2"; } revision "2017-02-25" { description "Initial version. Add switchport leaf for controlling Cisco switchport configs"; reference "1.0.2"; } identity AUTO { base oc-if-eth:ETHERNET_SPEED; description "Enable auto port-speed negotiation for switches"; } augment /oc-if:interfaces/oc-if:interface/oc-if-eth:ethernet/oc-if-eth:config { leaf switchport { type boolean; description "If false the switch port is a routed port and can have an ip address."; } } augment /oc-if:interfaces/oc-if:interface/oc-if-eth:ethernet/oc-if-eth:state { leaf switchport { type boolean; description "If false the switch port is a routed port and can have an ip address."; } } } // module cisco-xe-openconfig-if-ethernet-ext
© 2023 YumaWorks, Inc. All rights reserved.