Subject: [Teas] IETF TE Topology YANG Model Design Meeting Notes - 2017-06-21

From: Xufeng Liu <[email-masked]>
Date: Thu, 22 Jun 2017 03:22:59 +0000

Attendees: Igor, Xufeng, Pavan, Tarek, Young, Carlo, Sergio

- Discussed comments from Rob on the Yang doctor's review thread

- Discussed a few comments from CCAMP Transport NBI Design Team
  > Discussed the modeling of generic bandwidth
    o Current generic bandwidth is modeled as string, which does not
      provide clear structures for various technologies, leaving too
      much to the interpretations and implementations.
o Discussed possible improvements, including union and choice.
    o Agreed on the following proposal. Sergio and Carlo will take a
      second look and let us know for any issues.

+--rw te-bandwidth
   +--rw (layer)?
      +--:(psc)
      |  +--rw psc?       rt-types:bandwidth-ieee-float32
      +--:(otn)
      |  +--rw otn* [rate-type]
      |     +--rw rate-type    identityref
      |     +--rw counter?     uint16
      +--:(lsc)
      |  +--rw wdm* [spectrum slot]
      |     +--rw spectrum    identityref
      |     +--rw slot        uint8
      |     +--rw width?      uint8
      +--:(generic)
         +--rw generic?   te-bandwidth

  identity otn-rate-type {
    description
      "Base type to identify OTN bit rates of various information
       structures.";
  }
  identity odu0 {
    base otn-rate-type;
    description
        "ODU 0 bit rate.";
  }
  identity odu1 {
    base otn-rate-type;
    description
        "ODU 1 bit rate.";
  }
  identity odu2 {
    base otn-rate-type;
    description
        "ODU 2 bit rate.";
  }
  identity odu3 {
    base otn-rate-type;
    description
        "ODU 3 bit rate.";
  }
  identity odu4 {
    base otn-rate-type;
    description
        "ODU 4 bit rate.";
  }
  identity odu2e {
    base otn-rate-type;
    description
        "ODU2e bit rate.";
  }
  identity oduc {
    base otn-rate-type;
    description
        "ODUCn bit rate.";
  }
  identity oduflex {
    base otn-rate-type;
    description
        "ODUflex bit rate.";
  }

  identity wdm-spectrum-type {
    description
      "Base type to identify WDM spectrum type.";
  }
  identity cwdm {
    base wdm-spectrum-type;
    description
        "CWDM.";
  }
  identity dwdm {
    base wdm-spectrum-type;
    description
        "DWDM.";
  }
  identity flexible-grid {
    base wdm-spectrum-type;
    description
        "Flexible grid.";
  }

  grouping te-bandwidth {
    description
      "";
    container te-bandwidth {
      description
        "";
      choice layer {
        default generic;
        description
          "";
        case psc {
          leaf psc {
            type rt-types:bandwidth-ieee-float32;
            description "";
          }
        }
        case otn {
          list otn {
            key "rate-type";
            description "";
            leaf rate-type {
              type identityref {
                base otn-rate-type;
              }
              description
                "";
            }
            leaf counter {
              type uint16;
              description
                "";
            }
          }
        }
        case lsc {
          list wdm {
            key "spectrum slot";
            description "";
            leaf spectrum {
              type identityref {
                base wdm-spectrum-type;
              }
              description
                "";
            }
            leaf slot {
              type uint8;
              description
                "";
            }
            leaf width {
              type uint8;
              description
                "";
            }
          }
        }
        case generic {
          leaf generic {
            type te-bandwidth;
            description "";
          }
        }
      }
    }
  }

Thanks,

- Xufeng

Note: Please drop me an email if you need an invite for joining the weekly call.