nodes

Nodes are the actual components that are required to deploy a given stack.

  • Infrastructure (virtual machines (servers), firewalls, load balancers, networks, ports)
  • Software (chef, puppet, docker application)

Defining nodes

Nodes are defined in the blueprint in the templates node_templates: section. They are defined with a section name, a type, properties and requirements (optional). Each node defined in the template must have a unique section name. node section names are frequently referenced by other statements in the template such as groups and requirements.

node_templates:

    web_vm:                                                         # Section name for this node is "web_vm"
      type: dcm.nodes.Server                                        # This is a Server node
      properties:
        name: "apache-server"
        ...
        ...
        ...
      requirements:                                                 # This virtual machine node has a requirement on a firewall
        - firewall: vm_firewall_rules                               # The firewall node section is named "vm_firewall_rules"
          relationship_type: tosca.relationships.DependsOn

    vm_firewall_rules:                                              # Section name for this node is "vm_firewall_rules"
      type: dcm.nodes.FirewallGroup                                 # This is a firewall
      properties:
        name: "fw-apache-server"
        ...
        ...
        ...

node types

When defining the nodes in your stacks, your nodes will need to reference (inherit from) a node type. Your nodes can inherit from a base node type provided by Dell Cloud Manager, or your nodes can inherit from a custom node type that you can create.