-
Notifications
You must be signed in to change notification settings - Fork 99
/
test_constants.go
53 lines (44 loc) · 1.16 KB
/
test_constants.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
package provider
const testConfigFvTenantMin = `
resource "aci_tenant" "test" {
name = "test_tenant"
}
`
const testConfigL3extOutMin = testConfigFvTenantMin + `
resource "aci_vrf" "test" {
tenant_dn = aci_tenant.test.id
name = "test_vrf"
}
resource "aci_l3_outside" "test" {
tenant_dn = aci_tenant.test.id
name = "test_l3_outside"
relation_l3ext_rs_ectx = aci_vrf.test.id
}
`
const testConfigFvAEPgMin = testConfigFvTenantMin + `
resource "aci_application_profile" "test" {
tenant_dn = aci_tenant.test.id
name = "test_ap"
}
resource "aci_application_epg" "test" {
application_profile_dn = aci_application_profile.test.id
name = "test_epg"
}
`
const testConfigL3extOutMinDependencyWithFvTenant = testConfigFvTenantMin + `
resource "aci_vrf" "test" {
tenant_dn = aci_tenant.test.id
name = "test_vrf"
}
resource "aci_l3_outside" "test" {
tenant_dn = aci_tenant.test.id
name = "test_l3_outside"
relation_l3ext_rs_ectx = aci_vrf.test.id
}
`
const testConfigFvCtxMinDependencyWithFvTenant = testConfigFvTenantMin + `
resource "aci_vrf" "test" {
tenant_dn = aci_tenant.test.id
name = "test_vrf"
}
`