Documentation
¶
Index ¶
- func A(data map[string]interface{}, key string, value interface{})
- func BoolToString(value bool) string
- func CurlyBraces(value string) string
- func G(cont *container.Container, key ...string) string
- func InterSchemaSiteVrfRegionFromContainer(cont *container.Container, regionHubNetwork *InterSchemaSiteVrfRegionHubNetork) (map[string]interface{}, error)
- func ListFromContainer(cont *container.Container, klass string) []*container.Container
- func StringInSlice(a string, list []string) bool
- func StringToBool(value string) bool
- func StripQuotes(word string) string
- func StripSquareBrackets(word string) string
- type DHCPOption
- type DHCPOptionPolicy
- type DHCPOptionPolicyOption
- type DHCPProvider
- type DHCPRelayPolicy
- type DHCPRelayPolicyProvider
- type ExternalEpgContract
- type ExternalEpgSubnet
- type InterSchemaSiteVrfRegionHubNetork
- type IntersiteL3outs
- type Label
- type Location
- type Model
- type PatchPayload
- func GetPatchPayload(ops, path string, value map[string]interface{}) *PatchPayload
- func GetRemovePatchPayload(path string) *PatchPayload
- func NewSchemaSiteVrfRouteLeak(ops, path, tenantName, vrfRef string, includeAllSubnets bool, ...) *PatchPayload
- func NewSiteContractServiceGraphListener(ops, path, name, protocol, securityPolicy string, port int, ...) *PatchPayload
- func NewSystemConfigChangeControl(enable bool, numOfApprovers int) *PatchPayload
- func NewTemplateBD(...) *PatchPayload
- func NewTemplateContractFilterRelationShip(ops, path, action, priority, desc string, filterRef map[string]interface{}, ...) *PatchPayload
- type PatchPayloadList
- type RemoteLocation
- type RoleAttributes
- type SchemValidate
- type Schema
- type SchemaSite
- type SchemaSiteAnpEpg
- type SchemaSiteAnpEpgDomain
- type SchemaSiteAnpEpgSelector
- type SchemaSiteAnpEpgStaticPort
- type SchemaSiteAnpEpgSubnet
- type SchemaSiteBdL3out
- type SchemaSiteBdSubnet
- type SchemaSiteExternalEpg
- type SchemaSiteExternalEpgSelector
- type SchemaSiteVrfRegion
- type SchemaSiteVrfRegionCidr
- type SchemaSiteVrfRegionCidrSubnet
- type SchemaSiteVrfRegionHubNetork
- func CreateInterSchemaSiteVrfRegionNetworkModel(hubNetwork *InterSchemaSiteVrfRegionHubNetork, cont *container.Container) (*SchemaSiteVrfRegionHubNetork, error)
- func DeleteInterSchemaSiteVrfRegionNetworkModel(hubNetwork *InterSchemaSiteVrfRegionHubNetork, cont *container.Container) (*SchemaSiteVrfRegionHubNetork, error)
- type SchemaTemplate
- type SchemaTemplateAnp
- type SchemaTemplateAnpEpgSelector
- type SchemaTemplateAnpEpgSubnet
- type SchemaTemplateAnpEpgUsegAttr
- type SchemaTemplateExternalEPGSelector
- type SchemaTemplateVrf
- type ServiceNodeTypeAttributes
- type SiteAnp
- type SiteAnpEpgStaticLeaf
- type SiteAnpEpgUsegAttr
- type SiteAttributes
- type SiteBd
- type SiteContractServiceGraph
- type SiteL3Out
- type SiteUsegAttr
- type SiteVrf
- type TemplateAnpEpg
- type TemplateAnpEpgContract
- type TemplateBD
- type TemplateBDDHCPPolicy
- type TemplateBDDHCPPolicyOps
- type TemplateBDSubnet
- type TemplateContract
- type TemplateContractServiceGraph
- type TemplateExternalepg
- func NewSiteContractServiceGraph(ops, path string, serviceGraph map[string]interface{}, ...) *TemplateExternalepg
- func NewTemplateContractServiceGraph(ops, path string, serviceGraph map[string]interface{}, ...) *TemplateExternalepg
- func NewTemplateExternalepg(ops, path, name, displayName, externalEpgType, desc string, ...) *TemplateExternalepg
- type TemplateFilterEntry
- type TemplateL3out
- type TemplateServiceGraph
- type TemplateServiceGraphUpdate
- type TemplateVRFContract
- type TenantAttributes
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BoolToString ¶
func CurlyBraces ¶
func InterSchemaSiteVrfRegionFromContainer ¶ added in v1.3.1
func InterSchemaSiteVrfRegionFromContainer(cont *container.Container, regionHubNetwork *InterSchemaSiteVrfRegionHubNetork) (map[string]interface{}, error)
func ListFromContainer ¶
func StringInSlice ¶ added in v1.3.8
func StringToBool ¶
func StripQuotes ¶
func StripSquareBrackets ¶
Types ¶
type DHCPOption ¶ added in v1.3.1
type DHCPOptionPolicy ¶ added in v1.3.1
type DHCPOptionPolicy struct {
ID string `json:"id,omitempty"`
Name string `json:"name"`
PolicyType string `json:"policyType,omitempty"`
PolicySubtype string `json:"policySubtype,omitempty"`
Desc string `json:"desc"`
TenantID string `json:"tenantId"`
DHCPOption []DHCPOption `json:"dhcpOption"`
}
func DHCPOptionPolicyFromContainer ¶ added in v1.3.1
func DHCPOptionPolicyFromContainer(cont *container.Container) (*DHCPOptionPolicy, error)
func NewDHCPOptionPolicy ¶ added in v1.3.1
func NewDHCPOptionPolicy(policy DHCPOptionPolicy) *DHCPOptionPolicy
func PrepareDHCPOptionPolicyModelForUpdate ¶ added in v1.3.1
func PrepareDHCPOptionPolicyModelForUpdate(remotePolicyCont *container.Container, newPolicy *DHCPOptionPolicy) (*DHCPOptionPolicy, error)
func (*DHCPOptionPolicy) ToMap ¶ added in v1.3.1
func (model *DHCPOptionPolicy) ToMap() (map[string]interface{}, error)
type DHCPOptionPolicyOption ¶ added in v1.3.1
func DHCPOptionPolicyOptionFromContainer ¶ added in v1.3.1
func DHCPOptionPolicyOptionFromContainer(cont *container.Container) (*DHCPOptionPolicyOption, error)
type DHCPProvider ¶ added in v1.3.1
type DHCPRelayPolicy ¶ added in v1.3.1
type DHCPRelayPolicy struct {
ID string `json:"id,omitempty"`
Name string `json:"name"`
PolicyType string `json:"policyType,omitempty"`
PolicySubtype string `json:"policySubtype,omitempty"`
Desc string `json:"desc"`
TenantID string `json:"tenantId"`
DHCPProvider []DHCPProvider `json:"provider"`
}
func DHCPRelayPolicyFromContainer ¶ added in v1.3.1
func DHCPRelayPolicyFromContainer(cont *container.Container) (*DHCPRelayPolicy, error)
func NewDHCPRelayPolicy ¶ added in v1.3.1
func NewDHCPRelayPolicy(policy DHCPRelayPolicy) *DHCPRelayPolicy
func PrepareDHCPRelayPolicyModelForUpdate ¶ added in v1.3.1
func PrepareDHCPRelayPolicyModelForUpdate(remotePolicyCont *container.Container, newPolicy *DHCPRelayPolicy) (*DHCPRelayPolicy, error)
func (*DHCPRelayPolicy) ToMap ¶ added in v1.3.1
func (model *DHCPRelayPolicy) ToMap() (map[string]interface{}, error)
type DHCPRelayPolicyProvider ¶ added in v1.3.1
type ExternalEpgContract ¶
type ExternalEpgContract struct {
Ops string `json:",omitempty"`
Path string `json:",omitempty"`
Value map[string]interface{} `json:",omitempty"`
}
func NewTemplateExternalEpgContract ¶
func NewTemplateExternalEpgContract(ops, path, relationshipType string, contractRefMap map[string]interface{}) *ExternalEpgContract
func (*ExternalEpgContract) ToMap ¶
func (anpAttributes *ExternalEpgContract) ToMap() (map[string]interface{}, error)
type ExternalEpgSubnet ¶
type ExternalEpgSubnet struct {
Ops string `json:",omitempty"`
Path string `json:",omitempty"`
Value map[string]interface{} `json:",omitempty"`
}
func NewTemplateExternalEpgSubnet ¶
func NewTemplateExternalEpgSubnet(ops, path, ip, name string, scope, aggregate []interface{}) *ExternalEpgSubnet
func (*ExternalEpgSubnet) ToMap ¶
func (subnetAttribute *ExternalEpgSubnet) ToMap() (map[string]interface{}, error)
type InterSchemaSiteVrfRegionHubNetork ¶ added in v1.3.1
type InterSchemaSiteVrfRegionHubNetork struct {
Name string
TenantName string
SiteID string
TemplateName string
VrfName string
Region string
SchemaID string
}
func InterSchemaSiteVrfRegionHubNetworkFromContainer ¶ added in v1.3.1
func InterSchemaSiteVrfRegionHubNetworkFromContainer(cont *container.Container, regionHubNetwork *InterSchemaSiteVrfRegionHubNetork) (*InterSchemaSiteVrfRegionHubNetork, error)
type IntersiteL3outs ¶ added in v1.3.1
type IntersiteL3outs struct {
L3outName string
VRFName string
SchemaID string
TemplateName string
SiteId string
}
func IntersiteL3outsFromContainer ¶ added in v1.3.1
func IntersiteL3outsFromContainer(cont *container.Container, tf *IntersiteL3outs) (*IntersiteL3outs, error)
type Label ¶
type PatchPayload ¶ added in v1.8.0
type PatchPayload struct {
Ops string `json:",omitempty"`
Path string `json:",omitempty"`
Value map[string]interface{} `json:",omitempty"`
}
func GetPatchPayload ¶ added in v1.23.0
func GetPatchPayload(ops, path string, value map[string]interface{}) *PatchPayload
func GetRemovePatchPayload ¶ added in v1.8.0
func GetRemovePatchPayload(path string) *PatchPayload
func NewSchemaSiteVrfRouteLeak ¶ added in v1.17.0
func NewSiteContractServiceGraphListener ¶ added in v1.26.0
func NewSiteContractServiceGraphListener(ops, path, name, protocol, securityPolicy string, port int, certificates []interface{}, rules []interface{}, frontendIpDnMap map[string]string) *PatchPayload
func NewSystemConfigChangeControl ¶ added in v1.22.0
func NewSystemConfigChangeControl(enable bool, numOfApprovers int) *PatchPayload
func NewTemplateBD ¶
func NewTemplateBD(ops, path, name, displayName, layer2Unicast, unkMcastAct, multiDstPktAct, v6unkMcastAct, vmac, epMoveDetectMode, description string, intersiteBumTrafficAllow, optimizeWanBandwidth, l2Stretch, l3MCast, arpFlood, unicastRouting bool, vrfRef, dhcpLabel map[string]interface{}, dhcpLabels []interface{}) *PatchPayload
func NewTemplateContractFilterRelationShip ¶
func NewTemplateContractFilterRelationShip(ops, path, action, priority, desc string, filterRef map[string]interface{}, directives []interface{}) *PatchPayload
func (*PatchPayload) ToMap ¶ added in v1.8.0
func (patchPayloadAttributes *PatchPayload) ToMap() (map[string]interface{}, error)
type PatchPayloadList ¶ added in v1.10.0
type PatchPayloadList struct {
Ops string `json:",omitempty"`
Path string `json:",omitempty"`
Value []interface{} `json:",omitempty"`
}
func GetPatchPayloadList ¶ added in v1.23.0
func GetPatchPayloadList(ops, path string, value []interface{}) *PatchPayloadList
func NewSchemaSiteAnpEpgBulkStaticPort ¶ added in v1.10.0
func NewSchemaSiteAnpEpgBulkStaticPort(ops, path string, staticPortsList []interface{}) *PatchPayloadList
func NewSystemConfigBanner ¶ added in v1.22.0
func NewSystemConfigBanner(alias, bannerState, bannerType, message string) *PatchPayloadList
func (*PatchPayloadList) ToMap ¶ added in v1.10.0
func (patchPayloadListAttributes *PatchPayloadList) ToMap() (map[string]interface{}, error)
type RemoteLocation ¶ added in v1.18.0
type RemoteLocation struct {
Name string `json:",omitempty"`
Description string `json:",omitempty"`
Id string `json:",omitempty"`
Credential map[string]interface{} `json:",omitempty"`
}
func NewRemoteLocation ¶ added in v1.18.0
func NewRemoteLocation(name, description, id string, credential map[string]interface{}) *RemoteLocation
func (*RemoteLocation) ToMap ¶ added in v1.18.0
func (remoteLocation *RemoteLocation) ToMap() (map[string]interface{}, error)
type RoleAttributes ¶
type RoleAttributes struct {
Id string `json:",omitempty"`
Name string `json:",omitempty`
DisplayName string `json:",omitempty"`
Description string `json:",omitempty"`
ReadPermissions []interface{} `json:",omitempty"`
WritePermissions []interface{} `json:",omitempty"`
}
func NewRole ¶
func NewRole(roleAttr RoleAttributes) *RoleAttributes
func (*RoleAttributes) ToMap ¶
func (role *RoleAttributes) ToMap() (map[string]interface{}, error)
type SchemValidate ¶ added in v1.3.1
type Schema ¶
type Schema struct {
Id string `json:",omitempty"`
DisplayName string `json:",omitempty"`
Description string `json:",omitempty"`
Templates []map[string]interface{} `json:",omitempty"`
Sites []map[string]interface{} `json:",omitempty"`
}
type SchemaSite ¶
type SchemaSite struct {
Ops string `json:",omitempty"`
Path string `json:",omitempty"`
Value map[string]interface{} `json:",omitempty"`
}
func NewSchemaSite ¶
func NewSchemaSite(ops, path, siteId, templateName string) *SchemaSite
func NewSchemaTemplateVrf ¶
func NewSchemaTemplateVrf(ops, path, Name, displayName, ipDataPlaneLearning, desc string, l3m, vzany, preferredGroup, siteAwarePolicyEnforcementMode bool, rendezvousPoints []interface{}) *SchemaSite
func (*SchemaSite) ToMap ¶
func (schemasiteAttributes *SchemaSite) ToMap() (map[string]interface{}, error)
type SchemaSiteAnpEpg ¶
type SchemaSiteAnpEpg struct {
Ops string `json:",omitempty"`
Path string `json:",omitempty"`
Value map[string]interface{} `json:",omitempty"`
}
func NewSchemaSiteAnpEpg ¶
func NewSchemaSiteAnpEpg(ops, path string, privateLinkLabel, epgRef map[string]interface{}) *SchemaSiteAnpEpg
func (*SchemaSiteAnpEpg) ToMap ¶
func (siteAnpEpgAttributes *SchemaSiteAnpEpg) ToMap() (map[string]interface{}, error)
type SchemaSiteAnpEpgDomain ¶
type SchemaSiteAnpEpgDomain struct {
Ops string `json:",omitempty"`
Path string `json:",omitempty"`
Value map[string]interface{} `json:",omitempty"`
}
func NewSchemaSiteAnpEpgDomain ¶
func NewSchemaSiteAnpEpgDomain(ops, path, domainType, dn, deploymentImmediacy, resolutionImmediacy string, vmmDomainProperties map[string]interface{}) *SchemaSiteAnpEpgDomain
func (*SchemaSiteAnpEpgDomain) ToMap ¶
func (siteAnpEpgDomainAttributes *SchemaSiteAnpEpgDomain) ToMap() (map[string]interface{}, error)
type SchemaSiteAnpEpgSelector ¶
type SchemaSiteAnpEpgSelector struct {
Ops string `json:",omitempty"`
Path string `json:",omitempty"`
Value map[string]interface{} `json:",omitempty"`
}
func NewSchemaSiteAnpEpgSelector ¶
func NewSchemaSiteAnpEpgSelector(ops, path string, SiteAnpEpgSelectorMap map[string]interface{}) *SchemaSiteAnpEpgSelector
func (*SchemaSiteAnpEpgSelector) ToMap ¶
func (schemasiteanpepgselectorattr *SchemaSiteAnpEpgSelector) ToMap() (map[string]interface{}, error)
type SchemaSiteAnpEpgStaticPort ¶
type SchemaSiteAnpEpgStaticPort struct {
Ops string `json:",omitempty"`
Path string `json:",omitempty"`
Value map[string]interface{} `json:",omitempty"`
}
func (*SchemaSiteAnpEpgStaticPort) ToMap ¶
func (anpAttributes *SchemaSiteAnpEpgStaticPort) ToMap() (map[string]interface{}, error)
type SchemaSiteAnpEpgSubnet ¶
type SchemaSiteAnpEpgSubnet struct {
Ops string `json:",omitempty"`
Path string `json:",omitempty"`
Value map[string]interface{} `json:",omitempty"`
}
func NewSchemaSiteAnpEpgSubnet ¶
func NewSchemaSiteAnpEpgSubnet(ops, path, ip, desc, scope string, shared, noDefaultGateway, querier, primary bool) *SchemaSiteAnpEpgSubnet
func (*SchemaSiteAnpEpgSubnet) ToMap ¶
func (bdAttributes *SchemaSiteAnpEpgSubnet) ToMap() (map[string]interface{}, error)
type SchemaSiteBdL3out ¶
type SchemaSiteBdL3out struct {
Ops string `json:",omitempty"`
Path string `json:",omitempty"`
Value string `json:",omitempty"`
}
func NewSchemaSiteBdL3out ¶
func NewSchemaSiteBdL3out(ops, path, l3out string) *SchemaSiteBdL3out
func (*SchemaSiteBdL3out) ToMap ¶
func (siteBdL3outAttributes *SchemaSiteBdL3out) ToMap() (map[string]interface{}, error)
type SchemaSiteBdSubnet ¶
type SchemaSiteBdSubnet struct {
Ops string `json:",omitempty"`
Path string `json:",omitempty"`
Value map[string]interface{} `json:",omitempty"`
}
func NewSchemaSiteBdSubnet ¶
func NewSchemaSiteBdSubnet(ops, path, ip, desc, scope string, shared, noDefaultGateway, querier, primary, virtual bool) *SchemaSiteBdSubnet
func (*SchemaSiteBdSubnet) ToMap ¶
func (bdAttributes *SchemaSiteBdSubnet) ToMap() (map[string]interface{}, error)
type SchemaSiteExternalEpg ¶
type SchemaSiteExternalEpg struct {
Ops string `json:",omitempty"`
Path string `json:",omitempty"`
Value map[string]interface{} `json:",omitempty"`
}
func NewSchemaSiteExternalEpg ¶
func NewSchemaSiteExternalEpg(ops, path string, siteEpgMap map[string]interface{}) *SchemaSiteExternalEpg
func (*SchemaSiteExternalEpg) ToMap ¶
func (schemaSiteExternalEpgAttributes *SchemaSiteExternalEpg) ToMap() (map[string]interface{}, error)
type SchemaSiteExternalEpgSelector ¶
type SchemaSiteExternalEpgSelector struct {
Ops string `json:",omitempty"`
Path string `json:",omitempty"`
Value map[string]interface{} `json:",omitempty"`
}
func NewSchemaSiteExternalEpgSelector ¶
func NewSchemaSiteExternalEpgSelector(ops, path string, selectorMap map[string]interface{}) *SchemaSiteExternalEpgSelector
func (*SchemaSiteExternalEpgSelector) ToMap ¶
func (schemaSiteExternalEpgSelector *SchemaSiteExternalEpgSelector) ToMap() (map[string]interface{}, error)
type SchemaSiteVrfRegion ¶
type SchemaSiteVrfRegion struct {
Ops string `json:",omitempty"`
Path string `json:",omitempty"`
Value map[string]interface{} `json:",omitempty"`
}
func NewSchemaSiteVrfRegion ¶
func NewSchemaSiteVrfRegion(ops, path, name, vpcGroup string, vpnGateway, hubNetwork bool, hubNetworkMap map[string]interface{}, cidrs []interface{}) *SchemaSiteVrfRegion
func (*SchemaSiteVrfRegion) ToMap ¶
func (siteVrfRegionAttributes *SchemaSiteVrfRegion) ToMap() (map[string]interface{}, error)
type SchemaSiteVrfRegionCidr ¶
type SchemaSiteVrfRegionCidr struct {
Ops string `json:",omitempty"`
Path string `json:",omitempty"`
Value map[string]interface{} `json:",omitempty"`
}
func NewSchemaSiteVrfRegionCidr ¶
func NewSchemaSiteVrfRegionCidr(ops, path, ip string, primary bool) *SchemaSiteVrfRegionCidr
func (*SchemaSiteVrfRegionCidr) ToMap ¶
func (siteVrfRegionCidrAttributes *SchemaSiteVrfRegionCidr) ToMap() (map[string]interface{}, error)
type SchemaSiteVrfRegionCidrSubnet ¶
type SchemaSiteVrfRegionCidrSubnet struct {
Ops string `json:",omitempty"`
Path string `json:",omitempty"`
Value map[string]interface{} `json:",omitempty"`
}
func NewSchemaSiteVrfRegionCidrSubnet ¶
func NewSchemaSiteVrfRegionCidrSubnet(ops, path, name, ip, zone, usage, subnetGroup string) *SchemaSiteVrfRegionCidrSubnet
func (*SchemaSiteVrfRegionCidrSubnet) ToMap ¶
func (bdAttributes *SchemaSiteVrfRegionCidrSubnet) ToMap() (map[string]interface{}, error)
type SchemaSiteVrfRegionHubNetork ¶ added in v1.3.1
type SchemaSiteVrfRegionHubNetork struct {
Ops string `json:",omitempty"`
Path string `json:",omitempty"`
Value map[string]interface{} `json:",omitempty"`
}
func CreateInterSchemaSiteVrfRegionNetworkModel ¶ added in v1.3.1
func CreateInterSchemaSiteVrfRegionNetworkModel(hubNetwork *InterSchemaSiteVrfRegionHubNetork, cont *container.Container) (*SchemaSiteVrfRegionHubNetork, error)
func DeleteInterSchemaSiteVrfRegionNetworkModel ¶ added in v1.3.1
func DeleteInterSchemaSiteVrfRegionNetworkModel(hubNetwork *InterSchemaSiteVrfRegionHubNetork, cont *container.Container) (*SchemaSiteVrfRegionHubNetork, error)
func (*SchemaSiteVrfRegionHubNetork) ToMap ¶ added in v1.3.1
func (hubNetwork *SchemaSiteVrfRegionHubNetork) ToMap() (map[string]interface{}, error)
type SchemaTemplate ¶
type SchemaTemplate struct {
Ops string `json:",omitempty"`
Path string `json:",omitempty"`
Value map[string]interface{} `json:",omitempty"`
}
func NewSchemaTemplate ¶
func NewSchemaTemplate(ops, path, tenantId, templateName, templateDisplayName, description, templateType string, templateSubTypes []string) *SchemaTemplate
func (*SchemaTemplate) ToMap ¶
func (schematemplateAttributes *SchemaTemplate) ToMap() (map[string]interface{}, error)
type SchemaTemplateAnp ¶
type SchemaTemplateAnp struct {
Ops string `json:",omitempty"`
Path string `json:",omitempty"`
Value map[string]interface{} `json:",omitempty"`
}
func NewSchemaTemplateAnp ¶
func NewSchemaTemplateAnp(ops, path, Name, displayName, desc string) *SchemaTemplateAnp
func (*SchemaTemplateAnp) ToMap ¶
func (schematemplateanpAttributes *SchemaTemplateAnp) ToMap() (map[string]interface{}, error)
type SchemaTemplateAnpEpgSelector ¶
type SchemaTemplateAnpEpgSelector struct {
Ops string `json:",omitempty"`
Path string `json:",omitempty"`
Value map[string]interface{} `json:",omitempty"`
}
func NewSchemaTemplateAnpEpgSelector ¶
func NewSchemaTemplateAnpEpgSelector(ops, path string, selectorMap map[string]interface{}) *SchemaTemplateAnpEpgSelector
func (*SchemaTemplateAnpEpgSelector) ToMap ¶
func (schematemplateanpepgselectorattr *SchemaTemplateAnpEpgSelector) ToMap() (map[string]interface{}, error)
type SchemaTemplateAnpEpgSubnet ¶
type SchemaTemplateAnpEpgSubnet struct {
Ops string `json:",omitempty"`
Path string `json:",omitempty"`
Value map[string]interface{} `json:",omitempty"`
}
func NewSchemaTemplateAnpEpgSubnet ¶
func NewSchemaTemplateAnpEpgSubnet(ops, path, ip, desc, scope string, shared, noDefaultGateway, querier, primary bool) *SchemaTemplateAnpEpgSubnet
func (*SchemaTemplateAnpEpgSubnet) ToMap ¶
func (schematemplateanpepgsubnetAttributes *SchemaTemplateAnpEpgSubnet) ToMap() (map[string]interface{}, error)
type SchemaTemplateAnpEpgUsegAttr ¶
type SchemaTemplateAnpEpgUsegAttr struct {
Ops string `json:",omitempty"`
Path string `json:",omitempty"`
Value map[string]interface{} `json:",omitempty"`
}
func NewSchemaTemplateAnpEpgUsegAttr ¶
func NewSchemaTemplateAnpEpgUsegAttr(ops, path string, selectorMap map[string]interface{}) *SchemaTemplateAnpEpgUsegAttr
func (*SchemaTemplateAnpEpgUsegAttr) ToMap ¶
func (schematemplateanpepgusegattr *SchemaTemplateAnpEpgUsegAttr) ToMap() (map[string]interface{}, error)
type SchemaTemplateExternalEPGSelector ¶
type SchemaTemplateExternalEPGSelector struct {
Ops string `json:",omitempty"`
Path string `json:",omitempty"`
Value map[string]interface{} `json:",omitempty"`
}
func NewSchemaTemplateExternalEPGSelector ¶
func NewSchemaTemplateExternalEPGSelector(ops, path string, extrepgSelectorMap map[string]interface{}) *SchemaTemplateExternalEPGSelector
func (*SchemaTemplateExternalEPGSelector) ToMap ¶
func (schemaTempleteExtrEPGSelectorattr *SchemaTemplateExternalEPGSelector) ToMap() (map[string]interface{}, error)
type SchemaTemplateVrf ¶
type SchemaTemplateVrf struct {
Ops string `json:",omitempty"`
Path string `json:",omitempty"`
Value map[string]interface{} `json:",omitempty"`
}
func (*SchemaTemplateVrf) ToMap ¶
func (schematemplatevrfAttributes *SchemaTemplateVrf) ToMap() (map[string]interface{}, error)
type ServiceNodeTypeAttributes ¶
type ServiceNodeTypeAttributes struct {
Name string `json:",omitempty"`
DisplayName string `json:",omitempty"`
}
func NewServiceNodeType ¶
func NewServiceNodeType(typeAttr ServiceNodeTypeAttributes) *ServiceNodeTypeAttributes
func (*ServiceNodeTypeAttributes) ToMap ¶
func (typeAttributes *ServiceNodeTypeAttributes) ToMap() (map[string]interface{}, error)
type SiteAnp ¶
type SiteAnp struct {
Ops string `json:",omitempty"`
Path string `json:",omitempty"`
Value map[string]interface{} `json:",omitempty"`
}
func NewSchemaSiteAnp ¶
type SiteAnpEpgStaticLeaf ¶
type SiteAnpEpgStaticLeaf struct {
Ops string `json:",omitempty"`
Path string `json:",omitempty"`
Value map[string]interface{} `json:",omitempty"`
}
func NewSchemaSiteAnpEpgStaticleaf ¶
func NewSchemaSiteAnpEpgStaticleaf(ops, path, paths string, port int) *SiteAnpEpgStaticLeaf
func (*SiteAnpEpgStaticLeaf) ToMap ¶
func (externalepgAttributes *SiteAnpEpgStaticLeaf) ToMap() (map[string]interface{}, error)
type SiteAnpEpgUsegAttr ¶ added in v1.3.8
type SiteAnpEpgUsegAttr struct {
Ops string `json:",omitempty"`
Path string `json:",omitempty"`
Value map[string]interface{} `json:",omitempty"`
}
func SiteAnpEpgUsegAttrForCreation ¶ added in v1.3.8
func SiteAnpEpgUsegAttrForCreation(useg *SiteUsegAttr) *SiteAnpEpgUsegAttr
func SiteAnpEpgUsegAttrforDeletion ¶ added in v1.3.8
func SiteAnpEpgUsegAttrforDeletion(useg *SiteUsegAttr, index int) *SiteAnpEpgUsegAttr
func SiteAnpEpgUsegAttrforUpdate ¶ added in v1.3.8
func SiteAnpEpgUsegAttrforUpdate(useg *SiteUsegAttr, index int) *SiteAnpEpgUsegAttr
func (*SiteAnpEpgUsegAttr) ToMap ¶ added in v1.3.8
func (useg *SiteAnpEpgUsegAttr) ToMap() (map[string]interface{}, error)
type SiteAttributes ¶
type SiteAttributes struct {
Name string `json:",omitempty"`
ApicUsername string `json:",omitempty"`
ApicPassword string `json:",omitempty"`
ApicSiteId string `json:",omitempty"`
Labels []interface{} `json:",omitempty"`
Location *Location `json:",omitempty"`
Url []interface{} `json:",omitempty"`
Platform string `json:",omitempty"`
CloudProviders []interface{} `json:",omitempty"`
MaintenanceMode bool `json:",omitempty"`
Domain string `json:",omitempty"`
HasDomain bool `json:",omitempty"`
}
func NewSite ¶
func NewSite(siteAttr SiteAttributes) *SiteAttributes
func (*SiteAttributes) ToMap ¶
func (siteAttributes *SiteAttributes) ToMap() (map[string]interface{}, error)
type SiteBd ¶
type SiteBd struct {
Ops string `json:",omitempty"`
Path string `json:",omitempty"`
Value map[string]interface{} `json:",omitempty"`
}
func NewSchemaSiteBd ¶
type SiteContractServiceGraph ¶
type SiteContractServiceGraph struct {
Ops string `json:",omitempty"`
Path string `json:",omitempty"`
Value map[string]interface{} `json:",omitempty"`
}
func (*SiteContractServiceGraph) ToMap ¶
func (graphAttr *SiteContractServiceGraph) ToMap() (map[string]interface{}, error)
type SiteL3Out ¶ added in v1.3.1
type SiteL3Out struct {
Ops string `json:",omitempty"`
Path string `json:",omitempty"`
Value map[string]interface{} `json:",omitempty"`
}
func CreateIntersiteL3outsModel ¶ added in v1.3.1
func CreateIntersiteL3outsModel(l3out *IntersiteL3outs) *SiteL3Out
func DeleteIntersiteL3outsModel ¶ added in v1.3.1
func DeleteIntersiteL3outsModel(l3out *IntersiteL3outs) *SiteL3Out
type SiteUsegAttr ¶ added in v1.3.8
type SiteUsegAttr struct {
SchemaID string
TemplateName string
SiteID string
AnpName string
EpgName string
UsegName string
Description string
Type string
Operator string
Category string
Value string
FvSubnet bool
}
func SiteAnpEpgUsegAttrFromContainer ¶ added in v1.3.8
func SiteAnpEpgUsegAttrFromContainer(cont *container.Container, tf *SiteUsegAttr) (*SiteUsegAttr, int, error)
type SiteVrf ¶
type SiteVrf struct {
Ops string `json:",omitempty"`
Path string `json:",omitempty"`
Value map[string]interface{} `json:",omitempty"`
}
func NewSchemaSiteVrf ¶
type TemplateAnpEpg ¶
type TemplateAnpEpg struct {
Ops string `json:",omitempty"`
Path string `json:",omitempty"`
Value map[string]interface{} `json:",omitempty"`
}
func NewTemplateAnpEpg ¶
func NewTemplateAnpEpg(ops, path, name, displayName, intraEpg, epgType, description string, uSegEpg, intersiteMulticasteSource, preferredGroup, proxyArp bool, vrfRef, bdRef, cloudServiceEpgConfig map[string]interface{}) *TemplateAnpEpg
func (*TemplateAnpEpg) ToMap ¶
func (anpAttributes *TemplateAnpEpg) ToMap() (map[string]interface{}, error)
type TemplateAnpEpgContract ¶
type TemplateAnpEpgContract struct {
Ops string `json:",omitempty"`
Path string `json:",omitempty"`
Value map[string]interface{} `json:",omitempty"`
}
func NewTemplateAnpEpgContract ¶
func NewTemplateAnpEpgContract(ops, path string, contractRef map[string]interface{}, relationshipType string) *TemplateAnpEpgContract
func (*TemplateAnpEpgContract) ToMap ¶
func (bdAttributes *TemplateAnpEpgContract) ToMap() (map[string]interface{}, error)
type TemplateBD ¶
type TemplateBDDHCPPolicy ¶ added in v1.3.1
type TemplateBDDHCPPolicy struct {
Name string
Version int
DHCPOptionName string
DHCPOptionVersion int
BDName string
TemplateName string
SchemaID string
}
func TemplateBDDHCPPolicyFromContainer ¶ added in v1.3.1
func TemplateBDDHCPPolicyFromContainer(cont *container.Container, tf *TemplateBDDHCPPolicy) (*TemplateBDDHCPPolicy, error)
type TemplateBDDHCPPolicyOps ¶ added in v1.3.1
type TemplateBDDHCPPolicyOps struct {
Ops string `json:"op,omitempty"`
Path string `json:"path,omitempty"`
Value map[string]interface{} `json:"value,omitempty"`
}
func TemplateBDDHCPPolicyModelForCreation ¶ added in v1.3.1
func TemplateBDDHCPPolicyModelForCreation(bdDHCPPol *TemplateBDDHCPPolicy) *TemplateBDDHCPPolicyOps
func TemplateBDDHCPPolicyModelForDeletion ¶ added in v1.3.1
func TemplateBDDHCPPolicyModelForDeletion(bdDHCPPol *TemplateBDDHCPPolicy) *TemplateBDDHCPPolicyOps
func TemplateBDDHCPPolicyModelForUpdate ¶ added in v1.3.1
func TemplateBDDHCPPolicyModelForUpdate(bdDHCPPol *TemplateBDDHCPPolicy) *TemplateBDDHCPPolicyOps
func (*TemplateBDDHCPPolicyOps) ToMap ¶ added in v1.3.1
func (templateBDDHCPPolicyOps *TemplateBDDHCPPolicyOps) ToMap() (map[string]interface{}, error)
type TemplateBDSubnet ¶
type TemplateBDSubnet struct {
Ops string `json:",omitempty"`
Path string `json:",omitempty"`
Value map[string]interface{} `json:",omitempty"`
}
func NewTemplateBDSubnet ¶
func NewTemplateBDSubnet(ops, path, ip, desc, scope string, shared, noDefaultGateway, querier, primary, virtual bool) *TemplateBDSubnet
func (*TemplateBDSubnet) ToMap ¶
func (bdAttributes *TemplateBDSubnet) ToMap() (map[string]interface{}, error)
type TemplateContract ¶
type TemplateContract struct {
Ops string `json:",omitempty"`
Path string `json:",omitempty"`
Value map[string]interface{} `json:",omitempty"`
}
func NewTemplateContract ¶
func NewTemplateContract(ops, path, name, displayName, scope, filterType, targetDscp, priority, desc string, filterRelationships, filterRelationshipsProviderToConsumer, filterRelationshipsConsumerToProvider []interface{}) *TemplateContract
func (*TemplateContract) ToMap ¶
func (anpAttributes *TemplateContract) ToMap() (map[string]interface{}, error)
type TemplateContractServiceGraph ¶
type TemplateContractServiceGraph struct {
Ops string `json:",omitempty"`
Path string `json:",omitempty"`
Value map[string]interface{} `json:",omitempty"`
}
func (*TemplateContractServiceGraph) ToMap ¶
func (graphAttr *TemplateContractServiceGraph) ToMap() (map[string]interface{}, error)
type TemplateExternalepg ¶
type TemplateExternalepg struct {
Ops string `json:",omitempty"`
Path string `json:",omitempty"`
Value map[string]interface{} `json:",omitempty"`
}
func NewSiteContractServiceGraph ¶
func NewSiteContractServiceGraph(ops, path string, serviceGraph map[string]interface{}, nodeRelation []interface{}) *TemplateExternalepg
func NewTemplateContractServiceGraph ¶
func NewTemplateContractServiceGraph(ops, path string, serviceGraph map[string]interface{}, nodeRelation []interface{}) *TemplateExternalepg
func NewTemplateExternalepg ¶
func (*TemplateExternalepg) ToMap ¶
func (externalepgAttributes *TemplateExternalepg) ToMap() (map[string]interface{}, error)
type TemplateFilterEntry ¶
type TemplateFilterEntry struct {
Ops string `json:",omitempty"`
Path string `json:",omitempty"`
Value map[string]interface{} `json:",omitempty"`
}
func NewTemplateFilter ¶
func NewTemplateFilter(ops, path, filterName, filterDisplayName string, entries []interface{}) *TemplateFilterEntry
func NewTemplateFilterEntry ¶
func NewTemplateFilterEntry(ops, path, entryName, entryDisplayName, entryDescription, etherType, arpFlag, ipProtocol, sourceFrom, sourceTo, destinationFrom, destinationTo string, matchOnlyFragments, stateful bool, tcpSessionRules []interface{}) *TemplateFilterEntry
func (*TemplateFilterEntry) ToMap ¶
func (anpAttributes *TemplateFilterEntry) ToMap() (map[string]interface{}, error)
type TemplateL3out ¶
type TemplateL3out struct {
Ops string `json:",omitempty"`
Path string `json:",omitempty"`
Value map[string]interface{} `json:",omitempty"`
}
func NewTemplateL3out ¶
func NewTemplateL3out(ops, path, name, displayName, desc string, vrfRef map[string]interface{}) *TemplateL3out
func (*TemplateL3out) ToMap ¶
func (l3outAttributes *TemplateL3out) ToMap() (map[string]interface{}, error)
type TemplateServiceGraph ¶
type TemplateServiceGraph struct {
Ops string `json:",omitempty"`
Path string `json:",omitempty"`
Value map[string]interface{}
}
func NewTemplateServiceGraph ¶
func NewTemplateServiceGraph(ops, path string, graphRef map[string]interface{}) *TemplateServiceGraph
func (*TemplateServiceGraph) ToMap ¶
func (graphAttributes *TemplateServiceGraph) ToMap() (map[string]interface{}, error)
type TemplateServiceGraphUpdate ¶
type TemplateServiceGraphUpdate struct {
Ops string `json:",omitempty"`
Path string `json:",omitempty"`
Value interface{}
}
func NewTemplateServiceGraphUpdate ¶
func NewTemplateServiceGraphUpdate(ops, path string, graphRef interface{}) *TemplateServiceGraphUpdate
func (*TemplateServiceGraphUpdate) ToMap ¶
func (graphAttributes *TemplateServiceGraphUpdate) ToMap() (map[string]interface{}, error)
type TemplateVRFContract ¶
type TemplateVRFContract struct {
Ops string `json:",omitempty"`
Path string `json:",omitempty"`
Value map[string]interface{} `json:",omitempty"`
}
func NewTemplateVRFContract ¶
func NewTemplateVRFContract(ops, path string, contractRef map[string]interface{}) *TemplateVRFContract
func (*TemplateVRFContract) ToMap ¶
func (vrfConAttributes *TemplateVRFContract) ToMap() (map[string]interface{}, error)
type TenantAttributes ¶
type TenantAttributes struct {
Name string `json:",omitempty"`
DisplayName string `json:",omitempty"`
Description string `json:",omitempty"`
Users []interface{} `json:",omitempty"`
Sites []interface{} `json:",omitempty"`
}
func NewTenant ¶
func NewTenant(tenantAttr TenantAttributes) *TenantAttributes
func (*TenantAttributes) ToMap ¶
func (tenantAttributes *TenantAttributes) ToMap() (map[string]interface{}, error)
type User ¶
type User struct {
Id string `json:",omitempty"`
User string `json:",omitempty"`
UserPassword string `json:",omitempty"`
FirstName string `json:",omitempty"`
LastName string `json:",omitempty"`
Email string `json:",omitempty"`
Phone string `json:",omitempty"`
AccountStatus string `json:",omitempty"`
Domain string `json:",omitempty"`
Roles []interface{} `json:",omitempty"`
}
Source Files
¶
- dhcp_option_policy.go
- dhcp_option_policy_option.go
- dhcp_relay_policy_provider.go
- label.go
- model.go
- relay_policy.go
- remote_location.go
- role.go
- schema.go
- schema_site.go
- schema_site_anp.go
- schema_site_anp_epg.go
- schema_site_anp_epg_bulk_staticport.go
- schema_site_anp_epg_domain.go
- schema_site_anp_epg_selector.go
- schema_site_anp_epg_static_port.go
- schema_site_anp_epg_staticleaf.go
- schema_site_anp_epg_subnet.go
- schema_site_anp_epg_useg_attr.go
- schema_site_bd.go
- schema_site_bd_l3out.go
- schema_site_bd_subnet.go
- schema_site_external_epg.go
- schema_site_external_epg_selector.go
- schema_site_l3_out.go
- schema_site_vrf.go
- schema_site_vrf_region.go
- schema_site_vrf_region_cidr.go
- schema_site_vrf_region_cidr_subnet.go
- schema_site_vrf_region_hub_network.go
- schema_site_vrf_region_route_leak.go
- schema_template.go
- schema_template_anp.go
- schema_template_anp_epg.go
- schema_template_anp_epg_contract.go
- schema_template_anp_epg_selector.go
- schema_template_anp_epg_subnet.go
- schema_template_anp_epg_useg_att.go
- schema_template_bd.go
- schema_template_bd_dhcp_policy.go
- schema_template_bd_subnet.go
- schema_template_contract.go
- schema_template_contract_filter.go
- schema_template_contract_service_graph.go
- schema_template_external_epg_selector.go
- schema_template_externalepg.go
- schema_template_externalepg_contract.go
- schema_template_externalepg_subnet.go
- schema_template_filter_entry.go
- schema_template_l3out.go
- schema_template_service_graph.go
- schema_template_vrf.go
- schema_template_vrf_contract.go
- service_node_type.go
- shema_validate.go
- site.go
- system_config.go
- tenant.go
- user.go
- util.go
Click to show internal directories.
Click to hide internal directories.