Add version to zebra-config in gobgp.yang.

This commit is contained in:
kishiguro
2016-09-29 16:29:15 -07:00
committed by FUJITA Tomonori
parent 36ea117e74
commit 8f4603b25a
2 changed files with 11 additions and 0 deletions
+6
View File
@@ -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
}
+5
View File
@@ -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 {