Cisco-IOS-XR-ncs5500-coherent-portmode-cfg

This module contains a collection of YANG definitions for Cisco IOS-XR ncs5500-coherent-portmode package configuration. This YA...

  • Version: 2019-04-05

    Cisco-IOS-XR-ncs5500-coherent-portmode-cfg@2019-04-05


    
      module Cisco-IOS-XR-ncs5500-coherent-portmode-cfg {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-ncs5500-coherent-portmode-cfg";
    
        prefix ncs5500-coherent-portmode-cfg;
    
        import cisco-semver {
          prefix semver;
        }
        import Cisco-IOS-XR-ifmgr-cfg {
          prefix a1;
        }
    
        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 ncs5500-coherent-portmode package configuration.
         
         This YANG module augments the
           Cisco-IOS-XR-ifmgr-cfg
         module with configuration 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";
    
        typedef Diff-sel {
          type enumeration {
            enum "disable" {
              value 0;
              description "disable differential";
            }
            enum "enable" {
              value 1;
              description "enable differential";
            }
          }
          description "Diff sel";
        }
    
        typedef Fec-sel {
          type enumeration {
            enum "15sdfec" {
              value 0;
              description
                "15%-SD Forward Error Correction";
            }
            enum "25sdfec" {
              value 1;
              description
                "25%-SD Forward Error Correction";
            }
            enum "15sdfecde" {
              value 2;
              description
                "15%-SD Forward Error Correction with Diff";
            }
            enum "otu7staircase" {
              value 3;
              description
                "7%-STAIRCASE Forward Error Correction";
            }
          }
          description "Fec sel";
        }
    
        typedef Speed-sel {
          type enumeration {
            enum "100g" {
              value 100000000;
              description "Speed 100";
            }
            enum "150g" {
              value 150000000;
              description "Speed 150";
            }
            enum "200g" {
              value 200000000;
              description "Speed 200";
            }
          }
          description "Speed sel";
        }
    
        typedef Mod-sel {
          type enumeration {
            enum "qpsk" {
              value 1;
              description
                "select qpsk for modulation";
            }
            enum "8qam" {
              value 2;
              description
                "select 8qam for modulation";
            }
            enum "16qam" {
              value 3;
              description
                "select 16qam for modulation";
            }
          }
          description "Mod sel";
        }
    
        augment /a1:interface-configurations/a1:interface-configuration {
          description
            "This augment extends the configuration data of
           'Cisco-IOS-XR-ifmgr-cfg'";
          container portmode {
            description
              "Configure through port-mode";
            leaf speed-sel {
              type Speed-sel;
              description "Select speed";
            }
    
            leaf fec-sel {
              type Fec-sel;
              description "Select Fec";
            }
    
            leaf diff-sel {
              type Diff-sel;
              description "Select Diff";
            }
    
            leaf mod-sel {
              type Mod-sel;
              description "Select modulation";
            }
          }  // container portmode
        }
      }  // module Cisco-IOS-XR-ncs5500-coherent-portmode-cfg
    

© 2023 YumaWorks, Inc. All rights reserved.