boucadair / attachment-circuit-model

A YANG Data Model for Attachment Circuits
Other
0 stars 4 forks source link

Link or a reference of nbi-yang service id(s), which are utilizing attachment-circuit-model "infrastructure" #35

Closed Ivan-Bykov-RBBN closed 11 months ago

boucadair commented 1 year ago

FWIW:

 augment /nw:networks/nw:network/nw:node/**sap:service/sap:sap**:
   +--rw ac* [name]
      +--rw name                 string
      **+--rw ac-ref?              ac-svc:attachment-circuit-reference**
      +--rw ac-profile* [profile-id]
      |  +--rw profile-id    -> /nw:networks/network/ac-profile/name
      +--rw description?         string
      +--rw l2-connection
      |  ...
      +--rw ip-connection
      |  ...
      +--rw routing-protocols
      |  ...
      +--rw oam
      |  ...
      +--rw security
         ...

Note that a SAP is defined as follows:

          +--rw service* [service-type]
             **+--rw service-type                   identityref
             +--rw sap* [sap-id]**
                +--rw sap-id                      string
             ...

the "service-type" can be set to l3vpn, l2vpn, vpn+, network-slice, vxlan, evpn, etc.

I guess you want a read-only data node to also expose the service-types to the customer/application in the service model. Can you please elaborate what would be the typical usage? Thanks.