Added Unit tests, Kitchen and Travis support
diff --git a/tests/pillar/network.sls b/tests/pillar/network.sls
new file mode 100644
index 0000000..52a6918
--- /dev/null
+++ b/tests/pillar/network.sls
@@ -0,0 +1,31 @@
+libvirt:
+ server:
+ enabled: true
+ virtualizations:
+ - kvm
+ network:
+ default:
+ ensure: absent
+ mydefault:
+ xml: |
+ <network>
+ <name>mydefault</name>
+ <bridge name="virbr0"/>
+ <forward/>
+ <ip address="192.168.122.1" netmask="255.255.255.0">
+ <dhcp>
+ <range start="192.168.122.2" end="192.168.122.254"/>
+ </dhcp>
+ </ip>
+ </network>
+ ovs-net:
+ autostart: False
+ xml: |
+ <network>
+ <name>ovs-net</name>
+ <forward mode='bridge'/>
+ <bridge name='ovsbr0'/>
+ <virtualport type='openvswitch'>
+ <parameters interfaceid='09b11c53-8b5c-4eeb-8f00-d84eaa0aaa4f'/>
+ </virtualport>
+ </network>
diff --git a/tests/pillar/pool.sls b/tests/pillar/pool.sls
new file mode 100644
index 0000000..fbce672
--- /dev/null
+++ b/tests/pillar/pool.sls
@@ -0,0 +1,30 @@
+libvirt:
+ server:
+ enabled: true
+ virtualizations:
+ - kvm
+ network:
+ default:
+ ensure: absent
+ pool:
+ virtimages:
+ type: dir
+ path: /var/lib/libvirt/images
+ xml: |
+ <pool type="dir">
+ <name>virtimages</name>
+ <target>
+ <path>/var/lib/libvirt/images</path>
+ </target>
+ </pool>
+ virtimages2:
+ ensure: absent
+ type: dir
+ path: /var/lib/libvirt/images2
+ xml: |
+ <pool type="dir">
+ <name>virtimages2</name>
+ <target>
+ <path>/var/lib/libvirt/images2</path>
+ </target>
+ </pool>
\ No newline at end of file
diff --git a/tests/pillar/simple.sls b/tests/pillar/simple.sls
new file mode 100644
index 0000000..0cb2712
--- /dev/null
+++ b/tests/pillar/simple.sls
@@ -0,0 +1,8 @@
+libvirt:
+ server:
+ enabled: true
+ virtualizations:
+ - kvm
+ network:
+ default:
+ ensure: absent
\ No newline at end of file