changed/added license heading. Moved some json files to yaml

Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
diff --git a/test/2VM_2I.sh b/test/2VM_2I.sh
index 96f8100..eb21156 100755
--- a/test/2VM_2I.sh
+++ b/test/2VM_2I.sh
@@ -2,7 +2,7 @@
 
 ##
 # Copyright 2015 Telefónica Investigación y Desarrollo, S.A.U.
-# This file is part of openmano
+# This file is part of openvim
 # All Rights Reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License"); you may
diff --git a/test/2VM_2I_2VLAN.sh b/test/2VM_2I_2VLAN.sh
index 1e0f626..ed95730 100755
--- a/test/2VM_2I_2VLAN.sh
+++ b/test/2VM_2I_2VLAN.sh
@@ -2,7 +2,7 @@
 
 ##
 # Copyright 2015 Telefónica Investigación y Desarrollo, S.A.U.
-# This file is part of openmano
+# This file is part of openvim
 # All Rights Reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License"); you may
diff --git a/test/2VM_NoHuge.sh b/test/2VM_NoHuge.sh
index 9326ec2..a83612f 100755
--- a/test/2VM_NoHuge.sh
+++ b/test/2VM_NoHuge.sh
@@ -1,7 +1,7 @@
 #!/bin/bash
 ##
 # Copyright 2015 Telefónica Investigación y Desarrollo, S.A.U.
-# This file is part of openmano
+# This file is part of openvim
 # All Rights Reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License"); you may
diff --git a/test/flavors/2Th_2G.yaml b/test/flavors/2Th_2G.yaml
index 3df9573..191213a 100644
--- a/test/flavors/2Th_2G.yaml
+++ b/test/flavors/2Th_2G.yaml
@@ -1,6 +1,6 @@
 ##
 # Copyright 2015 Telefónica Investigación y Desarrollo, S.A.U.
-# This file is part of openmano
+# This file is part of openvim
 # All Rights Reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License"); you may
diff --git a/test/flavors/5PTh_8G_2I.yaml b/test/flavors/5PTh_8G_2I.yaml
index 9ffeb49..d1f7fff 100644
--- a/test/flavors/5PTh_8G_2I.yaml
+++ b/test/flavors/5PTh_8G_2I.yaml
@@ -1,6 +1,6 @@
 ##
 # Copyright 2015 Telefónica Investigación y Desarrollo, S.A.U.
-# This file is part of openmano
+# This file is part of openvim
 # All Rights Reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License"); you may
diff --git a/test/flavors/new_flavor.yaml b/test/flavors/new_flavor.yaml
index fab23d5..aa5c843 100644
--- a/test/flavors/new_flavor.yaml
+++ b/test/flavors/new_flavor.yaml
@@ -1,7 +1,6 @@
-
 ##
 # Copyright 2015 Telefónica Investigación y Desarrollo, S.A.U.
-# This file is part of openmano
+# This file is part of openvim
 # All Rights Reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License"); you may
diff --git a/test/get_params.sh b/test/get_params.sh
index 0a0f6df..98811de 100755
--- a/test/get_params.sh
+++ b/test/get_params.sh
@@ -2,7 +2,7 @@
 
 ##
 # Copyright 2015 Telefónica Investigación y Desarrollo, S.A.U.
-# This file is part of openmano
+# This file is part of openvim
 # All Rights Reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License"); you may
diff --git a/test/hosts/host-example0.json b/test/hosts/host-example0.json
deleted file mode 100644
index b5dc5ee..0000000
--- a/test/hosts/host-example0.json
+++ /dev/null
@@ -1,465 +0,0 @@
-{
-    "host":{
-        "name": "fake-host-0",
-        "user": "user", 
-        "password": "password", 
-        "ip_name": "fakehost0" 
-    },
-"host-data":
-{
-    "name": "fake-host-0",
-    "ranking": 300,
-    "description": "fake host 0 for test mode",
-    "ip_name": "fakehost0",
-    "features": "lps,dioc,hwsv,ht,64b,tlbps",
-    "user": "user",
-    "password": "password",
-    "numas": [
-        {
-            "cores": [
-                {
-                    "core_id": 0,
-                    "thread_id": 12,
-                    "status": "noteligible"
-                },
-                {
-                    "core_id": 0,
-                    "thread_id": 36,
-                    "status": "noteligible"
-                },
-                {
-                    "core_id": 1,
-                    "thread_id": 13
-                },
-                {
-                    "core_id": 1,
-                    "thread_id": 37
-                },
-                {
-                    "core_id": 2,
-                    "thread_id": 14
-                },
-                {
-                    "core_id": 2,
-                    "thread_id": 38
-                },
-                {
-                    "core_id": 3,
-                    "thread_id": 15
-                },
-                {
-                    "core_id": 3,
-                    "thread_id": 39
-                },
-                {
-                    "core_id": 4,
-                    "thread_id": 16
-                },
-                {
-                    "core_id": 4,
-                    "thread_id": 40
-                },
-                {
-                    "core_id": 5,
-                    "thread_id": 17
-                },
-                {
-                    "core_id": 5,
-                    "thread_id": 41
-                },
-                {
-                    "core_id": 6,
-                    "thread_id": 18
-                },
-                {
-                    "core_id": 6,
-                    "thread_id": 42
-                },
-                {
-                    "core_id": 7,
-                    "thread_id": 19
-                },
-                {
-                    "core_id": 7,
-                    "thread_id": 43
-                },
-                {
-                    "core_id": 8,
-                    "thread_id": 20
-                },
-                {
-                    "core_id": 8,
-                    "thread_id": 44
-                },
-                {
-                    "core_id": 9,
-                    "thread_id": 21
-                },
-                {
-                    "core_id": 9,
-                    "thread_id": 45
-                },
-                {
-                    "core_id": 10,
-                    "thread_id": 22
-                },
-                {
-                    "core_id": 10,
-                    "thread_id": 46
-                },
-                {
-                    "core_id": 11,
-                    "thread_id": 23
-                },
-                {
-                    "core_id": 11,
-                    "thread_id": 47
-                }
-            ],
-            "numa_socket": 1,
-            "hugepages": 28,
-            "memory": 32
-        },
-        {
-            "cores": [
-                {
-                    "core_id": 0,
-                    "thread_id": 0,
-                    "status": "noteligible"
-                },
-                {
-                    "core_id": 0,
-                    "thread_id": 24,
-                    "status": "noteligible"
-                },
-                {
-                    "core_id": 1,
-                    "thread_id": 1
-                },
-                {
-                    "core_id": 1,
-                    "thread_id": 25
-                },
-                {
-                    "core_id": 2,
-                    "thread_id": 2
-                },
-                {
-                    "core_id": 2,
-                    "thread_id": 26
-                },
-                {
-                    "core_id": 3,
-                    "thread_id": 3
-                },
-                {
-                    "core_id": 3,
-                    "thread_id": 27
-                },
-                {
-                    "core_id": 4,
-                    "thread_id": 4
-                },
-                {
-                    "core_id": 4,
-                    "thread_id": 28
-                },
-                {
-                    "core_id": 5,
-                    "thread_id": 5
-                },
-                {
-                    "core_id": 5,
-                    "thread_id": 29
-                },
-                {
-                    "core_id": 6,
-                    "thread_id": 6
-                },
-                {
-                    "core_id": 6,
-                    "thread_id": 30
-                },
-                {
-                    "core_id": 7,
-                    "thread_id": 7
-                },
-                {
-                    "core_id": 7,
-                    "thread_id": 31
-                },
-                {
-                    "core_id": 8,
-                    "thread_id": 8
-                },
-                {
-                    "core_id": 8,
-                    "thread_id": 32
-                },
-                {
-                    "core_id": 9,
-                    "thread_id": 9
-                },
-                {
-                    "core_id": 9,
-                    "thread_id": 33
-                },
-                {
-                    "core_id": 10,
-                    "thread_id": 10
-                },
-                {
-                    "core_id": 10,
-                    "thread_id": 34
-                },
-                {
-                    "core_id": 11,
-                    "thread_id": 11
-                },
-                {
-                    "core_id": 11,
-                    "thread_id": 35
-                }
-            ],
-            "interfaces": [
-                {
-                    "source_name": "eth8",
-                    "Mbps": 10000,
-                    "pci": "0000:08:00.0",
-                    "switch_port": "port0/2",
-                    "switch_dpid": "00:01:02:03:04:05:06:07",
-                    "sriovs": [
-                        {
-                            "mac": "a6:12:27:bd:2d:ef",
-                            "pci": "0000:08:10.0",
-                            "source_name": 0,
-                            "vlan": 106
-                        },
-                        {
-                            "mac": "be:8a:40:58:cf:de",
-                            "pci": "0000:08:10.2",
-                            "source_name": 1,
-                            "vlan": 107
-                        },
-                        {
-                            "mac": "c6:bf:7a:30:13:55",
-                            "pci": "0000:08:10.4",
-                            "source_name": 2,
-                            "vlan": 103
-                        },
-                        {
-                            "mac": "be:32:50:ef:ea:4e",
-                            "pci": "0000:08:10.6",
-                            "source_name": 3,
-                            "vlan": 105
-                        },
-                        {
-                            "mac": "ae:36:60:bc:41:78",
-                            "pci": "0000:08:11.0",
-                            "source_name": 4,
-                            "vlan": 102
-                        },
-                        {
-                            "mac": "52:22:3a:99:67:4e",
-                            "pci": "0000:08:11.2",
-                            "source_name": 5,
-                            "vlan": 104
-                        },
-                        {
-                            "mac": "0a:b8:00:2c:8a:b2",
-                            "pci": "0000:08:11.4",
-                            "source_name": 6,
-                            "vlan": 100
-                        },
-                        {
-                            "mac": "e2:f6:70:83:a3:ec",
-                            "pci": "0000:08:11.6",
-                            "source_name": 7,
-                            "vlan": 101
-                        }
-                    ],
-                    "mac": "90:e2:ba:0c:36:4c"
-                },
-                {
-                    "source_name": "eth17",
-                    "Mbps": 10000,
-                    "pci": "0000:08:00.1",
-                    "switch_port": "port0/3",
-                    "switch_dpid": "00:01:02:03:04:05:06:07",
-                    "sriovs": [
-                        {
-                            "mac": "92:0e:27:0c:ad:eb",
-                            "pci": "0000:08:10.1",
-                            "source_name": 0,
-                            "vlan": 105
-                        },
-                        {
-                            "mac": "be:99:65:e8:98:a3",
-                            "pci": "0000:08:10.3",
-                            "source_name": 1,
-                            "vlan": 106
-                        },
-                        {
-                            "mac": "8a:3b:54:42:88:b2",
-                            "pci": "0000:08:10.5",
-                            "source_name": 2,
-                            "vlan": 101
-                        },
-                        {
-                            "mac": "c6:5d:8a:c5:05:f7",
-                            "pci": "0000:08:10.7",
-                            "source_name": 3,
-                            "vlan": 103
-                        },
-                        {
-                            "mac": "96:bd:61:02:4f:d6",
-                            "pci": "0000:08:11.1",
-                            "source_name": 4,
-                            "vlan": 102
-                        },
-                        {
-                            "mac": "22:5d:85:2c:1b:fd",
-                            "pci": "0000:08:11.3",
-                            "source_name": 5,
-                            "vlan": 104
-                        },
-                        {
-                            "mac": "e6:7f:8a:48:bc:26",
-                            "pci": "0000:08:11.5",
-                            "source_name": 6,
-                            "vlan": 100
-                        },
-                        {
-                            "mac": "2e:4a:e6:68:18:fa",
-                            "pci": "0000:08:11.7",
-                            "source_name": 7,
-                            "vlan": 107
-                        }
-                    ],
-                    "mac": "90:e2:ba:0c:36:4d"
-                },
-                {
-                    "source_name": "eth26",
-                    "Mbps": 10000,
-                    "pci": "0000:06:00.0",
-                    "switch_port": "port0/0",
-                    "switch_dpid": "00:01:02:03:04:05:06:07",
-                    "sriovs": [
-                        {
-                            "mac": "02:79:15:02:ad:cc",
-                            "pci": "0000:06:10.0",
-                            "source_name": 0,
-                            "vlan": 104
-                        },
-                        {
-                            "mac": "06:81:ef:de:ec:6b",
-                            "pci": "0000:06:10.2",
-                            "source_name": 1,
-                            "vlan": 103
-                        },
-                        {
-                            "mac": "f2:4e:96:f3:8e:73",
-                            "pci": "0000:06:10.4",
-                            "source_name": 2,
-                            "vlan": 106
-                        },
-                        {
-                            "mac": "e2:86:91:23:c5:76",
-                            "pci": "0000:06:10.6",
-                            "source_name": 3,
-                            "vlan": 105
-                        },
-                        {
-                            "mac": "52:12:a0:77:cc:47",
-                            "pci": "0000:06:11.0",
-                            "source_name": 4,
-                            "vlan": 107
-                        },
-                        {
-                            "mac": "ca:17:4a:c4:cb:bf",
-                            "pci": "0000:06:11.2",
-                            "source_name": 5,
-                            "vlan": 102
-                        },
-                        {
-                            "mac": "de:13:4c:5d:70:e8",
-                            "pci": "0000:06:11.4",
-                            "source_name": 6,
-                            "vlan": 101
-                        },
-                        {
-                            "mac": "0a:5f:d2:db:7f:e2",
-                            "pci": "0000:06:11.6",
-                            "source_name": 7,
-                            "vlan": 100
-                        }
-                    ],
-                    "mac": "90:e2:ba:0b:6b:b4"
-                },
-                {
-                    "source_name": "eth35",
-                    "Mbps": 10000,
-                    "pci": "0000:06:00.1",
-                    "switch_port": "port0/1",
-                    "switch_dpid": "00:01:02:03:04:05:06:07",
-                    "sriovs": [
-                        {
-                            "mac": "a2:08:55:fe:c5:db",
-                            "pci": "0000:06:10.1",
-                            "source_name": 0,
-                            "vlan": 104
-                        },
-                        {
-                            "mac": "7a:dd:c7:46:2a:91",
-                            "pci": "0000:06:10.3",
-                            "source_name": 1,
-                            "vlan": 103
-                        },
-                        {
-                            "mac": "92:a8:1d:4e:cc:a8",
-                            "pci": "0000:06:10.5",
-                            "source_name": 2,
-                            "vlan": 106
-                        },
-                        {
-                            "mac": "02:1a:d6:87:c4:cc",
-                            "pci": "0000:06:10.7",
-                            "source_name": 3,
-                            "vlan": 105
-                        },
-                        {
-                            "mac": "ea:1b:8b:2a:da:9a",
-                            "pci": "0000:06:11.1",
-                            "source_name": 4,
-                            "vlan": 107
-                        },
-                        {
-                            "mac": "aa:c3:fe:e5:f2:96",
-                            "pci": "0000:06:11.3",
-                            "source_name": 5,
-                            "vlan": 102
-                        },
-                        {
-                            "mac": "e2:66:1f:00:b3:45",
-                            "pci": "0000:06:11.5",
-                            "source_name": 6,
-                            "vlan": 101
-                        },
-                        {
-                            "mac": "da:3c:d8:a3:f4:e0",
-                            "pci": "0000:06:11.7",
-                            "source_name": 7,
-                            "vlan": 100
-                        }
-                    ],
-                    "mac": "90:e2:ba:0b:6b:b5"
-                }
-            ],
-            "numa_socket": 0,
-            "hugepages": 28,
-            "memory": 32
-        }
-    ]
-}
-}
-
diff --git a/test/hosts/host-example0.yaml b/test/hosts/host-example0.yaml
new file mode 100644
index 0000000..b24c364
--- /dev/null
+++ b/test/hosts/host-example0.yaml
@@ -0,0 +1,302 @@
+##
+# Copyright 2016 Telefónica Investigación y Desarrollo, S.A.U.
+# This file is part of openvim
+# All Rights Reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+#         http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+#
+# For those usages not covered by the Apache License, Version 2.0 please
+# contact with: nfvlabs@tid.es
+##
+
+---
+host:
+  name: fake-host-0
+  user: user
+  password: password
+  ip_name: fakehost0
+host-data:
+  name: fake-host-0
+  ranking: 300
+  description: fake host 0 for test mode
+  ip_name: fakehost0
+  features: lps,dioc,hwsv,ht,64b,tlbps
+  user: user
+  password: password
+  numas:
+  - cores:
+    - core_id: 0
+      thread_id: 12
+      status: noteligible
+    - core_id: 0
+      thread_id: 36
+      status: noteligible
+    - core_id: 1
+      thread_id: 13
+    - core_id: 1
+      thread_id: 37
+    - core_id: 2
+      thread_id: 14
+    - core_id: 2
+      thread_id: 38
+    - core_id: 3
+      thread_id: 15
+    - core_id: 3
+      thread_id: 39
+    - core_id: 4
+      thread_id: 16
+    - core_id: 4
+      thread_id: 40
+    - core_id: 5
+      thread_id: 17
+    - core_id: 5
+      thread_id: 41
+    - core_id: 6
+      thread_id: 18
+    - core_id: 6
+      thread_id: 42
+    - core_id: 7
+      thread_id: 19
+    - core_id: 7
+      thread_id: 43
+    - core_id: 8
+      thread_id: 20
+    - core_id: 8
+      thread_id: 44
+    - core_id: 9
+      thread_id: 21
+    - core_id: 9
+      thread_id: 45
+    - core_id: 10
+      thread_id: 22
+    - core_id: 10
+      thread_id: 46
+    - core_id: 11
+      thread_id: 23
+    - core_id: 11
+      thread_id: 47
+    numa_socket: 1
+    hugepages: 28
+    memory: 32
+  - cores:
+    - core_id: 0
+      thread_id: 0
+      status: noteligible
+    - core_id: 0
+      thread_id: 24
+      status: noteligible
+    - core_id: 1
+      thread_id: 1
+    - core_id: 1
+      thread_id: 25
+    - core_id: 2
+      thread_id: 2
+    - core_id: 2
+      thread_id: 26
+    - core_id: 3
+      thread_id: 3
+    - core_id: 3
+      thread_id: 27
+    - core_id: 4
+      thread_id: 4
+    - core_id: 4
+      thread_id: 28
+    - core_id: 5
+      thread_id: 5
+    - core_id: 5
+      thread_id: 29
+    - core_id: 6
+      thread_id: 6
+    - core_id: 6
+      thread_id: 30
+    - core_id: 7
+      thread_id: 7
+    - core_id: 7
+      thread_id: 31
+    - core_id: 8
+      thread_id: 8
+    - core_id: 8
+      thread_id: 32
+    - core_id: 9
+      thread_id: 9
+    - core_id: 9
+      thread_id: 33
+    - core_id: 10
+      thread_id: 10
+    - core_id: 10
+      thread_id: 34
+    - core_id: 11
+      thread_id: 11
+    - core_id: 11
+      thread_id: 35
+    interfaces:
+    - source_name: eth8
+      Mbps: 10000
+      pci: '0000:08:00.0'
+      switch_port: port0/2
+      switch_dpid: '00:01:02:03:04:05:06:07'
+      sriovs:
+      - mac: a6:12:27:bd:2d:ef
+        pci: '0000:08:10.0'
+        source_name: 0
+        vlan: 106
+      - mac: be:8a:40:58:cf:de
+        pci: '0000:08:10.2'
+        source_name: 1
+        vlan: 107
+      - mac: c6:bf:7a:30:13:55
+        pci: '0000:08:10.4'
+        source_name: 2
+        vlan: 103
+      - mac: be:32:50:ef:ea:4e
+        pci: '0000:08:10.6'
+        source_name: 3
+        vlan: 105
+      - mac: ae:36:60:bc:41:78
+        pci: '0000:08:11.0'
+        source_name: 4
+        vlan: 102
+      - mac: 52:22:3a:99:67:4e
+        pci: '0000:08:11.2'
+        source_name: 5
+        vlan: 104
+      - mac: 0a:b8:00:2c:8a:b2
+        pci: '0000:08:11.4'
+        source_name: 6
+        vlan: 100
+      - mac: e2:f6:70:83:a3:ec
+        pci: '0000:08:11.6'
+        source_name: 7
+        vlan: 101
+      mac: 90:e2:ba:0c:36:4c
+    - source_name: eth17
+      Mbps: 10000
+      pci: '0000:08:00.1'
+      switch_port: port0/3
+      switch_dpid: '00:01:02:03:04:05:06:07'
+      sriovs:
+      - mac: 92:0e:27:0c:ad:eb
+        pci: '0000:08:10.1'
+        source_name: 0
+        vlan: 105
+      - mac: be:99:65:e8:98:a3
+        pci: '0000:08:10.3'
+        source_name: 1
+        vlan: 106
+      - mac: 8a:3b:54:42:88:b2
+        pci: '0000:08:10.5'
+        source_name: 2
+        vlan: 101
+      - mac: c6:5d:8a:c5:05:f7
+        pci: '0000:08:10.7'
+        source_name: 3
+        vlan: 103
+      - mac: 96:bd:61:02:4f:d6
+        pci: '0000:08:11.1'
+        source_name: 4
+        vlan: 102
+      - mac: 22:5d:85:2c:1b:fd
+        pci: '0000:08:11.3'
+        source_name: 5
+        vlan: 104
+      - mac: e6:7f:8a:48:bc:26
+        pci: '0000:08:11.5'
+        source_name: 6
+        vlan: 100
+      - mac: 2e:4a:e6:68:18:fa
+        pci: '0000:08:11.7'
+        source_name: 7
+        vlan: 107
+      mac: 90:e2:ba:0c:36:4d
+    - source_name: eth26
+      Mbps: 10000
+      pci: '0000:06:00.0'
+      switch_port: port0/0
+      switch_dpid: '00:01:02:03:04:05:06:07'
+      sriovs:
+      - mac: 02:79:15:02:ad:cc
+        pci: '0000:06:10.0'
+        source_name: 0
+        vlan: 104
+      - mac: 06:81:ef:de:ec:6b
+        pci: '0000:06:10.2'
+        source_name: 1
+        vlan: 103
+      - mac: f2:4e:96:f3:8e:73
+        pci: '0000:06:10.4'
+        source_name: 2
+        vlan: 106
+      - mac: e2:86:91:23:c5:76
+        pci: '0000:06:10.6'
+        source_name: 3
+        vlan: 105
+      - mac: 52:12:a0:77:cc:47
+        pci: '0000:06:11.0'
+        source_name: 4
+        vlan: 107
+      - mac: ca:17:4a:c4:cb:bf
+        pci: '0000:06:11.2'
+        source_name: 5
+        vlan: 102
+      - mac: de:13:4c:5d:70:e8
+        pci: '0000:06:11.4'
+        source_name: 6
+        vlan: 101
+      - mac: 0a:5f:d2:db:7f:e2
+        pci: '0000:06:11.6'
+        source_name: 7
+        vlan: 100
+      mac: 90:e2:ba:0b:6b:b4
+    - source_name: eth35
+      Mbps: 10000
+      pci: '0000:06:00.1'
+      switch_port: port0/1
+      switch_dpid: '00:01:02:03:04:05:06:07'
+      sriovs:
+      - mac: a2:08:55:fe:c5:db
+        pci: '0000:06:10.1'
+        source_name: 0
+        vlan: 104
+      - mac: 7a:dd:c7:46:2a:91
+        pci: '0000:06:10.3'
+        source_name: 1
+        vlan: 103
+      - mac: 92:a8:1d:4e:cc:a8
+        pci: '0000:06:10.5'
+        source_name: 2
+        vlan: 106
+      - mac: 02:1a:d6:87:c4:cc
+        pci: '0000:06:10.7'
+        source_name: 3
+        vlan: 105
+      - mac: ea:1b:8b:2a:da:9a
+        pci: '0000:06:11.1'
+        source_name: 4
+        vlan: 107
+      - mac: aa:c3:fe:e5:f2:96
+        pci: '0000:06:11.3'
+        source_name: 5
+        vlan: 102
+      - mac: e2:66:1f:00:b3:45
+        pci: '0000:06:11.5'
+        source_name: 6
+        vlan: 101
+      - mac: da:3c:d8:a3:f4:e0
+        pci: '0000:06:11.7'
+        source_name: 7
+        vlan: 100
+      mac: 90:e2:ba:0b:6b:b5
+    numa_socket: 0
+    hugepages: 28
+    memory: 32
+
diff --git a/test/hosts/host-example1.json b/test/hosts/host-example1.json
deleted file mode 100644
index 766aaef..0000000
--- a/test/hosts/host-example1.json
+++ /dev/null
@@ -1,698 +0,0 @@
-{
-"host":{
-    "name": "fake-host-1",
-    "user": "user",
-    "password": "password",
-    "ip_name": "fakehost1"
-},
-"host-data":
-{
-    "name": "fake-host-1",
-    "ranking": 300,
-    "description": "fake host 1 for test mode",
-    "ip_name": "fakehost1",
-    "features": "lps,dioc,hwsv,ht,64b,tlbps",
-    "user": "user",
-    "password": "password",
-    "numas": [
-        {
-            "cores": [
-                {
-                    "core_id": 0,
-                    "thread_id": 1,
-                    "status": "noteligible"
-                },
-                {
-                    "core_id": 0,
-                    "thread_id": 25,
-                    "status": "noteligible"
-                },
-                {
-                    "core_id": 1,
-                    "thread_id": 3
-                },
-                {
-                    "core_id": 1,
-                    "thread_id": 27
-                },
-                {
-                    "core_id": 2,
-                    "thread_id": 5
-                },
-                {
-                    "core_id": 2,
-                    "thread_id": 29
-                },
-                {
-                    "core_id": 3,
-                    "thread_id": 7
-                },
-                {
-                    "core_id": 3,
-                    "thread_id": 31
-                },
-                {
-                    "core_id": 4,
-                    "thread_id": 9
-                },
-                {
-                    "core_id": 4,
-                    "thread_id": 33
-                },
-                {
-                    "core_id": 5,
-                    "thread_id": 11
-                },
-                {
-                    "core_id": 5,
-                    "thread_id": 35
-                },
-                {
-                    "core_id": 6,
-                    "thread_id": 13
-                },
-                {
-                    "core_id": 6,
-                    "thread_id": 37
-                },
-                {
-                    "core_id": 7,
-                    "thread_id": 15
-                },
-                {
-                    "core_id": 7,
-                    "thread_id": 39
-                },
-                {
-                    "core_id": 8,
-                    "thread_id": 17
-                },
-                {
-                    "core_id": 8,
-                    "thread_id": 41
-                },
-                {
-                    "core_id": 9,
-                    "thread_id": 19
-                },
-                {
-                    "core_id": 9,
-                    "thread_id": 43
-                },
-                {
-                    "core_id": 10,
-                    "thread_id": 21
-                },
-                {
-                    "core_id": 10,
-                    "thread_id": 45
-                },
-                {
-                    "core_id": 11,
-                    "thread_id": 23
-                },
-                {
-                    "core_id": 11,
-                    "thread_id": 47
-                }
-            ],
-            "interfaces": [
-                {
-                    "source_name": "p2p1",
-                    "Mbps": 10000,
-                    "pci": "0000:44:00.0",
-                    "switch_port": "port0/4",
-                    "switch_dpid": "00:01:02:03:04:05:06:07",
-                    "sriovs": [
-                        {
-                            "mac": "4e:2e:a5:ab:7f:4b",
-                            "pci": "0000:44:10.0",
-                            "source_name": 0,
-                            "vlan": 102
-                        },
-                        {
-                            "mac": "a6:43:f6:4f:b6:ea",
-                            "pci": "0000:44:10.2",
-                            "source_name": 1,
-                            "vlan": 103
-                        },
-                        {
-                            "mac": "b2:fe:29:81:71:0a",
-                            "pci": "0000:44:10.4",
-                            "source_name": 2,
-                            "vlan": 104
-                        },
-                        {
-                            "mac": "aa:9d:13:62:80:e5",
-                            "pci": "0000:44:10.6",
-                            "source_name": 3,
-                            "vlan": 101
-                        },
-                        {
-                            "mac": "3a:30:7f:c6:67:04",
-                            "pci": "0000:44:11.0",
-                            "source_name": 4,
-                            "vlan": 107
-                        },
-                        {
-                            "mac": "c6:20:45:8f:30:08",
-                            "pci": "0000:44:11.2",
-                            "source_name": 5,
-                            "vlan": 100
-                        },
-                        {
-                            "mac": "66:3d:09:bc:d6:32",
-                            "pci": "0000:44:11.4",
-                            "source_name": 6,
-                            "vlan": 105
-                        },
-                        {
-                            "mac": "46:e5:0c:f6:c4:ae",
-                            "pci": "0000:44:11.6",
-                            "source_name": 7,
-                            "vlan": 106
-                        }
-                    ],
-                    "mac": "a0:36:9f:35:ed:14"
-                },
-                {
-                    "source_name": "p2p2",
-                    "Mbps": 10000,
-                    "pci": "0000:44:00.1",
-                    "switch_port": "port0/5",
-                    "switch_dpid": "00:01:02:03:04:05:06:07",
-                    "sriovs": [
-                        {
-                            "mac": "ea:b6:5d:98:d9:86",
-                            "pci": "0000:44:10.1",
-                            "source_name": 0,
-                            "vlan": 102
-                        },
-                        {
-                            "mac": "36:4c:31:5a:5f:66",
-                            "pci": "0000:44:10.3",
-                            "source_name": 1,
-                            "vlan": 103
-                        },
-                        {
-                            "mac": "42:a0:5d:fa:8d:8c",
-                            "pci": "0000:44:10.5",
-                            "source_name": 2,
-                            "vlan": 100
-                        },
-                        {
-                            "mac": "c6:50:23:c5:53:ff",
-                            "pci": "0000:44:10.7",
-                            "source_name": 3,
-                            "vlan": 104
-                        },
-                        {
-                            "mac": "12:2e:6c:79:a3:cc",
-                            "pci": "0000:44:11.1",
-                            "source_name": 4,
-                            "vlan": 101
-                        },
-                        {
-                            "mac": "be:f0:8e:7b:50:46",
-                            "pci": "0000:44:11.3",
-                            "source_name": 5,
-                            "vlan": 105
-                        },
-                        {
-                            "mac": "6e:6e:15:44:1c:1d",
-                            "pci": "0000:44:11.5",
-                            "source_name": 6,
-                            "vlan": 106
-                        },
-                        {
-                            "mac": "9a:e8:1e:e6:af:31",
-                            "pci": "0000:44:11.7",
-                            "source_name": 7,
-                            "vlan": 107
-                        }
-                    ],
-                    "mac": "a0:36:9f:35:ed:16"
-                },
-                {
-                    "source_name": "p3p2",
-                    "Mbps": 10000,
-                    "pci": "0000:43:00.1",
-                    "switch_port": "port0/7",
-                    "switch_dpid": "00:01:02:03:04:05:06:07",
-                    "sriovs": [
-                        {
-                            "mac": "2e:b7:dc:aa:9a:35",
-                            "pci": "0000:43:10.1",
-                            "source_name": 0,
-                            "vlan": 103
-                        },
-                        {
-                            "mac": "42:71:39:50:92:a5",
-                            "pci": "0000:43:10.3",
-                            "source_name": 1,
-                            "vlan": 100
-                        },
-                        {
-                            "mac": "22:ac:a0:64:a4:00",
-                            "pci": "0000:43:10.5",
-                            "source_name": 2,
-                            "vlan": 101
-                        },
-                        {
-                            "mac": "7e:81:e0:56:c0:aa",
-                            "pci": "0000:43:10.7",
-                            "source_name": 3,
-                            "vlan": 102
-                        },
-                        {
-                            "mac": "de:87:8d:ed:81:1a",
-                            "pci": "0000:43:11.1",
-                            "source_name": 4,
-                            "vlan": 104
-                        },
-                        {
-                            "mac": "fe:29:e9:da:45:df",
-                            "pci": "0000:43:11.3",
-                            "source_name": 5,
-                            "vlan": 105
-                        },
-                        {
-                            "mac": "b6:e7:67:46:22:de",
-                            "pci": "0000:43:11.5",
-                            "source_name": 6,
-                            "vlan": 106
-                        },
-                        {
-                            "mac": "5e:9e:10:7a:66:e9",
-                            "pci": "0000:43:11.7",
-                            "source_name": 7,
-                            "vlan": 107
-                        }
-                    ],
-                    "mac": "a0:36:9f:35:ed:0a"
-                },
-                {
-                    "source_name": "p3p1",
-                    "Mbps": 10000,
-                    "pci": "0000:43:00.0",
-                    "switch_port": "port0/6",
-                    "switch_dpid": "00:01:02:03:04:05:06:07",
-                    "sriovs": [
-                        {
-                            "mac": "5e:2e:05:67:7b:05",
-                            "pci": "0000:43:10.0",
-                            "source_name": 0,
-                            "vlan": 102
-                        },
-                        {
-                            "mac": "fa:a4:01:f0:7e:d4",
-                            "pci": "0000:43:10.2",
-                            "source_name": 1,
-                            "vlan": 103
-                        },
-                        {
-                            "mac": "32:aa:7b:9a:e3:6b",
-                            "pci": "0000:43:10.4",
-                            "source_name": 2,
-                            "vlan": 100
-                        },
-                        {
-                            "mac": "fa:8d:b3:2f:a6:59",
-                            "pci": "0000:43:10.6",
-                            "source_name": 3,
-                            "vlan": 101
-                        },
-                        {
-                            "mac": "f2:92:f3:f0:ba:06",
-                            "pci": "0000:43:11.0",
-                            "source_name": 4,
-                            "vlan": 104
-                        },
-                        {
-                            "mac": "c2:8a:1b:55:13:52",
-                            "pci": "0000:43:11.2",
-                            "source_name": 5,
-                            "vlan": 105
-                        },
-                        {
-                            "mac": "5a:55:8e:f4:a5:4f",
-                            "pci": "0000:43:11.4",
-                            "source_name": 6,
-                            "vlan": 107
-                        },
-                        {
-                            "mac": "8a:21:a1:bb:d4:b2",
-                            "pci": "0000:43:11.6",
-                            "source_name": 7,
-                            "vlan": 106
-                        }
-                    ],
-                    "mac": "a0:36:9f:35:ed:08"
-                }
-            ],
-            "numa_socket": 1,
-            "hugepages": 28,
-            "memory": 32
-        },
-        {
-            "cores": [
-                {
-                    "core_id": 0,
-                    "thread_id": 0,
-                    "status": "noteligible"
-                },
-                {
-                    "core_id": 0,
-                    "thread_id": 24,
-                    "status": "noteligible"
-                },
-                {
-                    "core_id": 1,
-                    "thread_id": 2
-                },
-                {
-                    "core_id": 1,
-                    "thread_id": 26
-                },
-                {
-                    "core_id": 2,
-                    "thread_id": 4
-                },
-                {
-                    "core_id": 2,
-                    "thread_id": 28
-                },
-                {
-                    "core_id": 3,
-                    "thread_id": 6
-                },
-                {
-                    "core_id": 3,
-                    "thread_id": 30
-                },
-                {
-                    "core_id": 4,
-                    "thread_id": 8
-                },
-                {
-                    "core_id": 4,
-                    "thread_id": 32
-                },
-                {
-                    "core_id": 5,
-                    "thread_id": 10
-                },
-                {
-                    "core_id": 5,
-                    "thread_id": 34
-                },
-                {
-                    "core_id": 6,
-                    "thread_id": 12
-                },
-                {
-                    "core_id": 6,
-                    "thread_id": 36
-                },
-                {
-                    "core_id": 7,
-                    "thread_id": 14
-                },
-                {
-                    "core_id": 7,
-                    "thread_id": 38
-                },
-                {
-                    "core_id": 8,
-                    "thread_id": 16
-                },
-                {
-                    "core_id": 8,
-                    "thread_id": 40
-                },
-                {
-                    "core_id": 9,
-                    "thread_id": 18
-                },
-                {
-                    "core_id": 9,
-                    "thread_id": 42
-                },
-                {
-                    "core_id": 10,
-                    "thread_id": 20
-                },
-                {
-                    "core_id": 10,
-                    "thread_id": 44
-                },
-                {
-                    "core_id": 11,
-                    "thread_id": 22
-                },
-                {
-                    "core_id": 11,
-                    "thread_id": 46
-                }
-            ],
-            "interfaces": [
-                {
-                    "source_name": "p5p1",
-                    "Mbps": 10000,
-                    "pci": "0000:04:00.0",
-                    "switch_port": "port0/8",
-                    "switch_dpid": "00:01:02:03:04:05:06:07",
-                    "sriovs": [
-                        {
-                            "mac": "46:28:47:80:9d:fe",
-                            "pci": "0000:04:10.0",
-                            "source_name": 0,
-                            "vlan": 104
-                        },
-                        {
-                            "mac": "5a:5d:cb:52:93:66",
-                            "pci": "0000:04:10.2",
-                            "source_name": 1,
-                            "vlan": 105
-                        },
-                        {
-                            "mac": "42:42:2e:2d:44:9d",
-                            "pci": "0000:04:10.4",
-                            "source_name": 2,
-                            "vlan": 106
-                        },
-                        {
-                            "mac": "4a:ef:c2:a5:c8:ad",
-                            "pci": "0000:04:10.6",
-                            "source_name": 3,
-                            "vlan": 107
-                        },
-                        {
-                            "mac": "0a:0c:b1:8b:da:c6",
-                            "pci": "0000:04:11.0",
-                            "source_name": 4,
-                            "vlan": 102
-                        },
-                        {
-                            "mac": "46:e7:85:ad:1f:3e",
-                            "pci": "0000:04:11.2",
-                            "source_name": 5,
-                            "vlan": 103
-                        },
-                        {
-                            "mac": "5e:a4:8f:8f:b0:53",
-                            "pci": "0000:04:11.4",
-                            "source_name": 6,
-                            "vlan": 100
-                        },
-                        {
-                            "mac": "d2:76:f2:21:fb:42",
-                            "pci": "0000:04:11.6",
-                            "source_name": 7,
-                            "vlan": 101
-                        }
-                    ],
-                    "mac": "a0:36:9f:33:09:6c"
-                },
-                {
-                    "source_name": "p5p2",
-                    "Mbps": 10000,
-                    "pci": "0000:04:00.1",
-                    "switch_port": "port0/9",
-                    "switch_dpid": "00:01:02:03:04:05:06:07",
-                    "sriovs": [
-                        {
-                            "mac": "f2:c8:15:59:9d:9e",
-                            "pci": "0000:04:10.1",
-                            "source_name": 0,
-                            "vlan": 104
-                        },
-                        {
-                            "mac": "ca:30:b2:c2:d9:d6",
-                            "pci": "0000:04:10.3",
-                            "source_name": 1,
-                            "vlan": 105
-                        },
-                        {
-                            "mac": "1a:03:de:f7:f5:db",
-                            "pci": "0000:04:10.5",
-                            "source_name": 2,
-                            "vlan": 106
-                        },
-                        {
-                            "mac": "ca:6d:e0:c3:1e:f5",
-                            "pci": "0000:04:10.7",
-                            "source_name": 3,
-                            "vlan": 107
-                        },
-                        {
-                            "mac": "aa:35:ab:70:29:5c",
-                            "pci": "0000:04:11.1",
-                            "source_name": 4,
-                            "vlan": 102
-                        },
-                        {
-                            "mac": "02:b3:c4:a6:12:df",
-                            "pci": "0000:04:11.3",
-                            "source_name": 5,
-                            "vlan": 103
-                        },
-                        {
-                            "mac": "52:4f:13:67:d5:1f",
-                            "pci": "0000:04:11.5",
-                            "source_name": 6,
-                            "vlan": 100
-                        },
-                        {
-                            "mac": "3a:7f:b2:58:61:81",
-                            "pci": "0000:04:11.7",
-                            "source_name": 7,
-                            "vlan": 101
-                        }
-                    ],
-                    "mac": "a0:36:9f:33:09:6e"
-                },
-                {
-                    "source_name": "p7p1",
-                    "Mbps": 10000,
-                    "pci": "0000:06:00.0",
-                    "switch_port": "port0/10",
-                    "switch_dpid": "00:01:02:03:04:05:06:07",
-                    "sriovs": [
-                        {
-                            "mac": "6e:51:ee:3c:66:fa",
-                            "pci": "0000:06:10.0",
-                            "source_name": 0,
-                            "vlan": 104
-                        },
-                        {
-                            "mac": "26:0c:7a:db:9b:7e",
-                            "pci": "0000:06:10.2",
-                            "source_name": 1,
-                            "vlan": 103
-                        },
-                        {
-                            "mac": "66:b0:59:cf:6b:fc",
-                            "pci": "0000:06:10.4",
-                            "source_name": 2,
-                            "vlan": 106
-                        },
-                        {
-                            "mac": "f6:52:a5:ff:97:b9",
-                            "pci": "0000:06:10.6",
-                            "source_name": 3,
-                            "vlan": 105
-                        },
-                        {
-                            "mac": "4a:5c:b2:6a:25:15",
-                            "pci": "0000:06:11.0",
-                            "source_name": 4,
-                            "vlan": 107
-                        },
-                        {
-                            "mac": "86:0f:85:c2:42:b1",
-                            "pci": "0000:06:11.2",
-                            "source_name": 5,
-                            "vlan": 102
-                        },
-                        {
-                            "mac": "b2:3d:24:1d:3e:40",
-                            "pci": "0000:06:11.4",
-                            "source_name": 6,
-                            "vlan": 101
-                        },
-                        {
-                            "mac": "ca:3f:fc:7b:32:36",
-                            "pci": "0000:06:11.6",
-                            "source_name": 7,
-                            "vlan": 100
-                        }
-                    ],
-                    "mac": "a0:36:9f:33:0c:d4"
-                },
-                {
-                    "source_name": "p7p2",
-                    "Mbps": 10000,
-                    "pci": "0000:06:00.1",
-                    "switch_port": "port0/11",
-                    "switch_dpid": "00:01:02:03:04:05:06:07",
-                    "sriovs": [
-                        {
-                            "mac": "76:28:ae:b5:31:25",
-                            "pci": "0000:06:10.1",
-                            "source_name": 0,
-                            "vlan": 104
-                        },
-                        {
-                            "mac": "5e:fa:d1:f7:eb:44",
-                            "pci": "0000:06:10.3",
-                            "source_name": 1,
-                            "vlan": 103
-                        },
-                        {
-                            "mac": "56:d3:6a:b0:af:2e",
-                            "pci": "0000:06:10.5",
-                            "source_name": 2,
-                            "vlan": 106
-                        },
-                        {
-                            "mac": "3e:75:f3:00:aa:ba",
-                            "pci": "0000:06:10.7",
-                            "source_name": 3,
-                            "vlan": 105
-                        },
-                        {
-                            "mac": "5e:fd:b0:e2:59:47",
-                            "pci": "0000:06:11.1",
-                            "source_name": 4,
-                            "vlan": 107
-                        },
-                        {
-                            "mac": "ee:a7:2f:ab:73:0f",
-                            "pci": "0000:06:11.3",
-                            "source_name": 5,
-                            "vlan": 102
-                        },
-                        {
-                            "mac": "d6:e9:f1:c6:40:00",
-                            "pci": "0000:06:11.5",
-                            "source_name": 6,
-                            "vlan": 101
-                        },
-                        {
-                            "mac": "36:b0:af:0e:5b:68",
-                            "pci": "0000:06:11.7",
-                            "source_name": 7,
-                            "vlan": 100
-                        }
-                    ],
-                    "mac": "a0:36:9f:33:0c:d6"
-                }
-            ],
-            "numa_socket": 0,
-            "hugepages": 28,
-            "memory": 32
-        }
-    ]
-}
-}
diff --git a/test/hosts/host-example1.yaml b/test/hosts/host-example1.yaml
new file mode 100644
index 0000000..acbd7db
--- /dev/null
+++ b/test/hosts/host-example1.yaml
@@ -0,0 +1,459 @@
+##
+# Copyright 2016 Telefónica Investigación y Desarrollo, S.A.U.
+# This file is part of openvim
+# All Rights Reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+#         http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+#
+# For those usages not covered by the Apache License, Version 2.0 please
+# contact with: nfvlabs@tid.es
+##
+
+---
+host:
+  name: fake-host-1
+  user: user
+  password: password
+  ip_name: fakehost1
+host-data:
+  name: fake-host-1
+  ranking: 300
+  description: fake host 1 for test mode
+  ip_name: fakehost1
+  features: lps,dioc,hwsv,ht,64b,tlbps
+  user: user
+  password: password
+  numas:
+  - cores:
+    - core_id: 0
+      thread_id: 1
+      status: noteligible
+    - core_id: 0
+      thread_id: 25
+      status: noteligible
+    - core_id: 1
+      thread_id: 3
+    - core_id: 1
+      thread_id: 27
+    - core_id: 2
+      thread_id: 5
+    - core_id: 2
+      thread_id: 29
+    - core_id: 3
+      thread_id: 7
+    - core_id: 3
+      thread_id: 31
+    - core_id: 4
+      thread_id: 9
+    - core_id: 4
+      thread_id: 33
+    - core_id: 5
+      thread_id: 11
+    - core_id: 5
+      thread_id: 35
+    - core_id: 6
+      thread_id: 13
+    - core_id: 6
+      thread_id: 37
+    - core_id: 7
+      thread_id: 15
+    - core_id: 7
+      thread_id: 39
+    - core_id: 8
+      thread_id: 17
+    - core_id: 8
+      thread_id: 41
+    - core_id: 9
+      thread_id: 19
+    - core_id: 9
+      thread_id: 43
+    - core_id: 10
+      thread_id: 21
+    - core_id: 10
+      thread_id: 45
+    - core_id: 11
+      thread_id: 23
+    - core_id: 11
+      thread_id: 47
+    interfaces:
+    - source_name: p2p1
+      Mbps: 10000
+      pci: '0000:44:00.0'
+      switch_port: port0/4
+      switch_dpid: '00:01:02:03:04:05:06:07'
+      sriovs:
+      - mac: 4e:2e:a5:ab:7f:4b
+        pci: '0000:44:10.0'
+        source_name: 0
+        vlan: 102
+      - mac: a6:43:f6:4f:b6:ea
+        pci: '0000:44:10.2'
+        source_name: 1
+        vlan: 103
+      - mac: b2:fe:29:81:71:0a
+        pci: '0000:44:10.4'
+        source_name: 2
+        vlan: 104
+      - mac: aa:9d:13:62:80:e5
+        pci: '0000:44:10.6'
+        source_name: 3
+        vlan: 101
+      - mac: 3a:30:7f:c6:67:04
+        pci: '0000:44:11.0'
+        source_name: 4
+        vlan: 107
+      - mac: c6:20:45:8f:30:08
+        pci: '0000:44:11.2'
+        source_name: 5
+        vlan: 100
+      - mac: 66:3d:09:bc:d6:32
+        pci: '0000:44:11.4'
+        source_name: 6
+        vlan: 105
+      - mac: 46:e5:0c:f6:c4:ae
+        pci: '0000:44:11.6'
+        source_name: 7
+        vlan: 106
+      mac: a0:36:9f:35:ed:14
+    - source_name: p2p2
+      Mbps: 10000
+      pci: '0000:44:00.1'
+      switch_port: port0/5
+      switch_dpid: '00:01:02:03:04:05:06:07'
+      sriovs:
+      - mac: ea:b6:5d:98:d9:86
+        pci: '0000:44:10.1'
+        source_name: 0
+        vlan: 102
+      - mac: 36:4c:31:5a:5f:66
+        pci: '0000:44:10.3'
+        source_name: 1
+        vlan: 103
+      - mac: 42:a0:5d:fa:8d:8c
+        pci: '0000:44:10.5'
+        source_name: 2
+        vlan: 100
+      - mac: c6:50:23:c5:53:ff
+        pci: '0000:44:10.7'
+        source_name: 3
+        vlan: 104
+      - mac: 12:2e:6c:79:a3:cc
+        pci: '0000:44:11.1'
+        source_name: 4
+        vlan: 101
+      - mac: be:f0:8e:7b:50:46
+        pci: '0000:44:11.3'
+        source_name: 5
+        vlan: 105
+      - mac: 6e:6e:15:44:1c:1d
+        pci: '0000:44:11.5'
+        source_name: 6
+        vlan: 106
+      - mac: 9a:e8:1e:e6:af:31
+        pci: '0000:44:11.7'
+        source_name: 7
+        vlan: 107
+      mac: a0:36:9f:35:ed:16
+    - source_name: p3p2
+      Mbps: 10000
+      pci: '0000:43:00.1'
+      switch_port: port0/7
+      switch_dpid: '00:01:02:03:04:05:06:07'
+      sriovs:
+      - mac: 2e:b7:dc:aa:9a:35
+        pci: '0000:43:10.1'
+        source_name: 0
+        vlan: 103
+      - mac: 42:71:39:50:92:a5
+        pci: '0000:43:10.3'
+        source_name: 1
+        vlan: 100
+      - mac: 22:ac:a0:64:a4:00
+        pci: '0000:43:10.5'
+        source_name: 2
+        vlan: 101
+      - mac: 7e:81:e0:56:c0:aa
+        pci: '0000:43:10.7'
+        source_name: 3
+        vlan: 102
+      - mac: de:87:8d:ed:81:1a
+        pci: '0000:43:11.1'
+        source_name: 4
+        vlan: 104
+      - mac: fe:29:e9:da:45:df
+        pci: '0000:43:11.3'
+        source_name: 5
+        vlan: 105
+      - mac: b6:e7:67:46:22:de
+        pci: '0000:43:11.5'
+        source_name: 6
+        vlan: 106
+      - mac: 5e:9e:10:7a:66:e9
+        pci: '0000:43:11.7'
+        source_name: 7
+        vlan: 107
+      mac: a0:36:9f:35:ed:0a
+    - source_name: p3p1
+      Mbps: 10000
+      pci: '0000:43:00.0'
+      switch_port: port0/6
+      switch_dpid: '00:01:02:03:04:05:06:07'
+      sriovs:
+      - mac: 5e:2e:05:67:7b:05
+        pci: '0000:43:10.0'
+        source_name: 0
+        vlan: 102
+      - mac: fa:a4:01:f0:7e:d4
+        pci: '0000:43:10.2'
+        source_name: 1
+        vlan: 103
+      - mac: 32:aa:7b:9a:e3:6b
+        pci: '0000:43:10.4'
+        source_name: 2
+        vlan: 100
+      - mac: fa:8d:b3:2f:a6:59
+        pci: '0000:43:10.6'
+        source_name: 3
+        vlan: 101
+      - mac: f2:92:f3:f0:ba:06
+        pci: '0000:43:11.0'
+        source_name: 4
+        vlan: 104
+      - mac: c2:8a:1b:55:13:52
+        pci: '0000:43:11.2'
+        source_name: 5
+        vlan: 105
+      - mac: 5a:55:8e:f4:a5:4f
+        pci: '0000:43:11.4'
+        source_name: 6
+        vlan: 107
+      - mac: 8a:21:a1:bb:d4:b2
+        pci: '0000:43:11.6'
+        source_name: 7
+        vlan: 106
+      mac: a0:36:9f:35:ed:08
+    numa_socket: 1
+    hugepages: 28
+    memory: 32
+  - cores:
+    - core_id: 0
+      thread_id: 0
+      status: noteligible
+    - core_id: 0
+      thread_id: 24
+      status: noteligible
+    - core_id: 1
+      thread_id: 2
+    - core_id: 1
+      thread_id: 26
+    - core_id: 2
+      thread_id: 4
+    - core_id: 2
+      thread_id: 28
+    - core_id: 3
+      thread_id: 6
+    - core_id: 3
+      thread_id: 30
+    - core_id: 4
+      thread_id: 8
+    - core_id: 4
+      thread_id: 32
+    - core_id: 5
+      thread_id: 10
+    - core_id: 5
+      thread_id: 34
+    - core_id: 6
+      thread_id: 12
+    - core_id: 6
+      thread_id: 36
+    - core_id: 7
+      thread_id: 14
+    - core_id: 7
+      thread_id: 38
+    - core_id: 8
+      thread_id: 16
+    - core_id: 8
+      thread_id: 40
+    - core_id: 9
+      thread_id: 18
+    - core_id: 9
+      thread_id: 42
+    - core_id: 10
+      thread_id: 20
+    - core_id: 10
+      thread_id: 44
+    - core_id: 11
+      thread_id: 22
+    - core_id: 11
+      thread_id: 46
+    interfaces:
+    - source_name: p5p1
+      Mbps: 10000
+      pci: '0000:04:00.0'
+      switch_port: port0/8
+      switch_dpid: '00:01:02:03:04:05:06:07'
+      sriovs:
+      - mac: 46:28:47:80:9d:fe
+        pci: '0000:04:10.0'
+        source_name: 0
+        vlan: 104
+      - mac: 5a:5d:cb:52:93:66
+        pci: '0000:04:10.2'
+        source_name: 1
+        vlan: 105
+      - mac: 42:42:2e:2d:44:9d
+        pci: '0000:04:10.4'
+        source_name: 2
+        vlan: 106
+      - mac: 4a:ef:c2:a5:c8:ad
+        pci: '0000:04:10.6'
+        source_name: 3
+        vlan: 107
+      - mac: 0a:0c:b1:8b:da:c6
+        pci: '0000:04:11.0'
+        source_name: 4
+        vlan: 102
+      - mac: 46:e7:85:ad:1f:3e
+        pci: '0000:04:11.2'
+        source_name: 5
+        vlan: 103
+      - mac: 5e:a4:8f:8f:b0:53
+        pci: '0000:04:11.4'
+        source_name: 6
+        vlan: 100
+      - mac: d2:76:f2:21:fb:42
+        pci: '0000:04:11.6'
+        source_name: 7
+        vlan: 101
+      mac: a0:36:9f:33:09:6c
+    - source_name: p5p2
+      Mbps: 10000
+      pci: '0000:04:00.1'
+      switch_port: port0/9
+      switch_dpid: '00:01:02:03:04:05:06:07'
+      sriovs:
+      - mac: f2:c8:15:59:9d:9e
+        pci: '0000:04:10.1'
+        source_name: 0
+        vlan: 104
+      - mac: ca:30:b2:c2:d9:d6
+        pci: '0000:04:10.3'
+        source_name: 1
+        vlan: 105
+      - mac: 1a:03:de:f7:f5:db
+        pci: '0000:04:10.5'
+        source_name: 2
+        vlan: 106
+      - mac: ca:6d:e0:c3:1e:f5
+        pci: '0000:04:10.7'
+        source_name: 3
+        vlan: 107
+      - mac: aa:35:ab:70:29:5c
+        pci: '0000:04:11.1'
+        source_name: 4
+        vlan: 102
+      - mac: 02:b3:c4:a6:12:df
+        pci: '0000:04:11.3'
+        source_name: 5
+        vlan: 103
+      - mac: 52:4f:13:67:d5:1f
+        pci: '0000:04:11.5'
+        source_name: 6
+        vlan: 100
+      - mac: 3a:7f:b2:58:61:81
+        pci: '0000:04:11.7'
+        source_name: 7
+        vlan: 101
+      mac: a0:36:9f:33:09:6e
+    - source_name: p7p1
+      Mbps: 10000
+      pci: '0000:06:00.0'
+      switch_port: port0/10
+      switch_dpid: '00:01:02:03:04:05:06:07'
+      sriovs:
+      - mac: 6e:51:ee:3c:66:fa
+        pci: '0000:06:10.0'
+        source_name: 0
+        vlan: 104
+      - mac: 26:0c:7a:db:9b:7e
+        pci: '0000:06:10.2'
+        source_name: 1
+        vlan: 103
+      - mac: 66:b0:59:cf:6b:fc
+        pci: '0000:06:10.4'
+        source_name: 2
+        vlan: 106
+      - mac: f6:52:a5:ff:97:b9
+        pci: '0000:06:10.6'
+        source_name: 3
+        vlan: 105
+      - mac: 4a:5c:b2:6a:25:15
+        pci: '0000:06:11.0'
+        source_name: 4
+        vlan: 107
+      - mac: 86:0f:85:c2:42:b1
+        pci: '0000:06:11.2'
+        source_name: 5
+        vlan: 102
+      - mac: b2:3d:24:1d:3e:40
+        pci: '0000:06:11.4'
+        source_name: 6
+        vlan: 101
+      - mac: ca:3f:fc:7b:32:36
+        pci: '0000:06:11.6'
+        source_name: 7
+        vlan: 100
+      mac: a0:36:9f:33:0c:d4
+    - source_name: p7p2
+      Mbps: 10000
+      pci: '0000:06:00.1'
+      switch_port: port0/11
+      switch_dpid: '00:01:02:03:04:05:06:07'
+      sriovs:
+      - mac: 76:28:ae:b5:31:25
+        pci: '0000:06:10.1'
+        source_name: 0
+        vlan: 104
+      - mac: 5e:fa:d1:f7:eb:44
+        pci: '0000:06:10.3'
+        source_name: 1
+        vlan: 103
+      - mac: 56:d3:6a:b0:af:2e
+        pci: '0000:06:10.5'
+        source_name: 2
+        vlan: 106
+      - mac: 3e:75:f3:00:aa:ba
+        pci: '0000:06:10.7'
+        source_name: 3
+        vlan: 105
+      - mac: 5e:fd:b0:e2:59:47
+        pci: '0000:06:11.1'
+        source_name: 4
+        vlan: 107
+      - mac: ee:a7:2f:ab:73:0f
+        pci: '0000:06:11.3'
+        source_name: 5
+        vlan: 102
+      - mac: d6:e9:f1:c6:40:00
+        pci: '0000:06:11.5'
+        source_name: 6
+        vlan: 101
+      - mac: 36:b0:af:0e:5b:68
+        pci: '0000:06:11.7'
+        source_name: 7
+        vlan: 100
+      mac: a0:36:9f:33:0c:d6
+    numa_socket: 0
+    hugepages: 28
+    memory: 32
+
diff --git a/test/hosts/host-example2.json b/test/hosts/host-example2.json
deleted file mode 100644
index ddda8f7..0000000
--- a/test/hosts/host-example2.json
+++ /dev/null
@@ -1,698 +0,0 @@
-{
-    "host":{
-        "name": "fake-host-2",
-        "user": "user", 
-        "password": "password", 
-        "ip_name": "fakehost2" 
-    },
-"host-data":
-{
-    "name": "fake-host-2",
-    "ranking": 300,
-    "description": "fake host 2 for test mode",
-    "ip_name": "fakehost2",
-    "features": "lps,dioc,hwsv,ht,64b,tlbps",
-    "user": "user",
-    "password": "password",
-    "numas": [
-        {
-            "cores": [
-                {
-                    "core_id": 0,
-                    "thread_id": 1,
-                    "status": "noteligible"
-                },
-                {
-                    "core_id": 0,
-                    "thread_id": 25,
-                    "status": "noteligible"
-                },
-                {
-                    "core_id": 1,
-                    "thread_id": 3
-                },
-                {
-                    "core_id": 1,
-                    "thread_id": 27
-                },
-                {
-                    "core_id": 2,
-                    "thread_id": 5
-                },
-                {
-                    "core_id": 2,
-                    "thread_id": 29
-                },
-                {
-                    "core_id": 3,
-                    "thread_id": 7
-                },
-                {
-                    "core_id": 3,
-                    "thread_id": 31
-                },
-                {
-                    "core_id": 4,
-                    "thread_id": 9
-                },
-                {
-                    "core_id": 4,
-                    "thread_id": 33
-                },
-                {
-                    "core_id": 5,
-                    "thread_id": 11
-                },
-                {
-                    "core_id": 5,
-                    "thread_id": 35
-                },
-                {
-                    "core_id": 6,
-                    "thread_id": 13
-                },
-                {
-                    "core_id": 6,
-                    "thread_id": 37
-                },
-                {
-                    "core_id": 7,
-                    "thread_id": 15
-                },
-                {
-                    "core_id": 7,
-                    "thread_id": 39
-                },
-                {
-                    "core_id": 8,
-                    "thread_id": 17
-                },
-                {
-                    "core_id": 8,
-                    "thread_id": 41
-                },
-                {
-                    "core_id": 9,
-                    "thread_id": 19
-                },
-                {
-                    "core_id": 9,
-                    "thread_id": 43
-                },
-                {
-                    "core_id": 10,
-                    "thread_id": 21
-                },
-                {
-                    "core_id": 10,
-                    "thread_id": 45
-                },
-                {
-                    "core_id": 11,
-                    "thread_id": 23
-                },
-                {
-                    "core_id": 11,
-                    "thread_id": 47
-                }
-            ],
-            "interfaces": [
-                {
-                    "source_name": "p2p1",
-                    "Mbps": 10000,
-                    "pci": "0000:44:00.0",
-                    "switch_port": "port0/12",
-                    "switch_dpid": "00:01:02:03:04:05:06:07",
-                    "sriovs": [
-                        {
-                            "mac": "fe:49:52:59:2f:0b",
-                            "pci": "0000:44:10.0",
-                            "source_name": 0,
-                            "vlan": 102
-                        },
-                        {
-                            "mac": "16:df:ee:65:d1:a9",
-                            "pci": "0000:44:10.2",
-                            "source_name": 1,
-                            "vlan": 103
-                        },
-                        {
-                            "mac": "e6:10:3a:09:cc:eb",
-                            "pci": "0000:44:10.4",
-                            "source_name": 2,
-                            "vlan": 104
-                        },
-                        {
-                            "mac": "f6:8e:ef:92:70:9a",
-                            "pci": "0000:44:10.6",
-                            "source_name": 3,
-                            "vlan": 101
-                        },
-                        {
-                            "mac": "fa:a5:0e:21:bc:89",
-                            "pci": "0000:44:11.0",
-                            "source_name": 4,
-                            "vlan": 107
-                        },
-                        {
-                            "mac": "fa:72:5a:b0:07:44",
-                            "pci": "0000:44:11.2",
-                            "source_name": 5,
-                            "vlan": 100
-                        },
-                        {
-                            "mac": "3e:8f:5c:1a:5d:e1",
-                            "pci": "0000:44:11.4",
-                            "source_name": 6,
-                            "vlan": 105
-                        },
-                        {
-                            "mac": "f2:e0:34:e2:e1:2d",
-                            "pci": "0000:44:11.6",
-                            "source_name": 7,
-                            "vlan": 106
-                        }
-                    ],
-                    "mac": "a0:36:9f:35:e9:a0"
-                },
-                {
-                    "source_name": "p2p2",
-                    "Mbps": 10000,
-                    "pci": "0000:44:00.1",
-                    "switch_port": "port0/13",
-                    "switch_dpid": "00:01:02:03:04:05:06:07",
-                    "sriovs": [
-                        {
-                            "mac": "ba:76:24:e0:79:75",
-                            "pci": "0000:44:10.1",
-                            "source_name": 0,
-                            "vlan": 102
-                        },
-                        {
-                            "mac": "b2:26:81:5b:18:7b",
-                            "pci": "0000:44:10.3",
-                            "source_name": 1,
-                            "vlan": 103
-                        },
-                        {
-                            "mac": "da:46:a9:f4:ab:42",
-                            "pci": "0000:44:10.5",
-                            "source_name": 2,
-                            "vlan": 100
-                        },
-                        {
-                            "mac": "86:e0:ec:33:cc:18",
-                            "pci": "0000:44:10.7",
-                            "source_name": 3,
-                            "vlan": 104
-                        },
-                        {
-                            "mac": "ee:ee:49:da:20:75",
-                            "pci": "0000:44:11.1",
-                            "source_name": 4,
-                            "vlan": 101
-                        },
-                        {
-                            "mac": "be:fa:18:da:f3:ba",
-                            "pci": "0000:44:11.3",
-                            "source_name": 5,
-                            "vlan": 105
-                        },
-                        {
-                            "mac": "96:fa:8d:ed:50:02",
-                            "pci": "0000:44:11.5",
-                            "source_name": 6,
-                            "vlan": 106
-                        },
-                        {
-                            "mac": "22:1b:cb:33:a7:5a",
-                            "pci": "0000:44:11.7",
-                            "source_name": 7,
-                            "vlan": 107
-                        }
-                    ],
-                    "mac": "a0:36:9f:35:e9:a2"
-                },
-                {
-                    "source_name": "p3p2",
-                    "Mbps": 10000,
-                    "pci": "0000:43:00.1",
-                    "switch_port": "port0/15",
-                    "switch_dpid": "00:01:02:03:04:05:06:07",
-                    "sriovs": [
-                        {
-                            "mac": "a6:6e:28:6c:5b:04",
-                            "pci": "0000:43:10.1",
-                            "source_name": 0,
-                            "vlan": 103
-                        },
-                        {
-                            "mac": "be:35:42:86:3d:fd",
-                            "pci": "0000:43:10.3",
-                            "source_name": 1,
-                            "vlan": 100
-                        },
-                        {
-                            "mac": "0a:92:99:92:02:e4",
-                            "pci": "0000:43:10.5",
-                            "source_name": 2,
-                            "vlan": 101
-                        },
-                        {
-                            "mac": "b6:a6:3a:f1:1e:57",
-                            "pci": "0000:43:10.7",
-                            "source_name": 3,
-                            "vlan": 102
-                        },
-                        {
-                            "mac": "be:3f:1a:ef:76:c0",
-                            "pci": "0000:43:11.1",
-                            "source_name": 4,
-                            "vlan": 104
-                        },
-                        {
-                            "mac": "6a:cc:a6:bf:61:cd",
-                            "pci": "0000:43:11.3",
-                            "source_name": 5,
-                            "vlan": 105
-                        },
-                        {
-                            "mac": "fe:c1:15:a9:c5:12",
-                            "pci": "0000:43:11.5",
-                            "source_name": 6,
-                            "vlan": 106
-                        },
-                        {
-                            "mac": "6a:ff:59:aa:63:34",
-                            "pci": "0000:43:11.7",
-                            "source_name": 7,
-                            "vlan": 107
-                        }
-                    ],
-                    "mac": "a0:36:9f:35:ed:42"
-                },
-                {
-                    "source_name": "p3p1",
-                    "Mbps": 10000,
-                    "pci": "0000:43:00.0",
-                    "switch_port": "port0/14",
-                    "switch_dpid": "00:01:02:03:04:05:06:07",
-                    "sriovs": [
-                        {
-                            "mac": "c6:18:cb:6c:c4:04",
-                            "pci": "0000:43:10.0",
-                            "source_name": 0,
-                            "vlan": 102
-                        },
-                        {
-                            "mac": "a6:4e:90:89:90:d8",
-                            "pci": "0000:43:10.2",
-                            "source_name": 1,
-                            "vlan": 103
-                        },
-                        {
-                            "mac": "fe:9a:82:91:a5:3a",
-                            "pci": "0000:43:10.4",
-                            "source_name": 2,
-                            "vlan": 100
-                        },
-                        {
-                            "mac": "22:a3:ef:27:50:fd",
-                            "pci": "0000:43:10.6",
-                            "source_name": 3,
-                            "vlan": 101
-                        },
-                        {
-                            "mac": "c6:57:98:69:67:e2",
-                            "pci": "0000:43:11.0",
-                            "source_name": 4,
-                            "vlan": 104
-                        },
-                        {
-                            "mac": "6a:f9:81:ae:40:94",
-                            "pci": "0000:43:11.2",
-                            "source_name": 5,
-                            "vlan": 105
-                        },
-                        {
-                            "mac": "86:00:37:7f:6e:05",
-                            "pci": "0000:43:11.4",
-                            "source_name": 6,
-                            "vlan": 107
-                        },
-                        {
-                            "mac": "f2:e6:fc:7d:71:9b",
-                            "pci": "0000:43:11.6",
-                            "source_name": 7,
-                            "vlan": 106
-                        }
-                    ],
-                    "mac": "a0:36:9f:35:ed:40"
-                }
-            ],
-            "numa_socket": 1,
-            "hugepages": 60,
-            "memory": 64
-        },
-        {
-            "cores": [
-                {
-                    "core_id": 0,
-                    "thread_id": 0,
-                    "status": "noteligible"
-                },
-                {
-                    "core_id": 0,
-                    "thread_id": 24,
-                    "status": "noteligible"
-                },
-                {
-                    "core_id": 1,
-                    "thread_id": 2
-                },
-                {
-                    "core_id": 1,
-                    "thread_id": 26
-                },
-                {
-                    "core_id": 2,
-                    "thread_id": 4
-                },
-                {
-                    "core_id": 2,
-                    "thread_id": 28
-                },
-                {
-                    "core_id": 3,
-                    "thread_id": 6
-                },
-                {
-                    "core_id": 3,
-                    "thread_id": 30
-                },
-                {
-                    "core_id": 4,
-                    "thread_id": 8
-                },
-                {
-                    "core_id": 4,
-                    "thread_id": 32
-                },
-                {
-                    "core_id": 5,
-                    "thread_id": 10
-                },
-                {
-                    "core_id": 5,
-                    "thread_id": 34
-                },
-                {
-                    "core_id": 6,
-                    "thread_id": 12
-                },
-                {
-                    "core_id": 6,
-                    "thread_id": 36
-                },
-                {
-                    "core_id": 7,
-                    "thread_id": 14
-                },
-                {
-                    "core_id": 7,
-                    "thread_id": 38
-                },
-                {
-                    "core_id": 8,
-                    "thread_id": 16
-                },
-                {
-                    "core_id": 8,
-                    "thread_id": 40
-                },
-                {
-                    "core_id": 9,
-                    "thread_id": 18
-                },
-                {
-                    "core_id": 9,
-                    "thread_id": 42
-                },
-                {
-                    "core_id": 10,
-                    "thread_id": 20
-                },
-                {
-                    "core_id": 10,
-                    "thread_id": 44
-                },
-                {
-                    "core_id": 11,
-                    "thread_id": 22
-                },
-                {
-                    "core_id": 11,
-                    "thread_id": 46
-                }
-            ],
-            "interfaces": [
-                {
-                    "source_name": "p5p1",
-                    "Mbps": 10000,
-                    "pci": "0000:04:00.0",
-                    "switch_port": "port0/16",
-                    "switch_dpid": "00:01:02:03:04:05:06:07",
-                    "sriovs": [
-                        {
-                            "mac": "02:ef:c9:38:c7:01",
-                            "pci": "0000:04:10.0",
-                            "source_name": 0,
-                            "vlan": 104
-                        },
-                        {
-                            "mac": "92:04:e9:fe:c7:f9",
-                            "pci": "0000:04:10.2",
-                            "source_name": 1,
-                            "vlan": 105
-                        },
-                        {
-                            "mac": "a2:41:32:78:25:48",
-                            "pci": "0000:04:10.4",
-                            "source_name": 2,
-                            "vlan": 106
-                        },
-                        {
-                            "mac": "9e:65:ab:e8:a0:2b",
-                            "pci": "0000:04:10.6",
-                            "source_name": 3,
-                            "vlan": 107
-                        },
-                        {
-                            "mac": "0a:38:88:4c:76:1b",
-                            "pci": "0000:04:11.0",
-                            "source_name": 4,
-                            "vlan": 102
-                        },
-                        {
-                            "mac": "4e:8f:96:e1:d2:99",
-                            "pci": "0000:04:11.2",
-                            "source_name": 5,
-                            "vlan": 103
-                        },
-                        {
-                            "mac": "62:b3:0a:15:1b:cc",
-                            "pci": "0000:04:11.4",
-                            "source_name": 6,
-                            "vlan": 100
-                        },
-                        {
-                            "mac": "fa:29:6a:04:c3:fc",
-                            "pci": "0000:04:11.6",
-                            "source_name": 7,
-                            "vlan": 101
-                        }
-                    ],
-                    "mac": "a0:36:9f:33:16:f4"
-                },
-                {
-                    "source_name": "p5p2",
-                    "Mbps": 10000,
-                    "pci": "0000:04:00.1",
-                    "switch_port": "port0/17",
-                    "switch_dpid": "00:01:02:03:04:05:06:07",
-                    "sriovs": [
-                        {
-                            "mac": "1a:07:7d:f5:ab:bf",
-                            "pci": "0000:04:10.1",
-                            "source_name": 0,
-                            "vlan": 104
-                        },
-                        {
-                            "mac": "12:63:9b:75:5c:02",
-                            "pci": "0000:04:10.3",
-                            "source_name": 1,
-                            "vlan": 105
-                        },
-                        {
-                            "mac": "be:f8:54:de:8e:39",
-                            "pci": "0000:04:10.5",
-                            "source_name": 2,
-                            "vlan": 106
-                        },
-                        {
-                            "mac": "82:bb:12:83:82:b9",
-                            "pci": "0000:04:10.7",
-                            "source_name": 3,
-                            "vlan": 107
-                        },
-                        {
-                            "mac": "06:5c:e3:40:c3:e0",
-                            "pci": "0000:04:11.1",
-                            "source_name": 4,
-                            "vlan": 102
-                        },
-                        {
-                            "mac": "32:54:10:77:36:d1",
-                            "pci": "0000:04:11.3",
-                            "source_name": 5,
-                            "vlan": 103
-                        },
-                        {
-                            "mac": "0e:0f:3f:23:d6:17",
-                            "pci": "0000:04:11.5",
-                            "source_name": 6,
-                            "vlan": 100
-                        },
-                        {
-                            "mac": "46:14:84:51:3d:ec",
-                            "pci": "0000:04:11.7",
-                            "source_name": 7,
-                            "vlan": 101
-                        }
-                    ],
-                    "mac": "a0:36:9f:33:16:f6"
-                },
-                {
-                    "source_name": "p7p1",
-                    "Mbps": 10000,
-                    "pci": "0000:06:00.0",
-                    "switch_port": "port0/18",
-                    "switch_dpid": "00:01:02:03:04:05:06:07",
-                    "sriovs": [
-                        {
-                            "mac": "d6:8a:a7:27:bc:7c",
-                            "pci": "0000:06:10.0",
-                            "source_name": 0,
-                            "vlan": 104
-                        },
-                        {
-                            "mac": "9e:f4:67:21:28:12",
-                            "pci": "0000:06:10.2",
-                            "source_name": 1,
-                            "vlan": 103
-                        },
-                        {
-                            "mac": "b6:f8:b7:c8:ae:07",
-                            "pci": "0000:06:10.4",
-                            "source_name": 2,
-                            "vlan": 106
-                        },
-                        {
-                            "mac": "0e:e8:34:7a:3b:c4",
-                            "pci": "0000:06:10.6",
-                            "source_name": 3,
-                            "vlan": 105
-                        },
-                        {
-                            "mac": "82:5d:0f:7a:20:91",
-                            "pci": "0000:06:11.0",
-                            "source_name": 4,
-                            "vlan": 107
-                        },
-                        {
-                            "mac": "f2:6b:6a:4a:e3:93",
-                            "pci": "0000:06:11.2",
-                            "source_name": 5,
-                            "vlan": 102
-                        },
-                        {
-                            "mac": "b2:d6:af:b0:12:f4",
-                            "pci": "0000:06:11.4",
-                            "source_name": 6,
-                            "vlan": 101
-                        },
-                        {
-                            "mac": "22:0b:01:19:dd:3c",
-                            "pci": "0000:06:11.6",
-                            "source_name": 7,
-                            "vlan": 100
-                        }
-                    ],
-                    "mac": "a0:36:9f:33:0f:1c"
-                },
-                {
-                    "source_name": "p7p2",
-                    "Mbps": 10000,
-                    "pci": "0000:06:00.1",
-                    "switch_port": "port0/19",
-                    "switch_dpid": "00:01:02:03:04:05:06:07",
-                    "sriovs": [
-                        {
-                            "mac": "0a:2f:77:8f:53:da",
-                            "pci": "0000:06:10.1",
-                            "source_name": 0,
-                            "vlan": 104
-                        },
-                        {
-                            "mac": "a2:f5:63:1d:1c:4d",
-                            "pci": "0000:06:10.3",
-                            "source_name": 1,
-                            "vlan": 103
-                        },
-                        {
-                            "mac": "86:80:6c:d8:da:e0",
-                            "pci": "0000:06:10.5",
-                            "source_name": 2,
-                            "vlan": 106
-                        },
-                        {
-                            "mac": "5a:9d:1c:19:3f:07",
-                            "pci": "0000:06:10.7",
-                            "source_name": 3,
-                            "vlan": 105
-                        },
-                        {
-                            "mac": "ea:a9:fb:95:29:34",
-                            "pci": "0000:06:11.1",
-                            "source_name": 4,
-                            "vlan": 107
-                        },
-                        {
-                            "mac": "0e:3a:e9:65:5b:d3",
-                            "pci": "0000:06:11.3",
-                            "source_name": 5,
-                            "vlan": 102
-                        },
-                        {
-                            "mac": "ce:cd:53:c6:7b:ca",
-                            "pci": "0000:06:11.5",
-                            "source_name": 6,
-                            "vlan": 101
-                        },
-                        {
-                            "mac": "52:b1:4e:91:34:8c",
-                            "pci": "0000:06:11.7",
-                            "source_name": 7,
-                            "vlan": 100
-                        }
-                    ],
-                    "mac": "a0:36:9f:33:0f:1e"
-                }
-            ],
-            "numa_socket": 0,
-            "hugepages": 60,
-            "memory": 64
-        }
-    ]
-}
-}
diff --git a/test/hosts/host-example2.yaml b/test/hosts/host-example2.yaml
new file mode 100644
index 0000000..6e2ecdd
--- /dev/null
+++ b/test/hosts/host-example2.yaml
@@ -0,0 +1,459 @@
+##
+# Copyright 2016 Telefónica Investigación y Desarrollo, S.A.U.
+# This file is part of openvim
+# All Rights Reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+#         http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+#
+# For those usages not covered by the Apache License, Version 2.0 please
+# contact with: nfvlabs@tid.es
+##
+
+---
+host:
+  name: fake-host-2
+  user: user
+  password: password
+  ip_name: fakehost2
+host-data:
+  name: fake-host-2
+  ranking: 300
+  description: fake host 2 for test mode
+  ip_name: fakehost2
+  features: lps,dioc,hwsv,ht,64b,tlbps
+  user: user
+  password: password
+  numas:
+  - cores:
+    - core_id: 0
+      thread_id: 1
+      status: noteligible
+    - core_id: 0
+      thread_id: 25
+      status: noteligible
+    - core_id: 1
+      thread_id: 3
+    - core_id: 1
+      thread_id: 27
+    - core_id: 2
+      thread_id: 5
+    - core_id: 2
+      thread_id: 29
+    - core_id: 3
+      thread_id: 7
+    - core_id: 3
+      thread_id: 31
+    - core_id: 4
+      thread_id: 9
+    - core_id: 4
+      thread_id: 33
+    - core_id: 5
+      thread_id: 11
+    - core_id: 5
+      thread_id: 35
+    - core_id: 6
+      thread_id: 13
+    - core_id: 6
+      thread_id: 37
+    - core_id: 7
+      thread_id: 15
+    - core_id: 7
+      thread_id: 39
+    - core_id: 8
+      thread_id: 17
+    - core_id: 8
+      thread_id: 41
+    - core_id: 9
+      thread_id: 19
+    - core_id: 9
+      thread_id: 43
+    - core_id: 10
+      thread_id: 21
+    - core_id: 10
+      thread_id: 45
+    - core_id: 11
+      thread_id: 23
+    - core_id: 11
+      thread_id: 47
+    interfaces:
+    - source_name: p2p1
+      Mbps: 10000
+      pci: '0000:44:00.0'
+      switch_port: port0/12
+      switch_dpid: '00:01:02:03:04:05:06:07'
+      sriovs:
+      - mac: fe:49:52:59:2f:0b
+        pci: '0000:44:10.0'
+        source_name: 0
+        vlan: 102
+      - mac: 16:df:ee:65:d1:a9
+        pci: '0000:44:10.2'
+        source_name: 1
+        vlan: 103
+      - mac: e6:10:3a:09:cc:eb
+        pci: '0000:44:10.4'
+        source_name: 2
+        vlan: 104
+      - mac: f6:8e:ef:92:70:9a
+        pci: '0000:44:10.6'
+        source_name: 3
+        vlan: 101
+      - mac: fa:a5:0e:21:bc:89
+        pci: '0000:44:11.0'
+        source_name: 4
+        vlan: 107
+      - mac: fa:72:5a:b0:07:44
+        pci: '0000:44:11.2'
+        source_name: 5
+        vlan: 100
+      - mac: 3e:8f:5c:1a:5d:e1
+        pci: '0000:44:11.4'
+        source_name: 6
+        vlan: 105
+      - mac: f2:e0:34:e2:e1:2d
+        pci: '0000:44:11.6'
+        source_name: 7
+        vlan: 106
+      mac: a0:36:9f:35:e9:a0
+    - source_name: p2p2
+      Mbps: 10000
+      pci: '0000:44:00.1'
+      switch_port: port0/13
+      switch_dpid: '00:01:02:03:04:05:06:07'
+      sriovs:
+      - mac: ba:76:24:e0:79:75
+        pci: '0000:44:10.1'
+        source_name: 0
+        vlan: 102
+      - mac: b2:26:81:5b:18:7b
+        pci: '0000:44:10.3'
+        source_name: 1
+        vlan: 103
+      - mac: da:46:a9:f4:ab:42
+        pci: '0000:44:10.5'
+        source_name: 2
+        vlan: 100
+      - mac: 86:e0:ec:33:cc:18
+        pci: '0000:44:10.7'
+        source_name: 3
+        vlan: 104
+      - mac: ee:ee:49:da:20:75
+        pci: '0000:44:11.1'
+        source_name: 4
+        vlan: 101
+      - mac: be:fa:18:da:f3:ba
+        pci: '0000:44:11.3'
+        source_name: 5
+        vlan: 105
+      - mac: 96:fa:8d:ed:50:02
+        pci: '0000:44:11.5'
+        source_name: 6
+        vlan: 106
+      - mac: 22:1b:cb:33:a7:5a
+        pci: '0000:44:11.7'
+        source_name: 7
+        vlan: 107
+      mac: a0:36:9f:35:e9:a2
+    - source_name: p3p2
+      Mbps: 10000
+      pci: '0000:43:00.1'
+      switch_port: port0/15
+      switch_dpid: '00:01:02:03:04:05:06:07'
+      sriovs:
+      - mac: a6:6e:28:6c:5b:04
+        pci: '0000:43:10.1'
+        source_name: 0
+        vlan: 103
+      - mac: be:35:42:86:3d:fd
+        pci: '0000:43:10.3'
+        source_name: 1
+        vlan: 100
+      - mac: 0a:92:99:92:02:e4
+        pci: '0000:43:10.5'
+        source_name: 2
+        vlan: 101
+      - mac: b6:a6:3a:f1:1e:57
+        pci: '0000:43:10.7'
+        source_name: 3
+        vlan: 102
+      - mac: be:3f:1a:ef:76:c0
+        pci: '0000:43:11.1'
+        source_name: 4
+        vlan: 104
+      - mac: 6a:cc:a6:bf:61:cd
+        pci: '0000:43:11.3'
+        source_name: 5
+        vlan: 105
+      - mac: fe:c1:15:a9:c5:12
+        pci: '0000:43:11.5'
+        source_name: 6
+        vlan: 106
+      - mac: 6a:ff:59:aa:63:34
+        pci: '0000:43:11.7'
+        source_name: 7
+        vlan: 107
+      mac: a0:36:9f:35:ed:42
+    - source_name: p3p1
+      Mbps: 10000
+      pci: '0000:43:00.0'
+      switch_port: port0/14
+      switch_dpid: '00:01:02:03:04:05:06:07'
+      sriovs:
+      - mac: c6:18:cb:6c:c4:04
+        pci: '0000:43:10.0'
+        source_name: 0
+        vlan: 102
+      - mac: a6:4e:90:89:90:d8
+        pci: '0000:43:10.2'
+        source_name: 1
+        vlan: 103
+      - mac: fe:9a:82:91:a5:3a
+        pci: '0000:43:10.4'
+        source_name: 2
+        vlan: 100
+      - mac: 22:a3:ef:27:50:fd
+        pci: '0000:43:10.6'
+        source_name: 3
+        vlan: 101
+      - mac: c6:57:98:69:67:e2
+        pci: '0000:43:11.0'
+        source_name: 4
+        vlan: 104
+      - mac: 6a:f9:81:ae:40:94
+        pci: '0000:43:11.2'
+        source_name: 5
+        vlan: 105
+      - mac: 86:00:37:7f:6e:05
+        pci: '0000:43:11.4'
+        source_name: 6
+        vlan: 107
+      - mac: f2:e6:fc:7d:71:9b
+        pci: '0000:43:11.6'
+        source_name: 7
+        vlan: 106
+      mac: a0:36:9f:35:ed:40
+    numa_socket: 1
+    hugepages: 60
+    memory: 64
+  - cores:
+    - core_id: 0
+      thread_id: 0
+      status: noteligible
+    - core_id: 0
+      thread_id: 24
+      status: noteligible
+    - core_id: 1
+      thread_id: 2
+    - core_id: 1
+      thread_id: 26
+    - core_id: 2
+      thread_id: 4
+    - core_id: 2
+      thread_id: 28
+    - core_id: 3
+      thread_id: 6
+    - core_id: 3
+      thread_id: 30
+    - core_id: 4
+      thread_id: 8
+    - core_id: 4
+      thread_id: 32
+    - core_id: 5
+      thread_id: 10
+    - core_id: 5
+      thread_id: 34
+    - core_id: 6
+      thread_id: 12
+    - core_id: 6
+      thread_id: 36
+    - core_id: 7
+      thread_id: 14
+    - core_id: 7
+      thread_id: 38
+    - core_id: 8
+      thread_id: 16
+    - core_id: 8
+      thread_id: 40
+    - core_id: 9
+      thread_id: 18
+    - core_id: 9
+      thread_id: 42
+    - core_id: 10
+      thread_id: 20
+    - core_id: 10
+      thread_id: 44
+    - core_id: 11
+      thread_id: 22
+    - core_id: 11
+      thread_id: 46
+    interfaces:
+    - source_name: p5p1
+      Mbps: 10000
+      pci: '0000:04:00.0'
+      switch_port: port0/16
+      switch_dpid: '00:01:02:03:04:05:06:07'
+      sriovs:
+      - mac: 02:ef:c9:38:c7:01
+        pci: '0000:04:10.0'
+        source_name: 0
+        vlan: 104
+      - mac: 92:04:e9:fe:c7:f9
+        pci: '0000:04:10.2'
+        source_name: 1
+        vlan: 105
+      - mac: a2:41:32:78:25:48
+        pci: '0000:04:10.4'
+        source_name: 2
+        vlan: 106
+      - mac: 9e:65:ab:e8:a0:2b
+        pci: '0000:04:10.6'
+        source_name: 3
+        vlan: 107
+      - mac: 0a:38:88:4c:76:1b
+        pci: '0000:04:11.0'
+        source_name: 4
+        vlan: 102
+      - mac: 4e:8f:96:e1:d2:99
+        pci: '0000:04:11.2'
+        source_name: 5
+        vlan: 103
+      - mac: 62:b3:0a:15:1b:cc
+        pci: '0000:04:11.4'
+        source_name: 6
+        vlan: 100
+      - mac: fa:29:6a:04:c3:fc
+        pci: '0000:04:11.6'
+        source_name: 7
+        vlan: 101
+      mac: a0:36:9f:33:16:f4
+    - source_name: p5p2
+      Mbps: 10000
+      pci: '0000:04:00.1'
+      switch_port: port0/17
+      switch_dpid: '00:01:02:03:04:05:06:07'
+      sriovs:
+      - mac: 1a:07:7d:f5:ab:bf
+        pci: '0000:04:10.1'
+        source_name: 0
+        vlan: 104
+      - mac: 12:63:9b:75:5c:02
+        pci: '0000:04:10.3'
+        source_name: 1
+        vlan: 105
+      - mac: be:f8:54:de:8e:39
+        pci: '0000:04:10.5'
+        source_name: 2
+        vlan: 106
+      - mac: 82:bb:12:83:82:b9
+        pci: '0000:04:10.7'
+        source_name: 3
+        vlan: 107
+      - mac: 06:5c:e3:40:c3:e0
+        pci: '0000:04:11.1'
+        source_name: 4
+        vlan: 102
+      - mac: 32:54:10:77:36:d1
+        pci: '0000:04:11.3'
+        source_name: 5
+        vlan: 103
+      - mac: 0e:0f:3f:23:d6:17
+        pci: '0000:04:11.5'
+        source_name: 6
+        vlan: 100
+      - mac: 46:14:84:51:3d:ec
+        pci: '0000:04:11.7'
+        source_name: 7
+        vlan: 101
+      mac: a0:36:9f:33:16:f6
+    - source_name: p7p1
+      Mbps: 10000
+      pci: '0000:06:00.0'
+      switch_port: port0/18
+      switch_dpid: '00:01:02:03:04:05:06:07'
+      sriovs:
+      - mac: d6:8a:a7:27:bc:7c
+        pci: '0000:06:10.0'
+        source_name: 0
+        vlan: 104
+      - mac: 9e:f4:67:21:28:12
+        pci: '0000:06:10.2'
+        source_name: 1
+        vlan: 103
+      - mac: b6:f8:b7:c8:ae:07
+        pci: '0000:06:10.4'
+        source_name: 2
+        vlan: 106
+      - mac: 0e:e8:34:7a:3b:c4
+        pci: '0000:06:10.6'
+        source_name: 3
+        vlan: 105
+      - mac: 82:5d:0f:7a:20:91
+        pci: '0000:06:11.0'
+        source_name: 4
+        vlan: 107
+      - mac: f2:6b:6a:4a:e3:93
+        pci: '0000:06:11.2'
+        source_name: 5
+        vlan: 102
+      - mac: b2:d6:af:b0:12:f4
+        pci: '0000:06:11.4'
+        source_name: 6
+        vlan: 101
+      - mac: 22:0b:01:19:dd:3c
+        pci: '0000:06:11.6'
+        source_name: 7
+        vlan: 100
+      mac: a0:36:9f:33:0f:1c
+    - source_name: p7p2
+      Mbps: 10000
+      pci: '0000:06:00.1'
+      switch_port: port0/19
+      switch_dpid: '00:01:02:03:04:05:06:07'
+      sriovs:
+      - mac: 0a:2f:77:8f:53:da
+        pci: '0000:06:10.1'
+        source_name: 0
+        vlan: 104
+      - mac: a2:f5:63:1d:1c:4d
+        pci: '0000:06:10.3'
+        source_name: 1
+        vlan: 103
+      - mac: 86:80:6c:d8:da:e0
+        pci: '0000:06:10.5'
+        source_name: 2
+        vlan: 106
+      - mac: 5a:9d:1c:19:3f:07
+        pci: '0000:06:10.7'
+        source_name: 3
+        vlan: 105
+      - mac: ea:a9:fb:95:29:34
+        pci: '0000:06:11.1'
+        source_name: 4
+        vlan: 107
+      - mac: 0e:3a:e9:65:5b:d3
+        pci: '0000:06:11.3'
+        source_name: 5
+        vlan: 102
+      - mac: ce:cd:53:c6:7b:ca
+        pci: '0000:06:11.5'
+        source_name: 6
+        vlan: 101
+      - mac: 52:b1:4e:91:34:8c
+        pci: '0000:06:11.7'
+        source_name: 7
+        vlan: 100
+      mac: a0:36:9f:33:0f:1e
+    numa_socket: 0
+    hugepages: 60
+    memory: 64
+
diff --git a/test/hosts/host-example3.json b/test/hosts/host-example3.json
deleted file mode 100644
index a115e45..0000000
--- a/test/hosts/host-example3.json
+++ /dev/null
@@ -1,698 +0,0 @@
-{
-    "host":{
-        "name": "fake-host-3",
-        "user": "user", 
-        "password": "password", 
-        "ip_name": "fakehost3" 
-    },
-"host-data":
-{
-    "name": "fake-host-3",
-    "ranking": 300,
-    "description": "fake host 3 for test mode",
-    "ip_name": "fakehost3",
-    "features": "lps,dioc,hwsv,ht,64b,tlbps",
-    "user": "user",
-    "password": "password",
-    "numas": [
-        {
-            "cores": [
-                {
-                    "core_id": 0,
-                    "thread_id": 1,
-                    "status": "noteligible"
-                },
-                {
-                    "core_id": 0,
-                    "thread_id": 25,
-                    "status": "noteligible"
-                },
-                {
-                    "core_id": 1,
-                    "thread_id": 3
-                },
-                {
-                    "core_id": 1,
-                    "thread_id": 27
-                },
-                {
-                    "core_id": 2,
-                    "thread_id": 5
-                },
-                {
-                    "core_id": 2,
-                    "thread_id": 29
-                },
-                {
-                    "core_id": 3,
-                    "thread_id": 7
-                },
-                {
-                    "core_id": 3,
-                    "thread_id": 31
-                },
-                {
-                    "core_id": 4,
-                    "thread_id": 9
-                },
-                {
-                    "core_id": 4,
-                    "thread_id": 33
-                },
-                {
-                    "core_id": 5,
-                    "thread_id": 11
-                },
-                {
-                    "core_id": 5,
-                    "thread_id": 35
-                },
-                {
-                    "core_id": 6,
-                    "thread_id": 13
-                },
-                {
-                    "core_id": 6,
-                    "thread_id": 37
-                },
-                {
-                    "core_id": 7,
-                    "thread_id": 15
-                },
-                {
-                    "core_id": 7,
-                    "thread_id": 39
-                },
-                {
-                    "core_id": 8,
-                    "thread_id": 17
-                },
-                {
-                    "core_id": 8,
-                    "thread_id": 41
-                },
-                {
-                    "core_id": 9,
-                    "thread_id": 19
-                },
-                {
-                    "core_id": 9,
-                    "thread_id": 43
-                },
-                {
-                    "core_id": 10,
-                    "thread_id": 21
-                },
-                {
-                    "core_id": 10,
-                    "thread_id": 45
-                },
-                {
-                    "core_id": 11,
-                    "thread_id": 23
-                },
-                {
-                    "core_id": 11,
-                    "thread_id": 47
-                }
-            ],
-            "interfaces": [
-                {
-                    "source_name": "p2p1",
-                    "Mbps": 10000,
-                    "pci": "0000:44:00.0",
-                    "switch_port": "port1/0",
-                    "switch_dpid": "00:01:02:03:04:05:06:07",
-                    "sriovs": [
-                        {
-                            "mac": "ce:24:06:7d:7a:5b",
-                            "pci": "0000:44:10.0",
-                            "source_name": 0,
-                            "vlan": 102
-                        },
-                        {
-                            "mac": "a6:2d:10:75:dc:06",
-                            "pci": "0000:44:10.2",
-                            "source_name": 1,
-                            "vlan": 103
-                        },
-                        {
-                            "mac": "4a:39:f1:d1:aa:46",
-                            "pci": "0000:44:10.4",
-                            "source_name": 2,
-                            "vlan": 104
-                        },
-                        {
-                            "mac": "ee:df:34:b3:cf:50",
-                            "pci": "0000:44:10.6",
-                            "source_name": 3,
-                            "vlan": 101
-                        },
-                        {
-                            "mac": "46:02:47:d8:f5:66",
-                            "pci": "0000:44:11.0",
-                            "source_name": 4,
-                            "vlan": 107
-                        },
-                        {
-                            "mac": "a6:11:78:97:b4:ab",
-                            "pci": "0000:44:11.2",
-                            "source_name": 5,
-                            "vlan": 100
-                        },
-                        {
-                            "mac": "36:c0:13:a4:4c:77",
-                            "pci": "0000:44:11.4",
-                            "source_name": 6,
-                            "vlan": 105
-                        },
-                        {
-                            "mac": "b6:3b:b5:43:3a:44",
-                            "pci": "0000:44:11.6",
-                            "source_name": 7,
-                            "vlan": 106
-                        }
-                    ],
-                    "mac": "a0:36:9f:25:97:f4"
-                },
-                {
-                    "source_name": "p2p2",
-                    "Mbps": 10000,
-                    "pci": "0000:44:00.1",
-                    "switch_port": "port1/1",
-                    "switch_dpid": "00:01:02:03:04:05:06:07",
-                    "sriovs": [
-                        {
-                            "mac": "f6:38:e9:5e:f9:42",
-                            "pci": "0000:44:10.1",
-                            "source_name": 0,
-                            "vlan": 102
-                        },
-                        {
-                            "mac": "f6:1e:b9:d3:15:69",
-                            "pci": "0000:44:10.3",
-                            "source_name": 1,
-                            "vlan": 103
-                        },
-                        {
-                            "mac": "2e:22:7f:44:86:e0",
-                            "pci": "0000:44:10.5",
-                            "source_name": 2,
-                            "vlan": 100
-                        },
-                        {
-                            "mac": "5a:3f:db:66:d6:90",
-                            "pci": "0000:44:10.7",
-                            "source_name": 3,
-                            "vlan": 104
-                        },
-                        {
-                            "mac": "b2:05:b8:f3:ae:20",
-                            "pci": "0000:44:11.1",
-                            "source_name": 4,
-                            "vlan": 101
-                        },
-                        {
-                            "mac": "fa:fe:24:82:12:b5",
-                            "pci": "0000:44:11.3",
-                            "source_name": 5,
-                            "vlan": 105
-                        },
-                        {
-                            "mac": "36:2a:0e:cb:29:01",
-                            "pci": "0000:44:11.5",
-                            "source_name": 6,
-                            "vlan": 106
-                        },
-                        {
-                            "mac": "46:71:c0:8a:9c:48",
-                            "pci": "0000:44:11.7",
-                            "source_name": 7,
-                            "vlan": 107
-                        }
-                    ],
-                    "mac": "a0:36:9f:25:97:f6"
-                },
-                {
-                    "source_name": "p3p2",
-                    "Mbps": 10000,
-                    "pci": "0000:43:00.1",
-                    "switch_port": "port1/3",
-                    "switch_dpid": "00:01:02:03:04:05:06:07",
-                    "sriovs": [
-                        {
-                            "mac": "72:fd:7a:af:91:57",
-                            "pci": "0000:43:10.1",
-                            "source_name": 0,
-                            "vlan": 103
-                        },
-                        {
-                            "mac": "fa:c4:d7:e1:3b:07",
-                            "pci": "0000:43:10.3",
-                            "source_name": 1,
-                            "vlan": 100
-                        },
-                        {
-                            "mac": "c2:03:28:4a:0a:8e",
-                            "pci": "0000:43:10.5",
-                            "source_name": 2,
-                            "vlan": 101
-                        },
-                        {
-                            "mac": "66:1b:78:65:67:e2",
-                            "pci": "0000:43:10.7",
-                            "source_name": 3,
-                            "vlan": 102
-                        },
-                        {
-                            "mac": "be:4b:e9:77:ff:a2",
-                            "pci": "0000:43:11.1",
-                            "source_name": 4,
-                            "vlan": 104
-                        },
-                        {
-                            "mac": "02:9a:94:e2:79:c0",
-                            "pci": "0000:43:11.3",
-                            "source_name": 5,
-                            "vlan": 105
-                        },
-                        {
-                            "mac": "b2:80:62:dd:09:ea",
-                            "pci": "0000:43:11.5",
-                            "source_name": 6,
-                            "vlan": 106
-                        },
-                        {
-                            "mac": "ea:41:30:8e:af:b9",
-                            "pci": "0000:43:11.7",
-                            "source_name": 7,
-                            "vlan": 107
-                        }
-                    ],
-                    "mac": "a0:36:9f:25:97:de"
-                },
-                {
-                    "source_name": "p3p1",
-                    "Mbps": 10000,
-                    "pci": "0000:43:00.0",
-                    "switch_port": "port1/2",
-                    "switch_dpid": "00:01:02:03:04:05:06:07",
-                    "sriovs": [
-                        {
-                            "mac": "66:80:a0:55:83:93",
-                            "pci": "0000:43:10.0",
-                            "source_name": 0,
-                            "vlan": 102
-                        },
-                        {
-                            "mac": "fe:fd:72:b8:fe:bb",
-                            "pci": "0000:43:10.2",
-                            "source_name": 1,
-                            "vlan": 103
-                        },
-                        {
-                            "mac": "6a:70:92:7f:6b:7b",
-                            "pci": "0000:43:10.4",
-                            "source_name": 2,
-                            "vlan": 100
-                        },
-                        {
-                            "mac": "3a:14:75:5e:63:15",
-                            "pci": "0000:43:10.6",
-                            "source_name": 3,
-                            "vlan": 101
-                        },
-                        {
-                            "mac": "2e:c9:5d:6e:27:48",
-                            "pci": "0000:43:11.0",
-                            "source_name": 4,
-                            "vlan": 104
-                        },
-                        {
-                            "mac": "02:f7:bb:82:78:1f",
-                            "pci": "0000:43:11.2",
-                            "source_name": 5,
-                            "vlan": 105
-                        },
-                        {
-                            "mac": "0e:5e:b6:a8:6c:80",
-                            "pci": "0000:43:11.4",
-                            "source_name": 6,
-                            "vlan": 107
-                        },
-                        {
-                            "mac": "8e:bf:81:bc:cb:44",
-                            "pci": "0000:43:11.6",
-                            "source_name": 7,
-                            "vlan": 106
-                        }
-                    ],
-                    "mac": "a0:36:9f:25:97:dc"
-                }
-            ],
-            "numa_socket": 1,
-            "hugepages": 28,
-            "memory": 32
-        },
-        {
-            "cores": [
-                {
-                    "core_id": 0,
-                    "thread_id": 0,
-                    "status": "noteligible"
-                },
-                {
-                    "core_id": 0,
-                    "thread_id": 24,
-                    "status": "noteligible"
-                },
-                {
-                    "core_id": 1,
-                    "thread_id": 2
-                },
-                {
-                    "core_id": 1,
-                    "thread_id": 26
-                },
-                {
-                    "core_id": 2,
-                    "thread_id": 4
-                },
-                {
-                    "core_id": 2,
-                    "thread_id": 28
-                },
-                {
-                    "core_id": 3,
-                    "thread_id": 6
-                },
-                {
-                    "core_id": 3,
-                    "thread_id": 30
-                },
-                {
-                    "core_id": 4,
-                    "thread_id": 8
-                },
-                {
-                    "core_id": 4,
-                    "thread_id": 32
-                },
-                {
-                    "core_id": 5,
-                    "thread_id": 10
-                },
-                {
-                    "core_id": 5,
-                    "thread_id": 34
-                },
-                {
-                    "core_id": 6,
-                    "thread_id": 12
-                },
-                {
-                    "core_id": 6,
-                    "thread_id": 36
-                },
-                {
-                    "core_id": 7,
-                    "thread_id": 14
-                },
-                {
-                    "core_id": 7,
-                    "thread_id": 38
-                },
-                {
-                    "core_id": 8,
-                    "thread_id": 16
-                },
-                {
-                    "core_id": 8,
-                    "thread_id": 40
-                },
-                {
-                    "core_id": 9,
-                    "thread_id": 18
-                },
-                {
-                    "core_id": 9,
-                    "thread_id": 42
-                },
-                {
-                    "core_id": 10,
-                    "thread_id": 20
-                },
-                {
-                    "core_id": 10,
-                    "thread_id": 44
-                },
-                {
-                    "core_id": 11,
-                    "thread_id": 22
-                },
-                {
-                    "core_id": 11,
-                    "thread_id": 46
-                }
-            ],
-            "interfaces": [
-                {
-                    "source_name": "p5p1",
-                    "Mbps": 10000,
-                    "pci": "0000:04:00.0",
-                    "switch_port": "port1/4",
-                    "switch_dpid": "00:01:02:03:04:05:06:07",
-                    "sriovs": [
-                        {
-                            "mac": "aa:ef:2c:23:ae:04",
-                            "pci": "0000:04:10.0",
-                            "source_name": 0,
-                            "vlan": 104
-                        },
-                        {
-                            "mac": "2e:d5:b9:3e:c4:8b",
-                            "pci": "0000:04:10.2",
-                            "source_name": 1,
-                            "vlan": 105
-                        },
-                        {
-                            "mac": "4e:d6:55:09:17:1e",
-                            "pci": "0000:04:10.4",
-                            "source_name": 2,
-                            "vlan": 106
-                        },
-                        {
-                            "mac": "ce:42:cc:9c:5a:32",
-                            "pci": "0000:04:10.6",
-                            "source_name": 3,
-                            "vlan": 107
-                        },
-                        {
-                            "mac": "1e:71:34:7f:5d:47",
-                            "pci": "0000:04:11.0",
-                            "source_name": 4,
-                            "vlan": 102
-                        },
-                        {
-                            "mac": "26:5c:e4:db:8c:48",
-                            "pci": "0000:04:11.2",
-                            "source_name": 5,
-                            "vlan": 103
-                        },
-                        {
-                            "mac": "5e:48:23:56:63:c0",
-                            "pci": "0000:04:11.4",
-                            "source_name": 6,
-                            "vlan": 100
-                        },
-                        {
-                            "mac": "9a:a2:fa:97:19:84",
-                            "pci": "0000:04:11.6",
-                            "source_name": 7,
-                            "vlan": 101
-                        }
-                    ],
-                    "mac": "a0:36:9f:27:46:a0"
-                },
-                {
-                    "source_name": "p5p2",
-                    "Mbps": 10000,
-                    "pci": "0000:04:00.1",
-                    "switch_port": "port1/5",
-                    "switch_dpid": "00:01:02:03:04:05:06:07",
-                    "sriovs": [
-                        {
-                            "mac": "0a:9b:b5:d1:e6:34",
-                            "pci": "0000:04:10.1",
-                            "source_name": 0,
-                            "vlan": 104
-                        },
-                        {
-                            "mac": "5e:87:4a:22:e9:57",
-                            "pci": "0000:04:10.3",
-                            "source_name": 1,
-                            "vlan": 105
-                        },
-                        {
-                            "mac": "ea:94:d5:f6:ee:bb",
-                            "pci": "0000:04:10.5",
-                            "source_name": 2,
-                            "vlan": 106
-                        },
-                        {
-                            "mac": "5a:3f:17:6b:bb:8b",
-                            "pci": "0000:04:10.7",
-                            "source_name": 3,
-                            "vlan": 107
-                        },
-                        {
-                            "mac": "8e:af:5c:cc:c8:82",
-                            "pci": "0000:04:11.1",
-                            "source_name": 4,
-                            "vlan": 102
-                        },
-                        {
-                            "mac": "3e:a0:df:f0:2b:07",
-                            "pci": "0000:04:11.3",
-                            "source_name": 5,
-                            "vlan": 103
-                        },
-                        {
-                            "mac": "ae:7d:00:9b:54:4d",
-                            "pci": "0000:04:11.5",
-                            "source_name": 6,
-                            "vlan": 100
-                        },
-                        {
-                            "mac": "fa:b5:0d:c6:78:87",
-                            "pci": "0000:04:11.7",
-                            "source_name": 7,
-                            "vlan": 101
-                        }
-                    ],
-                    "mac": "a0:36:9f:27:46:a2"
-                },
-                {
-                    "source_name": "p7p1",
-                    "Mbps": 10000,
-                    "pci": "0000:06:00.0",
-                    "switch_port": "port1/6",
-                    "switch_dpid": "00:01:02:03:04:05:06:07",
-                    "sriovs": [
-                        {
-                            "mac": "22:4a:21:37:84:80",
-                            "pci": "0000:06:10.0",
-                            "source_name": 0,
-                            "vlan": 104
-                        },
-                        {
-                            "mac": "b2:8f:2c:04:08:08",
-                            "pci": "0000:06:10.2",
-                            "source_name": 1,
-                            "vlan": 103
-                        },
-                        {
-                            "mac": "fe:2e:71:1f:99:dd",
-                            "pci": "0000:06:10.4",
-                            "source_name": 2,
-                            "vlan": 106
-                        },
-                        {
-                            "mac": "1a:2c:7c:98:39:b6",
-                            "pci": "0000:06:10.6",
-                            "source_name": 3,
-                            "vlan": 105
-                        },
-                        {
-                            "mac": "6e:39:08:a9:7e:b1",
-                            "pci": "0000:06:11.0",
-                            "source_name": 4,
-                            "vlan": 107
-                        },
-                        {
-                            "mac": "4a:00:f3:5b:15:27",
-                            "pci": "0000:06:11.2",
-                            "source_name": 5,
-                            "vlan": 102
-                        },
-                        {
-                            "mac": "b2:c3:48:da:24:55",
-                            "pci": "0000:06:11.4",
-                            "source_name": 6,
-                            "vlan": 101
-                        },
-                        {
-                            "mac": "72:85:cd:18:ee:5d",
-                            "pci": "0000:06:11.6",
-                            "source_name": 7,
-                            "vlan": 100
-                        }
-                    ],
-                    "mac": "a0:36:9f:27:45:80"
-                },
-                {
-                    "source_name": "p7p2",
-                    "Mbps": 10000,
-                    "pci": "0000:06:00.1",
-                    "switch_port": "port1/7",
-                    "switch_dpid": "00:01:02:03:04:05:06:07",
-                    "sriovs": [
-                        {
-                            "mac": "0a:60:1a:9d:ba:e2",
-                            "pci": "0000:06:10.1",
-                            "source_name": 0,
-                            "vlan": 104
-                        },
-                        {
-                            "mac": "72:cb:0a:99:2f:7e",
-                            "pci": "0000:06:10.3",
-                            "source_name": 1,
-                            "vlan": 103
-                        },
-                        {
-                            "mac": "f2:2b:6b:d8:95:aa",
-                            "pci": "0000:06:10.5",
-                            "source_name": 2,
-                            "vlan": 106
-                        },
-                        {
-                            "mac": "b2:3a:4a:a8:c9:e9",
-                            "pci": "0000:06:10.7",
-                            "source_name": 3,
-                            "vlan": 105
-                        },
-                        {
-                            "mac": "06:85:75:b1:e8:10",
-                            "pci": "0000:06:11.1",
-                            "source_name": 4,
-                            "vlan": 107
-                        },
-                        {
-                            "mac": "12:41:69:61:89:3a",
-                            "pci": "0000:06:11.3",
-                            "source_name": 5,
-                            "vlan": 102
-                        },
-                        {
-                            "mac": "86:03:a8:5a:ad:71",
-                            "pci": "0000:06:11.5",
-                            "source_name": 6,
-                            "vlan": 101
-                        },
-                        {
-                            "mac": "ca:9c:5c:ad:e2:e2",
-                            "pci": "0000:06:11.7",
-                            "source_name": 7,
-                            "vlan": 100
-                        }
-                    ],
-                    "mac": "a0:36:9f:27:45:82"
-                }
-            ],
-            "numa_socket": 0,
-            "hugepages": 28,
-            "memory": 32
-        }
-    ]
-}
-}
diff --git a/test/hosts/host-example3.yaml b/test/hosts/host-example3.yaml
new file mode 100644
index 0000000..cdce188
--- /dev/null
+++ b/test/hosts/host-example3.yaml
@@ -0,0 +1,459 @@
+##
+# Copyright 2016 Telefónica Investigación y Desarrollo, S.A.U.
+# This file is part of openvim
+# All Rights Reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+#         http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+#
+# For those usages not covered by the Apache License, Version 2.0 please
+# contact with: nfvlabs@tid.es
+##
+
+---
+host:
+  name: fake-host-3
+  user: user
+  password: password
+  ip_name: fakehost3
+host-data:
+  name: fake-host-3
+  ranking: 300
+  description: fake host 3 for test mode
+  ip_name: fakehost3
+  features: lps,dioc,hwsv,ht,64b,tlbps
+  user: user
+  password: password
+  numas:
+  - cores:
+    - core_id: 0
+      thread_id: 1
+      status: noteligible
+    - core_id: 0
+      thread_id: 25
+      status: noteligible
+    - core_id: 1
+      thread_id: 3
+    - core_id: 1
+      thread_id: 27
+    - core_id: 2
+      thread_id: 5
+    - core_id: 2
+      thread_id: 29
+    - core_id: 3
+      thread_id: 7
+    - core_id: 3
+      thread_id: 31
+    - core_id: 4
+      thread_id: 9
+    - core_id: 4
+      thread_id: 33
+    - core_id: 5
+      thread_id: 11
+    - core_id: 5
+      thread_id: 35
+    - core_id: 6
+      thread_id: 13
+    - core_id: 6
+      thread_id: 37
+    - core_id: 7
+      thread_id: 15
+    - core_id: 7
+      thread_id: 39
+    - core_id: 8
+      thread_id: 17
+    - core_id: 8
+      thread_id: 41
+    - core_id: 9
+      thread_id: 19
+    - core_id: 9
+      thread_id: 43
+    - core_id: 10
+      thread_id: 21
+    - core_id: 10
+      thread_id: 45
+    - core_id: 11
+      thread_id: 23
+    - core_id: 11
+      thread_id: 47
+    interfaces:
+    - source_name: p2p1
+      Mbps: 10000
+      pci: '0000:44:00.0'
+      switch_port: port1/0
+      switch_dpid: '00:01:02:03:04:05:06:07'
+      sriovs:
+      - mac: ce:24:06:7d:7a:5b
+        pci: '0000:44:10.0'
+        source_name: 0
+        vlan: 102
+      - mac: a6:2d:10:75:dc:06
+        pci: '0000:44:10.2'
+        source_name: 1
+        vlan: 103
+      - mac: 4a:39:f1:d1:aa:46
+        pci: '0000:44:10.4'
+        source_name: 2
+        vlan: 104
+      - mac: ee:df:34:b3:cf:50
+        pci: '0000:44:10.6'
+        source_name: 3
+        vlan: 101
+      - mac: 46:02:47:d8:f5:66
+        pci: '0000:44:11.0'
+        source_name: 4
+        vlan: 107
+      - mac: a6:11:78:97:b4:ab
+        pci: '0000:44:11.2'
+        source_name: 5
+        vlan: 100
+      - mac: 36:c0:13:a4:4c:77
+        pci: '0000:44:11.4'
+        source_name: 6
+        vlan: 105
+      - mac: b6:3b:b5:43:3a:44
+        pci: '0000:44:11.6'
+        source_name: 7
+        vlan: 106
+      mac: a0:36:9f:25:97:f4
+    - source_name: p2p2
+      Mbps: 10000
+      pci: '0000:44:00.1'
+      switch_port: port1/1
+      switch_dpid: '00:01:02:03:04:05:06:07'
+      sriovs:
+      - mac: f6:38:e9:5e:f9:42
+        pci: '0000:44:10.1'
+        source_name: 0
+        vlan: 102
+      - mac: f6:1e:b9:d3:15:69
+        pci: '0000:44:10.3'
+        source_name: 1
+        vlan: 103
+      - mac: 2e:22:7f:44:86:e0
+        pci: '0000:44:10.5'
+        source_name: 2
+        vlan: 100
+      - mac: 5a:3f:db:66:d6:90
+        pci: '0000:44:10.7'
+        source_name: 3
+        vlan: 104
+      - mac: b2:05:b8:f3:ae:20
+        pci: '0000:44:11.1'
+        source_name: 4
+        vlan: 101
+      - mac: fa:fe:24:82:12:b5
+        pci: '0000:44:11.3'
+        source_name: 5
+        vlan: 105
+      - mac: 36:2a:0e:cb:29:01
+        pci: '0000:44:11.5'
+        source_name: 6
+        vlan: 106
+      - mac: 46:71:c0:8a:9c:48
+        pci: '0000:44:11.7'
+        source_name: 7
+        vlan: 107
+      mac: a0:36:9f:25:97:f6
+    - source_name: p3p2
+      Mbps: 10000
+      pci: '0000:43:00.1'
+      switch_port: port1/3
+      switch_dpid: '00:01:02:03:04:05:06:07'
+      sriovs:
+      - mac: 72:fd:7a:af:91:57
+        pci: '0000:43:10.1'
+        source_name: 0
+        vlan: 103
+      - mac: fa:c4:d7:e1:3b:07
+        pci: '0000:43:10.3'
+        source_name: 1
+        vlan: 100
+      - mac: c2:03:28:4a:0a:8e
+        pci: '0000:43:10.5'
+        source_name: 2
+        vlan: 101
+      - mac: 66:1b:78:65:67:e2
+        pci: '0000:43:10.7'
+        source_name: 3
+        vlan: 102
+      - mac: be:4b:e9:77:ff:a2
+        pci: '0000:43:11.1'
+        source_name: 4
+        vlan: 104
+      - mac: 02:9a:94:e2:79:c0
+        pci: '0000:43:11.3'
+        source_name: 5
+        vlan: 105
+      - mac: b2:80:62:dd:09:ea
+        pci: '0000:43:11.5'
+        source_name: 6
+        vlan: 106
+      - mac: ea:41:30:8e:af:b9
+        pci: '0000:43:11.7'
+        source_name: 7
+        vlan: 107
+      mac: a0:36:9f:25:97:de
+    - source_name: p3p1
+      Mbps: 10000
+      pci: '0000:43:00.0'
+      switch_port: port1/2
+      switch_dpid: '00:01:02:03:04:05:06:07'
+      sriovs:
+      - mac: 66:80:a0:55:83:93
+        pci: '0000:43:10.0'
+        source_name: 0
+        vlan: 102
+      - mac: fe:fd:72:b8:fe:bb
+        pci: '0000:43:10.2'
+        source_name: 1
+        vlan: 103
+      - mac: 6a:70:92:7f:6b:7b
+        pci: '0000:43:10.4'
+        source_name: 2
+        vlan: 100
+      - mac: 3a:14:75:5e:63:15
+        pci: '0000:43:10.6'
+        source_name: 3
+        vlan: 101
+      - mac: 2e:c9:5d:6e:27:48
+        pci: '0000:43:11.0'
+        source_name: 4
+        vlan: 104
+      - mac: 02:f7:bb:82:78:1f
+        pci: '0000:43:11.2'
+        source_name: 5
+        vlan: 105
+      - mac: 0e:5e:b6:a8:6c:80
+        pci: '0000:43:11.4'
+        source_name: 6
+        vlan: 107
+      - mac: 8e:bf:81:bc:cb:44
+        pci: '0000:43:11.6'
+        source_name: 7
+        vlan: 106
+      mac: a0:36:9f:25:97:dc
+    numa_socket: 1
+    hugepages: 28
+    memory: 32
+  - cores:
+    - core_id: 0
+      thread_id: 0
+      status: noteligible
+    - core_id: 0
+      thread_id: 24
+      status: noteligible
+    - core_id: 1
+      thread_id: 2
+    - core_id: 1
+      thread_id: 26
+    - core_id: 2
+      thread_id: 4
+    - core_id: 2
+      thread_id: 28
+    - core_id: 3
+      thread_id: 6
+    - core_id: 3
+      thread_id: 30
+    - core_id: 4
+      thread_id: 8
+    - core_id: 4
+      thread_id: 32
+    - core_id: 5
+      thread_id: 10
+    - core_id: 5
+      thread_id: 34
+    - core_id: 6
+      thread_id: 12
+    - core_id: 6
+      thread_id: 36
+    - core_id: 7
+      thread_id: 14
+    - core_id: 7
+      thread_id: 38
+    - core_id: 8
+      thread_id: 16
+    - core_id: 8
+      thread_id: 40
+    - core_id: 9
+      thread_id: 18
+    - core_id: 9
+      thread_id: 42
+    - core_id: 10
+      thread_id: 20
+    - core_id: 10
+      thread_id: 44
+    - core_id: 11
+      thread_id: 22
+    - core_id: 11
+      thread_id: 46
+    interfaces:
+    - source_name: p5p1
+      Mbps: 10000
+      pci: '0000:04:00.0'
+      switch_port: port1/4
+      switch_dpid: '00:01:02:03:04:05:06:07'
+      sriovs:
+      - mac: aa:ef:2c:23:ae:04
+        pci: '0000:04:10.0'
+        source_name: 0
+        vlan: 104
+      - mac: 2e:d5:b9:3e:c4:8b
+        pci: '0000:04:10.2'
+        source_name: 1
+        vlan: 105
+      - mac: 4e:d6:55:09:17:1e
+        pci: '0000:04:10.4'
+        source_name: 2
+        vlan: 106
+      - mac: ce:42:cc:9c:5a:32
+        pci: '0000:04:10.6'
+        source_name: 3
+        vlan: 107
+      - mac: 1e:71:34:7f:5d:47
+        pci: '0000:04:11.0'
+        source_name: 4
+        vlan: 102
+      - mac: 26:5c:e4:db:8c:48
+        pci: '0000:04:11.2'
+        source_name: 5
+        vlan: 103
+      - mac: 5e:48:23:56:63:c0
+        pci: '0000:04:11.4'
+        source_name: 6
+        vlan: 100
+      - mac: 9a:a2:fa:97:19:84
+        pci: '0000:04:11.6'
+        source_name: 7
+        vlan: 101
+      mac: a0:36:9f:27:46:a0
+    - source_name: p5p2
+      Mbps: 10000
+      pci: '0000:04:00.1'
+      switch_port: port1/5
+      switch_dpid: '00:01:02:03:04:05:06:07'
+      sriovs:
+      - mac: 0a:9b:b5:d1:e6:34
+        pci: '0000:04:10.1'
+        source_name: 0
+        vlan: 104
+      - mac: 5e:87:4a:22:e9:57
+        pci: '0000:04:10.3'
+        source_name: 1
+        vlan: 105
+      - mac: ea:94:d5:f6:ee:bb
+        pci: '0000:04:10.5'
+        source_name: 2
+        vlan: 106
+      - mac: 5a:3f:17:6b:bb:8b
+        pci: '0000:04:10.7'
+        source_name: 3
+        vlan: 107
+      - mac: 8e:af:5c:cc:c8:82
+        pci: '0000:04:11.1'
+        source_name: 4
+        vlan: 102
+      - mac: 3e:a0:df:f0:2b:07
+        pci: '0000:04:11.3'
+        source_name: 5
+        vlan: 103
+      - mac: ae:7d:00:9b:54:4d
+        pci: '0000:04:11.5'
+        source_name: 6
+        vlan: 100
+      - mac: fa:b5:0d:c6:78:87
+        pci: '0000:04:11.7'
+        source_name: 7
+        vlan: 101
+      mac: a0:36:9f:27:46:a2
+    - source_name: p7p1
+      Mbps: 10000
+      pci: '0000:06:00.0'
+      switch_port: port1/6
+      switch_dpid: '00:01:02:03:04:05:06:07'
+      sriovs:
+      - mac: 22:4a:21:37:84:80
+        pci: '0000:06:10.0'
+        source_name: 0
+        vlan: 104
+      - mac: b2:8f:2c:04:08:08
+        pci: '0000:06:10.2'
+        source_name: 1
+        vlan: 103
+      - mac: fe:2e:71:1f:99:dd
+        pci: '0000:06:10.4'
+        source_name: 2
+        vlan: 106
+      - mac: 1a:2c:7c:98:39:b6
+        pci: '0000:06:10.6'
+        source_name: 3
+        vlan: 105
+      - mac: 6e:39:08:a9:7e:b1
+        pci: '0000:06:11.0'
+        source_name: 4
+        vlan: 107
+      - mac: 4a:00:f3:5b:15:27
+        pci: '0000:06:11.2'
+        source_name: 5
+        vlan: 102
+      - mac: b2:c3:48:da:24:55
+        pci: '0000:06:11.4'
+        source_name: 6
+        vlan: 101
+      - mac: 72:85:cd:18:ee:5d
+        pci: '0000:06:11.6'
+        source_name: 7
+        vlan: 100
+      mac: a0:36:9f:27:45:80
+    - source_name: p7p2
+      Mbps: 10000
+      pci: '0000:06:00.1'
+      switch_port: port1/7
+      switch_dpid: '00:01:02:03:04:05:06:07'
+      sriovs:
+      - mac: 0a:60:1a:9d:ba:e2
+        pci: '0000:06:10.1'
+        source_name: 0
+        vlan: 104
+      - mac: 72:cb:0a:99:2f:7e
+        pci: '0000:06:10.3'
+        source_name: 1
+        vlan: 103
+      - mac: f2:2b:6b:d8:95:aa
+        pci: '0000:06:10.5'
+        source_name: 2
+        vlan: 106
+      - mac: b2:3a:4a:a8:c9:e9
+        pci: '0000:06:10.7'
+        source_name: 3
+        vlan: 105
+      - mac: 06:85:75:b1:e8:10
+        pci: '0000:06:11.1'
+        source_name: 4
+        vlan: 107
+      - mac: 12:41:69:61:89:3a
+        pci: '0000:06:11.3'
+        source_name: 5
+        vlan: 102
+      - mac: 86:03:a8:5a:ad:71
+        pci: '0000:06:11.5'
+        source_name: 6
+        vlan: 101
+      - mac: ca:9c:5c:ad:e2:e2
+        pci: '0000:06:11.7'
+        source_name: 7
+        vlan: 100
+      mac: a0:36:9f:27:45:82
+    numa_socket: 0
+    hugepages: 28
+    memory: 32
+
diff --git a/test/hosts/new_host.yaml b/test/hosts/new_host.yaml
index affe668..6a2bdae 100644
--- a/test/hosts/new_host.yaml
+++ b/test/hosts/new_host.yaml
@@ -1,6 +1,6 @@
 ##
 # Copyright 2015 Telefónica Investigación y Desarrollo, S.A.U.
-# This file is part of openmano
+# This file is part of openvim
 # All Rights Reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License"); you may
diff --git a/test/images/new_image.yaml b/test/images/new_image.yaml
index a599884..56c3a4e 100644
--- a/test/images/new_image.yaml
+++ b/test/images/new_image.yaml
@@ -1,6 +1,6 @@
 ##
 # Copyright 2015 Telefónica Investigación y Desarrollo, S.A.U.
-# This file is part of openmano
+# This file is part of openvim
 # All Rights Reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License"); you may
diff --git a/test/networks/net-example0.yaml b/test/networks/net-example0.yaml
index cfae0c7..3636946 100644
--- a/test/networks/net-example0.yaml
+++ b/test/networks/net-example0.yaml
@@ -1,3 +1,24 @@
+##
+# Copyright 2016 Telefónica Investigación y Desarrollo, S.A.U.
+# This file is part of openvim
+# All Rights Reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+#         http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+#
+# For those usages not covered by the Apache License, Version 2.0 please
+# contact with: nfvlabs@tid.es
+##
+
 network:
     name:               default
     type:               bridge_man
diff --git a/test/networks/net-example1.yaml b/test/networks/net-example1.yaml
index cbc7980..5f93a67 100644
--- a/test/networks/net-example1.yaml
+++ b/test/networks/net-example1.yaml
@@ -1,3 +1,24 @@
+##
+# Copyright 2016 Telefónica Investigación y Desarrollo, S.A.U.
+# This file is part of openvim
+# All Rights Reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+#         http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+#
+# For those usages not covered by the Apache License, Version 2.0 please
+# contact with: nfvlabs@tid.es
+##
+
 network:
     name:               macvtap:em1
     type:               bridge_man
diff --git a/test/networks/net-example2.yaml b/test/networks/net-example2.yaml
index f913670..ed56028 100644
--- a/test/networks/net-example2.yaml
+++ b/test/networks/net-example2.yaml
@@ -1,3 +1,24 @@
+##
+# Copyright 2016 Telefónica Investigación y Desarrollo, S.A.U.
+# This file is part of openvim
+# All Rights Reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+#         http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+#
+# For those usages not covered by the Apache License, Version 2.0 please
+# contact with: nfvlabs@tid.es
+##
+
 network:
     name:               shared_bridge_net
     type:               bridge_data
diff --git a/test/networks/net-example3.yaml b/test/networks/net-example3.yaml
index ed3b940..43e5939 100644
--- a/test/networks/net-example3.yaml
+++ b/test/networks/net-example3.yaml
@@ -1,3 +1,24 @@
+##
+# Copyright 2016 Telefónica Investigación y Desarrollo, S.A.U.
+# This file is part of openvim
+# All Rights Reserved.
+#
+# Licensed under the Apache License, Version 2.0 (the "License"); you may
+# not use this file except in compliance with the License. You may obtain
+# a copy of the License at
+#
+#         http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
+# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+#
+# For those usages not covered by the Apache License, Version 2.0 please
+# contact with: nfvlabs@tid.es
+##
+
 network:
     name:               data_net
     type:               data
diff --git a/test/networks/new_network.yaml b/test/networks/new_network.yaml
index af1e673..73fa085 100644
--- a/test/networks/new_network.yaml
+++ b/test/networks/new_network.yaml
@@ -1,6 +1,6 @@
 ##
 # Copyright 2015 Telefónica Investigación y Desarrollo, S.A.U.
-# This file is part of openmano
+# This file is part of openvim
 # All Rights Reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License"); you may
diff --git a/test/ports/new_port.yaml b/test/ports/new_port.yaml
index 6a07a3a..c84e8bd 100644
--- a/test/ports/new_port.yaml
+++ b/test/ports/new_port.yaml
@@ -1,6 +1,6 @@
 ##
 # Copyright 2015 Telefónica Investigación y Desarrollo, S.A.U.
-# This file is part of openmano
+# This file is part of openvim
 # All Rights Reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License"); you may
diff --git a/test/servers/new_server.yaml b/test/servers/new_server.yaml
index 6f30d14..90d72ce 100644
--- a/test/servers/new_server.yaml
+++ b/test/servers/new_server.yaml
@@ -1,6 +1,6 @@
 ##
 # Copyright 2015 Telefónica Investigación y Desarrollo, S.A.U.
-# This file is part of openmano
+# This file is part of openvim
 # All Rights Reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License"); you may
diff --git a/test/tenants/new_tenant.yaml b/test/tenants/new_tenant.yaml
index 82ac36a..58832f3 100644
--- a/test/tenants/new_tenant.yaml
+++ b/test/tenants/new_tenant.yaml
@@ -1,6 +1,6 @@
 ##
 # Copyright 2015 Telefónica Investigación y Desarrollo, S.A.U.
-# This file is part of openmano
+# This file is part of openvim
 # All Rights Reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License"); you may
diff --git a/test/test_openflow.sh b/test/test_openflow.sh
index 88fdc70..3f76771 100755
--- a/test/test_openflow.sh
+++ b/test/test_openflow.sh
@@ -2,7 +2,7 @@
 
 ##
 # Copyright 2015 Telefónica Investigación y Desarrollo, S.A.U.
-# This file is part of openmano
+# This file is part of openvim
 # All Rights Reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License"); you may
diff --git a/test/test_openvim.py b/test/test_openvim.py
index 73fcc23..b209a57 100755
--- a/test/test_openvim.py
+++ b/test/test_openvim.py
@@ -4,7 +4,7 @@
 
 ##
 # Copyright 2015 Telefónica Investigación y Desarrollo, S.A.U.
-# This file is part of openmano
+# This file is part of openvim
 # All Rights Reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License"); you may
diff --git a/test/test_vim.sh b/test/test_vim.sh
index 58441e5..7ba27d0 100755
--- a/test/test_vim.sh
+++ b/test/test_vim.sh
@@ -2,7 +2,7 @@
 
 ##
 # Copyright 2015 Telefónica Investigación y Desarrollo, S.A.U.
-# This file is part of openmano
+# This file is part of openvim
 # All Rights Reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License"); you may