-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcareeverywhere.yaml
83 lines (83 loc) · 3.16 KB
/
careeverywhere.yaml
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
name: psjh-epic-careeverywhere-sslbridge-lbvserver
description: "Epic CareEverywhere ARR Server SSL_BRIDGE Load-Balancing - Customized for PSJH Epic StyleBooks."
display-name: "Epic CareEverywhere ARR Server SSL_BRIDGE LB vServer StyleBook"
author: Nathan Joseph
namespace: com.psjh.epic.stylebooks
schema-version: "1.0"
version: "1.0"
import-stylebooks:
-
namespace: netscaler.nitro.config
prefix: ns
version: "11.1"
-
namespace: com.psjh.epic.stylebooks
prefix: psjh-epic
version: "1.0"
parameters-default-sources:
- psjh-epic::psjh-epic-lb-helper-params
parameters:
-
name: arr-proxy-ports
type: tcp-port[]
label: CareEverywhere ARR Ports
description: "Provide the TCP Ports supported on the ARR Servers for this CareEverywhere LB vServer configuration."
required: true
components:
-
name: careeverywhere-lbvserver-comp
type: ns::lbvserver
repeat:
repeat-list: $parameters.arr-proxy-ports
properties:
name: str("lb_CareEverywhere_%{$parameters.AppDescription}%_SSL_BRIDGE-%{$repeat-item}%")
servicetype: SSL_BRIDGE
ipv46: $parameters.ip
port: $repeat-item
lbmethod: ROUNDROBIN
persistencetype: NONE
tcpprofilename?: $parameters.vserver-tcp-profile
comment: str("CareEverywhere ARR SSL_BRIDGE LB vServer Configuration - %{$parameters.AppDescription}%")
components:
-
name: careeverywhere-servicegroup-comp
type: ns::servicegroup
properties:
servicegroupname: str("svcg_CareEverywhere_%{$parameters.AppDescription}%_SSL_BRIDGE-%{$repeat-item}%")
servicetype: SSL_BRIDGE
downstateflush: DISABLED
sp: str("ON")
useproxyport: str("YES")
tcpprofilename?: $parameters.servicegroup-tcp-profile
comment?: str("CareEverywhere ARR SSL_BRIDGE LB Service Group Configuration - %{$parameters.AppDescription}%")
components:
-
name: careeverywhere-lbvserver-svcg-binding
type: ns::lbvserver_servicegroup_binding
properties:
name: $parent.parent.properties.name
servicegroupname: $parent.properties.servicegroupname
-
name: careeverywhere-server-members
type: ns::server
repeat: $parameters.svc-servers
repeat-item: server
repeat-condition: $server.add-server
properties:
name: str("srv_%{$server.svc-name}%_%{$server.ip}%")
ipaddress: $server.ip
-
name: careeverywhere-svcg-ip-members
type: ns::servicegroup_servicegroupmember_binding
repeat: $parameters.svc-servers
repeat-item: server
properties:
servername: str("srv_%{$server.svc-name}%_%{$server.ip}%")
port: $repeat-item
servicegroupname: $parent.properties.servicegroupname
-
name: careeverywhere-monitor-svcg-binding-comp
type: ns::servicegroup_lbmonitor_binding
properties:
servicegroupname: $parent.properties.servicegroupname
monitor_name: str("tcp")