refactor TSN
Change-Id: I353ba2b6c64398ab48d8801ebd25b63442471092
diff --git a/tests/pillar/tor.sls b/tests/pillar/tor.sls
deleted file mode 100644
index 04ecba0..0000000
--- a/tests/pillar/tor.sls
+++ /dev/null
@@ -1,35 +0,0 @@
-opencontrail:
- common:
- version: 3.0
- identity:
- engine: keystone
- host: 127.0.0.1
- port: 35357
- token: token
- password: password
- network:
- engine: neutron
- host: 127.0.0.1
- port: 9696
- tor:
- enabled: true
- version: 3.0
- agents: 1
- control:
- address: 127.0.0.1
- interface:
- address: 127.0.0.1
- device:
- host: 127.0.0.1
- compute:
- enabled: true
- version: 3.0
- discovery:
- host: 127.0.0.1
- interface:
- address: 127.0.0.1
- dev: eth0
- gateway: 127.0.0.1
- mask: /24
- dns: 127.0.0.1
- mtu: 9000
diff --git a/tests/pillar/tor4_0.sls b/tests/pillar/tor4_0.sls
deleted file mode 100644
index 16b59fc..0000000
--- a/tests/pillar/tor4_0.sls
+++ /dev/null
@@ -1,43 +0,0 @@
-opencontrail:
- common:
- version: 4.0
- identity:
- engine: keystone
- host: 127.0.0.1
- port: 35357
- token: token
- password: password
- network:
- engine: neutron
- host: 127.0.0.1
- port: 9696
- tor:
- enabled: true
- version: 4.0
- agents: 1
- control:
- address: 127.0.0.1
- interface:
- address: 127.0.0.1
- device:
- host: 127.0.0.1
- compute:
- enabled: true
- version: 4.0
- collector:
- members:
- - host: 127.0.0.1
- - host: 127.0.0.1
- - host: 127.0.0.1
- control:
- members:
- - host: 127.0.0.1
- - host: 127.0.0.1
- - host: 127.0.0.1
- interface:
- address: 127.0.0.1
- dev: eth0
- gateway: 127.0.0.1
- mask: /24
- dns: 127.0.0.1
- mtu: 9000
diff --git a/tests/pillar/vrouter.sls b/tests/pillar/vrouter.sls
index 45418a0..13e05e5 100644
--- a/tests/pillar/vrouter.sls
+++ b/tests/pillar/vrouter.sls
@@ -25,3 +25,14 @@
mask: /24
dns: 127.0.0.1
mtu: 9000
+ tor:
+ enabled: true
+ bind:
+ port: 8086
+ agent:
+ tor01:
+ id: 0
+ address: 127.0.0.1
+ port: 6632
+ ssl:
+ enabled: True
\ No newline at end of file
diff --git a/tests/pillar/vrouter4_0.sls b/tests/pillar/vrouter4_0.sls
index c875642..f19ce4e 100644
--- a/tests/pillar/vrouter4_0.sls
+++ b/tests/pillar/vrouter4_0.sls
@@ -33,3 +33,14 @@
mask: /24
dns: 127.0.0.1
mtu: 9000
+ tor:
+ enabled: true
+ bind:
+ port: 8086
+ agent:
+ tor01:
+ id: 0
+ address: 127.0.0.1
+ port: 6632
+ ssl:
+ enabled: True