mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-31 21:13:00 +02:00
routing: Add a infix-routing-type to only support selected protocols
Today Infix only support OSPFv2 and Static routes, this hides all other protocols in the CLI and makes it clearar about what we support in the YANG model.
This commit is contained in:
committed by
Joachim Wiberg
parent
948d029062
commit
4083fbf4c5
@@ -354,7 +354,7 @@ def add_ospf(control_protocols):
|
||||
return # No OSPF data available
|
||||
|
||||
control_protocol = {}
|
||||
control_protocol["type"] = "ietf-ospf:ospfv2"
|
||||
control_protocol["type"] = "infix-routing:ospfv2"
|
||||
control_protocol["name"] = "default"
|
||||
control_protocol["ietf-ospf:ospf"] = {}
|
||||
control_protocol["ietf-ospf:ospf"]["ietf-ospf:areas"] = {}
|
||||
|
||||
Reference in New Issue
Block a user