Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Log = acilogger.Log.WithFields(logrus.Fields{
"package": "aci",
"file": "fvbd.go",
})
Functions ¶
This section is empty.
Types ¶
type AciObject ¶
type FAULTINST ¶
type FAULTINST struct {
Attributes struct {
Ack string `json:"ack"`
Cause string `json:"cause"`
ChangeSet string `json:"changeSet"`
ChildAction string `json:"childAction"`
Code string `json:"code"`
Created string `json:"created"`
Delegated string `json:"delegated"`
Descr string `json:"descr"`
Dn string `json:"dn"`
Domain string `json:"domain"`
HighestSeverity string `json:"highestSeverity"`
LastTransition string `json:"lastTransition"`
Lc string `json:"lc"`
Occur string `json:"occur"`
OrigSeverity string `json:"origSeverity"`
PrevSeverity string `json:"prevSeverity"`
Rule string `json:"rule"`
Severity string `json:"severity"`
Status string `json:"status"`
Subject string `json:"subject"`
Type string `json:"type"`
} `json:"attributes"`
}
type FVAEPG ¶
type FVAEPG struct {
Attributes struct {
ChildAction string `json:"childAction"`
ConfigIssues string `json:"configIssues"`
ConfigSt string `json:"configSt"`
Descr string `json:"descr"`
Dn string `json:"dn"`
ExtMngdBy string `json:"extMngdBy"`
FwdCtrl string `json:"fwdCtrl"`
IsAttrBasedEPg string `json:"isAttrBasedEPg"`
IsSharedSrvMsiteEPg string `json:"isSharedSrvMsiteEPg"`
LcOwn string `json:"lcOwn"`
MatchT string `json:"matchT"`
ModTs time.Time `json:"modTs"`
MonPolDn string `json:"monPolDn"`
Name string `json:"name"`
NameAlias string `json:"nameAlias"`
PcEnfPref string `json:"pcEnfPref"`
PcTag string `json:"pcTag"`
PrefGrMemb string `json:"prefGrMemb"`
Prio string `json:"prio"`
Scope string `json:"scope"`
Status string `json:"status"`
TriggerSt string `json:"triggerSt"`
TxID string `json:"txId"`
UID string `json:"uid"`
} `json:"attributes"`
Children []struct {
FvCEp struct {
Attributes struct {
ChildAction string `json:"childAction"`
ContName string `json:"contName"`
Encap string `json:"encap"`
ID string `json:"id"`
Idepdn string `json:"idepdn"`
IP string `json:"ip"`
LcC string `json:"lcC"`
LcOwn string `json:"lcOwn"`
Mac string `json:"mac"`
McastAddr string `json:"mcastAddr"`
ModTs time.Time `json:"modTs"`
MonPolDn string `json:"monPolDn"`
Name string `json:"name"`
NameAlias string `json:"nameAlias"`
Rn string `json:"rn"`
Status string `json:"status"`
UID string `json:"uid"`
UUID string `json:"uuid"`
VmmSrc string `json:"vmmSrc"`
} `json:"attributes"`
Children []struct {
FvIP struct {
Attributes struct {
Addr string `json:"addr"`
ChildAction string `json:"childAction"`
LcOwn string `json:"lcOwn"`
ModTs time.Time `json:"modTs"`
MonPolDn string `json:"monPolDn"`
Rn string `json:"rn"`
Status string `json:"status"`
UID string `json:"uid"`
} `json:"attributes"`
Children []struct {
FvReportingNode struct {
Attributes struct {
ChildAction string `json:"childAction"`
ID string `json:"id"`
LcC string `json:"lcC"`
LcOwn string `json:"lcOwn"`
ModTs time.Time `json:"modTs"`
Rn string `json:"rn"`
Status string `json:"status"`
} `json:"attributes"`
} `json:"fvReportingNode"`
} `json:"children"`
} `json:"fvIp,omitempty"`
FvRsCEpToPathEp struct {
Attributes struct {
ChildAction string `json:"childAction"`
ForceResolve string `json:"forceResolve"`
LcC string `json:"lcC"`
LcOwn string `json:"lcOwn"`
ModTs time.Time `json:"modTs"`
RType string `json:"rType"`
Rn string `json:"rn"`
State string `json:"state"`
StateQual string `json:"stateQual"`
Status string `json:"status"`
TCl string `json:"tCl"`
TDn string `json:"tDn"`
TType string `json:"tType"`
} `json:"attributes"`
} `json:"fvRsCEpToPathEp,omitempty"`
} `json:"children"`
} `json:"fvCEp,omitempty"`
FvRsGraphDef struct {
Attributes struct {
ChildAction string `json:"childAction"`
ForceResolve string `json:"forceResolve"`
LcOwn string `json:"lcOwn"`
ModTs time.Time `json:"modTs"`
RType string `json:"rType"`
Rn string `json:"rn"`
State string `json:"state"`
StateQual string `json:"stateQual"`
Status string `json:"status"`
TCl string `json:"tCl"`
TDn string `json:"tDn"`
TType string `json:"tType"`
} `json:"attributes"`
} `json:"fvRsGraphDef,omitempty"`
FvRsProv struct {
Attributes struct {
ChildAction string `json:"childAction"`
CtrctUpd string `json:"ctrctUpd"`
ExtMngdBy string `json:"extMngdBy"`
ForceResolve string `json:"forceResolve"`
LcOwn string `json:"lcOwn"`
MatchT string `json:"matchT"`
ModTs time.Time `json:"modTs"`
MonPolDn string `json:"monPolDn"`
Prio string `json:"prio"`
RType string `json:"rType"`
Rn string `json:"rn"`
State string `json:"state"`
StateQual string `json:"stateQual"`
Status string `json:"status"`
TCl string `json:"tCl"`
TContextDn string `json:"tContextDn"`
TDn string `json:"tDn"`
TRn string `json:"tRn"`
TType string `json:"tType"`
TnVzBrCPName string `json:"tnVzBrCPName"`
TriggerSt string `json:"triggerSt"`
UID string `json:"uid"`
UpdateCollection string `json:"updateCollection"`
} `json:"attributes"`
Children []struct {
FvCollectionCont struct {
Attributes struct {
ChildAction string `json:"childAction"`
CollectionDn string `json:"collectionDn"`
LcOwn string `json:"lcOwn"`
ModTs time.Time `json:"modTs"`
MonPolDn string `json:"monPolDn"`
Name string `json:"name"`
NameAlias string `json:"nameAlias"`
Rn string `json:"rn"`
Status string `json:"status"`
} `json:"attributes"`
} `json:"fvCollectionCont"`
} `json:"children"`
} `json:"fvRsProv,omitempty"`
FvRsPathAtt struct {
Attributes struct {
ChildAction string `json:"childAction"`
Descr string `json:"descr"`
Encap string `json:"encap"`
ExtMngdBy string `json:"extMngdBy"`
ForceResolve string `json:"forceResolve"`
InstrImedcy string `json:"instrImedcy"`
LcC string `json:"lcC"`
LcOwn string `json:"lcOwn"`
ModTs time.Time `json:"modTs"`
Mode string `json:"mode"`
MonPolDn string `json:"monPolDn"`
PrimaryEncap string `json:"primaryEncap"`
RType string `json:"rType"`
Rn string `json:"rn"`
State string `json:"state"`
StateQual string `json:"stateQual"`
Status string `json:"status"`
TCl string `json:"tCl"`
TDn string `json:"tDn"`
TType string `json:"tType"`
UID string `json:"uid"`
} `json:"attributes"`
} `json:"fvRsPathAtt,omitempty"`
FvRsDomAtt struct {
Attributes struct {
ChildAction string `json:"childAction"`
ClassPref string `json:"classPref"`
ConfigIssues string `json:"configIssues"`
Delimiter string `json:"delimiter"`
Encap string `json:"encap"`
EncapMode string `json:"encapMode"`
EpgCos string `json:"epgCos"`
EpgCosPref string `json:"epgCosPref"`
ExtMngdBy string `json:"extMngdBy"`
ForceResolve string `json:"forceResolve"`
InstrImedcy string `json:"instrImedcy"`
LcOwn string `json:"lcOwn"`
ModTs time.Time `json:"modTs"`
Mode string `json:"mode"`
MonPolDn string `json:"monPolDn"`
NetflowDir string `json:"netflowDir"`
NetflowPref string `json:"netflowPref"`
PrimaryEncap string `json:"primaryEncap"`
RType string `json:"rType"`
ResImedcy string `json:"resImedcy"`
Rn string `json:"rn"`
State string `json:"state"`
StateQual string `json:"stateQual"`
Status string `json:"status"`
TCl string `json:"tCl"`
TDn string `json:"tDn"`
TType string `json:"tType"`
TriggerSt string `json:"triggerSt"`
TxID string `json:"txId"`
UID string `json:"uid"`
} `json:"attributes"`
} `json:"fvRsDomAtt,omitempty"`
FvRsCons struct {
Attributes struct {
ChildAction string `json:"childAction"`
CtrctUpd string `json:"ctrctUpd"`
DeplInfo string `json:"deplInfo"`
ExtMngdBy string `json:"extMngdBy"`
ForceResolve string `json:"forceResolve"`
LcOwn string `json:"lcOwn"`
ModTs time.Time `json:"modTs"`
MonPolDn string `json:"monPolDn"`
Prio string `json:"prio"`
RType string `json:"rType"`
Rn string `json:"rn"`
State string `json:"state"`
StateQual string `json:"stateQual"`
Status string `json:"status"`
TCl string `json:"tCl"`
TContextDn string `json:"tContextDn"`
TDn string `json:"tDn"`
TRn string `json:"tRn"`
TType string `json:"tType"`
TnVzBrCPName string `json:"tnVzBrCPName"`
TriggerSt string `json:"triggerSt"`
UID string `json:"uid"`
UpdateCollection string `json:"updateCollection"`
} `json:"attributes"`
Children []struct {
FvCollectionCont struct {
Attributes struct {
ChildAction string `json:"childAction"`
CollectionDn string `json:"collectionDn"`
LcOwn string `json:"lcOwn"`
ModTs time.Time `json:"modTs"`
MonPolDn string `json:"monPolDn"`
Name string `json:"name"`
NameAlias string `json:"nameAlias"`
Rn string `json:"rn"`
Status string `json:"status"`
} `json:"attributes"`
} `json:"fvCollectionCont"`
} `json:"children"`
} `json:"fvRsCons,omitempty"`
FvRsCustQosPol struct {
Attributes struct {
ChildAction string `json:"childAction"`
ForceResolve string `json:"forceResolve"`
LcOwn string `json:"lcOwn"`
ModTs time.Time `json:"modTs"`
MonPolDn string `json:"monPolDn"`
RType string `json:"rType"`
Rn string `json:"rn"`
State string `json:"state"`
StateQual string `json:"stateQual"`
Status string `json:"status"`
TCl string `json:"tCl"`
TContextDn string `json:"tContextDn"`
TDn string `json:"tDn"`
TRn string `json:"tRn"`
TType string `json:"tType"`
TnQosCustomPolName string `json:"tnQosCustomPolName"`
UID string `json:"uid"`
} `json:"attributes"`
} `json:"fvRsCustQosPol,omitempty"`
FvRsBd struct {
Attributes struct {
ChildAction string `json:"childAction"`
ExtMngdBy string `json:"extMngdBy"`
ForceResolve string `json:"forceResolve"`
LcOwn string `json:"lcOwn"`
ModTs time.Time `json:"modTs"`
MonPolDn string `json:"monPolDn"`
RType string `json:"rType"`
Rn string `json:"rn"`
State string `json:"state"`
StateQual string `json:"stateQual"`
Status string `json:"status"`
TCl string `json:"tCl"`
TContextDn string `json:"tContextDn"`
TDn string `json:"tDn"`
TRn string `json:"tRn"`
TType string `json:"tType"`
TnFvBDName string `json:"tnFvBDName"`
UID string `json:"uid"`
} `json:"attributes"`
Children []struct {
FvSubnetBDDefCont struct {
Attributes struct {
BddefDn string `json:"bddefDn"`
ChildAction string `json:"childAction"`
LcOwn string `json:"lcOwn"`
ModTs time.Time `json:"modTs"`
MonPolDn string `json:"monPolDn"`
Name string `json:"name"`
NameAlias string `json:"nameAlias"`
Rn string `json:"rn"`
Status string `json:"status"`
} `json:"attributes"`
} `json:"fvSubnetBDDefCont"`
} `json:"children"`
} `json:"fvRsBd,omitempty"`
} `json:"children"`
}
type FVBD ¶
type FVBD struct {
Attributes struct {
OptimizeWanBandwidth string `json:"OptimizeWanBandwidth"`
ArpFlood string `json:"arpFlood"`
BcastP string `json:"bcastP"`
ChildAction string `json:"childAction"`
ConfigIssues string `json:"configIssues"`
Descr string `json:"descr"`
EpClear string `json:"epClear"`
EpMoveDetectMode string `json:"epMoveDetectMode"`
ExtMngdBy string `json:"extMngdBy"`
IntersiteBumTrafficAllow string `json:"intersiteBumTrafficAllow"`
IntersiteL2Stretch string `json:"intersiteL2Stretch"`
IPLearning string `json:"ipLearning"`
LcOwn string `json:"lcOwn"`
LimitIPLearnToSubnets string `json:"limitIpLearnToSubnets"`
LlAddr string `json:"llAddr"`
Mac string `json:"mac"`
McastAllow string `json:"mcastAllow"`
ModTs string `json:"modTs"`
MonPolDn string `json:"monPolDn"`
Mtu string `json:"mtu"`
MultiDstPktAct string `json:"multiDstPktAct"`
Name string `json:"name"`
NameAlias string `json:"nameAlias"`
OwnerKey string `json:"ownerKey"`
OwnerTag string `json:"ownerTag"`
PcTag string `json:"pcTag"`
Rn string `json:"rn"`
Scope string `json:"scope"`
Seg string `json:"seg"`
Status string `json:"status"`
Type string `json:"type"`
UID string `json:"uid"`
UnicastRoute string `json:"unicastRoute"`
UnkMacUcastAct string `json:"unkMacUcastAct"`
UnkMcastAct string `json:"unkMcastAct"`
Vmac string `json:"vmac"`
} `json:"attributes"`
Children []struct {
FvRsBDToNdP struct {
Attributes struct {
ChildAction string `json:"childAction"`
ForceResolve string `json:"forceResolve"`
LcOwn string `json:"lcOwn"`
ModTs string `json:"modTs"`
MonPolDn string `json:"monPolDn"`
RType string `json:"rType"`
Rn string `json:"rn"`
State string `json:"state"`
StateQual string `json:"stateQual"`
Status string `json:"status"`
TCl string `json:"tCl"`
TContextDn string `json:"tContextDn"`
TDn string `json:"tDn"`
TRn string `json:"tRn"`
TType string `json:"tType"`
TnNdIfPolName string `json:"tnNdIfPolName"`
UID string `json:"uid"`
} `json:"attributes"`
} `json:"fvRsBDToNdP"`
FvRsBdToEpRet struct {
Attributes struct {
ChildAction string `json:"childAction"`
ForceResolve string `json:"forceResolve"`
LcOwn string `json:"lcOwn"`
ModTs string `json:"modTs"`
MonPolDn string `json:"monPolDn"`
RType string `json:"rType"`
ResolveAct string `json:"resolveAct"`
Rn string `json:"rn"`
State string `json:"state"`
StateQual string `json:"stateQual"`
Status string `json:"status"`
TCl string `json:"tCl"`
TContextDn string `json:"tContextDn"`
TDn string `json:"tDn"`
TRn string `json:"tRn"`
TType string `json:"tType"`
TnFvEpRetPolName string `json:"tnFvEpRetPolName"`
UID string `json:"uid"`
} `json:"attributes"`
} `json:"fvRsBdToEpRet"`
FvRsCtx struct {
Attributes struct {
ChildAction string `json:"childAction"`
ExtMngdBy string `json:"extMngdBy"`
ForceResolve string `json:"forceResolve"`
LcOwn string `json:"lcOwn"`
ModTs string `json:"modTs"`
MonPolDn string `json:"monPolDn"`
RType string `json:"rType"`
Rn string `json:"rn"`
State string `json:"state"`
StateQual string `json:"stateQual"`
Status string `json:"status"`
TCl string `json:"tCl"`
TContextDn string `json:"tContextDn"`
TDn string `json:"tDn"`
TRn string `json:"tRn"`
TType string `json:"tType"`
TnFvCtxName string `json:"tnFvCtxName"`
UID string `json:"uid"`
} `json:"attributes"`
} `json:"fvRsCtx"`
FvRsIgmpsn struct {
Attributes struct {
ChildAction string `json:"childAction"`
ForceResolve string `json:"forceResolve"`
LcOwn string `json:"lcOwn"`
ModTs string `json:"modTs"`
MonPolDn string `json:"monPolDn"`
RType string `json:"rType"`
Rn string `json:"rn"`
State string `json:"state"`
StateQual string `json:"stateQual"`
Status string `json:"status"`
TCl string `json:"tCl"`
TContextDn string `json:"tContextDn"`
TDn string `json:"tDn"`
TRn string `json:"tRn"`
TType string `json:"tType"`
TnIgmpSnoopPolName string `json:"tnIgmpSnoopPolName"`
UID string `json:"uid"`
} `json:"attributes"`
} `json:"fvRsIgmpsn"`
FvRtBd struct {
Attributes struct {
ChildAction string `json:"childAction"`
LcOwn string `json:"lcOwn"`
ModTs string `json:"modTs"`
Rn string `json:"rn"`
Status string `json:"status"`
TCl string `json:"tCl"`
TDn string `json:"tDn"`
} `json:"attributes"`
} `json:"fvRtBd"`
FvSubnet struct {
Attributes struct {
ChildAction string `json:"childAction"`
Ctrl string `json:"ctrl"`
Descr string `json:"descr"`
ExtMngdBy string `json:"extMngdBy"`
IP string `json:"ip"`
LcOwn string `json:"lcOwn"`
ModTs string `json:"modTs"`
MonPolDn string `json:"monPolDn"`
Name string `json:"name"`
NameAlias string `json:"nameAlias"`
Preferred string `json:"preferred"`
Rn string `json:"rn"`
Scope string `json:"scope"`
Status string `json:"status"`
UID string `json:"uid"`
Virtual string `json:"virtual"`
} `json:"attributes"`
} `json:"fvSubnet"`
} `json:"children"`
}
type FvBD ¶
type FvBD struct {
ImData []IMDATA `json:"imdata"`
TotalCount string `json:"totalCount"`
FvBD FVBD `json:"fvBD"`
}
func (*FvBD) GetTotalCount ¶
func (*FvBD) UnmarshalJson ¶
type LoginStruct ¶
Click to show internal directories.
Click to hide internal directories.