Revert "Introduce test-kitchen"

This reverts commit 17240a9ae21e6730c40c0f696742125946ed0b54.

Change-Id: I8ab0c7fec728aba85da0a13e15609a263997857b
diff --git a/.kitchen.docker.yml b/.kitchen.docker.yml
deleted file mode 100644
index 7b765ed..0000000
--- a/.kitchen.docker.yml
+++ /dev/null
@@ -1,12 +0,0 @@
----
-driver:
-  name: docker
-  hostname: opencontrail.ci.local
-  use_sudo: true
-
-
-provisioner:
-  grains:
-    noservices: True
-
-
diff --git a/.kitchen.openstack.yml b/.kitchen.openstack.yml
deleted file mode 100644
index 6dbf7b2..0000000
--- a/.kitchen.openstack.yml
+++ /dev/null
@@ -1,41 +0,0 @@
-
-# usage: `KITCHEN_LOCAL_YAML=.kitchen.openstack.yml kitchen test`
-
-# https://docs.chef.io/config_yml_kitchen.html
-# https://github.com/test-kitchen/kitchen-openstack
-
----
-driver:
-  name: openstack
-  openstack_auth_url: <%= ENV['OS_AUTH_URL'] %>/tokens
-  openstack_username: <%= ENV['OS_USERNAME'] || 'ci' %>
-  openstack_api_key:  <%= ENV['OS_PASSWORD'] || 'ci' %>
-  openstack_tenant:   <%= ENV['OS_TENANT_NAME'] || 'ci_jenkins' %>
-
-  #floating_ip_pool: <%= ENV['OS_FLOATING_IP_POOL'] || 'nova' %>
-  key_name: <%= ENV['BOOTSTRAP_SSH_KEY_NAME'] || 'bootstrap_insecure' %>
-  private_key_path: <%= ENV['BOOTSTRAP_SSH_KEY_PATH'] || "#{ENV['HOME']}/.ssh/id_rsa_bootstrap_insecure" %>
-
-
-platforms:
-  - name: ubuntu-14.04
-    driver:
-      username: <%= ENV['OS_UBUNTU_IMAGE_USER'] || 'root' %>
-      image_ref: <%= ENV['OS_UBUNTU_IMAGE_REF'] || 'ubuntu-14-04-x64-1455869035' %>
-      flavor_ref: m1.medium
-      network_ref:
-        <% if ENV['OS_NETWORK_REF'] -%>
-        - <% ENV['OS_NETWORK_REF'] %>
-        <% else -%>
-        - ci-net
-        <% end -%>
-    # force update apt cache on the image
-    run_list:
-      - recipe[apt]
-    attributes:
-      apt:
-          compile_time_update: true
-transport:
-  username: <%= ENV['OS_UBUNTU_IMAGE_USER'] || 'root' %>
-
-# vim: ft=yaml sw=2 ts=2 sts=2 tw=125
diff --git a/.kitchen.yml b/.kitchen.yml
deleted file mode 100644
index 9997178..0000000
--- a/.kitchen.yml
+++ /dev/null
@@ -1,129 +0,0 @@
----
-driver:
-  name: vagrant
-  vm_hostname: opencontrail.ci.local
-  use_sudo: false
-  customize:
-    memory: 512
-
-
-provisioner:
-  name: salt_solo
-  salt_install: bootstrap
-  salt_bootstrap_url: https://bootstrap.saltstack.com
-  salt_version: latest
-  formula: opencontrail
-  #dependencies:
-    #- { name: 'linux',  path: '../../tcpcloud/linux'}
-  log_level: info
-  state_top:
-    base:
-      "*":
-        - opencontrail
-  pillars:
-    linux.sls:
-      linux:
-        system:
-          name: opencontrail.ci.local
-        network:
-          interface:
-            vhost0:
-              enabled: True
-    top.sls:
-      base:
-        "*":
-          - opencontrail
-          - linux
-  grains:
-    noservices: False
-
-
-verifier:
-  name: inspec
-  sudo: true
-
-
-platforms:
-
-  # NOTE: on oc 2.22 some of the converge tests fails - as we are focused now to 3.x will keep it ootb commented
-  #
-  #- name: ubuntu-14.04-oc2
-  #  # NOTE, workaround for dependencies until kitchen salt will install SPM/PKG dependencies
-  #  driver:
-  #    provision_command:
-  #    - apt-get install -y wget
-  #    - wget -O - http://apt.tcpcloud.eu/public.gpg | sudo apt-key add -
-  #    - echo "deb http://apt.tcpcloud.eu/nightly/ trusty main security extra tcp tcp-salt oc222 liberty" > /etc/apt/sources.list
-  #    - apt-get update
-  #    - apt-get install -y salt-minion salt-formula-linux
-  - name: ubuntu-14.04
-    # NOTE, workaround for dependencies until kitchen salt will install SPM/PKG dependencies
-    driver:
-      provision_command:
-      - apt-get install -y wget
-      - wget -O - http://apt.tcpcloud.eu/public.gpg | sudo apt-key add -
-      - echo "deb http://apt.tcpcloud.eu/nightly/ trusty main security extra tcp tcp-salt oc30 liberty" > /etc/apt/sources.list
-      - apt-get update
-      - apt-get install -y salt-minion salt-formula-linux
-
-  # FIXME, on xenial converge fails, missing packages etc..
-  #
-  #- name: ubuntu-16.04
-  #  # NOTE, workaround for dependencies until kitchen salt will install SPM/PKG dependencies
-  #  driver:
-  #    provision_command:
-  #    - apt-get install -y wget
-  #    - wget -O - http://apt.tcpcloud.eu/public.gpg | sudo apt-key add -
-  #    - echo "deb http://apt.tcpcloud.eu/nightly/ trusty main security extra tcp tcp-salt oc30 liberty" > /etc/apt/sources.list
-  #    - apt-get update
-  #    - apt-get install -y salt-minion salt-formula-linux
-  #  name: ubuntu-16.04-mitaka
-  #  # NOTE, workaround for dependencies until kitchen salt will install SPM/PKG dependencies
-  #  driver:
-  #    provision_command:
-  #    - apt-get install -y wget
-  #    - wget -O - http://apt.tcpcloud.eu/public.gpg | sudo apt-key add -
-  #    - echo "deb http://apt.tcpcloud.eu/nightly/ trusty main security extra tcp tcp-salt oc30 mitaka" > /etc/apt/sources.list
-  #    - apt-get update
-  #    - apt-get install -y salt-minion salt-formula-linux
-
-  #- name: centos-7.1
-
-suites:
-
-  - name: analytics
-    provisioner:
-      pillars-from-files:
-        opencontrail.sls: tests/pillar/analytics.sls
-
-  - name: cluster
-    provisioner:
-      pillars-from-files:
-        opencontrail.sls: tests/pillar/cluster.sls
-
-  - name: control
-    provisioner:
-      pillars-from-files:
-        opencontrail.sls: tests/pillar/control.sls
-
-  - name: single
-    provisioner:
-      pillars-from-files:
-        opencontrail.sls: tests/pillar/single.sls
-
-  - name: tor
-    provisioner:
-      pillars-from-files:
-        opencontrail.sls: tests/pillar/tor.sls
-
-  - name: vrouter_kubernetes
-    provisioner:
-      pillars-from-files:
-        opencontrail.sls: tests/pillar/vrouter_kubernetes.sls
-
-  - name: vrouter
-    provisioner:
-      pillars-from-files:
-        opencontrail.sls: tests/pillar/vrouter.sls
-
-# vim: ft=yaml sw=2 ts=2 sts=2 tw=125
diff --git a/INTEGRATION.rst b/INTEGRATION.rst
deleted file mode 100644
index 6555079..0000000
--- a/INTEGRATION.rst
+++ /dev/null
@@ -1,114 +0,0 @@
-
-Continuous Integration
-======================
-
-We are using Jenkins to spin a kitchen instances in Docker or OpenStack environment.
-
-If you would like to repeat, then you may use ``.kitchen.<backend>.yml`` configuration yaml in the main directory
-to override ``.kitchen.yml`` at some points.
-Usage: ``KITCHEN_LOCAL_YAML=.kitchen.<driver>.yml kitchen verify server-ubuntu-1404 -t tests/integration``.
-Example: ``KITCHEN_LOCAL_YAML=.kitchen.docker.yml kitchen verify server-ubuntu-1404 -t tests/integration``.
-
-Be aware of fundamental differences of backends. The formula verification scripts are primarily tested with
-Vagrant driver.
-
-CI uses a tuned `make kitchen` target defined in `Makefile` to perform following (Kitchen Test) actions:
-
-1. *create*, provision an test instance (VM, container)
-2. *converge*, run a provisioner (shell script, kitchen-salt)
-3. *verify*, run a verification (inspec, other may be added)
-4. *destroy*
-
-
-Test Kitchen
-------------
-
-
-To install Test Kitchen is as simple as:
-
-.. code-block:: shell
-
-  # install kitchen
-  gem install test-kitchen
-
-  # install required plugins
-  gem install kitchen-vagrant kitchen-docker kitchen-salt
-
-  # install additional plugins & tools
-  gem install kitchen-openstack kitchen-inspec busser-serverspec
-
-  kitchen list
-  kitchen test
-
-of course you have to have installed Ruby and it's package manager `gem <https://rubygems.org/>`_ first.
-
-One may be satisfied installing it system-wide right from OS package manager which is preferred installation method.
-For advanced users or the sake of complex environments you may use `rbenv <https://github.com/rbenv/rbenv>`_ for user side ruby installation.
-
- * https://github.com/rbenv/rbenv
- * http://kitchen.ci/docs/getting-started/installing
-
-An example steps then might be:
-
-.. code-block:: shell
-
-  # get rbenv
-  git clone https://github.com/rbenv/rbenv.git ~/.rbenv
-
-  # configure
-  cd ~/.rbenv && src/configure && make -C src     # don't worry if it fails
-  echo 'export PATH="$HOME/.rbenv/bin:$PATH"'>> ~/.bash_profile
-  # Ubuntu Desktop note: Modify your ~/.bashrc instead of ~/.bash_profile.
-  cd ~/.rbenv; git fetch
-
-  # install ruby-build, which provides the rbenv install command
-  git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
-
-  # list all available versions:
-  rbenv install -l
-
-  # install a Ruby version
-  # maybe you will need additional packages: libssl-dev, libreadline-dev, zlib1g-dev
-  rbenv install 2.0.0-p648
-
-  # activate
-  rbenv local 2.0.0-p648
-
-  # install test kitchen
-  gem install test-kitchen
-
-
-An optional ``Gemfile`` in the main directory may contain Ruby dependencies to be required for Test Kitchen workflow.
-To install them you have to install first ``gem install bundler`` and then run ``bundler install``.
-
-
-
-Verifier
---------
-
-The `Busser <https://github.com/test-kitchen/busser>`_ *Verifier* goes with test-kitchen by default.
-It is used to setup and run tests implemented in `<repo>/test/integration`. It guess and installs the particular driver to tested instance.
-By default `InSpec <https://github.com/chef/kitchen-inspec>`_ is expected.
-
-You may avoid to install busser framework if you configure specific verifier in `.kitchen.yml` and install it kitchen plugin locally:
-
-	verifier:
-		name: serverspec
-
-If you would to write another verification scripts than InSpec store them in ``<repo>/tests/integration/<suite>/<busser>/*``.
-``Busser <https://github.com/test-kitchen/busser>`` is a test setup and execution framework under test kitchen.
-
-
-
-InSpec
-~~~~~~
-
-Implement integration tests under ``<repo>/tests/integration/<suite>/<busser>/*`` directory with ``_spec.rb`` filename
-suffix.
-
-Docs:
-
-* https://github.com/chef/inspec
-* https://github.com/chef/kitchen-inspec
-
-
diff --git a/Makefile b/Makefile
index fa15e0f..fc83783 100644
--- a/Makefile
+++ b/Makefile
@@ -1,28 +1,11 @@
 DESTDIR=/
 SALTENVDIR=/usr/share/salt-formulas/env
 RECLASSDIR=/usr/share/salt-formulas/reclass
-FORMULANAME=$(shell grep name: metadata.yml|head -1|cut -d : -f 2|grep -Eo '[a-z0-9\-\_]*')
-
-MAKE_PID := $(shell echo $$PPID)
-JOB_FLAG := $(filter -j%, $(subst -j ,-j,$(shell ps T | grep "^\s*$(MAKE_PID).*$(MAKE)")))
-
-ifneq ($(subst -j,,$(JOB_FLAG)),)
-JOBS := $(subst -j,,$(JOB_FLAG))
-else
-JOBS := 1
-endif
-
-KITCHEN_LOCAL_YAML?=.kitchen.yml
-KITCHEN_OPTS?="--concurrency=$(JOBS)"
-KITCHEN_OPTS_CREATE?=""
-KITCHEN_OPTS_CONVERGE?=""
-KITCHEN_OPTS_VERIFY?=""
-KITCHEN_OPTS_TEST?=""
+FORMULANAME=$(shell grep name: metadata.yml|head -1|cut -d : -f 2|grep -Eo '[a-z0-9\-]*')
 
 all:
 	@echo "make install - Install into DESTDIR"
 	@echo "make test    - Run tests"
-	@echo "make kitchen - Run Kitchen CI tests (create, converge, verify)"
 	@echo "make clean   - Cleanup after tests run"
 
 install:
@@ -38,29 +21,6 @@
 test:
 	[ ! -d tests ] || (cd tests; ./run_tests.sh)
 
-kitchen: kitchen-create kitchen-converge kitchen-verify kitchen-list
-
-kitchen-create:
-	kitchen create ${KITCHEN_OPTS} ${KITCHEN_OPTS_CREATE}
-	[ "$(shell echo $(KITCHEN_LOCAL_YAML)|grep -Eo docker)" = "docker" ] || sleep 120
-
-kitchen-converge:
-	kitchen converge ${KITCHEN_OPTS} ${KITCHEN_OPTS_CONVERGE} &&\
-	kitchen converge ${KITCHEN_OPTS} ${KITCHEN_OPTS_CONVERGE}
-
-kitchen-verify:
-	[ ! -d tests/integration ] || kitchen verify -t tests/integration ${KITCHEN_OPTS} ${KITCHEN_OPTS_VERIFY}
-	[ -d tests/integration ]   || kitchen verify ${KITCHEN_OPTS} ${KITCHEN_OPTS_VERIFY}
-
-kitchen-test:
-	[ ! -d tests/integration ] || kitchen test -t tests/integration ${KITCHEN_OPTS} ${KITCHEN_OPTS_TEST}
-	[ -d tests/integration ]   || kitchen test ${KITCHEN_OPTS} ${KITCHEN_OPTS_TEST}
-
-kitchen-list:
-	kitchen list
-
 clean:
-	[ ! -x "$(shell which kitchen)" ] || kitchen destroy
-	[ ! -d .kitchen ] || rm -rf .kitchen
 	[ ! -d tests/build ] || rm -rf tests/build
 	[ ! -d build ] || rm -rf build
diff --git a/README.rst b/README.rst
index 3a111b8..1e9143d 100644
--- a/README.rst
+++ b/README.rst
@@ -731,68 +731,3 @@
 Developers should also join the discussion on the IRC list, at:
 
     https://wiki.openstack.org/wiki/Meetings/openstack-salt
-
-Development and testing
-=======================
-
-Development and test workflow with `Test Kitchen <http://kitchen.ci>`_ and
-`kitchen-salt <https://github.com/simonmcc/kitchen-salt>`_ provisioner plugin.
-
-Test Kitchen is a test harness tool to execute your configured code on one or more platforms in isolation.
-There is a ``.kitchen.yml`` in main directory that defines *platforms* to be tested and *suites* to execute on them.
-
-Kitchen CI can spin instances locally or remote, based on used *driver*.
-For local development ``.kitchen.yml`` defines a `vagrant <https://github.com/test-kitchen/kitchen-vagrant>`_ or
-`docker  <https://github.com/test-kitchen/kitchen-docker>`_ driver.
-
-To use backend drivers or implement your CI follow the section `INTEGRATION.rst#Continuous Integration`__.
-
-A listing of scenarios to be executed:
-
-.. code-block:: shell
-
-  $ kitchen list
-
-  Instance                    Driver   Provisioner  Verifier  Transport  Last Action
-
-  analytics-ubuntu-1404           Vagrant  SaltSolo     Inspec    Ssh        <Not Created>
-  analytics-ubuntu-1604           Vagrant  SaltSolo     Inspec    Ssh        <Not Created>
-  analytics-centos-71             Vagrant  SaltSolo     Inspec    Ssh        <Not Created>
-  cluster-ubuntu-1404             Vagrant  SaltSolo     Inspec    Ssh        <Not Created>
-  cluster-ubuntu-1604             Vagrant  SaltSolo     Inspec    Ssh        <Not Created>
-  cluster-centos-71               Vagrant  SaltSolo     Inspec    Ssh        <Not Created>
-  control-ubuntu-1404             Vagrant  SaltSolo     Inspec    Ssh        <Not Created>
-  control-ubuntu-1604             Vagrant  SaltSolo     Inspec    Ssh        <Not Created>
-  control-centos-71               Vagrant  SaltSolo     Inspec    Ssh        <Not Created>
-  single-ubuntu-1404              Vagrant  SaltSolo     Inspec    Ssh        <Not Created>
-  single-ubuntu-1604              Vagrant  SaltSolo     Inspec    Ssh        <Not Created>
-  single-centos-71                Vagrant  SaltSolo     Inspec    Ssh        <Not Created>
-  tor-ubuntu-1404                 Vagrant  SaltSolo     Inspec    Ssh        <Not Created>
-  tor-ubuntu-1604                 Vagrant  SaltSolo     Inspec    Ssh        <Not Created>
-  tor-centos-71                   Vagrant  SaltSolo     Inspec    Ssh        <Not Created>
-  vrouter-kubernetes-ubuntu-1404  Vagrant  SaltSolo     Inspec    Ssh        <Not Created>
-  vrouter-kubernetes-ubuntu-1604  Vagrant  SaltSolo     Inspec    Ssh        <Not Created>
-  vrouter-kubernetes-centos-71    Vagrant  SaltSolo     Inspec    Ssh        <Not Created>
-  vrouter-ubuntu-1404             Vagrant  SaltSolo     Inspec    Ssh        <Not Created>
-  vrouter-ubuntu-1604             Vagrant  SaltSolo     Inspec    Ssh        <Not Created>
-  vrouter-centos-71               Vagrant  SaltSolo     Inspec    Ssh        <Not Created>
-
-The `Busser <https://github.com/test-kitchen/busser>`_ *Verifier* is used to setup and run tests
-implementated in `<repo>/test/integration`. It installs the particular driver to tested instance
-(`Serverspec <https://github.com/neillturner/kitchen-verifier-serverspec>`_,
-`InSpec <https://github.com/chef/kitchen-inspec>`_, Shell, Bats, ...) prior the verification is executed.
-
-
-Usage:
-
-.. code-block:: shell
-
- # list instances and status
- kitchen list
-
- # manually execute integration tests
- kitchen [test || [create|converge|verify|exec|login|destroy|...]] [instance] -t tests/integration
-
- # use with provided Makefile (ie: within CI pipeline)
- make kitchen
-
diff --git a/tests/integration/analytics/default_spec.rb b/tests/integration/analytics/default_spec.rb
deleted file mode 100644
index e69de29..0000000
--- a/tests/integration/analytics/default_spec.rb
+++ /dev/null
diff --git a/tests/integration/cluster/default_spec.rb b/tests/integration/cluster/default_spec.rb
deleted file mode 100644
index e69de29..0000000
--- a/tests/integration/cluster/default_spec.rb
+++ /dev/null
diff --git a/tests/integration/control/default_spec.rb b/tests/integration/control/default_spec.rb
deleted file mode 100644
index e69de29..0000000
--- a/tests/integration/control/default_spec.rb
+++ /dev/null
diff --git a/tests/integration/helpers/spec_helper.rb b/tests/integration/helpers/spec_helper.rb
deleted file mode 100644
index e69de29..0000000
--- a/tests/integration/helpers/spec_helper.rb
+++ /dev/null
diff --git a/tests/integration/single/default_spec.rb b/tests/integration/single/default_spec.rb
deleted file mode 100644
index e69de29..0000000
--- a/tests/integration/single/default_spec.rb
+++ /dev/null
diff --git a/tests/integration/tor/default_spec.rb b/tests/integration/tor/default_spec.rb
deleted file mode 100644
index e69de29..0000000
--- a/tests/integration/tor/default_spec.rb
+++ /dev/null
diff --git a/tests/integration/vrouter/default_spec.rb b/tests/integration/vrouter/default_spec.rb
deleted file mode 100644
index e69de29..0000000
--- a/tests/integration/vrouter/default_spec.rb
+++ /dev/null
diff --git a/tests/integration/vrouter_kubernetes/default_spec.rb b/tests/integration/vrouter_kubernetes/default_spec.rb
deleted file mode 100644
index e69de29..0000000
--- a/tests/integration/vrouter_kubernetes/default_spec.rb
+++ /dev/null
diff --git a/tests/pillar/analytics.sls b/tests/pillar/analytics.sls
index 0fe58c0..7ef9977 100644
--- a/tests/pillar/analytics.sls
+++ b/tests/pillar/analytics.sls
@@ -1,6 +1,6 @@
 opencontrail:
   common:
-    version: 3.0
+    version: 2.2
     identity:
       engine: keystone
       host: 127.0.0.1
@@ -12,7 +12,7 @@
       host: 127.0.0.1
       port: 9696
   collector:
-    version: 3.0
+    version: 2.2
     enabled: true
     bind:
       address: 127.0.0.1
@@ -30,7 +30,7 @@
       - host: 127.0.0.1
         port: 9160
   database:
-    version: 3.0
+    version: 2.2
     cassandra:
       version: 2
     enabled: true
@@ -52,4 +52,4 @@
     - host: 127.0.0.1
       id: 2
     - host: 127.0.0.1
-      id: 3
+      id: 3
\ No newline at end of file
diff --git a/tests/pillar/cluster.sls b/tests/pillar/cluster.sls
index 29e22c9..a1984fd 100644
--- a/tests/pillar/cluster.sls
+++ b/tests/pillar/cluster.sls
@@ -1,6 +1,6 @@
 opencontrail:
   common:
-    version: 3.0
+    version: 2.2
     source:
       engine: pkg
       address: http://mirror.robotice.cz/contrail-havana/
@@ -15,7 +15,7 @@
       host: 127.0.0.1
       port: 9696
   config:
-    version: 3.0
+    version: 2.2
     enabled: true
     multi_tenancy: false
     network:
@@ -66,7 +66,7 @@
     - host: 127.0.0.1
       id: 3
   control:
-    version: 3.0
+    version: 2.2
     enabled: true
     bind:
       address: 127.0.0.1
@@ -82,7 +82,7 @@
     - host: 127.0.0.1
       id: 3
   collector:
-    version: 3.0
+    version: 2.2
     enabled: true
     bind:
       address: 127.0.0.1
@@ -100,7 +100,7 @@
       - host: 127.0.0.1
         port: 9160
   database:
-    version: 3.0
+    version: 2.2
     cassandra:
       version: 2
     enabled: true
@@ -124,7 +124,7 @@
     - host: 127.0.0.1
       id: 3
   web:
-    version: 3.0
+    version: 2.2
     enabled: True
     bind:
       address: 127.0.0.1
diff --git a/tests/pillar/control.sls b/tests/pillar/control.sls
index 3ba9d34..83ec951 100644
--- a/tests/pillar/control.sls
+++ b/tests/pillar/control.sls
@@ -1,6 +1,6 @@
 opencontrail:
   common:
-    version: 3.0
+    version: 2.2
     identity:
       engine: keystone
       host: 127.0.0.1
@@ -12,7 +12,7 @@
       host: 127.0.0.1
       port: 9696
   config:
-    version: 3.0
+    version: 2.2
     enabled: true
     multi_tenancy: false
     network:
@@ -63,7 +63,7 @@
     - host: 127.0.0.1
       id: 3
   control:
-    version: 3.0
+    version: 2.2
     enabled: true
     bind:
       address: 127.0.0.1
@@ -103,7 +103,7 @@
     - host: 127.0.0.1
       id: 3
   web:
-    version: 3.0
+    version: 2.2
     enabled: True
     bind:
       address: 127.0.0.1
diff --git a/tests/pillar/single.sls b/tests/pillar/single.sls
index faba0dc..4a253f7 100644
--- a/tests/pillar/single.sls
+++ b/tests/pillar/single.sls
@@ -1,6 +1,6 @@
 opencontrail:
   common:
-    version: 3.0
+    version: 2.2
     source:
       engine: pkg
       address: http://mirror.robotice.cz/contrail-havana/
@@ -15,7 +15,7 @@
       host: 127.0.0.1
       port: 9696
   config:
-    version: 3.0
+    version: 2.2
     multi_tenancy: false
     enabled: true
     network:
@@ -54,7 +54,7 @@
     - host: 127.0.0.1
       id: 1
   control:
-    version: 3.0
+    version: 2.2
     enabled: true
     bind:
       address: 127.0.0.1
@@ -66,7 +66,7 @@
     - host: 127.0.0.1
       id: 1
   collector:
-    version: 3.0
+    version: 2.2
     enabled: true
     bind:
       address: 127.0.0.1
@@ -80,7 +80,7 @@
       - host: 127.0.0.1
         port: 9160
   database:
-    version: 3.0
+    version: 2.2
     cassandra:
       version: 2
     enabled: true
@@ -100,7 +100,7 @@
     - host: 127.0.0.1
       id: 1
   web:
-    version: 3.0
+    version: 2.2
     enabled: True
     bind:
       address: 127.0.0.1
diff --git a/tests/pillar/tor.sls b/tests/pillar/tor.sls
index a14ce11..2452377 100644
--- a/tests/pillar/tor.sls
+++ b/tests/pillar/tor.sls
@@ -1,6 +1,6 @@
 opencontrail:
   common:
-    version: 3.0
+    version: 2.2
     identity:
       engine: keystone
       host: 127.0.0.1
@@ -13,11 +13,11 @@
       port: 9696
   tor:
     enabled: true
-    version: 3.0
+    version: 2.2
     agents: 1
     control:
       address: 127.0.0.1
     interface:
       address: 127.0.0.1
     device:
-      host: 127.0.0.1
+      host: 127.0.0.1
\ No newline at end of file
diff --git a/tests/pillar/vrouter.sls b/tests/pillar/vrouter.sls
index 9ed6c71..b727821 100644
--- a/tests/pillar/vrouter.sls
+++ b/tests/pillar/vrouter.sls
@@ -1,6 +1,6 @@
 opencontrail:
   common:
-    version: 3.0
+    version: 2.2
     identity:
       engine: keystone
       host: 127.0.0.1
@@ -12,7 +12,7 @@
       host: 127.0.0.1
       port: 9696
   compute:
-    version: 3.0
+    version: 2.2
     enabled: True
     discovery:
       host: 127.0.0.1
@@ -22,4 +22,4 @@
       gateway: 127.0.0.1
       mask: /24
       dns: 127.0.0.1
-      mtu: 9000
+      mtu: 9000
\ No newline at end of file
diff --git a/tests/pillar/vrouter_kubernetes.sls b/tests/pillar/vrouter_kubernetes.sls
index bc5bcc6..86aa79f 100644
--- a/tests/pillar/vrouter_kubernetes.sls
+++ b/tests/pillar/vrouter_kubernetes.sls
@@ -1,11 +1,11 @@
 opencontrail:
   common:
-    version: 3.0
+    version: 2.2
     identity:
       engine: kubernetes
   compute:
     engine: kubernetes
-    version: 3.0
+    version: 2.2
     enabled: True
     discovery:
       host: 127.0.0.1
@@ -15,4 +15,4 @@
       gateway: 127.0.0.1
       mask: /24
       dns: 127.0.0.1
-      mtu: 9000
+      mtu: 9000
\ No newline at end of file