3.25.11
This commit is contained in:
+10
-1
@@ -10,7 +10,7 @@ import (
|
||||
"time"
|
||||
)
|
||||
|
||||
const OpenP2PVersion = "3.25.8"
|
||||
const OpenP2PVersion = "3.25.11"
|
||||
const ProductName string = "openp2p"
|
||||
const LeastSupportVersion = "3.0.0"
|
||||
const SyncServerTimeVersion = "3.9.0"
|
||||
@@ -547,6 +547,15 @@ type SDWANInfo struct {
|
||||
Nodes []*SDWANNode
|
||||
}
|
||||
|
||||
func (s *SDWANInfo) GetResourceByNodeName(nodeName string) string {
|
||||
for _, node := range s.Nodes {
|
||||
if node.Name == nodeName {
|
||||
return node.Resource
|
||||
}
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
const (
|
||||
SDWANModeFullmesh = "fullmesh"
|
||||
SDWANModeCentral = "central"
|
||||
|
||||
Reference in New Issue
Block a user