Skip to content

Commit

Permalink
[minor_change] Remove flood_on_encap and prio from schema and change …
Browse files Browse the repository at this point in the history
…the non required attributes to read-only in aci_endpoint_security datasource
  • Loading branch information
akinross committed May 3, 2024
1 parent 5927ea4 commit cfe05c2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 25 deletions.
14 changes: 0 additions & 14 deletions aci/data_source_aci_fvesg.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,10 @@ func dataSourceAciEndpointSecurityGroup() *schema.Resource {
},
"annotation": {
Type: schema.TypeString,
Optional: true,
Computed: true,
},
"flood_on_encap": {
Type: schema.TypeString,
Optional: true,
Computed: true,
},
"match_t": {
Type: schema.TypeString,
Optional: true,
Computed: true,
},
"name": {
Expand All @@ -39,17 +32,10 @@ func dataSourceAciEndpointSecurityGroup() *schema.Resource {
},
"pc_enf_pref": {
Type: schema.TypeString,
Optional: true,
Computed: true,
},
"pref_gr_memb": {
Type: schema.TypeString,
Optional: true,
Computed: true,
},
"prio": {
Type: schema.TypeString,
Optional: true,
Computed: true,
},
})),
Expand Down
18 changes: 7 additions & 11 deletions legacy-docs/docs/d/endpoint_security_group.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -32,18 +32,14 @@ data "aci_endpoint_security_group" "example" {
## Argument Reference ##

* `application_profile_dn` - (Required) Distinguished name of parent Application Profile object.
* `name` - (Required) name of object Endpoint Security Group.
* `name` - (Required) Name of object Endpoint Security Group.

## Attribute Reference ##

* `id` - Attribute id set to the Dn of the Endpoint Security Group.
* `annotation` - (Optional) Annotation of object Endpoint Security Group.
* `description` - (Optional) Description of object Endpoint Security Group.
* `name_alias` - (Optional) Name Alias of object Endpoint Security Group.
* `flood_on_encap` - (Optional) Handles L2 Multicast/Broadcast and Link-Layer traffic at EPG level. It represents Control at EPG level and decides if the traffic L2 Multicast/Broadcast and Link Local Layer should be flooded only on ENCAP, or based on bridge-domain settings.
* `match_t` - (Optional) The provider label match criteria.
* `pc_enf_pref` - (Optional) The preferred policy control.
* `pref_gr_memb` - (Optional) Represents parameter used to determine
if EPg is part of a group that does not
a contract for communication.
* `prio` - (Optional) The QoS priority class identifier.
* `annotation` - (Read-Only) Annotation of object Endpoint Security Group.
* `description` - (Read-Only) Description of object Endpoint Security Group.
* `name_alias` - (Read-Only) Name Alias of object Endpoint Security Group.
* `match_t` - (Read-Only) The provider label match criteria.
* `pc_enf_pref` - (Read-Only) The preferred policy control.
* `pref_gr_memb` - (Read-Only) Represents parameter used to determine if EPg is part of a group that does not a contract for communication.

0 comments on commit cfe05c2

Please sign in to comment.