Skip to content

Commit

Permalink
[ignore] added seg attributes for fvBD
Browse files Browse the repository at this point in the history
  • Loading branch information
abrahammughal committed Aug 6, 2024
1 parent 5b6255c commit a64925b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions aci/data_source_aci_fvbd.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,12 @@ func dataSourceAciBridgeDomain() *schema.Resource {
Computed: true,
},

"seg": &schema.Schema{
Type: schema.TypeString,
Optional: true,
Computed: true,
},

"unicast_route": &schema.Schema{
Type: schema.TypeString,
Optional: true,
Expand Down
6 changes: 6 additions & 0 deletions aci/resource_aci_fvbd.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,11 @@ func resourceAciBridgeDomain() *schema.Resource {
}, false),
},

"seg": &schema.Schema{
Type: schema.TypeString,
Computed: true,
},

"unicast_route": &schema.Schema{
Type: schema.TypeString,
Optional: true,
Expand Down Expand Up @@ -351,6 +356,7 @@ func setBridgeDomainAttributes(fvBD *models.BridgeDomain, d *schema.ResourceData
d.Set("multi_dst_pkt_act", fvBDMap["multiDstPktAct"])
d.Set("name_alias", fvBDMap["nameAlias"])
d.Set("bridge_domain_type", fvBDMap["type"])
d.Set("seg", fvBDMap["seg"])
d.Set("unicast_route", fvBDMap["unicastRoute"])
d.Set("unk_mac_ucast_act", fvBDMap["unkMacUcastAct"])
d.Set("unk_mcast_act", fvBDMap["unkMcastAct"])
Expand Down

0 comments on commit a64925b

Please sign in to comment.