Uploaded image for project: 'transportpce'
  1. transportpce
  2. TRNSPRTPCE-170

service-rate should not always be required

    XMLWordPrintable

Details

    • Bug
    • Status: Confirmed
    • High
    • Resolution: Unresolved
    • None
    • Potassium
    • None
    • None

    Description

      Service create validation always fails if service-rate is not set in the service-create rpc (see ServicehandlerTxRxCheck.java). However, the openroadm service model (see org-openroadm-common-service-types.yang) says:

      leaf service-rate {
         when "../service-format != 'OMS' and ../service-format != 'ODU'" {
            description
               "service rate not applicable when service
               format is roadmline or ODU; valid for OTU since service-rate has
               already been supported for wdm layer OTU services (100 for OTU4)";
         }

       So in these cases validation should pass even if service-rate is missing.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              Unassigned Unassigned
              ojnas Jonas Mårtensson
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - 1 week, 1 day
                  1w 1d
                  Remaining:
                  Remaining Estimate - 1 week, 1 day
                  1w 1d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified