Skip to content

Instantly share code, notes, and snippets.

branch1_vpn:
type: vyatta-machine
properties:
netconf_auth:
user: { get_input: netconf_user }
password: { get_input: netconf_user }
key_content: { get_input: netconf_key_content }
relationships:
- type: cloudify.relationships.contained_in
target: vrouter_branch1_VM
node_templates:
external_network:
type: cloudify.openstack.nodes.Network
properties:
openstack_config: *openstack_configuration
use_external_resource: true
resource_id: { get_input: external_network_name }
cloudify_fortigate_router:
haproxy_openstack_virtual_machine:
type: cloudify.openstack.nodes.Server
capabilities:
scalable:
properties:
default_instances: { get_input: haproxy_openstack_instances }
haproxy_aws_virtual_machine:
type: cloudify.aws.nodes.Instance
capabilities:
default:
os: linux
credentials:
username: ubuntu
endpoint:
port: 22
protocol: ssh
hosts:
- name: server0
node_templates:
...
node1:
type: cloudify.hostpool.nodes.LinuxHost
properties:
filters:
tags:
- ubuntu
- large
kubernetes_master_host:
type: cloudify.openstack.nodes.Server
properties:
agent_config:
<<: *agent_config
image: { get_input: image }
flavor: { get_input: flavor }
relationships:
- target: kubernetes_security_group
type: cloudify.openstack.server_connected_to_security_group
kubernetes_master_host:
type: cloudify.hostpool.nodes.LinuxHost
properties:
agent_config:
<<: *agent_config
filters:
tags:
- large
- centos
node_templates:
server:
type: cloudify.oraclebmc.nodes.Instance
properties:
install_agent: false
bmc_config: *bmc_config
public_key_file: 'somekey.pub'
...
workflows:
install: default_workflows.cloudify.plugins.workflows.install
uninstall: default_workflows.cloudify.plugins.workflows.uninstall
execute_operation:
mapping: default_workflows.cloudify.plugins.workflows.execute_operation
parameters:
operation: {}
operation_kwargs:
default: {}
run_by_dependency_order:
Firewall_Micro-Service:
type: openstack.Instance
properties:
image_id: { get_input: image_id }
flavor_id: { get_input: flavor_id }
os_users:
root:
password:
interfaces:
Standard: