diff --git a/aci/data_source_aci_fvctx.go b/aci/data_source_aci_fvctx.go index d119a3eef..116326f7f 100644 --- a/aci/data_source_aci_fvctx.go +++ b/aci/data_source_aci_fvctx.go @@ -27,6 +27,18 @@ func dataSourceAciVRF() *schema.Resource { Required: true, }, + "pc_tag": &schema.Schema{ + Type: schema.TypeString, + Optional: true, + Computed: true, + }, + + "scope": &schema.Schema{ + Type: schema.TypeString, + Optional: true, + Computed: true, + }, + "bd_enforced_enable": &schema.Schema{ Type: schema.TypeString, Optional: true, diff --git a/aci/resource_aci_fvctx.go b/aci/resource_aci_fvctx.go index 0788b8028..10bfb413e 100644 --- a/aci/resource_aci_fvctx.go +++ b/aci/resource_aci_fvctx.go @@ -38,6 +38,18 @@ func resourceAciVRF() *schema.Resource { ForceNew: true, }, + "pc_tag": &schema.Schema{ + Type: schema.TypeString, + Optional: true, + Computed: true, + }, + + "scope": &schema.Schema{ + Type: schema.TypeString, + Optional: true, + Computed: true, + }, + "bd_enforced_enable": &schema.Schema{ Type: schema.TypeString, Optional: true, @@ -213,6 +225,8 @@ func setVRFAttributes(fvCtx *models.VRF, d *schema.ResourceData) (*schema.Resour d.Set("name", fvCtxMap["name"]) d.Set("annotation", fvCtxMap["annotation"]) + d.Set("scope", fvCtxMap["scope"]) + d.Set("pc_tag", fvCtxMap["pcTag"]) d.Set("bd_enforced_enable", fvCtxMap["bdEnforcedEnable"]) d.Set("ip_data_plane_learning", fvCtxMap["ipDataPlaneLearning"]) d.Set("knw_mcast_act", fvCtxMap["knwMcastAct"]) diff --git a/docs/data-sources/vrf.md b/docs/data-sources/vrf.md index 85c469fbf..94d66bfba 100644 --- a/docs/data-sources/vrf.md +++ b/docs/data-sources/vrf.md @@ -29,6 +29,8 @@ data "aci_vrf" "dev_ctx" { - `id` - Attribute id set to the Dn of the VRF. - `annotation` - (Optional) Annotation tags for object VRF. +- `pc_tag` - (Optional) A numeric ID to represent an EPG. +- `scope` - (Optional) A numeric value for other APICs to identify VRF. - `description` - (Optional) Description tags for object VRF. - `bd_enforced_enable` - (Optional) Flag to enable/disable enforced bridge domain for VRF. - `ip_data_plane_learning` - (Optional) Flag to enable/disable IP-data-plane learning for VRF. diff --git a/docs/resources/vrf.md b/docs/resources/vrf.md index b0aa0aea2..b6192365e 100644 --- a/docs/resources/vrf.md +++ b/docs/resources/vrf.md @@ -46,6 +46,8 @@ resource "aci_vrf" "foovrf" { - `tenant_dn` - (Required) Distinguished name of parent Tenant object. - `name` - (Required) Name of Object VRF. - `annotation` - (Optional) Annotation tags for object VRF. +- `pc_tag` - (Optional) A numeric ID to represent an EPG. +- `scope` - (Optional) A numeric value for other APICs to identify VRF. - `description` - (Optional) Description tags for object VRF. - `bd_enforced_enable` - (Optional) Flag to enable/disable enforced bridge domain for VRF. Allowed values are "yes" and "no". Default is "no". - `ip_data_plane_learning` - (Optional) Flag to enable/disable IP-data-plane learning for VRF. Allowed values are "enabled" and "disabled". Default is "enabled". diff --git a/legacy-docs/docs/d/vrf.html.markdown b/legacy-docs/docs/d/vrf.html.markdown index 85c469fbf..94d66bfba 100644 --- a/legacy-docs/docs/d/vrf.html.markdown +++ b/legacy-docs/docs/d/vrf.html.markdown @@ -29,6 +29,8 @@ data "aci_vrf" "dev_ctx" { - `id` - Attribute id set to the Dn of the VRF. - `annotation` - (Optional) Annotation tags for object VRF. +- `pc_tag` - (Optional) A numeric ID to represent an EPG. +- `scope` - (Optional) A numeric value for other APICs to identify VRF. - `description` - (Optional) Description tags for object VRF. - `bd_enforced_enable` - (Optional) Flag to enable/disable enforced bridge domain for VRF. - `ip_data_plane_learning` - (Optional) Flag to enable/disable IP-data-plane learning for VRF. diff --git a/legacy-docs/docs/r/vrf.html.markdown b/legacy-docs/docs/r/vrf.html.markdown index b0aa0aea2..b6192365e 100644 --- a/legacy-docs/docs/r/vrf.html.markdown +++ b/legacy-docs/docs/r/vrf.html.markdown @@ -46,6 +46,8 @@ resource "aci_vrf" "foovrf" { - `tenant_dn` - (Required) Distinguished name of parent Tenant object. - `name` - (Required) Name of Object VRF. - `annotation` - (Optional) Annotation tags for object VRF. +- `pc_tag` - (Optional) A numeric ID to represent an EPG. +- `scope` - (Optional) A numeric value for other APICs to identify VRF. - `description` - (Optional) Description tags for object VRF. - `bd_enforced_enable` - (Optional) Flag to enable/disable enforced bridge domain for VRF. Allowed values are "yes" and "no". Default is "no". - `ip_data_plane_learning` - (Optional) Flag to enable/disable IP-data-plane learning for VRF. Allowed values are "enabled" and "disabled". Default is "enabled".