Vasyl Saienko | 362d124 | 2017-09-26 12:12:26 +0300 | [diff] [blame] | 1 | classes: |
| 2 | - system.linux.system.repo.mcp.openstack |
| 3 | - system.linux.system.repo.mcp.extra |
| 4 | - system.linux.system.repo.saltstack.xenial |
| 5 | - system.linux.system.repo.mcp.contrail |
| 6 | - system.opencontrail.compute.cluster |
| 7 | - system.opencontrail.client.cluster |
| 8 | - system.opencontrail.client.resource.virtual_router |
| 9 | - service.opencontrail.compute.cluster |
| 10 | #- system.keystone.client.core |
| 11 | #- system.neutron.client.service.ironic_provision |
| 12 | - cluster.os-ha-contrail-ironic |
| 13 | parameters: |
| 14 | _param: |
| 15 | deploy_interface: ens3 |
| 16 | primary_interface: ens4 |
| 17 | linux_system_codename: xenial |
| 18 | interface_mtu: 1450 |
| 19 | cluster_vip_address: ${_param:openstack_control_address} |
| 20 | linux_system_codename: xenial |
| 21 | opencontrail_compute_address: ${_param:single_address} |
| 22 | opencontrail_compute_gateway: 172.16.10.1 |
| 23 | opencontrail_compute_iface: ens4 |
| 24 | contrail_client_virtual_router_type: tor-service-node |
| 25 | opencontrail: |
| 26 | compute: |
| 27 | enabled: true |
| 28 | tor: |
| 29 | enabled: true |
| 30 | bind: |
| 31 | port: 8086 |
| 32 | agent: |
| 33 | tor01: |
| 34 | id: 0 |
| 35 | port: 6632 # here we use ptcp and this is default ovsdb port on the switch |
| 36 | host: 172.16.10.95 # ip address of bmt node |
| 37 | address: ${_param:single_address} |
| 38 | linux: |
| 39 | network: |
| 40 | concat_iface_files: |
| 41 | - src: '/etc/network/interfaces.d/50-cloud-init.cfg' |
| 42 | dst: '/etc/network/interfaces' |
| 43 | bridge: openvswitch |
| 44 | interface: |
| 45 | dhcp_int: |
| 46 | enabled: true |
| 47 | name: ${_param:deploy_interface} |
| 48 | proto: dhcp |
| 49 | type: eth |
| 50 | mtu: ${_param:interface_mtu} |
| 51 | primary_interface: |
| 52 | enabled: true |
| 53 | name: ${_param:primary_interface} |
| 54 | proto: manual |
| 55 | type: eth |
| 56 | vhost0: |
| 57 | enabled: true |
| 58 | type: eth |
| 59 | mtu: 1500 |
| 60 | address: ${_param:single_address} |
| 61 | netmask: '255.255.255.0' |
| 62 | pre_up_cmds: |
| 63 | - /usr/lib/contrail/if-vhost0 |