Guillermo Chica Sabariego | 9 Feb 17:33 2016
Picon

Force enqueue in FlowVisor is not working

Hello everyone,

I am running a small experiment to isolate bandwidth with flowvisor 
(version 1.4) implementing a port based slicing. With mininet, I create 
a topology that consists of a host h1 (10.0.0.1), connected to a switch, 
called s3, connected to another host, h2 (10.0.0.2), this way:

h1 ----- s3 ------ h2

To achieve this I use this mininet command: sudo mn --custom 
simpletopo.py --topo mytopo --switch ovsk --controller remote --mac 
--arp --link tc

I want all traffic going to port 666 from h1 to h2 to have a bandwidth 
of 1Mbps, and all traffic going to port 555 from h1 to h2 to have a 
bandwidth of 1Gbps. To achieve this, I create two queues in switch s3, 
q0 and q1. q0 is for the 1Mbps traffic and q1 for 1Gbps traffic.

I create the queues like this:

sudo ovs-vsctl -- set Port s3-eth1 qos= <at> newqos -- --id= <at> newqos create 
QoS type=linux-htb other-config:max-rate=10000000000 queues=0= <at> q0,1= <at> q1 
-- --id= <at> q0 create Queue other-config:min-rate=1000000 
other-config:max-rate=1000000 -- --id= <at> q1 create Queue 
other-config:min-rate=1000000000 other-config:max-rate=1000000000

sudo ovs-vsctl -- set Port s3-eth2 qos= <at> newqos -- --id= <at> newqos create 
QoS type=linux-htb other-config:max-rate=10000000000 queues=0= <at> q0,1= <at> q1 
-- --id= <at> q0 create Queue other-config:min-rate=1000000 
other-config:max-rate=1000000 -- --id= <at> q1 create Queue 
(Continue reading)

David Gabriel | 5 Feb 17:11 2016
Picon

Re: unsubscribe

I have recently subscribed !!!
I did not get your email?

2016-02-05 7:52 GMT-08:00 Lofthus, Chris <Chris.Lofthus <at> williams.com>:

unsubscribe

 


_______________________________________________
openflow-discuss mailing list
openflow-discuss <at> lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/openflow-discuss


<div>
<div dir="ltr">
<div>I have recently subscribed !!!<br>
</div>I did not get your email?<br>
</div>
<div class="gmail_extra">
<br><div class="gmail_quote">2016-02-05 7:52 GMT-08:00 Lofthus, Chris <span dir="ltr">&lt;<a href="mailto:Chris.Lofthus@..." target="_blank">Chris.Lofthus <at> williams.com</a>&gt;</span>:<br><blockquote class="gmail_quote">

<div link="#0563C1" vlink="#954F72" lang="EN-US">
<div>
<p class="MsoNormal">unsubscribe<span></span></p>
<p class="MsoNormal">&nbsp;</p>
</div>
</div>

<br>_______________________________________________<br>
openflow-discuss mailing list<br><a href="mailto:openflow-discuss@...">openflow-discuss <at> lists.stanford.edu</a><br><a href="https://mailman.stanford.edu/mailman/listinfo/openflow-discuss" rel="noreferrer" target="_blank">https://mailman.stanford.edu/mailman/listinfo/openflow-discuss</a><br><br>
</blockquote>
</div>
<br>
</div>
</div>
David Gabriel | 5 Feb 16:51 2016
Picon

metadata_mask value

Dears

I am writing a controller application and I want to set the metadata filed. But I am wondering which value shall I set the metadata_mask ?

I find this comment here
Write-Metadata metadata / mask: Writes the masked metadata value into the metadata field. The mask specifies which bits of the metadata register should be modified (i.e. new metadata = old metadata & ~mask | value & mask).

For my case I want to set it regardless the old content so what should be the value of the mask ?


Thanks in advance.

<div><div dir="ltr">
<div class="gmail_quote">
<div dir="ltr">
<div>
<div>
<div>Dears<br><br>
</div>I am writing a controller application and I want to set the metadata filed. But I am wondering which value shall I set the metadata_mask ?<br><br>
</div>
<div>I find this comment <a href="https://sites.google.com/a/ncsu.edu/qualityofprotection/home/openflow"><span></span>here</a><br>Write-Metadata metadata / mask: Writes the masked metadata value into the metadata field. The mask specifies which bits of the metadata register should be modified (i.e. new metadata = old metadata &amp; ~mask | value &amp; mask).<span></span><br><br>
</div>
<div>For my case I want to set it regardless the old content so what should be the value of the mask ?<br><br>
</div>
<br>
</div>Thanks in advance.<br>
</div>
</div>
<br>
</div></div>
Stas Kozlov | 20 Jan 18:06 2016
Picon

Barrier request usage

Hi,

I need to program 10.000 flow records, to make sure that flows were programmed successfully I use barrier message. Thus, before to start programming procedure controller send BARRIER_REQUEST. Unfortunately I receive barrier response after 10 flow_mod packets, despite controller continue send FLOW_MOD messages.
Any ideas is a problem related to controller or switch? I'm now sure how a switch may determinate that all processes are done and won't be a new messages within current barrier session.

--
 Stas
<div><div dir="ltr">
<div>
<div>Hi,<br><br>
</div>I need to program 10.000 flow records, to make sure that flows were programmed successfully I use barrier message. Thus, before to start programming procedure controller send BARRIER_REQUEST. Unfortunately I receive barrier response after 10 flow_mod packets, despite controller continue send FLOW_MOD messages. <br>Any ideas is a problem related to controller or switch? I'm now sure how a switch may determinate that all processes are done and won't be a new messages within current barrier session.<br><br>--<br>
</div>&nbsp;Stas <br>
</div></div>
Osiel Oliveira | 19 Jan 02:46 2016
Picon

802.1x on POX controler

Hello,

I'm university study and I'm doing my final project. I would like implement EAP-TLS on pox controler to autenticate my clients with digital certificate. I would like to use a FREERADIUS to autenticate the users.  What can I do to implement 802.1x on pox controler on mininet for it to works with OpenFlow?

Thanks a lot for your help, 
Osiel
<div><div dir="ltr">Hello,<div><br></div>
<div>I'm university study and I'm doing my final project. I would like implement EAP-TLS on pox controler to autenticate my clients with digital certificate. I would like to use a FREERADIUS to autenticate the users.&nbsp; What can I do to implement 802.1x on pox controler on mininet for it to works with OpenFlow?<br>
</div>
<div><br></div>
<div>Thanks a lot for your help,&nbsp;</div>
<div>Osiel</div>
</div></div>
Christian Esteve Rothenberg | 13 Jan 13:59 2016
Picon
Gravatar

Fwd: Third Call for Papers: Special Issue on "Management of Softwarized Networks" in IEEE TNSM

<apologies for any duplicates>

CALL FOR PAPERS

Special Issue on "Management of Softwarized Networks"
IEEE Transactions on Network and Service Management
 -- http://www.comsoc.org/tnsm/cfp/si-msn --

   * Paper submission date: February 15, 2016
   * Notification of acceptance: April 18, 2016
   * Publication date*: September 1, 2016

Currently, there is a strong interest in both industry and academia in
the softwarization of telecommunication networks and cloud computing
infrastructures. This evolution of network softwarization is enabled
by three paradigms: (i) Software-Defined Networking (SDN), which
allows network control to be separated from the forwarding plane and
allows for a flexible management of the network resources, (ii)
Network Virtualization (NV), which enables virtualization of network
resources, and (iii) Network Function Virtualization (NFV), which
focuses on virtualization of software-based network functions. Instead
of installing and managing dedicated hardware devices for these
functions, they are instead implemented as software components and
deployed on commodity hardware infrastructures. There are also ongoing
research efforts focusing on Software-Defined Clouds, including edge
clouds and Fog Computing.
In order to efficiently manage softwarized networks and to be able to
use them to their full potential, there are many interesting
challenges to be addressed (see the areas listed below).
We welcome submissions addressing the important challenges and
presenting novel research or experimentation results. Survey papers
that offer a perspective on related work and identify key challenges
for future research will be considered as well. We look forward to
your submissions!

Topics of interest for this special issue, include, but are not
limited to the following:
   * APIs and management protocols for software programmable networks
   * Management of SDIs (Software-Defined Infrastructures)
   * Virtualization of resources, services and functions in SDN and NFV
   * Management of software-defined datacenters
   * Resource management for SDN or NFV-based systems
   * Efficient management of cloud computing and softwarized edge
cloud infrastructures
   * Network softwarization for 5G networks
   * Life cycle management of virtual network functions, SFC modeling
and representation
   * Composition algorithms and automated deployment of Service
Function Chains (SFCs)
   * Algorithms for efficient orchestration in softwarized networks
   * Dynamic resource scaling and migration of network functions in
NFV-based systems
   * Efficient network and service monitoring for SDN or NFV
   * Security management for SDN and NFV-based systems
   * Automated configuration and repair of virtualized software-defined systems
   * Algorithms for diagnosis and correlation of events in SDN or
NFV-based systems
   * Availability and resilience of virtualized software-defined systems
   * Debugging and introspection of software-defined virtualized systems
   * Management of federated SDN/NFV infrastructures
   * Detailed experience reports from experimental testbeds
   * Transition strategies from existing networks to SDN/NFV

**Submission guidelines**
All manuscripts and any supplementary material should be submitted
through the IEEE
ManuscriptCentral service located at: http://mc.manuscriptcentral.com/tnsm
Authors must indicate in the submission cover letter that their
manuscript is intended for the "Management of Softwarized Networks"
special issue.

We are looking forward to your submissions!

*Guest editors*
   * Raouf Boutaba, University of Waterloo, Canada
   * Prosper Chemouil, Orange Labs, France
   * Filip De Turck, Ghent University-iMinds, Belgium
   * Christian Esteve Rothenberg, University of Campinas, Brazil
   * Kohei Shiomoto, NTT, Japan
   * Minlan Yu, University of Southern California, USA
Stas Kozlov | 2 Jan 04:45 2016
Picon

Re: openflow-discuss Digest, Vol 87, Issue 1

That's right, but Andre does not want use Barrier. From my point of view the barrier messages are suitable in most cases, but I have a feeling that one more cycle for control plane might be a burden for weak cpu.

-- Stas

On 2 Jan 2016 10:25 am, "Justin Pettit" <jpettit-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
That's true, but to know that it completed without an error, you can send a barrier message to know that the switch fully processed the request. 

--Justin


On Jan 1, 2016, at 7:21 PM, Stas Kozlov <mancubus77-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:

Hi

This duty should be done by controller. In case a flow can not be modified or added  a switch response with error message. In case message was delivered tcp.ack will be generated according tcp flow. Controller may handle both events.

Faithfully yours
Stas

> Message: 2
> Date: Fri, 01 Jan 2016 17:46:52 +0000
> From: Andr? Mantas <andremantas7-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> To: openflow-discuss-3+4lAyCyj6BegcJQxxnBRDe48wsgrGvP@public.gmane.org,
>         "openflow-support-3+4lAyCyj6BegcJQxxnBRDe48wsgrGvP@public.gmane.org"
>         <openflow-support-3+4lAyCyj6BegcJQxxnBRDe48wsgrGvP@public.gmane.org>
> Subject: [openflow-discuss] Positive ACK
> Message-ID:
>         <CAP-YG6oJhksvWc32YNt_D3yHgH-0O-v2yRxMv5eo5H0OHwYA4g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
> Content-Type: text/plain; charset="utf-8"
>
> Hello.
>
> Are there any plans to include the possibility of having per-message
> positive ACK in OpenFlow? (e.g., a flag in a flow mod that tells the switch
> to send an ack when it receives/processes the flow mod message).
>
> I know this can be done with the use of barriers, but I think it would be
> better to have some option to achieve this without using a barrier per
> message.
>
> Thanks in advance.

<div>
<p dir="ltr">That's right, but Andre does not want use Barrier. From my point of view the barrier messages are suitable in most cases, but I have a feeling that one more cycle for control plane might be a burden for weak cpu.</p>
<p dir="ltr">-- Stas </p>
<div class="gmail_quote">On 2 Jan 2016 10:25 am, "Justin Pettit" &lt;<a href="mailto:jpettit@...">jpettit@...</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote"><div dir="auto">
<div>That's true, but to know that it completed without an error, you can send a barrier message to know that the switch fully processed the request.&nbsp;<br><br><div>--Justin<br>
</div>
<div><br></div>
</div>
<div>
<br>On Jan 1, 2016, at 7:21 PM, Stas Kozlov &lt;<a href="mailto:mancubus77@...m" target="_blank">mancubus77@...</a>&gt; wrote:<br><br>
</div>
<blockquote type="cite"><div>
<p dir="ltr">Hi</p>
<p dir="ltr">This duty should be done by controller. In case a flow can not be modified or added&nbsp; a switch response with error message. In case message was delivered tcp.ack will be generated according tcp flow. Controller may handle both events.</p>
<p dir="ltr"> Faithfully yours<br>
Stas</p>
<p dir="ltr">&gt; Message: 2<br>
&gt; Date: Fri, 01 Jan 2016 17:46:52 +0000<br>
&gt; From: Andr? Mantas &lt;<a href="mailto:andremantas7@..." target="_blank">andremantas7@...</a>&gt;<br>
&gt; To: <a href="mailto:openflow-discuss@..." target="_blank">openflow-discuss@...</a>,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; "<a href="mailto:openflow-support <at> lists.stanford.edu" target="_blank">openflow-support@...</a>"<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;<a href="mailto:openflow-support <at> lists.stanford.edu" target="_blank">openflow-support@...</a>&gt;<br>
&gt; Subject: [openflow-discuss] Positive ACK<br>
&gt; Message-ID:<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;<a href="mailto:CAP-YG6oJhksvWc32YNt_D3yHgH-0O-v2yRxMv5eo5H0OHwYA4g@..." target="_blank">CAP-YG6oJhksvWc32YNt_D3yHgH-0O-v2yRxMv5eo5H0OHwYA4g@...</a>&gt;<br>
&gt; Content-Type: text/plain; charset="utf-8"<br>
&gt;<br>
&gt; Hello.<br>
&gt;<br>
&gt; Are there any plans to include the possibility of having per-message<br>
&gt; positive ACK in OpenFlow? (e.g., a flag in a flow mod that tells the switch<br>
&gt; to send an ack when it receives/processes the flow mod message).<br>
&gt;<br>
&gt; I know this can be done with the use of barriers, but I think it would be<br>
&gt; better to have some option to achieve this without using a barrier per<br>
&gt; message.<br>
&gt;<br>
&gt; Thanks in advance.<br></p>
</div></blockquote>
<blockquote type="cite"><div>
<span>_______________________________________________</span><br><span>openflow-discuss mailing list</span><br><span><a href="mailto:openflow-discuss@..." target="_blank">openflow-discuss@...</a></span><br><span><a href="https://mailman.stanford.edu/mailman/listinfo/openflow-discuss" target="_blank">https://mailman.stanford.edu/mailman/listinfo/openflow-discuss</a></span><br>
</div></blockquote>
</div></blockquote>
</div>
</div>
Stas Kozlov | 2 Jan 04:21 2016
Picon

Re: openflow-discuss Digest, Vol 87, Issue 1

Hi

This duty should be done by controller. In case a flow can not be modified or added  a switch response with error message. In case message was delivered tcp.ack will be generated according tcp flow. Controller may handle both events.

Faithfully yours
Stas

> Message: 2
> Date: Fri, 01 Jan 2016 17:46:52 +0000
> From: Andr? Mantas <andremantas7-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
> To: openflow-discuss-3+4lAyCyj6BegcJQxxnBRDe48wsgrGvP@public.gmane.org,
>         "openflow-support-3+4lAyCyj6BegcJQxxnBRDe48wsgrGvP@public.gmane.org"
>         <openflow-support-3+4lAyCyj6BegcJQxxnBRDe48wsgrGvP@public.gmane.org>
> Subject: [openflow-discuss] Positive ACK
> Message-ID:
>         <CAP-YG6oJhksvWc32YNt_D3yHgH-0O-v2yRxMv5eo5H0OHwYA4g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
> Content-Type: text/plain; charset="utf-8"
>
> Hello.
>
> Are there any plans to include the possibility of having per-message
> positive ACK in OpenFlow? (e.g., a flag in a flow mod that tells the switch
> to send an ack when it receives/processes the flow mod message).
>
> I know this can be done with the use of barriers, but I think it would be
> better to have some option to achieve this without using a barrier per
> message.
>
> Thanks in advance.

<div>
<p dir="ltr">Hi</p>
<p dir="ltr">This duty should be done by controller. In case a flow can not be modified or added&nbsp; a switch response with error message. In case message was delivered tcp.ack will be generated according tcp flow. Controller may handle both events.</p>
<p dir="ltr"> Faithfully yours<br>
Stas</p>
<p dir="ltr">&gt; Message: 2<br>
&gt; Date: Fri, 01 Jan 2016 17:46:52 +0000<br>
&gt; From: Andr? Mantas &lt;<a href="mailto:andremantas7@...">andremantas7@...</a>&gt;<br>
&gt; To: <a href="mailto:openflow-discuss@...">openflow-discuss@...</a>,<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; "<a href="mailto:openflow-support <at> lists.stanford.edu">openflow-support@...</a>"<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;<a href="mailto:openflow-support <at> lists.stanford.edu">openflow-support@...</a>&gt;<br>
&gt; Subject: [openflow-discuss] Positive ACK<br>
&gt; Message-ID:<br>
&gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;<a href="mailto:CAP-YG6oJhksvWc32YNt_D3yHgH-0O-v2yRxMv5eo5H0OHwYA4g@...">CAP-YG6oJhksvWc32YNt_D3yHgH-0O-v2yRxMv5eo5H0OHwYA4g@...</a>&gt;<br>
&gt; Content-Type: text/plain; charset="utf-8"<br>
&gt;<br>
&gt; Hello.<br>
&gt;<br>
&gt; Are there any plans to include the possibility of having per-message<br>
&gt; positive ACK in OpenFlow? (e.g., a flag in a flow mod that tells the switch<br>
&gt; to send an ack when it receives/processes the flow mod message).<br>
&gt;<br>
&gt; I know this can be done with the use of barriers, but I think it would be<br>
&gt; better to have some option to achieve this without using a barrier per<br>
&gt; message.<br>
&gt;<br>
&gt; Thanks in advance.<br></p>
</div>
André Mantas | 1 Jan 18:46 2016
Picon

Positive ACK

Hello.

Are there any plans to include the possibility of having per-message positive ACK in OpenFlow? (e.g., a flag in a flow mod that tells the switch to send an ack when it receives/processes the flow mod message).

I know this can be done with the use of barriers, but I think it would be better to have some option to achieve this without using a barrier per message.

Thanks in advance.
<div><div dir="ltr">Hello.<div><br></div>
<div>Are there any plans to include the possibility of having per-message positive ACK in OpenFlow? (e.g., a flag in a flow mod that tells the switch to send an ack when it receives/processes the flow mod message).</div>
<div><br></div>
<div>I know this can be done with the use of barriers, but I think it would be better to have some option to achieve this without using a barrier per message.</div>
<div><br></div>
<div>Thanks in advance.</div>
</div></div>
knight_leb | 1 Dec 23:27 2015
Picon

Switchless OpenFlow

Greetings all, 

First time poster, please bear with me.

I am interested in connecting two maybe three servers back-2-back using Openflow, the idea, if possible, is to use embedded switches on the NICs. Here's the curve ball, once I have servers connected, I want to run either vSphere or Hyper-V as the the hypervisor on top.

Any suggestions on how to approach this? 

Thank you,

Gibran
<div><div>
<div>Greetings all,&nbsp;</div>
<div><br></div>
<div>First time poster, please bear with me.</div>
<div><br></div>
<div dir="ltr">I am interested in connecting two maybe three servers back-2-back using Openflow, the idea, if possible, is to use embedded switches on the NICs. Here's the curve ball, once I have servers connected, I want to run either vSphere or Hyper-V as the the hypervisor on top.</div>
<div dir="ltr"><br></div>
<div dir="ltr">Any suggestions on how to approach this?&nbsp;</div>
<div dir="ltr"><br></div>
<div dir="ltr">Thank you,</div>
<div dir="ltr"><br></div>
<div dir="ltr">Gibran</div>
</div></div>
Vishlesh Patel | 21 Nov 03:12 2015
Picon

flowvisor slicing

Hi there,

I am using flowvisor to allow multiple users handle different portion of traffic in a network of 3 OVS switches and bunch of VMs.
This is how I am adding flowspace:
fvctl add-flowspace dpid2-flow1 2 100 nw_src=10.0.0.3,nw_dst=10.0.0.43 slice1=5
fvctl add-flowspace dpid2-flow2 2 100 nw_src=10.0.0.43,nw_dst=10.0.0.3 slice1=5
fvctl add-flowspace dpid2-flow3 2 100 nw_src=10.0.0.4,nw_dst=10.0.0.44 slice2=5
fvctl add-flowspace dpid2-flow4 2 100 nw_src=10.0.0.44,nw_dst=10.0.0.4 slice2=5
fvctl add-flowspace dpid2-flow5 2 100 nw_src=10.0.0.5,nw_dst=10.0.0.45 slice3=5
fvctl add-flowspace dpid2-flow6 2 100 nw_src=10.0.0.45,nw_dst=10.0.0.5 slice3=5

fvctl add-flowspace dpid3-flow1 3 100 nw_src=10.0.0.3,nw_dst=10.0.0.43 slice1=5
fvctl add-flowspace dpid3-flow2 3 100 nw_src=10.0.0.43,nw_dst=10.0.0.3 slice1=5
fvctl add-flowspace dpid3-flow3 3 100 nw_src=10.0.0.4,nw_dst=10.0.0.44 slice2=5
fvctl add-flowspace dpid3-flow4 3 100 nw_src=10.0.0.44,nw_dst=10.0.0.4 slice2=5
fvctl add-flowspace dpid3-flow5 3 100 nw_src=10.0.0.5,nw_dst=10.0.0.45 slice3=5
fvctl add-flowspace dpid3-flow6 3 100 nw_src=10.0.0.45,nw_dst=10.0.0.5 slice3=5

fvctl add-flowspace dpid1-flow1 1 100 nw_src=10.0.0.3,nw_dst=10.0.0.43 slice1=5
fvctl add-flowspace dpid1-flow2 1 100 nw_src=10.0.0.43,nw_dst=10.0.0.3 slice1=5
fvctl add-flowspace dpid1-flow3 1 100 nw_src=10.0.0.4,nw_dst=10.0.0.44 slice2=5
fvctl add-flowspace dpid1-flow4 1 100 nw_src=10.0.0.44,nw_dst=10.0.0.4 slice2=5
fvctl add-flowspace dpid1-flow5 1 100 nw_src=10.0.0.5,nw_dst=10.0.0.45 slice3=5
fvctl add-flowspace dpid1-flow6 1 100 nw_src=10.0.0.45,nw_dst=10.0.0.5 slice3=5

fvctl add-flowspace dpid1-monitor1 1 100 any monitor-slice1=2
fvctl add-flowspace dpid2-monitor1 2 100 any monitor-slice1=2
fvctl add-flowspace dpid3-monitor1 3 100 any monitor-slice1=2

Without last 3 flowspace, slice1, slice2 and slice3 completely able to handle/add flow entries. But, with last 3 flow-entries I get following errors in Flowvisor:

java.lang.NullPointerException
    at org.openflow.protocol.OFFlowMod.writeTo(OFFlowMod.java:253)
    at org.openflow.io.OFMessageAsyncStream.appendMessageToOutBuf(OFMessageAsyncStream.java:68)
    at org.openflow.io.OFMessageAsyncStream.write(OFMessageAsyncStream.java:76)
    at org.flowvisor.io.FVMessageAsyncStream.testAndWrite(FVMessageAsyncStream.java:70)
    at org.flowvisor.classifier.FVClassifier.sendMsg(FVClassifier.java:805)
    at org.flowvisor.message.FVFlowMod.sliceFromController(FVFlowMod.java:225)
    at org.flowvisor.slicer.FVSlicer.handleIOEvent(FVSlicer.java:593)
    at org.flowvisor.slicer.FVSlicer.handleEvent(FVSlicer.java:466)
    at org.flowvisor.events.FVEventLoop.doEventLoop(FVEventLoop.java:168)
    at org.flowvisor.FlowVisor.run(FlowVisor.java:198)
    at org.flowvisor.FlowVisor.main(FlowVisor.java:231)
java.lang.NullPointerException
    at org.openflow.protocol.OFFlowMod.writeTo(OFFlowMod.java:253)
    at org.openflow.io.OFMessageAsyncStream.appendMessageToOutBuf(OFMessageAsyncStream.java:68)
    at org.openflow.io.OFMessageAsyncStream.write(OFMessageAsyncStream.java:76)
    at org.flowvisor.io.FVMessageAsyncStream.testAndWrite(FVMessageAsyncStream.java:70)
    at org.flowvisor.classifier.FVClassifier.sendMsg(FVClassifier.java:805)
    at org.flowvisor.message.FVFlowMod.sliceFromController(FVFlowMod.java:225)
    at org.flowvisor.slicer.FVSlicer.handleIOEvent(FVSlicer.java:593)
    at org.flowvisor.slicer.FVSlicer.handleEvent(FVSlicer.java:466)
    at org.flowvisor.events.FVEventLoop.doEventLoop(FVEventLoop.java:168)
    at org.flowvisor.FlowVisor.run(FlowVisor.java:198)
    at org.flowvisor.FlowVisor.main(FlowVisor.java:231)
^Xjava.lang.NullPointerException
    at org.openflow.protocol.OFFlowMod.writeTo(OFFlowMod.java:253)
    at org.openflow.io.OFMessageAsyncStream.appendMessageToOutBuf(OFMessageAsyncStream.java:68)
    at org.openflow.io.OFMessageAsyncStream.write(OFMessageAsyncStream.java:76)
    at org.flowvisor.io.FVMessageAsyncStream.testAndWrite(FVMessageAsyncStream.java:70)
    at org.flowvisor.classifier.FVClassifier.sendMsg(FVClassifier.java:805)
    at org.flowvisor.message.FVFlowMod.sliceFromController(FVFlowMod.java:225)
    at org.flowvisor.slicer.FVSlicer.handleIOEvent(FVSlicer.java:593)
    at org.flowvisor.slicer.FVSlicer.handleEvent(FVSlicer.java:466)
    at org.flowvisor.events.FVEventLoop.doEventLoop(FVEventLoop.java:168)
    at org.flowvisor.FlowVisor.run(FlowVisor.java:198)
    at org.flowvisor.FlowVisor.main(FlowVisor.java:231)


Any help is appreciated! Thanks!

Best Regards,
Vishlesh Patel
M.S. Computer Engineering
NYU Polytechnic School of Engineering
<div><div dir="ltr">
<div>Hi there,<br><br>
</div>I am using flowvisor to allow multiple users handle different portion of traffic in a network of 3 OVS switches and bunch of VMs.<br>This is how I am adding flowspace:<br>fvctl add-flowspace dpid2-flow1 2 100 nw_src=10.0.0.3,nw_dst=10.0.0.43 slice1=5<br>fvctl add-flowspace dpid2-flow2 2 100 nw_src=10.0.0.43,nw_dst=10.0.0.3 slice1=5<br>fvctl add-flowspace dpid2-flow3 2 100 nw_src=10.0.0.4,nw_dst=10.0.0.44 slice2=5<br>fvctl add-flowspace dpid2-flow4 2 100 nw_src=10.0.0.44,nw_dst=10.0.0.4 slice2=5<br>fvctl add-flowspace dpid2-flow5 2 100 nw_src=10.0.0.5,nw_dst=10.0.0.45 slice3=5<br>fvctl add-flowspace dpid2-flow6 2 100 nw_src=10.0.0.45,nw_dst=10.0.0.5 slice3=5<br><br>fvctl add-flowspace dpid3-flow1 3 100 nw_src=10.0.0.3,nw_dst=10.0.0.43 slice1=5<br>fvctl add-flowspace dpid3-flow2 3 100 nw_src=10.0.0.43,nw_dst=10.0.0.3 slice1=5<br>fvctl add-flowspace dpid3-flow3 3 100 nw_src=10.0.0.4,nw_dst=10.0.0.44 slice2=5<br>fvctl add-flowspace dpid3-flow4 3 100 nw_src=10.0.0.44,nw_dst=10.0.0.4 slice2=5<br>fvctl add-flowspace dpid3-flow5 3 100 nw_src=10.0.0.5,nw_dst=10.0.0.45 slice3=5<br>fvctl add-flowspace dpid3-flow6 3 100 nw_src=10.0.0.45,nw_dst=10.0.0.5 slice3=5<br><br>fvctl add-flowspace dpid1-flow1 1 100 nw_src=10.0.0.3,nw_dst=10.0.0.43 slice1=5<br>fvctl add-flowspace dpid1-flow2 1 100 nw_src=10.0.0.43,nw_dst=10.0.0.3 slice1=5<br>fvctl add-flowspace dpid1-flow3 1 100 nw_src=10.0.0.4,nw_dst=10.0.0.44 slice2=5<br>fvctl add-flowspace dpid1-flow4 1 100 nw_src=10.0.0.44,nw_dst=10.0.0.4 slice2=5<br>fvctl add-flowspace dpid1-flow5 1 100 nw_src=10.0.0.5,nw_dst=10.0.0.45 slice3=5<br>fvctl add-flowspace dpid1-flow6 1 100 nw_src=10.0.0.45,nw_dst=10.0.0.5 slice3=5<br><br>fvctl add-flowspace dpid1-monitor1 1 100 any monitor-slice1=2<br>fvctl add-flowspace dpid2-monitor1 2 100 any monitor-slice1=2<br>fvctl add-flowspace dpid3-monitor1 3 100 any monitor-slice1=2<br><br clear="all"><div><div>
<div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>
<div>Without last 3 flowspace, slice1, slice2 and slice3 completely able to handle/add flow entries. But, with last 3 flow-entries I get following errors in Flowvisor:<br><br>java.lang.NullPointerException<br>&nbsp;&nbsp;&nbsp; at org.openflow.protocol.OFFlowMod.writeTo(OFFlowMod.java:253)<br>&nbsp;&nbsp;&nbsp; at org.openflow.io.OFMessageAsyncStream.appendMessageToOutBuf(OFMessageAsyncStream.java:68)<br>&nbsp;&nbsp;&nbsp; at org.openflow.io.OFMessageAsyncStream.write(OFMessageAsyncStream.java:76)<br>&nbsp;&nbsp;&nbsp; at org.flowvisor.io.FVMessageAsyncStream.testAndWrite(FVMessageAsyncStream.java:70)<br>&nbsp;&nbsp;&nbsp; at org.flowvisor.classifier.FVClassifier.sendMsg(FVClassifier.java:805)<br>&nbsp;&nbsp;&nbsp; at org.flowvisor.message.FVFlowMod.sliceFromController(FVFlowMod.java:225)<br>&nbsp;&nbsp;&nbsp; at org.flowvisor.slicer.FVSlicer.handleIOEvent(FVSlicer.java:593)<br>&nbsp;&nbsp;&nbsp; at org.flowvisor.slicer.FVSlicer.handleEvent(FVSlicer.java:466)<br>&nbsp;&nbsp;&nbsp; at org.flowvisor.events.FVEventLoop.doEventLoop(FVEventLoop.java:168)<br>&nbsp;&nbsp;&nbsp; at org.flowvisor.FlowVisor.run(FlowVisor.java:198)<br>&nbsp;&nbsp;&nbsp; at org.flowvisor.FlowVisor.main(FlowVisor.java:231)<br>java.lang.NullPointerException<br>&nbsp;&nbsp;&nbsp; at org.openflow.protocol.OFFlowMod.writeTo(OFFlowMod.java:253)<br>&nbsp;&nbsp;&nbsp; at org.openflow.io.OFMessageAsyncStream.appendMessageToOutBuf(OFMessageAsyncStream.java:68)<br>&nbsp;&nbsp;&nbsp; at org.openflow.io.OFMessageAsyncStream.write(OFMessageAsyncStream.java:76)<br>&nbsp;&nbsp;&nbsp; at org.flowvisor.io.FVMessageAsyncStream.testAndWrite(FVMessageAsyncStream.java:70)<br>&nbsp;&nbsp;&nbsp; at org.flowvisor.classifier.FVClassifier.sendMsg(FVClassifier.java:805)<br>&nbsp;&nbsp;&nbsp; at org.flowvisor.message.FVFlowMod.sliceFromController(FVFlowMod.java:225)<br>&nbsp;&nbsp;&nbsp; at org.flowvisor.slicer.FVSlicer.handleIOEvent(FVSlicer.java:593)<br>&nbsp;&nbsp;&nbsp; at org.flowvisor.slicer.FVSlicer.handleEvent(FVSlicer.java:466)<br>&nbsp;&nbsp;&nbsp; at org.flowvisor.events.FVEventLoop.doEventLoop(FVEventLoop.java:168)<br>&nbsp;&nbsp;&nbsp; at org.flowvisor.FlowVisor.run(FlowVisor.java:198)<br>&nbsp;&nbsp;&nbsp; at org.flowvisor.FlowVisor.main(FlowVisor.java:231)<br>^Xjava.lang.NullPointerException<br>&nbsp;&nbsp;&nbsp; at org.openflow.protocol.OFFlowMod.writeTo(OFFlowMod.java:253)<br>&nbsp;&nbsp;&nbsp; at org.openflow.io.OFMessageAsyncStream.appendMessageToOutBuf(OFMessageAsyncStream.java:68)<br>&nbsp;&nbsp;&nbsp; at org.openflow.io.OFMessageAsyncStream.write(OFMessageAsyncStream.java:76)<br>&nbsp;&nbsp;&nbsp; at org.flowvisor.io.FVMessageAsyncStream.testAndWrite(FVMessageAsyncStream.java:70)<br>&nbsp;&nbsp;&nbsp; at org.flowvisor.classifier.FVClassifier.sendMsg(FVClassifier.java:805)<br>&nbsp;&nbsp;&nbsp; at org.flowvisor.message.FVFlowMod.sliceFromController(FVFlowMod.java:225)<br>&nbsp;&nbsp;&nbsp; at org.flowvisor.slicer.FVSlicer.handleIOEvent(FVSlicer.java:593)<br>&nbsp;&nbsp;&nbsp; at org.flowvisor.slicer.FVSlicer.handleEvent(FVSlicer.java:466)<br>&nbsp;&nbsp;&nbsp; at org.flowvisor.events.FVEventLoop.doEventLoop(FVEventLoop.java:168)<br>&nbsp;&nbsp;&nbsp; at org.flowvisor.FlowVisor.run(FlowVisor.java:198)<br>&nbsp;&nbsp;&nbsp; at org.flowvisor.FlowVisor.main(FlowVisor.java:231)<br><br><br>
</div>
<div>Any help is appreciated! Thanks!<br>
</div>
<div dir="ltr">
<br>Best Regards,<div>Vishlesh Patel</div>
<div>M.S. Computer Engineering</div>
<div>NYU Polytechnic School of Engineering</div>
</div>
</div></div></div></div></div></div>
</div></div>
</div></div>

Gmane