forked from cloudify-cosmo/cloudify-openstack-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.yaml.template
More file actions
132 lines (117 loc) · 4.91 KB
/
Copy pathplugin.yaml.template
File metadata and controls
132 lines (117 loc) · 4.91 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
##################################################################################
# Cloudify OpenStack built in types and plugins definitions.
##################################################################################
imports:
- http://www.getcloudify.org/spec/cloudify/{{ cloudify_version }}/types.yaml
plugins:
nova_plugin:
derived_from: cloudify.plugins.manager_plugin
properties:
url: https://github.com/cloudify-cosmo/cloudify-openstack-plugin/archive/{{ plugin_branch }}.zip
neutron_plugin:
derived_from: cloudify.plugins.manager_plugin
properties:
url: https://github.com/cloudify-cosmo/cloudify-openstack-plugin/archive/{{ plugin_branch }}.zip
types:
cloudify.openstack.server:
derived_from: cloudify.types.host
properties:
- server
- management_network_name: ''
- nova_config: {}
- neutron_config: {}
interfaces:
cloudify.interfaces.lifecycle:
- start: nova_plugin.server.start
- stop: nova_plugin.server.stop
- delete: nova_plugin.server.delete
cloudify.interfaces.host:
- get_state: nova_plugin.server.get_state
cloudify.openstack.windows_server:
derived_from: cloudify.openstack.server
interfaces:
cloudify.interfaces.worker_installer:
- install: windows_agent_installer.tasks.install
- start: windows_agent_installer.tasks.start
- stop: windows_agent_installer.tasks.stop
- uninstall: windows_agent_installer.tasks.uninstall
- restart: windows_agent_installer.tasks.restart
cloudify.interfaces.plugin_installer:
- install: windows_plugin_installer.tasks.install
cloudify.openstack.subnet:
derived_from: cloudify.types.subnet
properties:
- subnet
- neutron_config: {}
interfaces:
cloudify.interfaces.lifecycle:
- create: neutron_plugin.subnet.create
# deleted together with network
cloudify.openstack.security_group:
derived_from: cloudify.types.base
properties:
- security_group
- neutron_config: {}
- rules: []
- disable_egress: false
interfaces:
cloudify.interfaces.lifecycle:
- create: neutron_plugin.security_group.create
- delete: neutron_plugin.security_group.delete
cloudify.openstack.router:
derived_from: cloudify.types.router
properties:
- router: {}
- neutron_config: {}
interfaces:
cloudify.interfaces.lifecycle:
- create: neutron_plugin.router.create
- delete: neutron_plugin.router.delete
cloudify.openstack.port:
derived_from: cloudify.types.base
properties:
- port
- neutron_config: {}
interfaces:
cloudify.interfaces.lifecycle:
- create: neutron_plugin.port.create
cloudify.openstack.network:
derived_from: cloudify.types.network
properties:
- network
- neutron_config: {}
interfaces:
cloudify.interfaces.lifecycle:
- create: neutron_plugin.network.create
- delete: neutron_plugin.network.delete
cloudify.openstack.floatingip:
derived_from: cloudify.types.base
properties:
- floatingip: {}
- neutron_config: {}
interfaces:
cloudify.interfaces.lifecycle:
- create: neutron_plugin.floatingip.create
- delete: neutron_plugin.floatingip.delete
relationships:
cloudify.openstack.port_connected_to_security_group:
derived_from: cloudify.relationships.connected_to
source_interfaces:
cloudify.interfaces.relationship_lifecycle:
- establish: neutron_plugin.port.connect_security_group
cloudify.openstack.subnet_connected_to_router:
derived_from: cloudify.relationships.connected_to
target_interfaces:
cloudify.interfaces.relationship_lifecycle:
- establish: neutron_plugin.router.connect_subnet
- unlink: neutron_plugin.router.disconnect_subnet
cloudify.openstack.server_connected_to_floating_ip:
derived_from: cloudify.relationships.connected_to
source_interfaces:
cloudify.interfaces.relationship_lifecycle:
- establish: nova_plugin.server.connect_floatingip
- unlink: nova_plugin.server.disconnect_floatingip
cloudify.openstack.server_connected_to_port:
derived_from: cloudify.relationships.connected_to
cloudify.openstack.floating_ip_connected_to_port:
derived_from: cloudify.relationships.connected_to