Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ryu Adapter OpenFlow 1.0 FlowMod Exception #102

Open
starbops opened this issue May 16, 2016 · 0 comments
Open

Ryu Adapter OpenFlow 1.0 FlowMod Exception #102

starbops opened this issue May 16, 2016 · 0 comments

Comments

@starbops
Copy link
Member

When I tried to add a flow entry, I got the following error which displayed on the console of Ryu controller:

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/eventlet/wsgi.py", line 481, in handle_one_response
    result = self.application(self.environ, start_response)
  File "/usr/local/lib/python2.7/dist-packages/ryu/app/wsgi.py", line 201, in __call__
    return super(wsgify_hack, self).__call__(environ, start_response)
  File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__
    resp = self.call_func(req, *args, **self.kwargs)
  File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func
    return self.func(req, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/ryu/app/wsgi.py", line 263, in __call__
    return controller(req)
  File "/usr/local/lib/python2.7/dist-packages/ryu/app/wsgi.py", line 125, in __call__
    return getattr(self, action)(req, **kwargs)
  File "/home/vagrant/OpenADM/adapter/ryu/omniui/omniui.py", line 680, in mod_flow_entry
    ryuFlow = self.ryuFlow_v1_0(dp, omniFlow)
  File "/home/vagrant/OpenADM/adapter/ryu/omniui/omniui.py", line 716, in ryuFlow_v1_0
    'nw_src': flows.get('srcIP').split('/')[0],
AttributeError: 'NoneType' object has no attribute 'split'

The flow entry I added through web UI is listed below for the purpose of reproducing the error:

switch: "00:00:00:00:00:00:00:01"
priority: "99"
ingressPort: "3"
OUTPUT: "3"

P.S. OpenFlow 1.0

hsiaohsuan1l1l added a commit to hsiaohsuan1l1l/OpenADM that referenced this issue May 16, 2016
hsiaohsuan1l1l added a commit to hsiaohsuan1l1l/OpenADM that referenced this issue May 19, 2016
hsiaohsuan1l1l added a commit to hsiaohsuan1l1l/OpenADM that referenced this issue May 19, 2016
hsiaohsuan1l1l added a commit to hsiaohsuan1l1l/OpenADM that referenced this issue May 19, 2016
hsiaohsuan1l1l added a commit to hsiaohsuan1l1l/OpenADM that referenced this issue May 27, 2016
starbops pushed a commit that referenced this issue May 28, 2016
waynelkh pushed a commit to waynelkh/OpenADM that referenced this issue Jun 28, 2016
waynelkh pushed a commit to waynelkh/OpenADM that referenced this issue Jun 28, 2016
waynelkh pushed a commit to waynelkh/OpenADM that referenced this issue Jun 28, 2016
waynelkh pushed a commit to waynelkh/OpenADM that referenced this issue Jun 28, 2016
waynelkh pushed a commit to waynelkh/OpenADM that referenced this issue Jun 28, 2016
waynelkh pushed a commit to waynelkh/OpenADM that referenced this issue Jun 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant