Re: [Ryu-devel] WSGI framework - CORS error

2014-04-02 Thread Dhananjay Sampath
I was modifying the wrong set of libs - I got it to work. However I feel like the webob's response header options should be set from within Ryu instead of setting it in python libs. FYI: Locate the file : /usr/local/lib/python2.7/dist-packages/WebOb-1.3.1-py2.7.egg/webob/response.py add the foll

[Ryu-devel] WSGI framework - CORS error

2014-04-02 Thread Dhananjay Sampath
Hi, I am trying to build a front end that queries the Ryu REST service from within a JS. However, when I try to execute a GET from within the script context then I get the following error: XMLHttpRequest cannot load http://tap-test.t-labs.us:8080/switches. No 'Access-Control-Allow-Origin' header

Re: [Ryu-devel] Mark packets with vlan ID

2014-04-02 Thread Dong Mo
do you have the wireshark trace and the code you set those rules? -Mo 2014-04-02 1:23 GMT-05:00 Windhya Rankothge : > Hi all, > > I have following topology in mininet. > > h1 --- s1 --- s2 --- h2 >! > h3 > > I want to mark the packets sent by a specific host

[Ryu-devel] Chain ryu_neutron_agent tables rules

2014-04-02 Thread arjun jayaprakash
Chain ryu_neutron_agen-s85e1f2a9-c (1 references) target prot opt source   destination RETURN all  --  10.0.0.3 anywhere MAC FA:16:3E:73:59:71 DROP   all  --  anywhere anywhere and not able to send packet from guest VMs. Environment: Ubun

Re: [Ryu-devel] Mark packets with vlan ID

2014-04-02 Thread Windhya Rankothge
Hi all, I have following two rules on S1 {"actions": ["OUTPUT:2", "SET_VLAN_VID:1"], "idle_timeout": 0, "cookie": 0, "packet_count": 0, "hard_timeout": 0, "byte_count": 0, "duration_nsec": 74100, "priority": 32768, "duration_sec": 3, "table_id": 0, "match": {"dl_type": 2048, "nw_dst": "10.0.0