Hi,

 

I have implemented and configured a load balancer on an OVS levering the
nicira multipath extension and using the ovs-ofctl tool. Moving from local
ovs controls to a RYU app leaves me wondering about some details. Following
are my ofctl instructions with related questions:

 

1. Multipath action

$> ovs-ofctl add-flow ovsbr
ip,nw_dst=${VIP},actions=multipath(symmetric_l4,1024,hrw,${NUM_LINKS},0,NXM_
NX_REG0[0..3]),resubmit(,1)

 

Q1) The multipath extension is only supported in ofproto_v1_0_parser,
correct?

 

I am trying to use the classes in my ryu-app to create the corresponding
actions

   -> ofproto_v1_0_parser.NXActionMultipath(.)

    -> ofproto_v1_0_parser.NXResubmitTable(.)

I found  ofproto.NX_HASH_FIELDS_SYMMETRIC_L4 and ofproto.NX_MP_ALG_HRW for
the fields and algorithm but wonder

Q2) how to set/address the register NXM_NX_REG0 (and the corresponding bits)
in NXActionMultipath?

Q3) what is the ofs_nbits param used for in ryu MP Action? (There is no such
argument in the ofctl multipath action.)

 

2. Register match

$> ovs-ofctl add-flow ovsbr
table=1,reg0=0/15,actions=mod_dl_dst=${MAC},output:${OFPORT}

 

Q4) How do I read the value (hash) previously written into reg0 by the
multipath action? (related to Q1)

 

I appreciate any help since I am new to RYU and don't seem to find answers
myself by going through the ryu code base.

 

Ivica 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

------------------------------------------------------------------------------
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to