netconfcentral logo

openconfig-transport-line-connectivity

HTML

openconfig-transport-line-connectivity@2019-06-27



  module openconfig-transport-line-connectivity {

    yang-version 1;

    namespace
      "http://openconfig.net/yang/openconfig-transport-line-connectivity";

    prefix oc-line-connect;

    import openconfig-extensions {
      prefix oc-ext;
    }
    import openconfig-transport-types {
      prefix oc-opt-types;
    }

    organization "OpenConfig working group";

    contact
      "OpenConfig working group
      www.openconfig.net";

    description
      "This model describes the device-level connectivity
    (e.g., internal port-to-port) for optical transport line
    system elements such as wavelength routers (ROADMs) and
    amplifiers. All connections are uni-directional. Note that
    this model explicitly does not intend to model or provide
    a path to any higher layer topology modeling and is only
    for modeling internal links";

    revision "2019-06-27" {
      description "Initial revision";
      reference
        "0.1.0";

    }

    oc-ext:openconfig-version "0.1.0";
    oc-ext:regexp-posix;
    oc-ext:catalog-organization "openconfig";
    oc-ext:origin "openconfig";

    identity PORT_CONNECTION_TYPE {
      base 
      description
        "The definition for different types of port connections
      when a specific port is not known";
    }

    identity EXTERNAL {
      base PORT_CONNECTION_TYPE;
      description
        "The port connection is external to the device";
    }

    grouping connection-state {
      description
        "Operational state data for connections";
    }  // grouping connection-state

    grouping connection-config {
      description
        "Configuration data for line system connections";
      leaf index {
        type uint32;
        description
          "Index for the defined connection";
      }

      leaf source {
        type union {
          type string;
          type identityref {
            base PORT_CONNECTION_TYPE;
          }
        }
        description
          "The user supplied name of the source port of the connection
        within the system. If the port is within the device, the
	string should reflect the name of the port as it appears in
	the components model. If the port is not represented in the
	components model (e.g., a port on a passive chassis), the
	string should reflect the system assigned name of the port.
	If the source port is not within the device, then an
	identityref of EXTERNAL should be specified.";
      }

      leaf dest {
        type union {
          type string;
          type identityref {
            base PORT_CONNECTION_TYPE;
          }
        }
        description
          "The user supplied name of the destination port of the connection
        within the system. If the port is within the device, the string
	should reflect the name of the port as it appears in the
	components model. If the port is not represented in the components
	model (e.g., a port on a passive chassis), the string should
	reflect the system assigned name of the port. If the destination
	port is not within the device, then an identityref of EXTERNAL
	should be specified.";
      }

      leaf fiber-type {
        type identityref {
          base oc-opt-types:FIBER_JUMPER_TYPE;
        }
        description
          "The type of fiber jumper used for the connection.";
      }
    }  // grouping connection-config

    grouping line-connectivity-top {
      description
        "Top level grouping for transport line connectivity data";
      container connections {
        description
          "Enclosing container for line system connections list";
        list connection {
          key "index";
          description
            "List of line system connections";
          leaf index {
            type leafref {
              path "../config/index";
            }
            description
              "Reference to index number of the connection";
          }

          container config {
            description "Configuration data";
            uses connection-config;
          }  // container config

          container state {
            config false;
            description
              "Operational state data";
            uses connection-config;

            uses connection-state;
          }  // container state
        }  // list connection
      }  // container connections
    }  // grouping line-connectivity-top

    uses line-connectivity-top;
  }  // module openconfig-transport-line-connectivity

Summary

  
  
Organization OpenConfig working group
  
Module openconfig-transport-line-connectivity
Version 2019-06-27
File openconfig-transport-line-connectivity.yang
  
Prefix oc-line-connect
Namespace http://openconfig.net/yang/openconfig-transport-line-connectivity
  
Cooked /cookedmodules/openconfig-transport-line-connectivity/2019-06-27
YANG /src/openconfig-transport-line-connectivity@2019-06-27.yang
XSD /xsd/openconfig-transport-line-connectivity@2019-06-27.xsd
  
Abstract This model describes the device-level connectivity (e.g., internal port-to-port) for optical transport line system elements such...
  
Contact
OpenConfig working group
 www.openconfig.net

Description

 
This model describes the device-level connectivity
(e.g., internal port-to-port) for optical transport line
system elements such as wavelength routers (ROADMs) and
amplifiers. All connections are uni-directional. Note that
this model explicitly does not intend to model or provide
a path to any higher layer topology modeling and is only
for modeling internal links

Groupings

Grouping Objects Abstract
connection-config index source dest fiber-type Configuration data for line system connections
connection-state Operational state data for connections
line-connectivity-top connections Top level grouping for transport line connectivity data

Objects

Type Key
Mandatory config
Optional config
Not config
Object Type Abstract
connections container Enclosing container for line system connections list
   connection list List of line system connections
      config container Configuration data
         dest leaf The user supplied name of the destination port of the connection within the system. If the port is within the device, the string should reflect the name of the port as it appears in the components model. If the port is not represented in the components mo...
         fiber-type leaf The type of fiber jumper used for the connection.
         index leaf Index for the defined connection
         source leaf The user supplied name of the source port of the connection within the system. If the port is within the device, the string should reflect the name of the port as it appears in the components model. If the port is not represented in the components model (...
      index leaf Reference to index number of the connection
      state container Operational state data
         dest leaf The user supplied name of the destination port of the connection within the system. If the port is within the device, the string should reflect the name of the port as it appears in the components model. If the port is not represented in the components mo...
         fiber-type leaf The type of fiber jumper used for the connection.
         index leaf Index for the defined connection
         source leaf The user supplied name of the source port of the connection within the system. If the port is within the device, the string should reflect the name of the port as it appears in the components model. If the port is not represented in the components model (...