Cisco-IOS-XR-optics-port-mode-cfg

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

  • Version: 2021-02-24

    Cisco-IOS-XR-optics-port-mode-cfg@2021-02-24


    
      module Cisco-IOS-XR-optics-port-mode-cfg {
    
        yang-version 1;
    
        namespace
          "http://cisco.com/ns/yang/Cisco-IOS-XR-optics-port-mode-cfg";
    
        prefix optics-port-mode-cfg;
    
        import cisco-semver {
          prefix semver;
        }
        import Cisco-IOS-XR-config-mda-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 optics-port-mode package configuration.
         
         This YANG module augments the
           Cisco-IOS-XR-config-mda-cfg
         module with configuration data.
         
         Copyright (c) 2013-2021 by Cisco Systems, Inc.
         All rights reserved.";
    
        revision "2021-02-24" {
          description
            "Augment MDA schema
           2020-06-23
             New parameter instance added in CLI for MPA handling.
           2020-06-12
             New port modes of 1x100, 3x100 and 4x100 added.";
        }
    
        revision "2020-05-12" {
          description
            "New port modes of 4x10-4x25, 4x10, 4x25 added.";
        }
    
        revision "2019-04-05" {
          description
            "Establish semantic version baseline.";
        }
    
        revision "2015-11-09" {
          description "IOS XR 6.0 revision.";
        }
    
        semver:module-version "2.0.0";
        semver:module-version "1.0.2";
        semver:module-version "1.0.1";
    
        grouping PORT-MODE-CONFIG-TABLE {
          description
            "Common node of active-node, preconfigured-node";
          container port-ranges {
            description
              "port mode configuration";
            list port-range {
              key "first-port sec-port";
              description
                "Hardware Module Portmode configuration";
              leaf first-port {
                type uint32;
                description
                  "Specify port number";
              }
    
              leaf sec-port {
                type uint32;
                description
                  "Specify port number";
              }
    
              list instance {
                key "inst-id";
                description
                  "MPA number if a MPA supported card";
                container mode {
                  description "Mode";
                  leaf speed {
                    type string;
                    description
                      "speed 40-100, 400, 2x100, 4x10-4x25, 4x10,
                     4x25, 1x100, 2x100-PAM4, 3x100, 4x100";
                  }
                }  // container mode
    
                leaf inst-id {
                  type uint32 {
                    range "0..5";
                  }
                  description "Instance number";
                }
              }  // list instance
            }  // list port-range
          }  // container port-ranges
        }  // grouping PORT-MODE-CONFIG-TABLE
    
        augment /a1:preconfigured-nodes/a1:preconfigured-node {
          description
            "This augment extends the configuration data of
           'Cisco-IOS-XR-config-mda-cfg'";
          uses PORT-MODE-CONFIG-TABLE;
        }
    
        augment /a1:active-nodes/a1:active-node {
          description
            "This augment extends the configuration data of
           'Cisco-IOS-XR-config-mda-cfg'";
          uses PORT-MODE-CONFIG-TABLE;
        }
      }  // module Cisco-IOS-XR-optics-port-mode-cfg
    

© 2023 YumaWorks, Inc. All rights reserved.