|
3 | 3 | Interface — Outputs
|
4 | 4 | _______________________________________________________________________________________________________________________
|
5 | 5 | */
|
6 |
| -#output "interface" { |
7 |
| -# description = <<-EOT |
8 |
| -# Interface Identifiers |
9 |
| -# leaf_interfaces: |
10 |
| -# policy_groups |
11 |
| -# access: Fabric => Access Policies => Interfaces => Leaf Interfaces => Policy Groups => Leaf Access Port. |
12 |
| -# breakout: Fabric => Access Policies => Interfaces => Leaf Interfaces => Policy Groups => Leaf Breakout Port Group. |
13 |
| -# bundle: Fabric => Access Policies => Interfaces => Leaf Interfaces => Policy Groups => [ VPC Interface | VPC Interface ]. |
14 |
| -# spine_interfaces: |
15 |
| -# policy_groups: Fabric => Access Policies => Interfaces => Spine Interfaces => Policy Groups |
16 |
| -# EOT |
17 |
| -# value = { |
18 |
| -# leaf_interfaces = { |
19 |
| -# policy_groups = { |
20 |
| -# access = { |
21 |
| -# for v in sort(keys(aci_leaf_access_port_policy_group.map)) : v => aci_leaf_access_port_policy_group.map[v].id |
22 |
| -# } |
23 |
| -# breakout = { |
24 |
| -# for v in sort(keys(aci_leaf_breakout_port_group.map)) : v => aci_leaf_breakout_port_group.map[v].id |
25 |
| -# } |
26 |
| -# bundle = { |
27 |
| -# for v in sort(keys(aci_leaf_access_bundle_policy_group.map)) : v => aci_leaf_access_bundle_policy_group.map[v].id |
28 |
| -# } |
29 |
| -# } |
30 |
| -# } |
31 |
| -# spine_interfaces = { |
32 |
| -# policy_groups = { |
33 |
| -# for v in sort(keys(aci_spine_port_policy_group.map)) : v => aci_spine_port_policy_group.map[v].id |
34 |
| -# } |
35 |
| -# } |
36 |
| -# } |
37 |
| -#} |
| 6 | +output "interface" { |
| 7 | + description = <<-EOT |
| 8 | + Interface Identifiers |
| 9 | + leaf_interfaces: |
| 10 | + policy_groups |
| 11 | + access: Fabric => Access Policies => Interfaces => Leaf Interfaces => Policy Groups => Leaf Access Port. |
| 12 | + breakout: Fabric => Access Policies => Interfaces => Leaf Interfaces => Policy Groups => Leaf Breakout Port Group. |
| 13 | + bundle: Fabric => Access Policies => Interfaces => Leaf Interfaces => Policy Groups => [ VPC Interface | VPC Interface ]. |
| 14 | + spine_interfaces: |
| 15 | + policy_groups: Fabric => Access Policies => Interfaces => Spine Interfaces => Policy Groups |
| 16 | + EOT |
| 17 | + value = { |
| 18 | + leaf_interfaces = { |
| 19 | + policy_groups = { |
| 20 | + access = { |
| 21 | + for v in sort(keys(aci_leaf_access_port_policy_group.map)) : v => aci_leaf_access_port_policy_group.map[v].id |
| 22 | + } |
| 23 | + breakout = { |
| 24 | + for v in sort(keys(aci_leaf_breakout_port_group.map)) : v => aci_leaf_breakout_port_group.map[v].id |
| 25 | + } |
| 26 | + bundle = { |
| 27 | + for v in sort(keys(aci_leaf_access_bundle_policy_group.map)) : v => aci_leaf_access_bundle_policy_group.map[v].id |
| 28 | + } |
| 29 | + } |
| 30 | + } |
| 31 | + spine_interfaces = { |
| 32 | + policy_groups = { |
| 33 | + for v in sort(keys(aci_spine_port_policy_group.map)) : v => aci_spine_port_policy_group.map[v].id |
| 34 | + } |
| 35 | + } |
| 36 | + } |
| 37 | +} |
38 | 38 |
|
39 | 39 |
|
40 | 40 | /*_____________________________________________________________________________________________________________________
|
@@ -81,6 +81,13 @@ output "global" {
|
81 | 81 | }
|
82 | 82 | }
|
83 | 83 |
|
| 84 | +output "aaep_to_epgs" { |
| 85 | + value = { for k, v in local.attachable_access_entity_profiles : k => { |
| 86 | + access_or_native_vlan = v.access_or_native_vlan |
| 87 | + allowed_vlans = v.allowed_vlans |
| 88 | + name = k |
| 89 | + }} |
| 90 | +} |
84 | 91 |
|
85 | 92 | /*_____________________________________________________________________________________________________________________
|
86 | 93 |
|
|
0 commit comments