Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added new module for p2mp te tunnel support #71

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

oscargdd
Copy link
Contributor

According to issue #70 it was concluded that p2mp tunnels can be addressed in a separate document and module. This is a proposal to start a new module for p2mp Support. A yang module and tree with the basic structure is included, so it can be used as a base to start the work.

@@ -0,0 +1,24 @@
module: ietf-te-p2mp
+--rw te!
+--rw tunnels
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's add container tunnels-p2mp

@@ -0,0 +1,24 @@
module: ietf-te-p2mp
+--rw te!
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please augment existing 'te' container

+--rw src-tp-id? yang:hex-string
+--rw destinations* [destination dst-tp-id]
| +--rw destination te-types:te-node-id
| +--rw dst-tp-id yang:hex-string
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add a leafref to a p2p tunnel

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tree1 = D1-Path1, D2-Path1, D3-Path1
Tree2 = D1-Path2, D2-Path2, D3-Path2
Tree1 protected by Tree2

OPTION#1:
synchronize-path-preference
destinations
D1
Path1 preference 1 protected by Path2
Path2 preference 2
D2
Path1 preference 1 protected by Path2
Path2 preference 2
D3
Path1 preference 1 protected by Path2
Path2 preference 2

OPTION#2:
destinations
Tree1 is protected by Tree2
Path1-D1, Path1-D2, Path1-D3
Tree2
Path2-D1, Path2-D2, Path3-D3
...

+--rw te!
+--rw tunnels
+--rw tunnel-p2mp* [name]
+--ro operational-state? identityref
Copy link
Owner

@tsaad-dev tsaad-dev Sep 4, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BUM (e1, e2, e3)
OPTION#1 (p2mp)
-> p2mp-tunnel=foo (p2mp)

OPTION#2 (IR)
-> p2p-tunnel-foo1 (IR)
-> p2p-tunnel-foo2 (IR)
-> p2p-tunnel-foo3 (IR)

name
p2mp-id
XXX: review if others apply
switch mode:
case subLSP-list:
XX
case subLSP-list-refs:
list SourceToLeafs or SubLSPs
leafref to p2p tunnel

+--rw source? te-types:te-node-id
+--rw src-tp-id? yang:hex-string
+--rw destinations* [destination dst-tp-id]
| +--rw destination te-types:te-node-id
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add per destination leafs:

  • admin-state
  • oper-state
  • name and description

+--rw description? string
+--rw encoding? identityref
+--rw switching-type? identityref
+--rw provisioning-state? identityref
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

check if this is operational-state?

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

 |     +--ro operational-state?                  identityref
 |     +--rw name                                string
 |     +--rw identifier?                         uint32
 |     +--rw description?                        string
 |     +--rw encoding?                           identityref
 |     +--rw switching-type?                     identityref
 |     +--rw admin-state?                        identityref
 |     +--rw reoptimize-timer?                   uint16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants