Skip to content

Commit 341f170

Browse files
anvitha-jainlhercot
authored andcommitted
Updated files based on comments on PR
1 parent a912fa4 commit 341f170

File tree

14 files changed

+34
-51
lines changed

14 files changed

+34
-51
lines changed

examples/aci_vmm_domain/microsoft_domain/main.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ terraform {
77
}
88

99
provider "aci" {
10-
username = "admin"
11-
password = "ins3965!"
12-
url = "https://10.23.248.103"
10+
username = ""
11+
password = ""
12+
url = ""
1313
insecure = true
1414
}
1515

examples/aci_vmm_domain/microsoft_domain/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ variable "microsoft_domain" {
33
}
44
// Microsoft vmm domain resources
55
variable "vmm_domain" {
6-
default = "ESX0-leaf102"
6+
default = "microsoft_domain"
77
}
88

99
variable "aci_vmm_controller" {

examples/aci_vmm_domain/vmware_domain_ave/main.tf

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ terraform {
77
}
88

99
provider "aci" {
10-
username = "admin"
10+
username = ""
1111
password = ""
1212
url = ""
1313
insecure = true
@@ -27,7 +27,6 @@ resource "aci_vmm_domain" "ave" {
2727
enable_ave = "yes"
2828
mcast_addr = "239.10.10.10"
2929
// create a multicast address pool and add that to below relationship.
30-
// dn ="comp/prov-{name}/ctrlr-{[domName]}-{name}/addrinstdef-{name}"
3130
relation_vmm_rs_dom_mcast_addr_ns = "uni/infra/maddrns-testo"
3231
}
3332

@@ -65,10 +64,10 @@ resource "aci_cdp_interface_policy" "foocdp_interface_policy" {
6564

6665
resource "aci_vswitch_policy" "vmware_switch_policy" {
6766
vmm_domain_dn = aci_vmm_domain.ave.id
68-
// relation_vmm_rs_vswitch_override_fw_pol = "uni/infra/fwP-firewallPolicy"
69-
// // STP_Policy is available for higher versions of ACI only (>5.1(2e))
70-
// relation_vmm_rs_vswitch_override_stp_pol = "uni/infra/ifPol-stpPolicy"
71-
// relation_vmm_rs_vswitch_override_mtu_pol = "uni/fabric/l2pol-l2InstPolicy"
67+
relation_vmm_rs_vswitch_override_fw_pol = "uni/infra/fwP-firewallPolicy"
68+
// STP_Policy is available for higher versions of ACI only (>5.1(2e))
69+
relation_vmm_rs_vswitch_override_stp_pol = "uni/infra/ifPol-stpPolicy"
70+
relation_vmm_rs_vswitch_override_mtu_pol = "uni/fabric/l2pol-l2InstPolicy"
7271
relation_vmm_rs_vswitch_exporter_pol {
7372
target_dn = "uni/infra/vmmexporterpol-exporter_policy"
7473
active_flow_time_out = 60

examples/aci_vmm_domain/vmware_domain_ave/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ variable "ave" {
33
}
44
// vmware ave
55
variable "vmm_domain" {
6-
default = "ESX0-leaf102-ave"
6+
default = "vmware_ave_domain"
77
}
88

99
variable "aci_vmm_controller" {

examples/aci_vmm_domain/vmware_domain_vds/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ terraform {
77
}
88

99
provider "aci" {
10-
username = "admin"
10+
username = ""
1111
password = ""
1212
url = ""
1313
insecure = true

examples/aci_vmm_domain/vmware_domain_vds/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ variable "vds" {
33
}
44
// vmware vds
55
variable "vmm_domain" {
6-
default = "ESX0-leaf102-vds"
6+
default = "vmware_vds_domain"
77
}
88

99
variable "aci_vmm_controller" {

examples/aci_vmm_domain/vmware_vds/main.tf

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ terraform {
77
}
88

99
provider "aci" {
10-
username = "admin"
10+
username = ""
1111
password = ""
1212
url = ""
1313
insecure = true
@@ -39,10 +39,10 @@ resource "aci_vlan_pool" "vmm_vlan_pool" {
3939
alloc_mode = "dynamic"
4040
}
4141

42-
// // VMWare vmm domain resources
43-
// resource "aci_vmm_domain" "vds" {
44-
// provider_profile_dn = var.vds
45-
// relation_infra_rs_vlan_ns = aci_vlan_pool.vmm_vlan_pool.id
46-
// name = var.vmm_domain
47-
// }
42+
// VMWare vmm domain resources
43+
resource "aci_vmm_domain" "vds" {
44+
provider_profile_dn = var.vds
45+
relation_infra_rs_vlan_ns = aci_vlan_pool.vmm_vlan_pool.id
46+
name = var.vmm_domain
47+
}
4848

examples/aci_vmm_domain/vmware_vds/variables.tf

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,5 @@ variable "vds" {
33
}
44

55
variable "vmm_domain" {
6-
default = "ESX0-leaf102"
6+
default = "vds_domain"
77
}
8-
9-
variable "aci_vmm_controller" {
10-
default = "vmm_ctrl"
11-
}
12-
13-
variable "aci_vmm_credential" {
14-
default = "vmm_cred"
15-
}
16-
17-
variable "microsoft_domain" {
18-
default = "uni/vmmp-Microsoft"
19-
}
20-
21-
variable "ave" {
22-
default = "uni/vmmp-VMware"
23-
}

website/docs/d/vmmctrlrp.html.markdown

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: |-
66
Data source for ACI VMM Controller
77
---
88

9-
# aci_vmm_controller #
9+
# vmm_controller #
1010

1111
Data source for ACI VMM Controller
1212

@@ -18,7 +18,7 @@ Data source for ACI VMM Controller
1818

1919
## GUI Information ##
2020

21-
* `Location` -
21+
* `Location` - Virtual Networking -> VMM Domain -> VmmController
2222

2323

2424

@@ -44,7 +44,7 @@ data "aci_vmm_controller" "example" {
4444
* `host_or_ip` - (Optional) Hostname or IP Address. Host or IP
4545
* `inventory_trig_st` - (Optional) Triggered Inventory Sync Status.
4646
* `mode` - (Optional) Mode. The mode of operation.
47-
* `msft_config_err_msg` - (Optional) msftConfigErrMsg. Deployment Error Message of Mirosoft Plugin SCVM Controller.
47+
* `msft_config_err_msg` - (Optional) Deployment Error Message of Microsoft Plugin SCVMM Controller.
4848
It captures error message encountered in SCVMM Controller
4949
plugin.This error message represents specific details for bitmask
5050
based msftConfigIssues fault.

website/docs/d/vmmusraccp.html.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: |-
66
Data source for ACI VMM Credential
77
---
88

9-
# aci_vmm_credential #
9+
# vmm_credential #
1010

1111
Data source for ACI VMM Credential
1212

@@ -18,7 +18,7 @@ Data source for ACI VMM Credential
1818

1919
## GUI Information ##
2020

21-
* `Location` -
21+
* `Location` - Virtual Networking -> VMM Domain -> VmmController -> vCenterCredentials
2222

2323

2424

0 commit comments

Comments
 (0)