-
Notifications
You must be signed in to change notification settings - Fork 203
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
Feat: New node type keys for m&e devices #4485
base: devel
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -86,7 +86,6 @@ | |
"uplink_type": "port-channel", | ||
}, | ||
] | ||
|
||
# NOTE: There is a static list of default node_type_keys in the fabric documentation templates which must be updated as well | ||
|
||
DEFAULT_NODE_TYPE_KEYS = { | ||
|
@@ -174,6 +173,39 @@ | |
"l3": True, | ||
}, | ||
}, | ||
{ | ||
"key": "ptp_leaf", | ||
"type": "ptp_leaf", | ||
"connected_endpoints": True, | ||
"network_services": { | ||
"l2": True, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we really need L2 on all device types? Do you have a design I can look at? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes PTP distribution leafs can also have l2 connected endpoints . Slide 13 here is an example where PTP leaf is also a media_leaf which has connected endpoints which can be a mix of both L2 and/or L3. https://docs.google.com/presentation/d/1XyV6eMJpGsNNP9bxZaxJ25e2VBK96W2rOyHbwZgKanw/edit#slide=id.g1a2c972f82e_0_204 |
||
"l3": True, | ||
}, | ||
"default_overlay_routing_protocol": "none", | ||
"default_ptp_priority1": 10, | ||
}, | ||
{ | ||
"key": "media_spine", | ||
"type": "media_spine", | ||
"connected_endpoints": True, | ||
"network_services": { | ||
"l2": True, | ||
"l3": True, | ||
}, | ||
"default_overlay_routing_protocol": "none", | ||
"default_ptp_priority1": 20, | ||
}, | ||
{ | ||
"key": "media_leaf", | ||
"type": "media_leaf", | ||
"connected_endpoints": True, | ||
"network_services": { | ||
"l2": True, | ||
"l3": True, | ||
}, | ||
"default_overlay_routing_protocol": "none", | ||
"default_ptp_priority1": 30, | ||
}, | ||
# Avoiding duplicate code | ||
*MPLS_DEFAULT_NODE_TYPE_KEYS, | ||
], | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this not be prefixed with
media_
as well?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would it be okay to leave the media_ so non-media PTP customers can consume it too ?