hi.
the interface of ofctl_rest treats instructions and actions similarly.
please try this:
curl -X POST -d '{"dpid": 1,
"match": {"in_port": 9900,
"dl_vlan": 100},
"actions": [{"type": "METER", "meter_id": 1},
This appears to be necessary for wire tests
to pass if matches are in an order different
from that defined by Ryu.
Signed-off-by: Simon Horman
---
ryu/ofproto/ofproto_v1_4_parser.py | 26 +-
1 file changed, 17 insertions(+), 9 deletions(-)
diff --git a/ryu/ofproto/ofprot
Signed-off-by: Simon Horman
---
ryu/ofproto/ofproto_v1_4_parser.py | 44 ++
1 file changed, 44 insertions(+)
diff --git a/ryu/ofproto/ofproto_v1_4_parser.py
b/ryu/ofproto/ofproto_v1_4_parser.py
index e617446..5c289a8 100644
--- a/ryu/ofproto/ofproto_v1_4_pars
Hi,
The aim of this patchset is threefold:
* cross-port recent changes to the OpenFlow 1.3 implementation to
the Open Flow 1.4 implementation.
* Increase OpenFlow 1.4 message and property coverage
- All messages, actions and properties that are art of both
OpenFlow 1.3 and 1.4, and covere
This is in keeping with 1368fd6899722a9c ("of13: set default attributes for
OFPMultipartRequest subclasses").
Signed-off-by: Simon Horman
---
ryu/ofproto/ofproto_v1_4_parser.py | 19 +++
1 file changed, 11 insertions(+), 8 deletions(-)
diff --git a/ryu/ofproto/ofproto_v1_4_parse
This is a purely cosmetic change to move some code to
the same location it is found in the of1.3 implementation,
aiding comparison between the two codebases. It also
move the code closer to where it is used.
Signed-off-by: Simon Horman
---
ryu/ofproto/ofproto_v1_4_parser.py | 108 +++
This is in keeping with
e08ac471d44db846 ("ofproto_v1_3_parser: put some assertions").
Signed-off-by: Simon Horman
---
ryu/ofproto/ofproto_v1_4_parser.py | 15 ++-
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/ryu/ofproto/ofproto_v1_4_parser.py
b/ryu/ofproto/ofproto
Signed-off-by: Simon Horman
---
ryu/ofproto/ofproto_v1_4_parser.py | 132 +
1 file changed, 132 insertions(+)
diff --git a/ryu/ofproto/ofproto_v1_4_parser.py
b/ryu/ofproto/ofproto_v1_4_parser.py
index 4077f20..a830d66 100644
--- a/ryu/ofproto/ofproto_v1_4_par
Signed-off-by: Simon Horman
---
ryu/ofproto/ofproto_v1_4_parser.py | 346 +
1 file changed, 346 insertions(+)
diff --git a/ryu/ofproto/ofproto_v1_4_parser.py
b/ryu/ofproto/ofproto_v1_4_parser.py
index 567051c..52ff6d8 100644
--- a/ryu/ofproto/ofproto_v1_4_par
This corrects what appears to be a typo as
OFPPortDescPropUnknown is never called but
OFPPortPropUnknown, which does not exist, is called.
Signed-off-by: Simon Horman
---
ryu/ofproto/ofproto_v1_4_parser.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ryu/ofproto/ofproto_v1
This is in line with 4a394aae2f1a3b82
("Fix OFPInstructionWriteMetadata JSON decode") which fixes
the following for OF1.3:
CLS
ARG {u'metadata_mask': 18446744073709551615L, u'type': 2, u'len': 24,
u'metadata': 18446744069414584320L}
KWARG {u'type_': 2, u'metadata_mask': 18446744073709551615L, u'
These will be used my meter mod message support which
is added by a subsequent patch.
Signed-off-by: Simon Horman
---
ryu/ofproto/ofproto_v1_4_parser.py | 48 ++
1 file changed, 48 insertions(+)
diff --git a/ryu/ofproto/ofproto_v1_4_parser.py
b/ryu/ofproto/o
Signed-off-by: Simon Horman
---
ryu/ofproto/ofproto_v1_4_parser.py | 108 +
1 file changed, 108 insertions(+)
diff --git a/ryu/ofproto/ofproto_v1_4_parser.py
b/ryu/ofproto/ofproto_v1_4_parser.py
index a830d66..05dc115 100644
--- a/ryu/ofproto/ofproto_v1_4_par
Signed-off-by: Simon Horman
---
ryu/ofproto/ofproto_v1_4.py| 7 +
ryu/ofproto/ofproto_v1_4_parser.py | 54 ++
2 files changed, 61 insertions(+)
diff --git a/ryu/ofproto/ofproto_v1_4.py b/ryu/ofproto/ofproto_v1_4.py
index b5139c6..c9316ce 100644
--
Signed-off-by: Simon Horman
---
ryu/ofproto/ofproto_v1_4_parser.py | 87 ++
1 file changed, 87 insertions(+)
diff --git a/ryu/ofproto/ofproto_v1_4_parser.py
b/ryu/ofproto/ofproto_v1_4_parser.py
index 05dc115..50b08aa 100644
--- a/ryu/ofproto/ofproto_v1_4_pars
Add generic OFPropBase class and make OFPPortProp a subclass of it.
This is to allow other properties classes to be implemented as subclasses
of OFPPropBase, simplifying their implementation.
Signed-off-by: Simon Horman
---
ryu/ofproto/ofproto_v1_4_parser.py | 12
1 file changed, 8
On Mon, 3 Feb 2014 16:23:49 -0800
vinay pai wrote:
> In the initial days of Ryu, I was able to see a pre installed Ryu OVA on
> the website but now it seems to have disappeared.
>
> Is there a link where I can get it?
http://sourceforge.net/projects/ryu/files/vmimages/OpenFlowTutorial/
This is
Hi All,
In the initial days of Ryu, I was able to see a pre installed Ryu OVA on
the website but now it seems to have disappeared.
Is there a link where I can get it?
Regards,
Vinay Pai B.H.
--
Vinay Pai B.H.
Grad Student - Computer Science
Viterbi School of Engineering
University of Southern
Hi Tomonori-san,
I am happy that I saw item 1 and 2 in R3.5. But after download the R3.5
and do some test. I found following problem, I need some clarifications
on that.
In flow_mod command if I specify instructions with meter, meter_id
curl -X POST http://localhost:8080/stats/flowentry/add -d
19 matches
Mail list logo