Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- eat_template_version: 2015-04-30
- parameters:
- router_name:
- type: string
- default: 1823b683-bbb7-406e-831f-bf4c15eb8d4
- #default: network-router
- ext_net_name:
- description: This is the Management of Hadoop cluster
- type: string
- default: external_network
- net_name:
- description: name of network used to launch instance.
- type: string
- default: hadoop
- subnet_cidr:
- type: string
- default: 10.0.3
- allocation_pool:
- type: json
- default: { start: 10.0.3.100, end: 10.0.3.150 }
- resources:
- internal_interface:
- type: OS::Neutron::RouterInterface
- properties:
- router_id: { get_param: router_name }
- subnet: { get_resource: subnet_resource }
- net_resource:
- type: OS::Neutron::Net
- properties:
- name: { get_param: net_name }
- subnet_resource:
- type: OS::Neutron::Subnet
- properties:
- allocation_pools:
- - { get_param: allocation_pool }
- name:
- list_join: ['', [ 'sub-', { get_param: subnet_cidr }, '.0']]
- network_id: { get_resource: net_resource }
- cidr:
- list_join: ['', [ { get_param: subnet_cidr }, '.0/24']]
- dns_nameservers: [ "8.8.8.8", "8.8.4.4" ]
- ip_version: 4
- hadoop_resource:
- type: OS::Sahara::Cluster
- properties:
- cluster_template_id: bead5439-9bcf-492c-803c-d393e8ebfcf0
- default_image_id: f72d6944-cdbb-4895-9d96-84757af7c037
- hadoop_version: "2.4"
- key_name: frippecom
- name: hadoop
- #neutron_management_network: { get_param: ext_net_name }
- neutron_management_network: { get_resource: net_resource }
- plugin_name: ambari
- #shares: [{"access_level": String, "path": String, "id": String}, {"access_level": String, "path": String, "id": String}, ...]
- use_autoconfig: true
Add Comment
Please, Sign In to add comment