Skip to content

Commit

Permalink
[minor_change] add support for site epg vmm domain attributes in vers…
Browse files Browse the repository at this point in the history
…ion 4.2
  • Loading branch information
akinross authored and lhercot committed Nov 7, 2023
1 parent 53b200b commit 971921d
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion models/schema_site_anp_epg_domain.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,24 @@ func NewSchemaSiteAnpEpgDomain(ops, path, domainType, dn, deploymentImmediacy, r

func injectVmmDomainProperties(siteAnpEpgDomainMap, vmmDomainProperties map[string]interface{}) {

properties := []string{"allowMicroSegmentation", "epgLagPol", "switchType", "switchingMode", "vlanEncapMode", "portEncapVlan", "microSegVlan"}
properties := []string{
"allowMicroSegmentation",
"epgLagPol",
"switchType",
"switchingMode",
"vlanEncapMode",
"portEncapVlan",
"microSegVlan",
"delimiter",
"bindingType",
"numPorts",
"portAllocation",
"netflowPref",
"allowPromiscuous",
"forgedTransmits",
"macChanges",
"customEpgName",
}
for _, property := range properties {
value, exists := vmmDomainProperties[property]
if exists {
Expand Down

0 comments on commit 971921d

Please sign in to comment.