Formulas testing revision 2019/10
Related: PROD-32744
Related: PROD-33634
Related: PROD-33698
Related: PROD-33984
Change-Id: If21dcfcfb68c2770e022a6bdf0a0b65a82986d72
diff --git a/tests/pillar/control.sls b/tests/pillar/control.sls
new file mode 100644
index 0000000..ba962c0
--- /dev/null
+++ b/tests/pillar/control.sls
@@ -0,0 +1,174 @@
+opencontrail:
+ common:
+ version: 4.1
+ config_only: true
+ identity:
+ engine: keystone
+ protocol: http
+ host: 127.0.0.1
+ port: 35357
+ token: token
+ password: password
+ network:
+ engine: neutron
+ host: 127.0.0.1
+ port: 9696
+ config:
+ version: 4.1
+ config_only: true
+ enabled: true
+ api:
+ host: 127.0.0.1
+ use_ssl: False
+ network:
+ engine: neutron
+ host: 127.0.0.1
+ port: 9696
+ analytics:
+ members:
+ - host: 127.0.0.1
+ - host: 127.0.0.1
+ - host: 127.0.0.1
+ bind:
+ address: 127.0.0.1
+ message_queue:
+ engine: rabbitmq
+ host: 127.0.0.1
+ port: 5672
+ database:
+ members:
+ - host: 127.0.0.1
+ port: 9160
+ - host: 127.0.0.1
+ port: 9160
+ - host: 127.0.0.1
+ port: 9160
+ cache:
+ members:
+ - host: 127.0.0.1
+ port: 11211
+ - host: 127.0.0.1
+ port: 11211
+ - host: 127.0.0.1
+ port: 11211
+ identity:
+ engine: keystone
+ version: '2.0'
+ region: RegionOne
+ host: 127.0.0.1
+ protocol: http
+ port: 35357
+ user: admin
+ password: password
+ token: token
+ tenant: admin
+ members:
+ - host: 127.0.0.1
+ id: 1
+ - host: 127.0.0.1
+ id: 2
+ - host: 127.0.0.1
+ id: 3
+ list_optimization_enabled: true
+ control:
+ version: 4.1
+ config_only: true
+ enabled: true
+ name: ntw-01
+ bind:
+ address: 127.0.0.1
+ analytics:
+ members:
+ - host: 127.0.0.1
+ - host: 127.0.0.1
+ - host: 127.0.0.1
+ message_queue:
+ members:
+ - host: 127.0.0.1
+ - host: 127.0.0.1
+ - host: 127.0.0.1
+ database:
+ members:
+ - host: 127.0.0.1
+ - host: 127.0.0.1
+ - host: 127.0.0.1
+ master:
+ host: 127.0.0.1
+ members:
+ - host: 127.0.0.1
+ id: 1
+ - host: 127.0.0.1
+ id: 2
+ - host: 127.0.0.1
+ id: 3
+ xmpp:
+ tls:
+ enabled: True
+ auth:
+ enabled: True
+ cert_file: /etc/contrail/server.pem
+ key_file: /etc/contrail/privkey.pem
+ ca_cert_file: /etc/contrail/ca-cert.pem
+ database:
+ version: 4.1
+ config_only: true
+ cassandra:
+ version: 2
+ enabled: true
+ name: 'Contrail'
+ minimum_disk: 10
+ original_token: 0
+ data_dirs:
+ - /var/lib/cassandra
+ id: 1
+ bind:
+ host: 127.0.0.1
+ port: 9042
+ rpc_port: 9160
+ members:
+ - host: 127.0.0.1
+ id: 1
+ - host: 127.0.0.1
+ id: 2
+ - host: 127.0.0.1
+ id: 3
+ analytics:
+ members:
+ - host: 127.0.0.1
+ - host: 127.0.0.1
+ - host: 127.0.0.1
+ web:
+ version: 4.1
+ config_only: true
+ enabled: True
+ network:
+ host: 127.0.0.1
+ bind:
+ address: 127.0.0.1
+ analytics:
+ host: 127.0.0.1
+ master:
+ host: 127.0.0.1
+ cache:
+ engine: redis
+ host: 127.0.0.1
+ port: 6379
+ members:
+ - host: 127.0.0.1
+ id: 1
+ - host: 127.0.0.1
+ id: 2
+ - host: 127.0.0.1
+ id: 3
+ identity:
+ engine: keystone
+ version: '2.0'
+ protocol: http
+ host: 127.0.0.1
+ port: 35357
+ user: admin
+ password: password
+ token: token
+ tenant: admin
+ api:
+ use_ssl: False