Cisco-IOS-XR-um-cont-optics-mode-cfg

This module contains a collection of YANG definitions for Cisco IOS-XR cont-optics-mode package configuration. This YANG module...

  • Version: 2021-04-28

    Cisco-IOS-XR-um-cont-optics-mode-cfg@2021-04-28


    
      module Cisco-IOS-XR-um-cont-optics-mode-cfg {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-um-cont-optics-mode-cfg";
    
        prefix um-cont-optics-mode-cfg;
    
        import Cisco-IOS-XR-um-interface-cfg {
          prefix a1;
        }
        import tailf-common {
          prefix tailf;
        }
        import cisco-semver {
          prefix semver;
        }
    
        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 cont-optics-mode package configuration.
         
         This YANG module augments the
         modules with configuration data.
         
         Copyright (c) 2021 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2021-04-28" {
          description "Initial release";
        }
    
        semver:module-version "1.0.0";
    
        feature optics {
          description "optics";
        }
    
        grouping CONT-BODY {
          container mode {
            tailf:dependency "../a1:controller-name";
            when
              "../a1:controller-name[starts-with(text(),'Optics')]";
            if-feature optics;
            description "Configure intf mode";
            leaf enable {
              type enumeration {
                enum "etm" {
                  value 1;
                  description
                    "Enable egress tm on the interface";
                }
              }
              description "configure this node";
            }
          }  // container mode
        }  // grouping CONT-BODY
    
        augment /a1:interfaces/a1:controller {
          uses CONT-BODY;
        }
    
        augment /a1:interfaces/a1:controller-preconfigure {
          uses CONT-BODY;
        }
      }  // module Cisco-IOS-XR-um-cont-optics-mode-cfg
    

© 2023 YumaWorks, Inc. All rights reserved.