Skip to content

Commit 5dff413

Browse files
akinrosslhercot
authored andcommitted
[minor_change] Add service_bd_routing_disable attribute to aci_bridge_domain resource and datasource
1 parent 820339a commit 5dff413

File tree

9 files changed

+114
-11
lines changed

9 files changed

+114
-11
lines changed

docs/data-sources/bridge_domain.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ data "aci_bridge_domain" "example_tenant" {
7272
* `pc_tag` (pcTag) - (string) The classification tag used for policy enforcement and zoning.
7373
* `scope` (scope) - (string) The scope ID (L3-VNI) of the Bridge Domain object.
7474
* `segment` (seg) - (string) The segment ID (L2-VNI) of the Bridge Domain object.
75+
* `service_bd_routing_disable` (serviceBdRoutingDisable) - (string) Disable Routing on service BD.
7576
* `bridge_domain_type` (type) - (string) The domain type of the Bridge Domain object.
7677
* `unicast_routing` (unicastRoute) - (string) Enables L3 routing and endpoint IP learning for the Bridge Domain object.
7778
* `l2_unknown_unicast_flooding` (unkMacUcastAct) - (string) The forwarding method for unknown layer 2 destinations.

docs/resources/bridge_domain.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ resource "aci_bridge_domain" "full_example_tenant" {
7070
name_alias = "name_alias_1"
7171
owner_key = "owner_key_1"
7272
owner_tag = "owner_tag_1"
73+
service_bd_routing_disable = "no"
7374
bridge_domain_type = "fc"
7475
unicast_routing = "no"
7576
l2_unknown_unicast_flooding = "proxy"
@@ -387,6 +388,9 @@ All examples for the Bridge Domain resource can be found in the [examples](https
387388
* `scope` (scope) - (string) The scope ID (L3-VNI) of the Bridge Domain object.
388389
- Default: `0`
389390
* `segment` (seg) - (string) The segment ID (L2-VNI) of the Bridge Domain object.
391+
* `service_bd_routing_disable` (serviceBdRoutingDisable) - (string) Disable Routing on service BD.
392+
- Default: `no`
393+
- Valid Values: `no`, `yes`.
390394
* `bridge_domain_type` (type) - (string) The domain type of the Bridge Domain object.
391395
- Default: `regular`
392396
- Valid Values: `fc`, `regular`.

examples/resources/aci_bridge_domain/resource-all-attributes.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ resource "aci_bridge_domain" "full_example_tenant" {
2323
name_alias = "name_alias_1"
2424
owner_key = "owner_key_1"
2525
owner_tag = "owner_tag_1"
26+
service_bd_routing_disable = "no"
2627
bridge_domain_type = "fc"
2728
unicast_routing = "no"
2829
l2_unknown_unicast_flooding = "proxy"

gen/meta/fvBD.json

Lines changed: 61 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2046,7 +2046,7 @@
20462046
"isConfigurable": true,
20472047
"propGlobalId": "34472",
20482048
"propLocalId": "8158",
2049-
"label": "Optimize Wan Bandwidth between sites",
2049+
"label": "Optimize Wan Bandwidth Between Sites",
20502050
"baseType": "scalar:Bool",
20512051
"modelType": "scalar:Bool",
20522052
"needsPropDelimiters": false,
@@ -2176,7 +2176,7 @@
21762176
"isConfigurable": false,
21772177
"propGlobalId": "1691",
21782178
"propLocalId": "859",
2179-
"label": "bcastP",
2179+
"label": "Broadcast Policy",
21802180
"baseType": "address:IPv4",
21812181
"modelType": "mcast:Group",
21822182
"needsPropDelimiters": false,
@@ -2251,7 +2251,7 @@
22512251
"isConfigurable": false,
22522252
"propGlobalId": "26448",
22532253
"propLocalId": "153",
2254-
"label": "configIssues",
2254+
"label": "Configuration Issues",
22552255
"baseType": "scalar:Bitmask64",
22562256
"modelType": "fv:BDConfIssuesType",
22572257
"needsPropDelimiters": false,
@@ -2606,7 +2606,7 @@
26062606
"isConfigurable": true,
26072607
"propGlobalId": "30545",
26082608
"propLocalId": "7595",
2609-
"label": "Allow BUM traffic between sites",
2609+
"label": "Allow BUM Traffic Between Sites",
26102610
"baseType": "scalar:Bool",
26112611
"modelType": "scalar:Bool",
26122612
"needsPropDelimiters": false,
@@ -2653,7 +2653,7 @@
26532653
"isConfigurable": true,
26542654
"propGlobalId": "33178",
26552655
"propLocalId": "7928",
2656-
"label": "Allow l2Stretch between sites",
2656+
"label": "Allow L2Stretch Between Sites",
26572657
"baseType": "scalar:Bool",
26582658
"modelType": "scalar:Bool",
26592659
"needsPropDelimiters": false,
@@ -2697,7 +2697,7 @@
26972697
"isConfigurable": true,
26982698
"propGlobalId": "21254",
26992699
"propLocalId": "5433",
2700-
"label": "Ip Learning",
2700+
"label": "IP Learning",
27012701
"baseType": "scalar:Bool",
27022702
"modelType": "scalar:Bool",
27032703
"needsPropDelimiters": false,
@@ -2744,7 +2744,7 @@
27442744
"isConfigurable": true,
27452745
"propGlobalId": "47406",
27462746
"propLocalId": "10834",
2747-
"label": "ipv6 Multicast Allow",
2747+
"label": "IPv6 Multicast Allow",
27482748
"baseType": "scalar:Bool",
27492749
"modelType": "scalar:Bool",
27502750
"needsPropDelimiters": false,
@@ -2854,7 +2854,7 @@
28542854
"isConfigurable": true,
28552855
"propGlobalId": "20851",
28562856
"propLocalId": "5375",
2857-
"label": "Limit IP learning to BD subnets only",
2857+
"label": "Limit IP Learning to BD Subnets",
28582858
"baseType": "scalar:Bool",
28592859
"modelType": "scalar:Bool",
28602860
"needsPropDelimiters": false,
@@ -3380,7 +3380,7 @@
33803380
"isConfigurable": false,
33813381
"propGlobalId": "1695",
33823382
"propLocalId": "551",
3383-
"label": "pcTag",
3383+
"label": "PC Tag",
33843384
"baseType": "scalar:Uint32",
33853385
"modelType": "vz:GPCTag",
33863386
"needsPropDelimiters": false,
@@ -3445,7 +3445,7 @@
34453445
"isConfigurable": false,
34463446
"propGlobalId": "1694",
34473447
"propLocalId": "1",
3448-
"label": "scope",
3448+
"label": "Scope",
34493449
"baseType": "scalar:Uint32",
34503450
"modelType": "fv:ScopeId",
34513451
"needsPropDelimiters": false,
@@ -3503,6 +3503,56 @@
35033503
"isDeprecated": false,
35043504
"isHidden": false
35053505
},
3506+
"serviceBdRoutingDisable": {
3507+
"versions": "6.0(4c)-",
3508+
"comment": [
3509+
"Disable Routing on service BD"
3510+
],
3511+
"isConfigurable": true,
3512+
"propGlobalId": "70465",
3513+
"propLocalId": "15461",
3514+
"label": "Disable Routing on Service BD",
3515+
"baseType": "scalar:Bool",
3516+
"modelType": "scalar:Bool",
3517+
"needsPropDelimiters": false,
3518+
"uitype": "boolean",
3519+
"createOnly": false,
3520+
"readWrite": true,
3521+
"readOnly": false,
3522+
"isNaming": false,
3523+
"secure": false,
3524+
"implicit": false,
3525+
"mandatory": false,
3526+
"isOverride": false,
3527+
"isLike": false,
3528+
"validValues": [
3529+
{ "value": "no", "localName": "defaultValue",
3530+
"platformFlavors": [
3531+
3532+
],
3533+
"comment": [
3534+
"By default, routing is enabled on service BD"
3535+
],
3536+
"label": " "},
3537+
{ "value": "false", "localName": "no",
3538+
"platformFlavors": [
3539+
3540+
],
3541+
"label": "No "},
3542+
{ "value": "true", "localName": "yes",
3543+
"platformFlavors": [
3544+
3545+
],
3546+
"label": "Yes "}
3547+
],
3548+
"default": "no",
3549+
"platformFlavors": [
3550+
3551+
],
3552+
"isNxosConverged": false,
3553+
"isDeprecated": false,
3554+
"isHidden": false
3555+
},
35063556
"status": {
35073557
"versions": "1.0(1e)-",
35083558
"comment": [
@@ -3689,7 +3739,7 @@
36893739
"isConfigurable": true,
36903740
"propGlobalId": "1696",
36913741
"propLocalId": "886",
3692-
"label": "Unknown Mac Unicast Action",
3742+
"label": "Unknown MAC Unicast Action",
36933743
"baseType": "scalar:Enum8",
36943744
"modelType": "l2:UnkMacUcastAct",
36953745
"needsPropDelimiters": false,

gen/testvars/fvBD.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ default:
3535
pim_ipv6: "no"
3636
5.2(5c):
3737
drop_arp_with_multicast_smac: "yes"
38+
6.0(4c):
39+
service_bd_routing_disable: "no"
3840

3941
datasource_non_existing:
4042
name: "non_existing_name"
@@ -82,6 +84,8 @@ all:
8284
pim_ipv6: "no"
8385
5.2(5c):
8486
drop_arp_with_multicast_smac: "no"
87+
6.0(4c):
88+
service_bd_routing_disable: "no"
8589

8690
children:
8791
legacy_mode:

internal/provider/data_source_aci_bridge_domain.go

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/provider/data_source_aci_bridge_domain_test.go

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/provider/resource_aci_bridge_domain.go

Lines changed: 21 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

internal/provider/resource_aci_bridge_domain_test.go

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)