//NextUniqueNumber is reserving 2 spaces for each unique number to apply changes starting with odd number and using even number to apply the 1st change
//and come bask on the odd number for the next update to apply
// NextUniqueNumber is reserving 2 spaces for each unique number to apply
// changes starting with odd number and using even number to apply the 1st
// change and come bask on the odd number for the next update to apply
typeNetElemstruct{
Namestring
Typestring
ParentNamestring
ScenarioNamestring
DomainNamestring
ZoneNamestring
PoaNetChar
EdgeFogNetChar
InterDomainNetChar
InterZoneNetChar
InterEdgeNetChar
InterFogNetChar
LinkNetChar
AppNetChar
Indexint
FilterInfoList[]FilterInfo
Ipstring
NextUniqueNumberint
@@ -168,11 +146,6 @@ type PodInfo struct {
EgressSvcMapListmap[string]*EgressSvcMap
}
//ScenarioStore -
typeScenarioStorestruct{
rc*redis.Connector
}
// NetCharStore -
typeNetCharStorestruct{
rc*redis.Connector
@@ -185,7 +158,7 @@ type LbRulesStore struct {
// TcEngine -
typeTcEnginestruct{
scenarioStore*ScenarioStore
activeModel*mod.Model
netCharStore*NetCharStore
lbRulesStore*LbRulesStore
netCharMgrncm.NetCharMgr
@@ -206,8 +179,6 @@ var mgSvcInfoMap = map[string]*MgServiceInfo{}
// Pod Info mapping
varpodInfoMap=map[string]*PodInfo{}
varnetElemMap=map[string]*NetElem{}
// Scenario Name
varscenarioNamestring
@@ -216,14 +187,16 @@ var podIPMap = map[string]string{}