Hi all,
I'm trying to build the lab SFC-102 by creating three virtualbox VMs for
the ODL+Classifier, SFF and SF.
I installed all required packages and run successively the script
sfc-py/start_agent.sh on nodes (SF, SFF)  as explained in the wiki.
But I got the error [1] at the creation of SF and the final test does not
work as expected.

I've a few questions please:
- Someone knows how to solve the error [1] ?
- How to make sure that the classifier is working ?
- Is it possible to build SFC lab with mininet netrwork ?
- Did someone already test SFC-103 with docker ?

Regards,

[1] ERROR:
root@sf:/home/vagrant/sfc/sfc-py# ./start_agent.sh 192.168.1.7:8080
INFO:sfc/sfc_agent.py:ODL locator: 192.168.1.7:8080
INFO:sfc/sfc_agent.py:

====== STARTING SFC AGENT ======
INFO:sfc/sfc_agent.py:

SFC Agent will listen to Opendaylight REST Messages and take any
appropriate action such as creating, deleting, updating  SFs, SFFs,
 or classifier.

INFO:/home/vagrant/sfc/sfc-py/sfc/common/odl_api.py:Getting SFFs configured
in ODL ...
WARNING:/home/vagrant/sfc/sfc-py/sfc/common/odl_api.py:=>Failed to GET SFFs
from ODL

WARNING:/home/vagrant/sfc/sfc-py/sfc/common/odl_api.py:

Could not determine SFF name. This means ODL is not running
or there is no SFF with a data plane locator IP that matches
one where the SFC agent is running. SFC Agent will retry later...

INFO:werkzeug: * Running on http://0.0.0.0:5000/ (Press CTRL+C to quit)
INFO:sfc/sfc_agent.py:Received request for SF creation: firewall-2
INFO:sfc/sfc_agent.py:Received request from ODL to create SF ...
[2016-08-11 22:14:14,465] ERROR in app: Exception on
/config/service-function:service-functions/service-function/firewall-2 [PUT]
Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/flask/app.py", line 1988, in
wsgi_app
    response = self.full_dispatch_request()
  File "/usr/local/lib/python3.4/dist-packages/flask/app.py", line 1641, in
full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/local/lib/python3.4/dist-packages/flask/app.py", line 1544, in
handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/local/lib/python3.4/dist-packages/flask/_compat.py", line 33,
in reraise
    raise value
  File "/usr/local/lib/python3.4/dist-packages/flask/app.py", line 1639, in
full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/lib/python3.4/dist-packages/flask/app.py", line 1625, in
dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "sfc/sfc_agent.py", line 292, in create_sf
    _, sf_type = (local_sf_topo[sfname]['type']).split(':')
ValueError: too many values to unpack (expected 2)
ERROR:__main__:Exception on
/config/service-function:service-functions/service-function/firewall-2 [PUT]
Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/flask/app.py", line 1988, in
wsgi_app
    response = self.full_dispatch_request()
  File "/usr/local/lib/python3.4/dist-packages/flask/app.py", line 1641, in
full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/local/lib/python3.4/dist-packages/flask/app.py", line 1544, in
handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/local/lib/python3.4/dist-packages/flask/_compat.py", line 33,
in reraise
    raise value
  File "/usr/local/lib/python3.4/dist-packages/flask/app.py", line 1639, in
full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/lib/python3.4/dist-packages/flask/app.py", line 1625, in
dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "sfc/sfc_agent.py", line 292, in create_sf
    _, sf_type = (local_sf_topo[sfname]['type']).split(':')
ValueError: too many values to unpack (expected 2)
INFO:werkzeug:192.168.1.7 - - [11/Aug/2016 22:14:14] "PUT
/config/service-function:service-functions/service-function/firewall-2
HTTP/1.1" 500 -
_______________________________________________
sfc-dev mailing list
sfc-dev@lists.opendaylight.org
https://lists.opendaylight.org/mailman/listinfo/sfc-dev

Reply via email to