haproxy tests
diff --git a/tests/pillar/admin.sls b/tests/pillar/admin.sls
new file mode 100644
index 0000000..aa2c086
--- /dev/null
+++ b/tests/pillar/admin.sls
@@ -0,0 +1,12 @@
+haproxy:
+ proxy:
+ enabled: true
+ listen:
+ admin_page:
+ type: admin
+ check: false
+ binds:
+ - address: '0.0.0.0'
+ port: 9600
+ user: admin
+ password: password
\ No newline at end of file
diff --git a/tests/pillar/single.sls b/tests/pillar/single.sls
new file mode 100644
index 0000000..3d1e9e4
--- /dev/null
+++ b/tests/pillar/single.sls
@@ -0,0 +1,6 @@
+haproxy:
+ proxy:
+ enabled: true
+ mode: tcp
+ logging: syslog
+ max_connections: 1024
\ No newline at end of file
diff --git a/tests/pillar/single_contrail.sls b/tests/pillar/single_contrail.sls
new file mode 100644
index 0000000..5c3ca7b
--- /dev/null
+++ b/tests/pillar/single_contrail.sls
@@ -0,0 +1,52 @@
+haproxy:
+ proxy:
+ enabled: true
+ mode: tcp
+ logging: syslog
+ max_connections: 1024
+ listen:
+ contrail_analytics:
+ type: contrail-analytics
+ binds:
+ - address: 127.0.0.1
+ port: 8081
+ servers:
+ - name: ams1posnal01
+ host: 127.0.0.1
+ port: 9081
+ params: check inter 2000 rise 2 fall 3
+ - name: ams1posnal02
+ host: 127.0.0.1
+ port: 9081
+ params: check inter 2000 rise 2 fall 3
+ - name: ams1posnal03
+ host: 127.0.0.1
+ port: 9081
+ params: check inter 2000 rise 2 fall 3
+ contrail_config_stats:
+ type: contrail-config
+ format: listen
+ binds:
+ - address: '*'
+ port: 5937
+ user: haproxy
+ password: password
+ contrail_api:
+ type: contrail-api
+ check: false
+ binds:
+ - address: 127.0.0.1
+ port: 8082
+ servers:
+ - name: ams1posntw01
+ host: 127.0.0.1
+ port: 9100
+ params: check inter 2000 rise 2 fall 3
+ - name: ams1posntw02
+ host: 127.0.0.1
+ port: 9100
+ params: check inter 2000 rise 2 fall 3
+ - name: ams1posntw03
+ host: 127.0.0.1
+ port: 9100
+ params: check inter 2000 rise 2 fall 3
\ No newline at end of file
diff --git a/tests/pillar/single_general_service.sls b/tests/pillar/single_general_service.sls
new file mode 100644
index 0000000..57f9a80
--- /dev/null
+++ b/tests/pillar/single_general_service.sls
@@ -0,0 +1,25 @@
+haproxy:
+ proxy:
+ enabled: true
+ mode: tcp
+ logging: syslog
+ max_connections: 1024
+ listen:
+ glance_api:
+ type: openstack-service
+ binds:
+ - address: 127.0.0.1
+ port: 9292
+ servers:
+ - name: ctl01
+ host: 127.0.0.1
+ port: 9292
+ params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3
+ - name: ctl02
+ host: 127.0.0.1
+ port: 9292
+ params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3
+ - name: ctl03
+ host: 127.0.0.1
+ port: 9292
+ params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3
\ No newline at end of file
diff --git a/tests/pillar/single_openstack_service.sls b/tests/pillar/single_openstack_service.sls
new file mode 100644
index 0000000..362c2ce
--- /dev/null
+++ b/tests/pillar/single_openstack_service.sls
@@ -0,0 +1,25 @@
+haproxy:
+ proxy:
+ enabled: true
+ mode: tcp
+ logging: syslog
+ max_connections: 1024
+ listen:
+ cinder_api:
+ type: openstack-service
+ binds:
+ - address: 127.0.0.1
+ port: 8776
+ servers:
+ - name: ctl01
+ host: 127.0.0.1
+ port: 8776
+ params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3
+ - name: ctl02
+ host: 127.0.0.1
+ port: 8776
+ params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3
+ - name: ctl03
+ host: 127.0.0.1
+ port: 8776
+ params: check inter 10s fastinter 2s downinter 3s rise 3 fall 3
\ No newline at end of file