From b6e690f0f72e5ecba0fc9be1c16caf2788e6b29e Mon Sep 17 00:00:00 2001 From: Cheeze_It Date: Thu, 6 Oct 2022 21:51:31 -0700 Subject: ospf: T4707: Add OSPF segment routing for FRR In this commit we add OSPF segment routing, smoke tests, handlers, FRR template changes, and CLI commands. --- .../include/ospf/high-low-label-value.xml.i | 26 +++++++ .../include/ospf/protocol-common-config.xml.i | 80 ++++++++++++++++++++++ 2 files changed, 106 insertions(+) create mode 100644 interface-definitions/include/ospf/high-low-label-value.xml.i (limited to 'interface-definitions/include') diff --git a/interface-definitions/include/ospf/high-low-label-value.xml.i b/interface-definitions/include/ospf/high-low-label-value.xml.i new file mode 100644 index 000000000..4b6779922 --- /dev/null +++ b/interface-definitions/include/ospf/high-low-label-value.xml.i @@ -0,0 +1,26 @@ + + + + MPLS label lower bound + + u32:100-1048575 + Label value + + + + + + + + + MPLS label upper bound + + u32:100-1048575 + Label value + + + + + + + diff --git a/interface-definitions/include/ospf/protocol-common-config.xml.i b/interface-definitions/include/ospf/protocol-common-config.xml.i index 791bbc0f8..78c168641 100644 --- a/interface-definitions/include/ospf/protocol-common-config.xml.i +++ b/interface-definitions/include/ospf/protocol-common-config.xml.i @@ -621,6 +621,86 @@ + + + Segment-Routing (SPRING) settings + + + + + Segment Routing Global Block label range + + + #include + + + + + Segment Routing Local Block label range + + + #include + + + + + Maximum MPLS labels allowed for this router + + u32:1-16 + MPLS label depth + + + + + + + + + Static IPv4 prefix segment/label mapping + + ipv4net + IPv4 prefix segment + + + + + + + + + Specify the index value of prefix segment/label ID + + + + + Specify the index value of prefix segment/label ID + + u32:0-65535 + The index segment/label ID value + + + + + + + + + Request upstream neighbor to replace segment/label with explicit null label + + + + + + Do not request penultimate hop popping for segment/label + + + + + + + + + Redistribute information from another routing protocol -- cgit v1.2.3