Skip to content

Commit 716c0ed

Browse files
akinrosslhercot
authored andcommitted
[minor_change] Add read-only pcTag, scope and segment attributes to aci_bridge_domain resource and datasource and add scope to aci_endpoint_security_group and aci_application_epg resources and datasources
1 parent a3e4149 commit 716c0ed

22 files changed

+495
-60
lines changed

docs/data-sources/application_epg.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ data "aci_application_epg" "example_application_profile" {
6161
* `pc_tag` (pcTag) - (string) The classification tag used for policy enforcement and zoning.
6262
* `preferred_group_member` (prefGrMemb) - (string) Parameter used to determine whether the EPG is part of the preferred group. Members of this group are allowed to communicate without contracts.
6363
* `priority` (prio) - (string) The Quality of Service (QoS) priority class ID. QoS refers to the capability of a network to provide better service to selected network traffic over various technologies. The primary goal of QoS is to provide priority including dedicated bandwidth, controlled jitter and latency (required by some real-time and interactive traffic), and improved loss characteristics. You can configure the bandwidth of each QoS level using QoS profiles.
64+
* `scope` (scope) - (string) The scope ID (L3-VNI) of the Application EPG object.
6465
* `admin_state` (shutdown) - (string) Withdraw AEPg Configuration from all Nodes in the Fabric.
6566
* `epg_useg_block_statement` - (map) A map of EPG uSeg Block Statement (ACI object [fvCrtrn](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvCrtrn/overview)). This attribute is supported in ACI versions: 1.1(1j) and later.
6667
* `annotation` (annotation) - (string) The annotation of the EPG uSeg Block Statement object.

docs/data-sources/bridge_domain.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ data "aci_bridge_domain" "example_tenant" {
6969
* `name_alias` (nameAlias) - (string) The name alias of the Bridge Domain object.
7070
* `owner_key` (ownerKey) - (string) The key for enabling clients to own their data for entity correlation.
7171
* `owner_tag` (ownerTag) - (string) A tag for enabling clients to add their own data. For example, to indicate who created this object.
72+
* `pc_tag` (pcTag) - (string) The classification tag used for policy enforcement and zoning.
73+
* `scope` (scope) - (string) The scope ID (L3-VNI) of the Bridge Domain object.
74+
* `segment` (seg) - (string) The segment ID (L2-VNI) of the Bridge Domain object.
7275
* `bridge_domain_type` (type) - (string) The domain type of the Bridge Domain object.
7376
* `unicast_routing` (unicastRoute) - (string) Enables L3 routing and endpoint IP learning for the Bridge Domain object.
7477
* `l2_unknown_unicast_flooding` (unkMacUcastAct) - (string) The forwarding method for unknown layer 2 destinations.

docs/data-sources/endpoint_security_group.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ data "aci_endpoint_security_group" "example_application_profile" {
5656
* `intra_esg_isolation` (pcEnfPref) - (string) Parameter used to determine whether communication between endpoints within the ESG is blocked.
5757
* `pc_tag` (pcTag) - (string) The classification tag used for policy enforcement and zoning.
5858
* `preferred_group_member` (prefGrMemb) - (string) Parameter used to determine whether the ESG is part of the preferred group. Members of this group are allowed to communicate without contracts.
59+
* `scope` (scope) - (string) The scope ID (L3-VNI) of the Endpoint Security Group object.
5960
* `admin_state` (shutdown) - (string) Withdraw the ESG configuration from all nodes in the fabric.
6061
* `relation_to_consumed_contracts` - (list) A list of Relation To Consumed Contracts (ACI object [fvRsCons](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/fvRsCons/overview)) pointing to Contract (ACI Object [vzBrCP](https://pubhub.devnetcloud.com/media/model-doc-latest/docs/app/index.html#/objects/vzBrCP/overview)). This attribute is supported in ACI versions: 1.0(1e) and later.
6162
* `annotation` (annotation) - (string) The annotation of the Relation To Consumed Contract object.

docs/resources/application_epg.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,8 @@ All examples for the Application EPG resource can be found in the [examples](htt
446446
* `priority` (prio) - (string) The Quality of Service (QoS) priority class ID. QoS refers to the capability of a network to provide better service to selected network traffic over various technologies. The primary goal of QoS is to provide priority including dedicated bandwidth, controlled jitter and latency (required by some real-time and interactive traffic), and improved loss characteristics. You can configure the bandwidth of each QoS level using QoS profiles.
447447
- Default: `unspecified`
448448
- Valid Values: `level1`, `level2`, `level3`, `level4`, `level5`, `level6`, `unspecified`.
449+
* `scope` (scope) - (string) The scope ID (L3-VNI) of the Application EPG object.
450+
- Default: `0`
449451
* `admin_state` (shutdown) - (string) Withdraw AEPg Configuration from all Nodes in the Fabric.
450452
- Default: `no`
451453
- Valid Values: `no`, `yes`.

docs/resources/bridge_domain.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -383,6 +383,10 @@ All examples for the Bridge Domain resource can be found in the [examples](https
383383
* `name_alias` (nameAlias) - (string) The name alias of the Bridge Domain object.
384384
* `owner_key` (ownerKey) - (string) The key for enabling clients to own their data for entity correlation.
385385
* `owner_tag` (ownerTag) - (string) A tag for enabling clients to add their own data. For example, to indicate who created this object.
386+
* `pc_tag` (pcTag) - (string) The classification tag used for policy enforcement and zoning.
387+
* `scope` (scope) - (string) The scope ID (L3-VNI) of the Bridge Domain object.
388+
- Default: `0`
389+
* `segment` (seg) - (string) The segment ID (L2-VNI) of the Bridge Domain object.
386390
* `bridge_domain_type` (type) - (string) The domain type of the Bridge Domain object.
387391
- Default: `regular`
388392
- Valid Values: `fc`, `regular`.

docs/resources/endpoint_security_group.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,8 @@ All examples for the Endpoint Security Group resource can be found in the [examp
214214
* `preferred_group_member` (prefGrMemb) - (string) Parameter used to determine whether the ESG is part of the preferred group. Members of this group are allowed to communicate without contracts.
215215
- Default: `exclude`
216216
- Valid Values: `exclude`, `include`.
217+
* `scope` (scope) - (string) The scope ID (L3-VNI) of the Endpoint Security Group object.
218+
- Default: `0`
217219
* `admin_state` (shutdown) - (string) Withdraw the ESG configuration from all nodes in the fabric.
218220
- Default: `no`
219221
- Valid Values: `no`, `yes`.

gen/definitions/properties.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ global:
2424
lastMbrIntvl: "The last member interval (seconds) of the %s object. The group state is removed when no host responds before the timeout"
2525
startQueryCnt: "The start query count of the %s object."
2626
startQueryIntvl: "The query interval (seconds) of the %s object at start-up."
27+
seg: "The segment ID (L2-VNI) of the %s object."
28+
pcTag: "The classification tag used for policy enforcement and zoning."
2729
overwrites:
2830
count: "apic_count" # count is a terraform reserved schema entry
2931
provider: "prov" # provider is a terraform reserved schema entry
@@ -44,6 +46,7 @@ global:
4446
netflow_pref: "enable_netflow"
4547
num_ports: "number_of_ports"
4648
class_pref: "class_preference"
49+
seg: "segment"
4750
resource_name_doc_overwrite:
4851
Vrf: "VRF"
4952
Sid: "SR-MPLS Segment ID"
@@ -429,6 +432,7 @@ netflowRecordPol:
429432
fvESg:
430433
read_only_properties:
431434
- "pcTag"
435+
- "scope"
432436
remove_valid_values:
433437
pcTag:
434438
- "any"
@@ -442,6 +446,7 @@ fvESg:
442446
prefGrMemb: "Parameter used to determine whether the ESG is part of the preferred group. Members of this group are allowed to communicate without contracts."
443447
pcEnfPref: "Parameter used to determine whether communication between endpoints within the ESG is blocked."
444448
shutdown: "Withdraw the ESG configuration from all nodes in the fabric."
449+
scope: "The scope ID (L3-VNI) of the %s object."
445450
parents:
446451
- class_name: "fvAp"
447452
parent_dependency: "fvTenant"
@@ -717,6 +722,7 @@ fvIpAttr:
717722
fvAEPg:
718723
read_only_properties:
719724
- "pcTag"
725+
- "scope"
720726
remove_valid_values:
721727
pcTag:
722728
- "any"
@@ -745,6 +751,7 @@ fvAEPg:
745751
isAttrBasedEPg: "The %s object is microsegmented (uSeg)."
746752
pcEnfPref: "Parameter used to determine whether communication between endpoints within the EPG is blocked."
747753
prefGrMemb: "Parameter used to determine whether the EPG is part of the preferred group. Members of this group are allowed to communicate without contracts."
754+
scope: "The scope ID (L3-VNI) of the %s object."
748755
test_values:
749756
default:
750757
forwarding_control: "none"
@@ -1317,9 +1324,15 @@ pkiKeyRing:
13171324
certificate_authority: "test_name"
13181325

13191326
fvBD:
1327+
read_only_properties:
1328+
- "pcTag"
1329+
- "seg"
1330+
- "scope"
13201331
remove_valid_values:
13211332
vmac:
13221333
- "not-applicable"
1334+
pcTag:
1335+
- "any"
13231336
add_valid_values:
13241337
epMoveDetectMode:
13251338
- ""
@@ -1372,6 +1385,7 @@ fvBD:
13721385
unkMcastAct: "The forwarding method for unknown layer 3 multicast destinations."
13731386
v6unkMcastAct: "The forwarding method for unknown IPv6 multicast destinations."
13741387
vmac: "The virtual MAC address of the %s object. This is used when the the BD/SVI is extended to multiple sites using a L2 Outside."
1388+
scope: "The scope ID (L3-VNI) of the %s object."
13751389
type_overwrites:
13761390
epMoveDetectMode: "string"
13771391
test_values:

gen/testvars/fvAEPg.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ custom_type:
3535

3636
read_only:
3737
- "pc_tag"
38+
- "scope"
3839

3940
all:
4041
annotation: "annotation"

gen/testvars/fvBD.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ datasource_required:
4545
resource_required:
4646
name: "test_name"
4747

48+
read_only:
49+
- "pc_tag"
50+
- "scope"
51+
- "segment"
52+
4853
all:
4954
optimize_wan_bandwidth: "no"
5055
annotation: "annotation"

gen/testvars/fvESg.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ resource_required:
2626

2727
read_only:
2828
- "pc_tag"
29+
- "scope"
2930

3031
all:
3132
annotation: "annotation"

0 commit comments

Comments
 (0)