mirror of
https://github.com/osrg/gobgp.git
synced 2024-05-11 05:55:10 +00:00
Add version to zebra-config in gobgp.yang.
This commit is contained in:
committed by
FUJITA Tomonori
parent
36ea117e74
commit
8f4603b25a
@@ -987,6 +987,9 @@ func (lhs *ZebraState) Equal(rhs *ZebraState) bool {
|
||||
return false
|
||||
}
|
||||
}
|
||||
if lhs.Version != rhs.Version {
|
||||
return false
|
||||
}
|
||||
return true
|
||||
}
|
||||
|
||||
@@ -1021,6 +1024,9 @@ func (lhs *ZebraConfig) Equal(rhs *ZebraConfig) bool {
|
||||
return false
|
||||
}
|
||||
}
|
||||
if lhs.Version != rhs.Version {
|
||||
return false
|
||||
}
|
||||
return true
|
||||
}
|
||||
|
||||
|
||||
@@ -909,6 +909,11 @@ module gobgp {
|
||||
base ptypes:install-protocol-type;
|
||||
}
|
||||
}
|
||||
leaf version {
|
||||
type uint8;
|
||||
description
|
||||
"Configure version of zebra protocol. Default is 2. Supported up to 3.";
|
||||
}
|
||||
}
|
||||
|
||||
grouping zebra-set {
|
||||
|
||||
Reference in New Issue
Block a user