tsaad-dev / te

IETF TE Tunnels YANG models
15 stars 19 forks source link

Switching type in ietf-te examples #174

Closed italobusi closed 2 years ago

italobusi commented 2 years ago

In the ietf-te examples only the encodingis specified while the switching-type is omitted

For example in section 13.1:

   {
     "ietf-te:tunnel": [
       {
         "name": "Example_LSP_Tunnel_A_2",
         "encoding": "te-types:lsp-encoding-packet",
         "admin-state": "te-types:tunnel-state-up",
         "source": "10.0.0.1",
         "destination": "10.0.0.4",
         "bidirectional": "false",
         "signaling-type": "te-types:path-setup-rsvp"
       }
     ]
   }

Is there a reason why the the switching-type is omitted?

Co-Authored-By: sergio belotti sergio.belotti@nokia.com

oscargdd commented 2 years ago

I made the example for MPLS networks. In that case enconding is enough. For GMPLS networks (OTN/WDM) we require the switching type.

italobusi commented 2 years ago

I made the example for MPLS networks. In that case enconding is enough. For GMPLS networks (OTN/WDM) we require the switching type.

Thanks for the explanation: now it is clear to me

Maybe adding some note in the appendix would make this assumption more explicit also to other readers

tsaad-dev commented 2 years ago

Added note to clarify in draft.

italobusi commented 2 years ago

Closed in draft-ietf-teas-yang-te-29