haomianzheng / IETF-ACTN-YANG-Model

IETF Optical YANG models in ACTN Architecture
4 stars 4 forks source link

Define the endpoints as a list #126

Closed italobusi closed 1 year ago

italobusi commented 1 year ago

Is there a convention for how the ends are referenced? This has a mix of 'one' and 'other' with '-1' and '-2'

No change made. I think it's reasonable to have -1 and -2 in the model, but 'one' and 'other' in description. Tweak my English...

Originally posted by @haomianzheng in https://github.com/haomianzheng/IETF-ACTN-YANG-Model/issues/125#issuecomment-1356081448

It may be better (and future proof) to define a list of endpoints with two and only two elements:

       +--rw endpoint [id]
          +--rw id     string
          +--rw uni    -> /l1-connectivity/access/unis/uni/id
italobusi commented 1 year ago

Need to update also the JSON examples