Skip to content

Commit

Permalink
Feat: New node type keys for m&e devices
Browse files Browse the repository at this point in the history
  • Loading branch information
sugetha24 committed Sep 17, 2024
1 parent cc346f5 commit 1b53c75
Showing 1 changed file with 33 additions and 1 deletion.
34 changes: 33 additions & 1 deletion python-avd/pyavd/_eos_designs/shared_utils/node_type_keys.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down Expand Up @@ -174,6 +173,39 @@
"l3": True,
},
},
{
"key": "ptp_leaf",
"type": "ptp_leaf",
"connected_endpoints": True,
"network_services": {
"l2": True,
"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,
],
Expand Down

0 comments on commit 1b53c75

Please sign in to comment.