Jordi Ortiz
unread,Jul 25, 2017, 3:59:55 AM7/25/17Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Pradeep Jha, Luca Prete, Thomas Vachuska, ONOS Developers, Andrea Campanella, brigade-n...@onosproject.org
On Sat, 22 Jul 2017 12:51:28 +0100
Pradeep Jha <
pj.pra...@gmail.com> wrote:
> Hi Jordi,
>
> Thanks for the reply.
>
> > I created the meter using ONOS REST API.
>
>
>
>
>
>
>
>
>
> *Regarding pointing an intent to a meter, I don't know how, if possible, to
> do it but I guess you could create point-intents from first switch to the
> last one and then on them create the meter and create the flow that finally
> gives the traffic to the host. Let me try to explain H1 - p1S1p2 - p1S2p2 -
> p1S3p2 - H2 <= Met => * --p2pint-- * Create point intent from p1s2 to
> S3p2 and then create meter in S1, and make any traffic directed to/from H1
> go through the meter. In S1: Input p1; meter=1, output=p2 Input=p2;
> meter=1, output=p1*
> > I understood everything that what you are saying, except the part in RED.
> This is exactly my question i.e.
>
> *how do I direct traffic to a particular meter from ONOS?*
I might not have make my point clear:
In S1:
Create Meter 1 in S1 with desired characteristics
Create flow Input=p1; meter=1, output=p2
Create flow Input=p2; meter=1, output=p1
where:
H1 - p1S1p2 - p1S2p2 - p1S3p2 - H2
H1/H2 are hosts
S1/S2/S3 are switches
p1/p2 are ports on those switches
You might (probably) want to add hwaddress filtering to the flows, so that they do only affect to H1.
I hope it is clearer.
> > I am trying to instantiate meters on Lagopus <
http://www.lagopus.org/>
> > an email to
brigade-northbo...@onosproject.org.
> > > To post to this group, send email to
brigade-n...@onosproject.org.
> >
onosproject.org/group/brigade-northbound/.
> >
onosproject.org/d/msgid/brigade-northbound/CAF1fXR2_
> > a0WJj785D5XodPe2BhGvYEwq8mRGr74uufGWJhx3qw%
40mail.gmail.com.