Gary Wu | 950a323 | 2019-03-26 13:08:29 -0700 | [diff] [blame] | 1 | heat_template_version: 2015-10-15 |
| 2 | description: ONAP on RKE Kubernetes using OOM |
| 3 | |
| 4 | parameters: |
| 5 | docker_proxy: |
| 6 | type: string |
Konrad Bańka | a3990d0 | 2019-07-30 09:02:42 +0200 | [diff] [blame] | 7 | default: "" |
Gary Wu | 950a323 | 2019-03-26 13:08:29 -0700 | [diff] [blame] | 8 | |
| 9 | apt_proxy: |
| 10 | type: string |
Konrad Bańka | a3990d0 | 2019-07-30 09:02:42 +0200 | [diff] [blame] | 11 | default: "" |
Gary Wu | 950a323 | 2019-03-26 13:08:29 -0700 | [diff] [blame] | 12 | |
| 13 | public_net_id: |
| 14 | type: string |
| 15 | description: The ID of the Public network for floating IP address allocation |
| 16 | |
| 17 | oam_network_cidr: |
| 18 | type: string |
| 19 | description: CIDR of the OAM ONAP network |
| 20 | |
Gary Wu | cad7069 | 2019-04-24 10:45:56 -0700 | [diff] [blame] | 21 | oam_ext_network_cidr: |
| 22 | type: string |
| 23 | description: CIDR of the onap_oam_ext network |
| 24 | |
Gary Wu | e21a3c6 | 2019-07-10 17:17:06 -0700 | [diff] [blame] | 25 | oam_ext_network_host_route: |
| 26 | type: json |
| 27 | description: > |
| 28 | host routes |
| 29 | "destination": '10.12.0.0/16' |
| 30 | "nexthop": '10.100.0.1' |
| 31 | default: |
| 32 | "destination": '10.12.0.0/16' |
| 33 | "nexthop": '10.100.0.1' |
| 34 | |
Gary Wu | 950a323 | 2019-03-26 13:08:29 -0700 | [diff] [blame] | 35 | ubuntu_1804_image: |
| 36 | type: string |
| 37 | description: Name of the Ubuntu 18.04 image |
| 38 | |
Gary Wu | d95bf2b | 2019-06-21 15:35:18 -0700 | [diff] [blame] | 39 | nfs_vm_flavor: |
Gary Wu | 950a323 | 2019-03-26 13:08:29 -0700 | [diff] [blame] | 40 | type: string |
Gary Wu | d95bf2b | 2019-06-21 15:35:18 -0700 | [diff] [blame] | 41 | description: VM flavor for Nfs |
Gary Wu | 950a323 | 2019-03-26 13:08:29 -0700 | [diff] [blame] | 42 | |
| 43 | k8s_vm_flavor: |
| 44 | type: string |
| 45 | description: VM flavor for k8s hosts |
| 46 | |
Gary Wu | 950a323 | 2019-03-26 13:08:29 -0700 | [diff] [blame] | 47 | orch_vm_flavor: |
| 48 | type: string |
| 49 | description: VM flavor for orch hosts |
| 50 | |
| 51 | integration_override_yaml: |
| 52 | type: string |
| 53 | description: Content for integration_override.yaml |
| 54 | |
| 55 | integration_gerrit_branch: |
| 56 | type: string |
| 57 | default: "master" |
| 58 | |
| 59 | integration_gerrit_refspec: |
| 60 | type: string |
| 61 | default: "" |
| 62 | |
| 63 | oom_gerrit_branch: |
| 64 | type: string |
| 65 | default: "master" |
| 66 | |
| 67 | oom_gerrit_refspec: |
| 68 | type: string |
| 69 | default: "" |
| 70 | |
Gary Wu | 950a323 | 2019-03-26 13:08:29 -0700 | [diff] [blame] | 71 | key_name: |
| 72 | type: string |
| 73 | default: "onap_key" |
| 74 | |
| 75 | docker_version: |
| 76 | type: string |
Gary Wu | 7ff8c6f | 2019-04-24 07:50:11 -0700 | [diff] [blame] | 77 | default: "18.09.5" |
Gary Wu | 950a323 | 2019-03-26 13:08:29 -0700 | [diff] [blame] | 78 | |
Gary Wu | 950a323 | 2019-03-26 13:08:29 -0700 | [diff] [blame] | 79 | kubectl_version: |
| 80 | type: string |
Gary Wu | c76dadc | 2019-04-24 09:22:14 -0700 | [diff] [blame] | 81 | default: "1.13.5" |
Gary Wu | 950a323 | 2019-03-26 13:08:29 -0700 | [diff] [blame] | 82 | |
| 83 | helm_version: |
| 84 | type: string |
Gary Wu | ceff347 | 2019-04-24 10:33:38 -0700 | [diff] [blame] | 85 | default: "2.12.3" |
Gary Wu | 950a323 | 2019-03-26 13:08:29 -0700 | [diff] [blame] | 86 | |
| 87 | helm_deploy_delay: |
| 88 | type: string |
| 89 | default: "3m" |
| 90 | |
Gary Wu | 950a323 | 2019-03-26 13:08:29 -0700 | [diff] [blame] | 91 | mtu: |
| 92 | type: number |
| 93 | default: 1500 |
| 94 | |
| 95 | portal_hostname: |
| 96 | type: string |
| 97 | description: The FQDN of the k8s host that will be used for the Portal UI component URLs; this needs to be resolveable at the client |
| 98 | default: "portal.api.simpledemo.onap.org" |
| 99 | |
| 100 | resources: |
| 101 | random-str: |
| 102 | type: OS::Heat::RandomString |
| 103 | properties: |
| 104 | length: 4 |
| 105 | |
| 106 | # ONAP security group |
| 107 | onap_sg: |
| 108 | type: OS::Neutron::SecurityGroup |
| 109 | properties: |
| 110 | name: |
| 111 | str_replace: |
| 112 | template: base_rand |
| 113 | params: |
| 114 | base: onap_sg |
| 115 | rand: { get_resource: random-str } |
| 116 | description: security group used by ONAP |
| 117 | rules: |
| 118 | # All egress traffic |
| 119 | - direction: egress |
| 120 | ethertype: IPv4 |
| 121 | - direction: egress |
| 122 | ethertype: IPv6 |
| 123 | # ingress traffic |
| 124 | # ICMP |
| 125 | - protocol: icmp |
| 126 | - protocol: udp |
| 127 | port_range_min: 1 |
| 128 | port_range_max: 65535 |
| 129 | - protocol: tcp |
| 130 | port_range_min: 1 |
| 131 | port_range_max: 65535 |
| 132 | # Protocols used for vLB/vDNS use case |
| 133 | - protocol: 47 |
| 134 | - protocol: 53 |
| 135 | - protocol: 132 |
| 136 | |
Gary Wu | cad7069 | 2019-04-24 10:45:56 -0700 | [diff] [blame] | 137 | router: |
| 138 | type: OS::Neutron::Router |
| 139 | properties: |
| 140 | name: |
| 141 | list_join: ['-', [{ get_param: 'OS::stack_name' }, 'router']] |
| 142 | external_gateway_info: |
| 143 | network: { get_param: public_net_id } |
Gary Wu | 950a323 | 2019-03-26 13:08:29 -0700 | [diff] [blame] | 144 | |
| 145 | # ONAP management private network |
| 146 | oam_network: |
| 147 | type: OS::Neutron::Net |
| 148 | properties: |
| 149 | name: |
| 150 | str_replace: |
| 151 | template: oam_network_rand |
| 152 | params: |
| 153 | rand: { get_resource: random-str } |
| 154 | |
| 155 | oam_subnet: |
| 156 | type: OS::Neutron::Subnet |
| 157 | properties: |
| 158 | name: |
| 159 | str_replace: |
| 160 | template: oam_network_rand |
| 161 | params: |
| 162 | rand: { get_resource: random-str } |
| 163 | network_id: { get_resource: oam_network } |
| 164 | cidr: { get_param: oam_network_cidr } |
| 165 | dns_nameservers: [ "8.8.8.8" ] |
| 166 | |
Gary Wu | cad7069 | 2019-04-24 10:45:56 -0700 | [diff] [blame] | 167 | oam_router_interface: |
Gary Wu | 950a323 | 2019-03-26 13:08:29 -0700 | [diff] [blame] | 168 | type: OS::Neutron::RouterInterface |
| 169 | properties: |
| 170 | router_id: { get_resource: router } |
| 171 | subnet_id: { get_resource: oam_subnet } |
| 172 | |
Gary Wu | cad7069 | 2019-04-24 10:45:56 -0700 | [diff] [blame] | 173 | oam_ext_network: |
| 174 | type: OS::Neutron::Net |
| 175 | properties: |
| 176 | name: onap_oam_ext |
| 177 | |
| 178 | oam_ext_subnet: |
| 179 | type: OS::Neutron::Subnet |
| 180 | properties: |
| 181 | name: onap_oam_ext |
| 182 | network_id: { get_resource: oam_ext_network } |
| 183 | cidr: { get_param: oam_ext_network_cidr } |
Gary Wu | e21a3c6 | 2019-07-10 17:17:06 -0700 | [diff] [blame] | 184 | enable_dhcp: true |
| 185 | host_routes: |
| 186 | - { get_param: oam_ext_network_host_route } |
Gary Wu | cad7069 | 2019-04-24 10:45:56 -0700 | [diff] [blame] | 187 | dns_nameservers: [ "8.8.8.8" ] |
| 188 | |
| 189 | oam_ext_router_interface: |
| 190 | type: OS::Neutron::RouterInterface |
| 191 | properties: |
| 192 | router_id: { get_resource: router } |
| 193 | subnet_id: { get_resource: oam_ext_subnet } |
| 194 | |
Gary Wu | d95bf2b | 2019-06-21 15:35:18 -0700 | [diff] [blame] | 195 | nfs_private_port: |
Gary Wu | 950a323 | 2019-03-26 13:08:29 -0700 | [diff] [blame] | 196 | type: OS::Neutron::Port |
| 197 | properties: |
| 198 | network: { get_resource: oam_network } |
| 199 | fixed_ips: [{"subnet": { get_resource: oam_subnet }}] |
| 200 | security_groups: |
| 201 | - { get_resource: onap_sg } |
| 202 | |
Gary Wu | d95bf2b | 2019-06-21 15:35:18 -0700 | [diff] [blame] | 203 | nfs_floating_ip: |
Gary Wu | 950a323 | 2019-03-26 13:08:29 -0700 | [diff] [blame] | 204 | type: OS::Neutron::FloatingIP |
| 205 | properties: |
| 206 | floating_network_id: { get_param: public_net_id } |
Gary Wu | d95bf2b | 2019-06-21 15:35:18 -0700 | [diff] [blame] | 207 | port_id: { get_resource: nfs_private_port } |