netconfcentral logo

org-openroadm-network-topology-types

HTML

org-openroadm-network-topology-types@2020-03-27



  module org-openroadm-network-topology-types {

    yang-version 1.1;

    namespace
      "http://org/openroadm/network/topology/types";

    prefix
      org-openroadm-network-topology-types;

    import ietf-network {
      prefix nd;
      revision-date "2018-02-26";
    }
    import ietf-network-topology {
      prefix nwt;
      revision-date "2018-02-26";
    }
    import org-openroadm-switching-pool-types {
      prefix
        org-openroadm-switching-pool-types;
      revision-date "2019-11-29";
    }
    import org-openroadm-port-types {
      prefix org-openroadm-port-types;
      revision-date "2020-03-27";
    }

    organization "OPEN ROADM MSA";

    contact "www.OpenROADM.org.";

    description
      "Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
     All other rights reserved.

     Redistribution and use in source and binary forms, with or without modification,
     are permitted provided that the following conditions are met:

     * Redistributions of source code must retain the above copyright notice, this
       list of conditions and the following disclaimer.
     * Redistributions in binary form must reproduce the above copyright notice,
       this list of conditions and the following disclaimer in the documentation and/or
       other materials provided with the distribution.
     * Neither the Members of the Open ROADM MSA Agreement nor the names of its
       contributors may be used to endorse or promote products derived from this software
       without specific prior written permission.

     THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
     AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
     WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
     IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
     INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
     NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
     OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
     WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     POSSIBILITY OF SUCH DAMAGE.";

    revision "2020-03-27" {
      description "Version 7.0.0";
    }

    revision "2019-11-29" {
      description "Version 6.1.0";
    }

    revision "2018-11-30" {
      description "Version 4.1.0";
    }

    revision "2017-12-15" {
      description "Version 2.2";
    }


    grouping xpdr-tp-bandwidth-sharing {
      list tp-bandwidth-sharing {
        key "tp-sharing-id";
        leaf tp-sharing-id {
          type uint16;
        }

        leaf-list tp-list {
          type nwt:tp-id;
        }

        leaf shared-bandwidth {
          type uint16;
          units "Gbps";
        }

        list possible-tp-config {
          key "config-id";
          leaf config-id {
            type uint16;
          }

          list tp-if-type-config {
            key "tp-name";
            leaf tp-name {
              type leafref {
                path
                  "/nd:networks/nd:network/nd:node/nwt:termination-point/nwt:tp-id";
              }
              description
                "termination-point identifier";
            }

            leaf-list tp-if-type {
              type identityref {
                base org-openroadm-port-types:supported-if-capability;
              }
            }

            leaf otsi-rate {
              type uint16;
              units "Gbps";
              description
                "Optical Tributary Signal (OTSi) rate in Gbps";
            }
          }  // list tp-if-type-config
        }  // list possible-tp-config
      }  // list tp-bandwidth-sharing
    }  // grouping xpdr-tp-bandwidth-sharing

    grouping xpdr-odu-switching-pools {
      list odu-switching-pools {
        key "switching-pool-number";
        leaf switching-pool-number {
          type uint16;
          description
            "Unique identifier for this odu-switching-pool";
        }

        leaf switching-pool-type {
          type org-openroadm-switching-pool-types:switching-pool-types;
        }

        list non-blocking-list {
          key "nbl-number";
          description
            "List of ports in a non-blocking switch element";
          leaf nbl-number {
            type uint16;
            description
              "Identifier for this non-blocking-list. Unique within odu-switching-pool";
          }

          leaf interconnect-bandwidth-unit {
            type uint32;
            description
              "Switch fabric interconnect bandwidth unit rate in bits per second.
             Represents granularity of switch fabric";
          }

          leaf capable-interconnect-bandwidth {
            type uint32;
            description
              "Total interconnect bandwidth for a non-blocking element expressed as
             number of inter-connect-bandwidth units";
          }

          leaf available-interconnect-bandwidth {
            type uint32;
            description
              "Total interconnect bandwidth available for a non-blocking element can use as
             number of inter-connect-bandwidth units";
          }

          leaf-list tp-list {
            type nwt:tp-id;
            description
              "Termination point. Unique within device";
          }
        }  // list non-blocking-list
      }  // list odu-switching-pools
    }  // grouping xpdr-odu-switching-pools

    grouping xpdr-otn-tail-attributes {
      leaf tp-id {
        type nwt:tp-id;
      }

      leaf network-ref {
        type leafref {
          path
            "/nd:networks/nd:network/nd:network-id";
        }
        description
          "Used to reference a network, for example an underlay
         network.";
      }

      leaf node-ref {
        type leafref {
          path
            "/nd:networks/nd:network[nd:network-id=current()/../network-ref]/nd:node/nd:node-id";
        }
        description
          "Used to reference a node.
         Nodes are identified relative to the network they are
         contained in.";
      }
    }  // grouping xpdr-otn-tail-attributes
  }  // module org-openroadm-network-topology-types

Summary

  
  
Organization OPEN ROADM MSA
  
Module org-openroadm-network-topology-types
Version 2020-03-27
File org-openroadm-network-topology-types.yang
  
Prefix org-openroadm-network-topology-types
Namespace http://org/openroadm/network/topology/types
  
Cooked /cookedmodules/org-openroadm-network-topology-types/2020-03-27
YANG /src/org-openroadm-network-topology-types@2020-03-27.yang
XSD /xsd/org-openroadm-network-topology-types@2020-03-27.xsd
  
Abstract Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016, All other rights reserved. Redistribution and use in s...
  
Contact
www.OpenROADM.org.

Description

 
Copyright of the Members of the Open ROADM MSA Agreement dated (c) 2016,
All other rights reserved.

Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

* Redistributions of source code must retain the above copyright notice, this
  list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright notice,
  this list of conditions and the following disclaimer in the documentation and/or
  other materials provided with the distribution.
* Neither the Members of the Open ROADM MSA Agreement nor the names of its
  contributors may be used to endorse or promote products derived from this software
  without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT ''AS IS''
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
IN NO EVENT THE MEMBERS OF THE OPEN ROADM MSA  AGREEMENT BE LIABLE FOR ANY DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;  LOSS OF USE, DATA,
OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
POSSIBILITY OF SUCH DAMAGE.

Groupings

Grouping Objects Abstract
xpdr-odu-switching-pools odu-switching-pools
xpdr-otn-tail-attributes tp-id network-ref node-ref
xpdr-tp-bandwidth-sharing tp-bandwidth-sharing