Built-in Node Types
Get the latest docs
You are looking at documentation for an older release. Not what you want? Go to the current release documentation.Abstract Types
The following node_types are basic types from which concrete types with specific plugin implementations are derived.
cloudify.nodes.Root- The base type for all built-in types. declares the following interfaces:cloudify.interfaces.lifecycle: An interface for standard life cycle operations (e.g. create, start, stop, etc.). Operations of this interface are called from the built-in install and uninstall workflows.cloudify.interfaces.validation: An interface for pre-creation and pre-deletion validation operations. These may be called by using the execute_operation built-in workflow or by a custom workflow. The Cloudify CLI calls these operations before the bootstrap and teardown of the Cloudify manager.cloudify.interfaces.monitoring_agent: An interface for monitoring agent. Operations of this interface are called from the built-in install and uninstall workflows.cloudify.interfaces.monitoring: An interface for monitoring configuration. Operations of this interface are called from the built-in install and uninstall workflows.
cloudify.nodes.Tier- A marker for a future scale groupcloudify.nodes.Compute- A compute resource either a virtual or a physical hostcloudify.nodes.Container- A logical partition in a host such as linux container or dockercloudify.nodes.Network- A virtual networkclouydify.nodes.Subnet- A virtual segment of IP addresses in a networkcloudify.nodes.Router- A virtual layer 3 routercloudify.nodes.Port- An entry in a virtual subnet. Can be used in some clouds to secure a static private IPcloudify.nodes.VirtualIP- A virtual IP implemented as NAT or in another mannercloudify.nodes.SecurityGroup- A cloud security group (VM network access rules)cloudify.nodes.LoadBalancer- A virtualized Load Balancercloudify.nodes.Volume- A persistent block storage volumecloudify.nodes.FileSystem- A Writable File System. This type must be used in conjunction with acloudify.nodes.Volumetype and acloudify.nodes.Computetype.- relationships: The conjunction stated above is expressed by specifying two mandatory relationships for the file system.
cloudify.relationships.file_system_depends_on_volume- Used to format and partition the file system on top of the volume. It creates a single partition occupying the entire capacity of the volume.cloudify.relationships.file_system_contained_in_compute- Used to mount and unmount the file system from the server.
- properties:
use_external_resource- Enables the use of already formatted volumes. In this case, the formatting part will be skipped, and just a mount point will be created. Defaults to False. (Boolean)partition_type- The partition type. Defaults to 83 which is a Linux Native Partition. (Integer)fs_type- The type of the File System. Supported types are:ext2,ext3,ext4,fat,ntfs,swapfs_mount_path- The path of the mount point.
- Example Usage:
volume_fs: type: cloudify.nodes.FileSystem properties: fs_type: ext4 fs_mount_path: /mount-path relationships: - type: cloudify.relationships.file_system_depends_on_volume target: volume - type: cloudify.relationships.file_system_contained_in_compute target: vm
- relationships: The conjunction stated above is expressed by specifying two mandatory relationships for the file system.
cloudify.nodes.ObjectStorage- A BLOB storage segmentcloudify.nodes.SoftwareComponent- A base type for all middleware level typescloudify.nodes.WebServer- A web server- properties:
port- the webserver port
- properties:
cloudify.nodes.ApplicationServer- An application servercloudify.nodes.DBMS- a Databasecloudify.nodes.MessageBugServer- a message bus servercloudify.nodes.ApplicationModule- a base type for any application module or artifact