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