forked from cloudify-examples/cloudify-bigip-nfv-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugin.yaml.template
63 lines (60 loc) · 2.61 KB
/
plugin.yaml.template
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
##################################################################################
# Cloudify BIG-IP built in types and plugins definitions.
##################################################################################
plugins:
bigip:
executor: central_deployment_agent
source: https://github.com/cloudify-cosmo/cloudify-bigip-plugin/archive/{{ plugin_branch }}.zip
relationships:
cloudify.bigip.pool_to_endpoint:
derived_from: cloudify.relationships.connected_to
source_interfaces:
cloudify.interfaces.relationship_lifecycle:
establish:
implementation: bigip.bigip_plugin.tasks.add_member
inputs:
address:
description: host address to add to the pool
type: string
default: { get_attribute: [ TARGET, floating_ip_address] }
port:
description: host address to add to the pool
type: integer
unlink:
implementation: bigip.bigip_plugin.tasks.remove_member
inputs:
address:
description: host address to remove from the pool
type: string
default: { get_attribute: [ TARGET, floating_ip_address] }
port:
description: port to remove from the pool
type: integer
cloudify.bigip.pool_to_application:
derived_from: cloudify.relationships.depends_on
node_types:
cloudify.bigip.nodes.Pool:
derived_from: cloudify.nodes.LoadBalancer
interfaces:
cloudify.interfaces.lifecycle:
create:
implementation: bigip.bigip_plugin.tasks.create_pool
delete:
implementation: bigip.bigip_plugin.tasks.delete_pool
properties:
host:
description: Hostname / address of the BIG-IP server
type: string
username:
description: Username to authenticate to BIG-IP with
type: string
password:
description: Password to authenticate to BIG-IP with
type: string
pool_id:
description: pool's identifier
type: string
lb_method:
description: load-balancing method
type: string
default: LB_METHOD_ROUND_ROBIN