jolausa

sfc demo

Apr 4th, 2017
611
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.99 KB | None | 0 0
  1. root@3d166b1f2b44:~/demo/basic# ./bootstrap.sh
  2. 2017-04-04 15:52:23,556 - opnfv.deployment.manager - INFO - Fetching /root/tackerc from 10.20.0.3
  3. 2017-04-04 15:52:23,642 - opnfv.deployment.manager - INFO - Successfully copied 10.20.0.3:/root/tackerc to /home/opnfv/demo/basic/tackerc
  4. 2017-04-04 15:52:23,643 - opnfv.deployment.manager - INFO - Fetching /opt/opendaylight/etc/jetty.xml from 10.20.0.3
  5. 2017-04-04 15:52:23,676 - opnfv.deployment.manager - INFO - Successfully copied 10.20.0.3:/opt/opendaylight/etc/jetty.xml to /home/opnfv/demo/basic/jetty.xml
  6. 2017-04-04 15:52:23,677 - Fetch Credentials - INFO - Tacker creds fetched in /home/opnfv/demo/basic/tackerc
  7. 2017-04-04 15:52:23,677 - Fetch Credentials - INFO - OpenDaylight IP: 192.168.0.3
  8. 2017-04-04 15:52:23,678 - Fetch Credentials - INFO - OpenDaylight port: 8181
  9. 2017-04-04 15:52:29,110 - opnfv.deployment.manager - INFO - Fetching /opt/opendaylight/etc/jetty.xml from 10.20.0.3
  10. 2017-04-04 15:52:29,153 - opnfv.deployment.manager - INFO - Successfully copied 10.20.0.3:/opt/opendaylight/etc/jetty.xml to /home/opnfv/demo/basic/jetty.xml
  11. 2017-04-04 15:52:29,154 - __main__ - INFO - This is a compute: {'cluster': '1', 'mac': '52:54:00:df:76:a9', 'status_node': 'ready', 'online': '1'}
  12. 2017-04-04 15:52:29,154 - __main__ - INFO - This is a compute: {'cluster': '1', 'mac': '52:54:00:06:e5:82', 'status_node': 'ready', 'online': '1'}
  13. 2017-04-04 15:52:29,155 - sfc.lib.utils - INFO - bringing up br-int iface and flushing arp tables
  14. 2017-04-04 15:52:29,394 - sfc.lib.utils - INFO - route 11.0.0.0/24 already exists
  15. 2017-04-04 15:52:29,576 - sfc.lib.utils - INFO - route 11.0.0.0/24 already exists
  16. 2017-04-04 15:52:29,576 - sfc.lib.utils - INFO - Configuring iptables -P INPUT ACCEPT on contoller
  17. 2017-04-04 15:52:29,605 - sfc.lib.utils - INFO - Configuring iptables -t nat -P INPUT ACCEPT on contoller
  18. 2017-04-04 15:52:29,676 - sfc.lib.utils - INFO - Configuring iptables -A INPUT -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT on contoller
  19. 2017-04-04 15:52:29,747 - sfc.lib.utils - INFO - Using old image
  20. 2017-04-04 15:52:29,995 - openstack_utils - INFO - Creating flavor 'custom' with '1500' RAM, '10' disk size, '1' vcpus...
  21. 2017-04-04 15:52:30,605 - openstack_utils - INFO - Creating image 'sfc_nsh_danube' from '/home/opnfv/functest/data/sfc_nsh_danube.qcow2'...
  22. 2017-04-04 15:52:38,932 - openstack_utils - INFO - Creating neutron network example-net...
  23. 2017-04-04 15:52:42,789 - openstack_utils - INFO - Creating security group 'example-sg'...
  24. 2017-04-04 15:52:47,576 - sfc.lib.topology_shuffler - INFO - Creating enpoint and VNF topology on the compute hosts
  25. 2017-04-04 15:52:47,577 - sfc.lib.topology_shuffler - INFO -
  26. All endpoints and VNFs are on a single host.
  27. This is the baseline test.
  28.  
  29. 2017-04-04 15:52:47,577 - __main__ - INFO - This test is run with the topology CLIENT_SERVER_VNF_SAME_HOST
  30. 2017-04-04 15:52:47,577 - __main__ - INFO - Topology description:
  31. All endpoints and VNFs are on a single host.
  32. This is the baseline test.
  33.  
  34. 2017-04-04 15:52:47,577 - sfc.lib.utils - INFO - Creating instance 'client'...
  35. 2017-04-04 15:53:12,710 - sfc.lib.utils - INFO - Creating instance 'server'...
  36. 2017-04-04 15:53:21,343 - __main__ - INFO - SERVER PRIVATE IP: 11.0.0.11
  37. 2017-04-04 15:53:26,996 - opnfv.deployment.manager - INFO - Fetching /opt/opendaylight/etc/jetty.xml from 10.20.0.3
  38. 2017-04-04 15:53:27,111 - opnfv.deployment.manager - INFO - Successfully copied 10.20.0.3:/opt/opendaylight/etc/jetty.xml to /home/opnfv/demo/basic/jetty.xml
  39. 2017-04-04 15:53:27,729 - sfc.lib.topology_shuffler - INFO - Creating enpoint and VNF topology on the compute hosts
  40. 2017-04-04 15:53:27,729 - sfc.lib.topology_shuffler - INFO -
  41. All endpoints and VNFs are on a single host.
  42. This is the baseline test.
  43.  
  44. 2017-04-04 15:53:27,729 - __main__ - INFO - This test is run with the topology CLIENT_SERVER_VNF_SAME_HOST
  45. 2017-04-04 15:53:27,729 - __main__ - INFO - Topology description:
  46. All endpoints and VNFs are on a single host.
  47. This is the baseline test.
  48.  
  49. 2017-04-04 15:53:27,729 - tacker_utils - INFO - VNFD template:
  50. template_name: test-vnfd1
  51. description: firewall1-example
  52.  
  53. service_properties:
  54. Id: firewall1-vnfd
  55. vendor: tacker
  56. version: 1
  57. type:
  58. - firewall1
  59. vdus:
  60. vdu1:
  61. id: vdu1
  62. vm_image: sfc_nsh_danube
  63. instance_type: custom
  64. service_type: firewall1
  65.  
  66. network_interfaces:
  67. management:
  68. network: example-net
  69. management: true
  70.  
  71. placement_policy:
  72. availability_zone: { get_input: zone }
  73.  
  74. auto-scaling: noop
  75. monitoring_policy: noop
  76. failure_policy: respawn
  77.  
  78. config:
  79. param0: key0
  80. param1: key1
  81.  
  82. 2017-04-04 15:53:27,887 - tacker_utils - INFO - VNFD template:
  83. template_name: test-vnfd2
  84. description: firewall2-example
  85.  
  86. service_properties:
  87. Id: firewall2-vnfd
  88. vendor: tacker
  89. version: 1
  90. type:
  91. - firewall2
  92. vdus:
  93. vdu1:
  94. id: vdu1
  95. vm_image: sfc_nsh_danube
  96. instance_type: custom
  97. service_type: firewall2
  98.  
  99. network_interfaces:
  100. management:
  101. network: example-net
  102. management: true
  103.  
  104. placement_policy:
  105. availability_zone: { get_input: zone }
  106.  
  107. auto-scaling: noop
  108. monitoring_policy: noop
  109. failure_policy: respawn
  110.  
  111. config:
  112. param0: key0
  113. param1: key1
  114.  
  115. 2017-04-04 15:53:32,689 - tacker_utils - INFO - Waiting for vnf {u'status': u'PENDING_CREATE', u'name': u'testVNF1', u'tenant_id': u'2fa8887b80ab44d59620d0221b2b37db', u'instance_id': None, u'mgmt_url': None, u'attributes': {u'param_values': u'vdus:\n vdu1:\n param:\n zone: nova::node-2.domain.tld\n'}, u'id': u'46f27472-958c-4e5b-abd1-a64e1cd517d7', u'description': u'firewall1-example'}
  116. 2017-04-04 15:54:03,635 - tacker_utils - INFO - Waiting for vnf {u'status': u'PENDING_CREATE', u'name': u'testVNF2', u'tenant_id': u'2fa8887b80ab44d59620d0221b2b37db', u'instance_id': None, u'mgmt_url': None, u'attributes': {u'param_values': u'vdus:\n vdu1:\n param:\n zone: nova::node-2.domain.tld\n'}, u'id': u'8e823efc-49e8-4c22-9274-94777e825277', u'description': u'firewall2-example'}
  117. 2017-04-04 15:54:11,569 - __main__ - INFO - +--------------------------------------+------+-------------+--------------+-------------+--------+
  118. | id | name | description | infra_driver | symmetrical | status |
  119. +--------------------------------------+------+-------------+--------------+-------------+--------+
  120. | 71a85c90-b49e-49d3-b88b-bef0ec1da335 | blue | | opendaylight | False | ACTIVE |
  121. | 8ebfcd67-4e4e-480a-875f-35fe64590274 | red | | opendaylight | False | ACTIVE |
  122. +--------------------------------------+------+-------------+--------------+-------------+--------+
  123. 2017-04-04 15:54:13,249 - __main__ - INFO - +--------------------------------------+----------+-------------+-------------------------------------------------------+--------+
  124. | id | name | description | acl_match_criteria | status |
  125. +--------------------------------------+----------+-------------+-------------------------------------------------------+--------+
  126. | 99e80890-6f39-48ed-ae9f-18040c41ad40 | red_http | | {u'source_port': 0, u'protocol': 6, u'dest_port': 80} | ACTIVE |
  127. | d722c042-a39f-4b8c-8895-485757935550 | red_ssh | | {u'source_port': 0, u'protocol': 6, u'dest_port': 22} | ACTIVE |
  128. +--------------------------------------+----------+-------------+-------------------------------------------------------+--------+
  129. 2017-04-04 15:54:13,470 - sfc.lib.utils - INFO - RSPs in ODL Operational DataStore:
  130. 2017-04-04 15:54:13,470 - sfc.lib.utils - INFO - {'0x22_22': ['nova::node-2.domain.tld'], '0x22_80': ['nova::node-2.domain.tld']}
  131. 2017-04-04 15:54:13,733 - sfc.lib.utils - INFO - RSPs in compute nodes:
  132. 2017-04-04 15:54:13,734 - sfc.lib.utils - INFO - {'nova::node-3.domain.tld': [], 'nova::node-2.domain.tld': []}
  133. 2017-04-04 15:54:14,734 - sfc.lib.utils - INFO - RSPs in ODL Operational DataStore:
  134. 2017-04-04 15:54:14,735 - sfc.lib.utils - INFO - {'0x22_22': ['nova::node-2.domain.tld'], '0x22_80': ['nova::node-2.domain.tld']}
  135. 2017-04-04 15:54:14,993 - sfc.lib.utils - INFO - RSPs in compute nodes:
  136. 2017-04-04 15:54:14,993 - sfc.lib.utils - INFO - {'nova::node-3.domain.tld': [], 'nova::node-2.domain.tld': []}
  137. 2017-04-04 15:54:15,452 - sfc.lib.utils - INFO - Instance name and ip ta-3efc-49e8-4c22-9274-94777e825277-vdu1-lqtcacwcz753:172.16.0.141
  138. 2017-04-04 15:54:15,453 - sfc.lib.utils - INFO - Waiting for instance ta-3efc-49e8-4c22-9274-94777e825277-vdu1-lqtcacwcz753:172.16.0.141 to come up
  139. 2017-04-04 15:54:15,995 - sfc.lib.utils - INFO - RSPs in ODL Operational DataStore:
  140. 2017-04-04 15:54:15,995 - sfc.lib.utils - INFO - {'0x22_22': ['nova::node-2.domain.tld'], '0x22_80': ['nova::node-2.domain.tld']}
  141. 2017-04-04 15:54:16,341 - sfc.lib.utils - INFO - RSPs in compute nodes:
  142. 2017-04-04 15:54:16,341 - sfc.lib.utils - INFO - {'nova::node-3.domain.tld': [], 'nova::node-2.domain.tld': ['0x22_80']}
  143. 2017-04-04 15:54:17,342 - sfc.lib.utils - INFO - RSPs in ODL Operational DataStore:
  144. 2017-04-04 15:54:17,343 - sfc.lib.utils - INFO - {'0x22_22': ['nova::node-2.domain.tld'], '0x22_80': ['nova::node-2.domain.tld']}
  145. 2017-04-04 15:54:17,477 - sfc.lib.utils - INFO - SF:172.16.0.141 is reachable
  146. 2017-04-04 15:54:17,541 - sfc.lib.utils - INFO - RSPs in compute nodes:
  147. 2017-04-04 15:54:17,541 - sfc.lib.utils - INFO - {'nova::node-3.domain.tld': [], 'nova::node-2.domain.tld': ['0x22_80']}
  148. 2017-04-04 15:54:18,543 - sfc.lib.utils - INFO - RSPs in ODL Operational DataStore:
  149. 2017-04-04 15:54:18,543 - sfc.lib.utils - INFO - {'0x22_22': ['nova::node-2.domain.tld'], '0x22_80': ['nova::node-2.domain.tld']}
  150. 2017-04-04 15:54:18,844 - sfc.lib.utils - INFO - RSPs in compute nodes:
  151. 2017-04-04 15:54:18,845 - sfc.lib.utils - INFO - {'nova::node-3.domain.tld': [], 'nova::node-2.domain.tld': ['0x22_80']}
  152. 2017-04-04 15:54:19,831 - sfc.lib.utils - INFO - Instance name and ip ta-7472-958c-4e5b-abd1-a64e1cd517d7-vdu1-gmachyju5eeo:172.16.0.130
  153. 2017-04-04 15:54:19,831 - sfc.lib.utils - INFO - Waiting for instance ta-7472-958c-4e5b-abd1-a64e1cd517d7-vdu1-gmachyju5eeo:172.16.0.130 to come up
  154. 2017-04-04 15:54:19,846 - sfc.lib.utils - INFO - RSPs in ODL Operational DataStore:
  155. 2017-04-04 15:54:19,848 - sfc.lib.utils - INFO - {'0x22_22': ['nova::node-2.domain.tld'], '0x22_80': ['nova::node-2.domain.tld']}
  156. 2017-04-04 15:54:20,119 - sfc.lib.utils - INFO - RSPs in compute nodes:
  157. 2017-04-04 15:54:20,119 - sfc.lib.utils - INFO - {'nova::node-3.domain.tld': [], 'nova::node-2.domain.tld': ['0x22_80']}
  158. 2017-04-04 15:54:21,120 - sfc.lib.utils - INFO - RSPs in ODL Operational DataStore:
  159. 2017-04-04 15:54:21,120 - sfc.lib.utils - INFO - {'0x22_22': ['nova::node-2.domain.tld'], '0x22_80': ['nova::node-2.domain.tld']}
  160. 2017-04-04 15:54:21,360 - sfc.lib.utils - INFO - RSPs in compute nodes:
  161. 2017-04-04 15:54:21,360 - sfc.lib.utils - INFO - {'nova::node-3.domain.tld': [], 'nova::node-2.domain.tld': ['0x22_80']}
  162. 2017-04-04 15:54:22,362 - sfc.lib.utils - INFO - RSPs in ODL Operational DataStore:
  163. 2017-04-04 15:54:22,362 - sfc.lib.utils - INFO - {'0x22_22': ['nova::node-2.domain.tld'], '0x22_80': ['nova::node-2.domain.tld']}
  164. 2017-04-04 15:54:22,578 - sfc.lib.utils - INFO - RSPs in compute nodes:
  165. 2017-04-04 15:54:22,579 - sfc.lib.utils - INFO - {'nova::node-3.domain.tld': [], 'nova::node-2.domain.tld': ['0x22_80']}
  166. 2017-04-04 15:54:23,580 - sfc.lib.utils - INFO - RSPs in ODL Operational DataStore:
  167. 2017-04-04 15:54:23,580 - sfc.lib.utils - INFO - {'0x22_22': ['nova::node-2.domain.tld'], '0x22_80': ['nova::node-2.domain.tld']}
  168. 2017-04-04 15:54:23,765 - sfc.lib.utils - INFO - RSPs in compute nodes:
  169. 2017-04-04 15:54:23,765 - sfc.lib.utils - INFO - {'nova::node-3.domain.tld': [], 'nova::node-2.domain.tld': ['0x22_80']}
  170. 2017-04-04 15:54:24,766 - sfc.lib.utils - INFO - RSPs in ODL Operational DataStore:
  171. 2017-04-04 15:54:24,767 - sfc.lib.utils - INFO - {'0x22_22': ['nova::node-2.domain.tld'], '0x22_80': ['nova::node-2.domain.tld']}
  172. 2017-04-04 15:54:24,960 - sfc.lib.utils - INFO - RSPs in compute nodes:
  173. 2017-04-04 15:54:24,960 - sfc.lib.utils - INFO - {'nova::node-3.domain.tld': [], 'nova::node-2.domain.tld': ['0x22_80']}
  174. 2017-04-04 15:54:25,961 - sfc.lib.utils - INFO - RSPs in ODL Operational DataStore:
  175. 2017-04-04 15:54:25,962 - sfc.lib.utils - INFO - {'0x22_22': ['nova::node-2.domain.tld'], '0x22_80': ['nova::node-2.domain.tld']}
  176. 2017-04-04 15:54:26,153 - sfc.lib.utils - INFO - RSPs in compute nodes:
  177. 2017-04-04 15:54:26,154 - sfc.lib.utils - INFO - {'nova::node-3.domain.tld': [], 'nova::node-2.domain.tld': ['0x22_80', '0x22_22']}
  178. 2017-04-04 15:54:26,154 - sfc.lib.utils - INFO - Classification rules were updated
  179. 2017-04-04 15:54:26,155 - functest_utils - INFO - wait_for_classification_rules(*(<opnfv.utils.ovs_logger.OVSLogger object at 0x7f8b54126e10>, [<opnfv.deployment.manager.Node object at 0x7f8b56b45190>, <opnfv.deployment.manager.Node object at 0x7f8b56b23d50>], u'192.168.0.3', u'8181', {'testVNF2': 'nova::node-2.domain.tld', 'testVNF1': 'nova::node-2.domain.tld', 'description': '\n All endpoints and VNFs are on a single host.\n This is the baseline test.\n ', 'server': 'nova::node-2.domain.tld', 'client': 'nova::node-2.domain.tld', 'id': 'CLIENT_SERVER_VNF_SAME_HOST'}), **{}) took: 12.9041340351 sec
  180. 2017-04-04 15:54:27,895 - sfc.lib.utils - INFO - SF:172.16.0.130 is reachable
  181. 2017-04-04 15:54:29,683 - sfc.lib.utils - INFO - Instance name and ip server:172.16.0.139
  182. 2017-04-04 15:54:29,683 - sfc.lib.utils - INFO - Waiting for instance server:172.16.0.139 to come up
  183. 2017-04-04 15:54:37,748 - sfc.lib.utils - INFO - Server:172.16.0.139 is reachable
  184. 2017-04-04 15:54:39,676 - sfc.lib.utils - INFO - Instance name and ip client:172.16.0.132
  185. 2017-04-04 15:54:39,676 - sfc.lib.utils - INFO - Waiting for instance client:172.16.0.132 to come up
  186. 2017-04-04 15:54:47,739 - sfc.lib.utils - INFO - Client:172.16.0.132 is reachable
  187. 2017-04-04 15:54:47,739 - __main__ - INFO - Client VM IP: 172.16.0.132
  188. 2017-04-04 15:54:47,739 - __main__ - INFO - Server VM IP: 172.16.0.139
  189. 2017-04-04 15:54:47,740 - sfc.lib.utils - INFO - Checking SSH connectivity to the SFs with ips [u'172.16.0.130', u'172.16.0.141']
  190. 2017-04-04 15:54:48,815 - sfc.lib.utils - INFO - SSH connectivity to the SFs established
  191. 2017-04-04 15:54:48,815 - __main__ - INFO - Starting HTTP server on 172.16.0.139
  192. 2017-04-04 15:54:49,920 - sfc.lib.utils - INFO - root 2338 12.0 0.7 35992 11804 ? R 17:54 0:00 python -m SimpleHTTPServer 80
  193. 2017-04-04 15:54:49,920 - __main__ - INFO - Starting HTTP firewall on 172.16.0.141
  194. 2017-04-04 15:54:57,289 - __main__ - INFO - Starting SSH firewall on 172.16.0.130
  195. 2017-04-04 15:55:04,637 - __main__ - INFO - Wait for ODL to update the classification rules in OVS
  196. 2017-04-04 15:55:04,638 - __main__ - INFO - SSH traffic from client to server should be blocked
  197. 2017-04-04 15:55:04,638 - __main__ - INFO - HTTP traffic from client to server should be accepted
Advertisement
Add Comment
Please, Sign In to add comment