This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ubuntu@neutron:/opt/stack/new/tempest$ sudo tox -efull full develop-inst-nodeps: /opt/stack/new/tempestWARNING:test command found but not installed in testenv cmd: /usr/local/bin/pip env: /opt/stack/new/tempest/.tox/fullMaybe forgot to specify a dependency?full runtests: commands[0] | bash tools/pretty_tox.sh (?!.*\[.*\bslow\b.*\])(^tempest\.(api|scenario|thirdparty|cli)) | |
| WARNING:test command found but not installed in testenv | |
| cmd: /bin/bash | |
| env: /opt/stack/new/tempest/.tox/full | |
| Maybe forgot to specify a dependency? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Non-zero exit code (2) from test listing. stdout='\xb3)\x01@\[email protected]_aggregates.AggregatesAdminTestJSON.test_aggregate_add_host_create_server_with_az[gate]\xd1\xf7{\xac\xb3)\x01@[email protected]_aggregates.AggregatesAdminTestJSON.test_aggregate_add_host_get_details[gate]$}kS\xb3)\x01@[email protected]_aggregates.AggregatesAdminTestJSON.test_aggregate_add_host_list[gate]\xb2\xc5\x82\xdf\xb3)\x01@[email protected]_aggregates.AggregatesAdminTestJSON.test_aggregate_add_remove_host[gate]\xb8\xf4\x95s\xb3)\x01@[email protected]_aggregates.AggregatesAdminTestJSON.test_aggregate_create_delete[gate]\xa1s\x91\x95\xb3)\x01@[email protected]_aggregates.AggregatesAdminTestJSON.test_aggregate_create_delete_with_az[gate]\x11\xb4\x96\xf3\xb3)\x01@\[email protected]_aggregates.AggregatesAdminTestJSON.test_aggregate_create_update_metadata_get_details[gate]\xa9\xf93\xa6\xb3)\x01@[email protected] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import getopt | |
| import pycassa | |
| import subprocess | |
| import sys | |
| from pycassa.pool import ConnectionPool | |
| from pycassa.columnfamily import ColumnFamily | |
| def query_typename(column, typename): | |
| data = column.get(typename.replace('-', '_')) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import getopt | |
| import pycassa | |
| import subprocess | |
| import sys | |
| from pycassa.pool import ConnectionPool | |
| from pycassa.columnfamily import ColumnFamily | |
| def query_typename(column, typename): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 216.69.94.123 - - [2013-12-20 14:26:31] "POST /analytics/query HTTP/1.1" 500 172 0.002416 | |
| ubuntu@contrail-01:~$ tail /var/log/contrail/qe.log -n 20 | |
| 2013-12-20 Fri 15:57:55:089.888 PST contrail-01 [Thread 139800736868160, Pid 32757]: 127.0.0.1:40356::127.0.0.1:8086(-1):EvTcpConnected | |
| 2013-12-20 Fri 15:57:55:089.912 PST contrail-01 [Thread 139800668419840, Pid 32757]: Wrong state: Connect for event: EvSandeshSend | |
| 2013-12-20 Fri 15:57:55:089.974 PST contrail-01 [Thread 139800668419840, Pid 32757]: Processing scm::EvTcpConnected in state Connect | |
| 2013-12-20 Fri 15:57:55:089.997 PST contrail-01 [Thread 139800668419840, Pid 32757]: Connect : EvTcpConnected : Cancelling Connect timer | |
| 2013-12-20 Fri 15:57:55:090.017 PST contrail-01 [Thread 139800668419840, Pid 32757]: ClientInit | |
| 2013-12-20 Fri 15:57:55:090.055 PST contrail-01 [Thread 139800668419840, Pid 32757]: Sending Ctrl Message for QueryEngine count 2479 | |
| 2013-12-20 Fri 15:57:55:090.237 PST contrail-01 [Thread 139800668419840, Pid 32757]: Processing scm::EvSandes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def create_service_template(vnc): | |
| template = vnc_api.ServiceTemplate(name="service-dpi") | |
| properties = vnc_api.ServiceTemplateType( | |
| service_mode='transparent', | |
| service_type='firewall', | |
| image_name='ddos') | |
| properties.add_interface_type( | |
| vnc_api.ServiceTemplateInterfaceType( | |
| service_interface_type='left', shared_ip=False)) | |
| properties.add_interface_type( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ubuntu@contrail-01:~/contrail_scripts$ python test.py | |
| {u'service-templates': [{u'href': u'http://216.69.94.123:8082/service-template/12e75ce6-3ac1-4eb1-a94a-bd7c40eae299', u'fq_name': [u'default-domain', u'service-dpi'], u'uuid': u'12e75ce6-3ac1-4eb1-a94a-bd7c40eae299'}]} | |
| {u'service-instances': [{u'href': u'http://216.69.94.123:8082/service-instance/d07ab254-642e-49c3-8668-f638c528f8c6', u'fq_name': [u'default-domain', u'demo', u'service-dpi'], u'uuid': u'd07ab254-642e-49c3-8668-f638c528f8c6'}]} | |
| {u'virtual-networks': [{u'href': u'http://216.69.94.123:8082/virtual-network/c10a6257-4e16-4330-8a64-9cd69b5a88c0', u'fq_name': [u'default-domain', u'admin', u'public'], u'uuid': u'c10a6257-4e16-4330-8a64-9cd69b5a88c0'}, {u'href': u'http://216.69.94.123:8082/virtual-network/bbb94b79-ccdc-4fc7-9f4a-28c4d1c98419', u'fq_name': [u'default-domain', u'default-project', u'__link_local__'], u'uuid': u'bbb94b79-ccdc-4fc7-9f4a-28c4d1c98419'}, {u'href': u'http://216.69.94.123:8082/virtual-network/1311983a-0fd7-4847-b2a9-b82663ad |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 2013-12-10 15:15:58.667 TRACE neutron.api.v2.resource 2093 self.validate_DirectionType(self.direction) # validate type DirectionType | |
| 2013-12-10 15:15:58.667 TRACE neutron.api.v2.resource 2094 elif nodeName_ == 'protocol':2013-12-10 15:15:58.667 TRACE neutron.api.v2.resource 2095 protocol_ = child_.text | |
| 2013-12-10 15:15:58.667 TRACE neutron.api.v2.resource self = <gen.resource_xsd.PolicyRuleType object>2013-12-10 15:15:58.667 TRACE neutron.api.v2.resource self.validate_DirectionType = <bound method PolicyRuleType.validate_DirectionType of <gen.resource_xsd.PolicyRuleType object>> | |
| 2013-12-10 15:15:58.667 TRACE neutron.api.v2.resource self.direction = '<'2013-12-10 15:15:58.667 TRACE neutron.api.v2.resource | |
| 2013-12-10 15:15:58.667 TRACE neutron.api.v2.resource /usr/local/lib/python2.7/dist-packages/vnc_cfg_api_server/gen/resource_xsd.py in validate_DirectionType(self=<gen.resource_xsd.PolicyRuleType object>, value='<')2013-12-10 15:15:58.667 TRACE neutron.api.v2.resource 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ubuntu@contrail-01:~/devstack$ curl localhost:8082/virtual-networks | python -m json.tool % Total % Received % Xferd Average Speed Time Time Time Current | |
| Dload Upload Total Spent Left Speed100 1010 100 1010 0 0 72385 0 --:--:-- --:--:-- --:--:-- 77692 | |
| { "virtual-networks": [ { | |
| "fq_name": [ "default-domain", | |
| "admin", "public" | |
| ], "href": "http://localhost:8082/virtual-network/144bfd5c-32d4-4db1-919f-ef69ae56820c", | |
| "uuid": "144bfd5c-32d4-4db1-919f-ef69ae56820c" }, | |
| { "fq_name": [ | |
| "default-domain", "default-project", | |
| "__link_local__" ], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ubuntu@contrail-01:~/devstack$ . openrc admin admin | |
| ubuntu@contrail-01:~/devstack$ neutron net-create public | |
| Created a new network: | |
| +----------------+--------------------------------------+ | |
| | Field | Value | | |
| +----------------+--------------------------------------+ | |
| | admin_state_up | True | | |
| | id | 144bfd5c-32d4-4db1-919f-ef69ae56820c | | |
| | name | public | | |
| | shared | False | |