Re: [ovs-discuss] VPP in Ubuntu 18.04.3 VM

2020-04-07 Thread Justin Pettit
I suspect you’re more likely to get a response on a VPP mailing list instead of an OVS one. --Justin > On Apr 6, 2020, at 10:05 AM, Giridharan, Ganesan wrote: > >  > Good morning. This is my first post here looking for some guidance on > building a certain type of test environment. I will

Re: [ovs-discuss] OVN charter

2020-01-16 Thread Justin Pettit
I looked through the charter, and it looks reasonable to me. My only question was what the Series Agreement is. That isn't in the OVS Charter, and it's not obvious to me what it is. We should probably have the OVS and OVN TSCs each vote on the OVN charter. --Justin > On Jan 16, 2020, at

Re: [ovs-discuss] UDP datagram size effect at flow table hitting

2019-09-11 Thread Justin Pettit
> On Sep 11, 2019, at 7:04 AM, 병욱이 wrote: > > I did a small experiment with ONOS 3.0.5, OVS 2.0.2(OF 1.0), mininet 2.3.0d5 > > I found when making flow rule about L4 port, hitting flow table > doesn't work properly. > > For example, about UDP flow, ip_src=10.0.0.3, ip_dst=10.0.0.2,

[ovs-discuss] Open vSwitch 2.12.0 Available

2019-09-10 Thread Justin Pettit
The Open vSwitch team is pleased to announce the release of Open vSwitch 2.12.0: http://openvswitch.org/releases/openvswitch-2.12.0.tar.gz A few other feature highlights of 2.12.0 include: - OpenFlow 1.5 required features are available and is now enabled by default. - Support for match

[ovs-discuss] 2.11.3, 2.10.4, 2.9.6, 2.8.8, 2.7.10, 2.6.7, and 2.5.9 Available

2019-09-10 Thread Justin Pettit
The Open vSwitch team is pleased to announce a number of bug fix releases: http://openvswitch.org/releases/openvswitch-2.11.3.tar.gz http://openvswitch.org/releases/openvswitch-2.10.4.tar.gz http://openvswitch.org/releases/openvswitch-2.9.6.tar.gz

Re: [ovs-discuss] Query on DEC_ttl action implementation in datapath

2019-08-28 Thread Justin Pettit
e and if the TTL happens to be different for them .This will > reduce number of flows that can be supported with ovs. If decrement TTL was > done in kernel ,it would have ended in adding one flow only. > > Regards, > Bindiya > > Regards, > Bindiya > > On Tue, A

Re: [ovs-discuss] MTU / Fragmentation / VXLAN

2019-08-27 Thread Justin Pettit
> On Aug 25, 2019, at 9:38 PM, Heim, Dennis wrote: > > I have an issue with SIP phones registered to a Cisco Call Manager Express > (CME). > > Network Layout: > Phone->Physical Switch->OvS(A)VXLAN Overlay-OvS(B)—CME. > > When the packet reaches OvS(A) the sip (invite) packet for

Re: [ovs-discuss] Query on DEC_ttl action implementation in datapath

2019-08-27 Thread Justin Pettit
I think it was considered cleaner from an ABI perspective, since it doesn't require another action, since "set" was already supported. In practice, I don't think it's a problem, since usually a TTL decrement is associated with a routing decision, and TTLs tend to be fairly static between two

Re: [ovs-discuss] Meter tables

2019-08-10 Thread Justin Pettit
Full meter support was added in OVS 2.10. --Justin > On Aug 10, 2019, at 1:52 AM, V Sai Surya Laxman Rao Bellala > wrote: > > Hello all, > Does Openvswitch support meter tables? > If it supports, which version of openvswitch supports that. > > Regards > Laxman > > >

Re: [ovs-discuss] Zero-Copy in the upcall

2019-07-31 Thread Justin Pettit
> On Jul 31, 2019, at 1:14 PM, Adel Belkhiri wrote: > > Hey all, > > In the recent versions of Openvswitch, whenever a packet is received and > doesn't match any flow within the datapath, it is zero-copied to the > userspace. > > Does that mean the whole packet is zero-copied or only

Re: [ovs-discuss] OFPACT_DEC_TTL in kernel space

2019-06-25 Thread Justin Pettit
> On Jun 25, 2019, at 2:02 PM, Sagar A wrote: > >> Is there a particular use-case that requires decrement? >> > I have rule which wants to match on 'dst_ip' only. Since, code is touching > 'ttl', it becomes a match condition. For flows with same 'dst_ip' and > different ttls, result in

Re: [ovs-discuss] OFPACT_DEC_TTL in kernel space

2019-06-24 Thread Justin Pettit
We try to implement the minimum interface that we can in the kernel. Usually the TTL doesn't change across a flow, so matching on a particular TTL value and setting a new value isn't a problem. Plus, it allows us flexibility to stack multiple OpenFlow decrements (useful for logical routers,

Re: [ovs-discuss] Typo in ovn-nbctl.8.xml

2019-06-01 Thread Justin Pettit
Thanks for the report. I pushed a fix to master: https://github.com/openvswitch/ovs/commit/4e59513cd3c --Justin > On Jun 1, 2019, at 6:14 AM, Pekka Järvinen wrote: > > Hello, > > There's a typo in ovn-nbctl.8.xml man page. > > lsp-get-dhcpv4-optoins > > -- > Pekka Järvinen >

Re: [ovs-discuss] The logical of QoS and meter in OVN

2019-05-28 Thread Justin Pettit
I'm not sure I understand the question. There are many references to meters in the OVS/OVN code in 2.10. --Justin > On May 22, 2019, at 5:24 PM, taoyunupt wrote: > > Hi,justin, > I have confusion about the fulfillment of QoS in OVN(2.10). I > can find ‘max_rate’ in options of

Re: [ovs-discuss] How to get the flow data of OVN logical port, such as in and out bytes?

2019-05-15 Thread Justin Pettit
I don't believe we pull those out separately, but you might be able to get rough estimates if you look at the appropriate ingress and egress OpenFlow counters. --Justin > On May 14, 2019, at 9:32 PM, Qiang Zhuo wrote: > > hello: > How to get the flow data of OVN logical port, such as in and

Re: [ovs-discuss] [OVN] Incremental processing patches

2019-05-07 Thread Justin Pettit
Hi, Daniel. I don't think this is a bad approach. However, at the moment, Han's work is with ovn-controller and ddlog is with ovn-northd. We've talked about using ddlog in ovn-controller, but there's been no work in that direction yet. At this point, I think Han's patches should be

Re: [ovs-discuss] What does “require user space processing” mean for missed packets in ovs-dpctl show output?

2019-05-02 Thread Justin Pettit
> On May 2, 2019, at 1:05 PM, Daniel H wrote: > > In the manual of ovs-dpctl it says: > > [...] > "missed" displays the number of packets not matching any existing flow and > require user space processing. > "lost" displays number of packets destined for user space process but >

Re: [ovs-discuss] openvswitch-2.3.90 tarball

2019-04-23 Thread Justin Pettit
> On Apr 23, 2019, at 9:29 AM, MikeB wrote: > > I came across an old codebase that originated with 2.3.90 and I'm > trying to create a diff of all the changes that have been made to the > original. The ".90" indicates that the code came from the master branch between the 2.3 and 2.4

[ovs-discuss] 2.11.1, 2.10.2, 2.9.5, 2.8.7, 2.7.9, 2.6.6, and 2.5.8 Available

2019-04-18 Thread Justin Pettit
The Open vSwitch team is pleased to announce a number of bug fix releases: http://openvswitch.org/releases/openvswitch-2.11.1.tar.gz http://openvswitch.org/releases/openvswitch-2.10.2.tar.gz http://openvswitch.org/releases/openvswitch-2.9.5.tar.gz

Re: [ovs-discuss] Latest maintenace release not announced or available for download

2019-03-28 Thread Justin Pettit
> On Mar 25, 2019, at 5:10 AM, Jaime Caamaño Ruiz wrote: > > Hello > > In the meantime, two related questions: > > - Would github releases be safe to use? For exmaple > > https://github.com/openvswitch/ovs/archive/v2.5.7.tar.gz > > - Is 2.5.7 going to replace 2.5.6 as LTS release? As I

Re: [ovs-discuss] Latest maintenace release not announced or available for download

2019-03-28 Thread Justin Pettit
Someone had wanted to get a bug fix in, so it just ended up being a soft release. I plan to do a new release tomorrow with new versions of all our supported branches. --Justin > On Mar 19, 2019, at 10:15 AM, Ben Pfaff wrote: > > Justin, you had some information on this, can you follow up?

Re: [ovs-discuss] Maximum Number of Access Control List Entries

2019-03-21 Thread Justin Pettit
> On Mar 21, 2019, at 3:56 AM, Michael Dilmore wrote: > > Hi guys, > > Does anyone know if there is a hard limit on the number of ACL entries > OpenFlow can manage at once? > > I'm dealing with over 100 and this is likely to grow in future. I'm wondering > whether this might cause issues

Re: [ovs-discuss] Open vSwitch 2.11.0 Available

2019-02-28 Thread Justin Pettit
gt; > Le jeu. 28 févr. 2019 à 07:57, Justin Pettit a écrit : > The Open vSwitch team is pleased to announce the release of Open vSwitch > 2.11.0: > > http://openvswitch.org/releases/openvswitch-2.11.0.tar.gz > > A few other feature highlights of 2.11.0 include: > >

[ovs-discuss] Open vSwitch 2.11.0 Available

2019-02-27 Thread Justin Pettit
The Open vSwitch team is pleased to announce the release of Open vSwitch 2.11.0: http://openvswitch.org/releases/openvswitch-2.11.0.tar.gz A few other feature highlights of 2.11.0 include: - OVN support for encrypted tunnels between hypervisors. - Improved IPAM support in OVN. - New OpenFlow

Re: [ovs-discuss] Insert flows from file

2019-02-11 Thread Justin Pettit
I'd recommend looking at the "add-flows" command in ovs-ofctl. --Justin > On Feb 11, 2019, at 11:01 AM, George Papathanail > wrote: > > Hello, I wondering how can I insert flows on switches with ovs-ofctl command, > from a bash script file that I wrote. > > Thanks > George >

Re: [ovs-discuss] which kernel module patch could repair the support of meter

2019-01-28 Thread Justin Pettit
Where is the function patch address? Do you have some suggestions? > > Regards, > yunxiang > > > > > > > At 2019-01-29 02:49:59, "Justin Pettit" wrote: > >I'd have to look at the history, but the feature wouldn't have been added to

Re: [ovs-discuss] which kernel module patch could repair the support of meter

2019-01-28 Thread Justin Pettit
> > > > > At 2019-01-29 02:49:59, "Justin Pettit" wrote: > >I'd have to look at the history, but the feature wouldn't have been added to > >OVN unless it was supported by OVS. Currently, we expect OVN to work with > >the same version number of OVS

Re: [ovs-discuss] [HELP] Question about linux kernel version supported by OVS 2.10.1

2019-01-28 Thread Justin Pettit
Red Hat backports a number of features to their kernels. The references there are for the upstream kernel, which I suspect are correct. --Justin > On Jan 28, 2019, at 5:06 PM, txfh2007 via discuss > wrote: > > Hi everyone: >I have found the table of ovs feature && Linux upstream in

Re: [ovs-discuss] which kernel module patch could repair the support of meter

2019-01-28 Thread Justin Pettit
ed from ovs2.10, how the ovn(<2.10) support > QoS? > > > > Regards, > Yunxiang > > > At 2019-01-28 15:43:24, "Justin Pettit" wrote: > >Sorry, I was thinking of another system that used OVS's tc instead of meters > >to implement basic Qo

Re: [ovs-discuss] which kernel module patch could repair the support of meter

2019-01-27 Thread Justin Pettit
rate, burst); > } else { > ds_put_format(_action, > "set_meter(%"PRId64"); next;", > rate); > } > > /* Ingress and Egress QoS Meter Tab

Re: [ovs-discuss] which kernel module patch could repair the support of meter

2019-01-27 Thread Justin Pettit
want to know ,if i must > use meter for the openstack/ovn feature 'Qos'.Does any other methods to > achive this? > > Regards, > Yunxiang > > > > > > At 2019-01-28 14:58:19, "Justin Pettit" wrote: > >This is the patch: > > > >

Re: [ovs-discuss] which kernel module patch could repair the support of meter

2019-01-27 Thread Justin Pettit
This is the patch: http://patchwork.ozlabs.org/patch/950513/ I think it was only broken in kernels 4.15, 4.16, and 4.17. I expect that 4.20 will be fine. --Justin > On Jan 27, 2019, at 10:16 PM, taoyunupt wrote: > > Hello,justin, > I met a supporting problem of meter of

Re: [ovs-discuss] Cannot Add Meter in OVS 2.10.2

2019-01-09 Thread Justin Pettit
from OVS > sources by creating a config file as shown in Building section here: > http://docs.openvswitch.org/en/latest/intro/install/general/ > > What else should I do to use the module from OVS sources? > > >> On Thu, Jan 10, 2019 at 11:33 AM Justin Pettit wr

Re: [ovs-discuss] Cannot Add Meter in OVS 2.10.2

2019-01-09 Thread Justin Pettit
2.10.90 > > Does this mean something? > > >> On Thu, Jan 10, 2019 at 2:33 AM Justin Pettit wrote: >> >> > On Jan 8, 2019, at 5:48 AM, Ramzah Rehman wrote: >> > >> > ovs-vsctl list bridge br0 >> > >> > _uuid

Re: [ovs-discuss] Cannot Add Meter in OVS 2.10.2

2019-01-09 Thread Justin Pettit
> On Jan 8, 2019, at 5:48 AM, Ramzah Rehman wrote: > > ovs-vsctl list bridge br0 > > _uuid : bd776aad-3a88-4d38-a7a2-6be57723f04b > auto_attach : [] > controller : [] > datapath_id : "ae6a77bd384d" > datapath_type : "" > datapath_version:

Re: [ovs-discuss] Bitmask

2019-01-07 Thread Justin Pettit
ow to the next hop output port. > > I'm trying to implement this. > > > > > P.S I' m new to the openflow and sdn > > Thank you > > > > Απαλλαγμένο από ιούς. www.avast.com > > Στις Δευ, 7 Ιαν 2019 στις 7:23 μ.μ., ο/η Justin Pettit

Re: [ovs-discuss] Cannot Add Meter in OVS 2.10.2

2018-12-28 Thread Justin Pettit
; using kernel module of ovs 2.10 would not lead to meter error when I try to > add meter in kernel datapath? > > On Sat, Dec 29, 2018, 12:57 AM Justin Pettit I think meters are broken up to kernel 4.18.0, which is when this patch was > added: > > https://github.com/torv

Re: [ovs-discuss] Cannot Add Meter in OVS 2.10.2

2018-12-28 Thread Justin Pettit
I think meters are broken up to kernel 4.18.0, which is when this patch was added: https://github.com/torvalds/linux/commit/25432eba9cd This commit probes for that condition in ovs-vswitchd: https://github.com/openvswitch/ovs/commit/92d0d515d6 Do you see "The kernel module has

Re: [ovs-discuss] Issues in "meter" action in OpenFlow

2018-12-12 Thread Justin Pettit
> On Dec 12, 2018, at 12:32 AM, Ramzah Rehman wrote: > > I have tested meter action in OpenFLow. I have drawn following conclusions: > > • TCP > • Conclusion: meter works fine for low rate-limiting values > (till ~100Mbps). However, for higher values, the expected

Re: [ovs-discuss] RFC: incremental computation for OVN with DDlog

2018-11-14 Thread Justin Pettit
> On Nov 13, 2018, at 5:25 PM, Russell Bryant wrote: > > I think this is implied based on the description of how ovn-northd > would work, but do you expect to make a completely seamless drop-in > replacement (aside from build-time and run-time dependencies? All > parameters would be

[ovs-discuss] Open vSwitch 2.10.1, 2.9.3, 2.8.5, 2.7.7, 2.6.4, and 2.5.6 Available

2018-10-21 Thread Justin Pettit
The Open vSwitch team is pleased to announce a number of bug fix releases: http://openvswitch.org/releases/openvswitch-2.10.1.tar.gz http://openvswitch.org/releases/openvswitch-2.9.3.tar.gz http://openvswitch.org/releases/openvswitch-2.8.5.tar.gz

Re: [ovs-discuss] Megaflow effectiveness problem

2018-09-28 Thread Justin Pettit
> On Sep 28, 2018, at 9:35 AM, Han Zhou wrote: > > On Wed, Sep 26, 2018 at 11:07 PM Justin Pettit wrote: > > > > Hi, Han. I'm still trying to come up with a mechanism I like, but in the > > meantime, can you try applying this patch and re-running your trace

Re: [ovs-discuss] Megaflow effectiveness problem

2018-09-27 Thread Justin Pettit
Hi, Han. I'm still trying to come up with a mechanism I like, but in the meantime, can you try applying this patch and re-running your trace? This should provide a better indication of what's causing that field to be un-wildcarded. Thanks, --Justin new_wildcards.diff Description: Binary

Re: [ovs-discuss] Creating system data path OVS in virtual machines

2018-09-19 Thread Justin Pettit
> On Sep 18, 2018, at 8:11 PM, karthik karra wrote: > > Hi All, > > I am not able to create a system data path OVS on virtual machines running on > open stack. I am facing this error ovs-vsctl: Error detected while setting up > ‘br0’. > > What could be the reason ? It could be many

Re: [ovs-discuss] [openvswitch 2.10.0+2018.08.28+git.e0cea85314+ds2] testsuite: 975 2347 2482 2483 2633 failed

2018-09-04 Thread Justin Pettit
> On Sep 3, 2018, at 2:25 AM, Thomas Goirand wrote: > >> Does it consistently fail for you? > > It's very deterministically failing indeed. Thank you for the information. I understand the nature of the issue, but I'm still thinking about the best way to address it. In the test, we send

Re: [ovs-discuss] [openvswitch 2.10.0+2018.08.28+git.e0cea85314+ds2] testsuite: 975 2347 2482 2483 2633 failed

2018-09-01 Thread Justin Pettit
> On Sep 1, 2018, at 3:52 PM, Ben Pfaff wrote: > > On Sat, Sep 01, 2018 at 01:23:32PM -0700, Justin Pettit wrote: >> >>> On Sep 1, 2018, at 12:21 PM, Thomas Goirand wrote: >>> >>> >>> The only one failure: >>> >>> 2633

Re: [ovs-discuss] [openvswitch 2.10.0+2018.08.28+git.e0cea85314+ds2] testsuite: 975 2347 2482 2483 2633 failed

2018-09-01 Thread Justin Pettit
> On Sep 1, 2018, at 12:21 PM, Thomas Goirand wrote: > > > The only one failure: > > 2633: ovn -- ACL rate-limited logging FAILED (ovn.at:6516) My guess if that this is meter-related. Can you send the ovs-vswitchd.log and testsuite.log so I can take a look? Thanks, —Justin

[ovs-discuss] Open vSwitch 2.10.0 Available

2018-08-20 Thread Justin Pettit
The Open vSwitch team is pleased to announce the release of Open vSwitch 2.10.0: http://openvswitch.org/releases/openvswitch-2.10.0.tar.gz A few other feature highlights of 2.10.0 include: - ERSPAN support. - ovs-vswitchd and utilities support DNS names for OpenFlow and OVSDB remotes. -

Re: [ovs-discuss] The kernel module does not support meters

2018-08-07 Thread Justin Pettit
gt; From: on behalf of Vikas Kumar > > Date: Thursday, August 2, 2018 at 2:08 AM > To: "b...@openvswitch.org" > Subject: [ovs-discuss] Bug in configuring of Ovs > > Actually i want to dump the ovs flows for my investigation. > > Thanks > Vikash &g

Re: [ovs-discuss] The kernel module does not support meters

2018-08-07 Thread Justin Pettit
> On Aug 6, 2018, at 8:49 PM, Vikas Kumar wrote: > > hi Team, > kindly help me on this, when i am typing sudo ovs-dpctl dump-flows command, i > am getting the below error > |1|dpif_netlink|INFO|The kernel module does not support meters. > > I am using the below ubuntu version: > >

Re: [ovs-discuss] Regarding ovs metering behaviour

2018-07-12 Thread Justin Pettit
> On Jul 11, 2018, at 11:06 PM, NITIN ANAND wrote: > > I am using metering feature in ovs-dpdk. > I added meter using below command. > "ovs-ofctl -Oopenflow13 add-meter br-int meter=1,kbps,band=type=drop,rate=100" > And i added flows as below - > "ovs-ofctl -OOpenFlow13 add-flow br-int >

[ovs-discuss] Open vSwitch 2.9.2, 2.8.4, 2.7.6, and 2.6.3 Available

2018-05-26 Thread Justin Pettit
The Open vSwitch team is pleased to announce a number of bug fix releases: http://openvswitch.org/releases/openvswitch-2.9.2.tar.gz http://openvswitch.org/releases/openvswitch-2.8.4.tar.gz http://openvswitch.org/releases/openvswitch-2.7.6.tar.gz

Re: [ovs-discuss] ovs-ofctl mod-port doesn't work with ports in network namespaces

2018-05-11 Thread Justin Pettit
> On May 11, 2018, at 3:00 AM, Jakub Libosvar wrote: > > Hi all, > it seems I hit a bug when trying to implement a fix in OpenStack Neutron > that uses heavily network namespaces with OVS internal ports in them. > > Ports attached to OVS bridge that are placed in network

Re: [ovs-discuss] Reg IPv6 Neighbor Advertisement Message fields

2018-05-02 Thread Justin Pettit
> On May 2, 2018, at 2:50 AM, Vishal Deep Ajmera > wrote: > >> Zak is working on that feature; I expect patches will hit the mailing list >> in the next week or two. >> >> Hi Justin, >> >> As part of this feature, will it also enable us to rewrite the

Re: [ovs-discuss] OVS as a destination

2018-05-02 Thread Justin Pettit
> On May 2, 2018, at 8:40 AM, Sh j wrote: > > For example, if an OVS receives a ICMP_reply and it is the destination of > this ICMP_reply, it does not need to send a packet_in to the controller. > So I want to install some flow rules or configure OVS to not send packet_in

Re: [ovs-discuss] OpenVswitch on a host with only one cellular modemconnected to internet

2018-05-01 Thread Justin Pettit
> On Apr 30, 2018, at 7:59 PM, EMANUEL FERNANDO MONTOYA GOMEZ > wrote: > > I am working in a project on which I want to have a couple of hosts that has > 2 ethernet interfaces and 1 cellular modem, but only the cellular modem has > internet access. > I haven't

Re: [ovs-discuss] Reg IPv6 Neighbor Advertisement Message fields

2018-04-08 Thread Justin Pettit
> On Apr 8, 2018, at 9:55 AM, Ben Pfaff wrote: > > On Sun, Apr 08, 2018 at 04:34:16PM +, Vishal Deep Ajmera wrote: >> >> In the above message, fields R (Router flag), S (Solicited flag) and O >> (Override flag) cannot be set. Is my understanding correct ? > > Yes. > > It

Re: [ovs-discuss] (no subject)

2018-03-22 Thread Justin Pettit
> On Mar 22, 2018, at 12:21 AM, Roja Guru wrote: > > hellowhat is the OVS maximum number of flow entries There is no hard limit--only the amount of memory on your system. The rule of thumb we use is roughly 1KB per OpenFlow rule, but that can obviously vary a lot

Re: [ovs-discuss] Way to get average time spent

2018-03-12 Thread Justin Pettit
Greg (cc'd) could probably provide you a better answer, but I suspect the perf tool is a good place to start. --Justin > On Mar 12, 2018, at 3:24 AM, Krish wrote: > > Hi users, > > I need to get the average time spent in packet extraction then in first level > cache

Re: [ovs-discuss] bond-rebalance-interval

2018-03-08 Thread Justin Pettit
It should work. How are you setting it? --Justin > On Mar 8, 2018, at 5:57 PM, Chris Boley wrote: > > bond-rebalance-interval=1 > > If I set this option to any other setting such as 5000 for example it always > shows 1 on the output of an sudo ovs-vsctl list

[ovs-discuss] Open vSwitch 2.9.0 and 2.8.2 Available

2018-02-20 Thread Justin Pettit
The Open vSwitch team is pleased to announce the release of Open vSwitch 2.9.0: http://openvswitch.org/releases/openvswitch-2.9.0.tar.gz A few other feature highlights of 2.9.0 include: - No longer slow-path traffic that is sent to a controller. - The DPDK version of OVS adds support for

Re: [ovs-discuss] OVS 2.9 [kernel 4.13]

2018-02-19 Thread Justin Pettit
> On Feb 19, 2018, at 7:18 AM, Avi Cohen (A) wrote: > > My kernel is 4.13 and according > http://docs.openvswitch.org/en/latest/faq/releases/ the only ovs compatible > is 2.9. but I cannot find it .. It should be released today or tomorrow. --Justin

Re: [ovs-discuss] flow ID in OVS switch

2018-02-08 Thread Justin Pettit
OVS supports associating a 64-bit "cookie" with each flow. The actions to delete and modify flows support matching flow cookies with an arbitrary bitmask. I haven't used RYU, so I don't know whether exposes that amount of flexibility. --Justin > On Feb 8, 2018, at 6:08 PM, Taha Khan

Re: [ovs-discuss] Block outgoing packets on a specific port

2018-01-18 Thread Justin Pettit
> On Jan 18, 2018, at 3:27 PM, Ajit Warrier wrote: > > Our OVS runs a broadcast app that sends UDP packets out on br0. Currently as > expected, these packets go out of all interfaces in br0. I would like to > force it such that these packets do NOT go out of a specific

Re: [ovs-discuss] Blocking traffic between 2 ports

2017-12-12 Thread Justin Pettit
> On Dec 12, 2017, at 7:27 AM, Pradeep K.S wrote: > > Hi, > > I want to restrict traffic between 2 ports, is there any direct way of > achieving that in OVS ? > > I can do that by adding multiple flows(block destination mac, redirecting > broadcast/multicast

Re: [ovs-discuss] Programming flows to bond port

2017-12-04 Thread Justin Pettit
As Ben mentioned, unfortunately, bonds don't have OpenFlow port number. Depending on what you want to do, you may be able to get similar results with either the "group" functionality or the "bundle" action (note this is the OVS bundle action and not OpenFlow bundle transaction

Re: [ovs-discuss] Max number of tables and flows can be configured in OVS

2017-10-03 Thread Justin Pettit
> On Oct 2, 2017, at 8:43 PM, BALL SUN wrote: > > Hi > > is there anyone know is there any limitation on the number of tables > and flows can be configured in OVS? As defined in OpenFlow, there's a limit of 256 user-accessible tables. There is no limit on the number of

[ovs-discuss] Open vSwitch 2.8.1, 2.7.3, and 2.5.4 Available

2017-09-29 Thread Justin Pettit
The Open vSwitch team is pleased to announce the release of Open vSwitch 2.8.1: http://openvswitch.org/releases/openvswitch-2.8.1.tar.gz As well as the release of Open vSwitch 2.7.3: http://openvswitch.org/releases/openvswitch-2.7.3.tar.gz These releases contain bug fixes and minor

Re: [ovs-discuss] Compatible DPDK version for 2.4.0 OVS

2017-09-11 Thread Justin Pettit
According to the FAQ, the version is DPDK 2.0: http://docs.openvswitch.org/en/latest/faq/releases/ If that's incorrect, we should update the FAQ. i agree with Ben, though, that's it's probably best to use OVS 2.8. Thanks, --Justin > On Sep 11, 2017, at 7:57 AM, Avi Cohen (A)

[ovs-discuss] Open vSwitch 2.8.0 Available

2017-09-05 Thread Justin Pettit
The Open vSwitch team is pleased to announce the release of Open vSwitch 2.8.0: http://openvswitch.org/releases/openvswitch-2.8.0.tar.gz A few other feature highlights of 2.8.0 include: - Support for multiple VLANs (802.1ad or "QinQ"), including a new "dot1q-tunnel" port VLAN mode - Added

Re: [ovs-discuss] [Super TIME SENSITIVE] Setting QOS for OVS Swtiches

2017-08-21 Thread Justin Pettit
> On Aug 21, 2017, at 5:28 AM, Fahmy Sherif Alaa Salaheldin > wrote: > > Good Afternoon, > > I am trying to use Mininet together with OVS and a RYU controller to emulate > a simple network. > > I was wondering if some could tell me IF it is possible to set queues/qos

Re: [ovs-discuss] Adding a new action (port statistics)

2017-08-21 Thread Justin Pettit
> On Aug 20, 2017, at 10:10 AM, Rahul Sharma wrote: > > Hi everyone, > > I am new here, so in case this has already been answered, or it's not the > appropriate place to ask, kindly let me know. > > I am trying to add a custom action to openflow by making some code

Re: [ovs-discuss] Hashing to megaflow entry

2017-08-21 Thread Justin Pettit
> On Aug 21, 2017, at 8:19 AM, Sara Gittlin wrote: > > One more - I did not see in the article that if a match is found in > megaflow cache - then a microflow is generated to be installed in the > microflow cache to improve performance for subsequnce packets An

Re: [ovs-discuss] Hashing to megaflow entry

2017-08-17 Thread Justin Pettit
> On Aug 16, 2017, at 11:56 PM, Sara Gittlin wrote: > > Hi, > Suppose we support megaflows, How the hashing is performed in the > kernel module ? > when packet arrives how do we know 'beforehand' to mask key fields in > order to hit the megaflow entry ? If you haven't

Re: [ovs-discuss] 802.1ad (QinQ) Support

2017-07-27 Thread Justin Pettit
> On Jul 27, 2017, at 6:00 AM, Eric Garver wrote: > > On Thu, Jul 27, 2017 at 02:25:46PM +0530, Sudhanshu Gupta wrote: >> Thanks Eric, for replying. >> >> Is there any tentative date for release of OVS 2.8? > > I don't think there is a set date, but I believe the branch for 2.8

Re: [ovs-discuss] openflow with openwrt

2017-07-27 Thread Justin Pettit
> On Jul 27, 2017, at 8:32 AM, Mohamed Ibrahem via discuss > wrote: > >> hello guys, >> i have a problem with router tplink wr841N , i have installed openwrt to >> install openflow and get the following message when starting the openflow >> /etc/init.d.openflow/

[ovs-discuss] Open vSwitch 2.7.2 and 2.5.3 Available

2017-07-19 Thread Justin Pettit
The Open vSwitch team is pleased to announce the release of Open vSwitch 2.7.2: http://openvswitch.org/releases/openvswitch-2.7.2.tar.gz This release contains bug fixes and minor improvements for 2.7.1. Due to an issue introduced in the previous release, it is highly recommended that users

Re: [ovs-discuss] Throughput losses with HP Switch

2017-07-13 Thread Justin Pettit
I don't think this is the right forum for this question, since it doesn't seem related to OVS. However, if I were to speculate, my guess is that the forwarding ASIC doesn't support modifying the ToS bits, so the packets are being forwarded to the management CPU to handle these packets. You

Re: [ovs-discuss] Information on Bugs in OVS v2.3.x

2017-07-11 Thread Justin Pettit
> On Jul 11, 2017, at 8:55 AM, Anand Nande wrote: > > Hello list, > > I need information/list of all the bugs that were present in v2.3.x. > > status of the bugs can be anything (CLOSED,WONTFIX,OPEN ..etc.) > > Is there a way I can pull this info down from any source?

[ovs-discuss] Open vSwitch 2.7.1 Available

2017-07-06 Thread Justin Pettit
The Open vSwitch team is pleased to announce the release of Open vSwitch 2.7.1: http://openvswitch.org/releases/openvswitch-2.7.1.tar.gz This release contains bug fixes and minor improvements for 2.7.0. --The Open vSwitch Team Open vSwitch is a production quality,

Re: [ovs-discuss] connecting switches

2017-06-17 Thread Justin Pettit
> On Jun 16, 2017, at 6:19 PM, Bruce Hartpence wrote: > > Hello all - I am working on a use case for ovs with multiple hypervisors. I > am using ODL Carbon for the controller and can get all OVS instances to > appear in DLUX but I am missing the boat on interconnecting the

Re: [ovs-discuss] [openflow-discuss] Why do port numbers continue to change when I configure ovs with openstack?

2017-06-07 Thread Justin Pettit
> On Jun 7, 2017, at 7:59 AM, Nam Bong Ha wrote: > > Hi, all :) > > > Why do port numbers continue to change when I configure ovs with openstack? > > > > I want to fix the port number of the int-br-wan of br-int(bridge) > > > > However, the port number of

Re: [ovs-discuss] UDP Packets not forwarded by OVS

2017-05-26 Thread Justin Pettit
> On May 17, 2017, at 7:02 AM, Advith Nagappa wrote: > > I have created two namespaces ns1 and ns2 and attached them to the ovs-tap > ports (using veth pairs). > > I am able to send TCP and ICMP packets between the two namespaces. > eg: ip netns exec ns1 traceroute

Re: [ovs-discuss] Ping Drop Problem

2017-05-26 Thread Justin Pettit
in - Remote Services Lab > Lab Infrastructure Services & Support > 8001 Development Drive Morrisville, NC 27560 > Lenovo USA > Ph: 919-237-8421 > 297-8421 > gpr...@lenovo.com > > > Lenovo.com > Twitter | Facebook | Instagram | Blogs | Forums > > >

Re: [ovs-discuss] Ping Drop Problem

2017-05-25 Thread Justin Pettit
vo.com> wrote: > > Where would you suggest I start looking? > > Sent from my iPhone > >> On May 25, 2017, at 8:39 PM, Justin Pettit <jpet...@ovn.org> wrote: >> >> >>> On May 25, 2017, at 11:11 AM, Gale Price <gpr...@lenovo.com> wrote: >&

Re: [ovs-discuss] Ping Drop Problem

2017-05-25 Thread Justin Pettit
> On May 25, 2017, at 11:11 AM, Gale Price wrote: > > I am using ovs on a Fedora 20 KVM Host with 6 defined vlans > > I am having a problem where when I stop any VM I lose connectivity to all > other VM’s for about 6-7 Pings. > Then everything starts working again. > >

Re: [ovs-discuss] OVS-DPDK in OpenStack network node

2017-05-25 Thread Justin Pettit
> On May 25, 2017, at 2:08 PM, Пономарёв Вадим wrote: > > Hi all. > > I am setting up a network node for the OpenStack cluster (mitaka) in the > classic scenario with OpenvSwitch >

Re: [ovs-discuss] about

2017-04-19 Thread Justin Pettit
> On Apr 18, 2017, at 6:59 PM, qintao (F) wrote: > > > > Dear all , > we create a bridge “br1” with the type of netdev .And the version of the > ovs is 2.5.0. Then we run the command “ovs-vsctl set int br1 lldp:enable=true > “ to make the interface br1 enable the

Re: [ovs-discuss] MPLS issue in OVS

2017-04-05 Thread Justin Pettit
I know very little about the MPLS integration, but I have one thing that might be worth checking. Are you using the OVS kernel module that came with OVS 2.6.1 or the one that comes with Linux 4.2? Linux 4.2 came out a year before OVS 2.6, and 2.6 introduced MPLS TTL. It looks like the kernel

Re: [ovs-discuss] Centralizing OVS-DPDK Blogs

2017-03-28 Thread Justin Pettit
> On Mar 28, 2017, at 4:15 AM, Stokes, Ian wrote: > > Hi All, > > There are a number of useful blogs maintained by Intel for OVS-DPDK. These > range from simple 'how-to' articles for specific feature to more technical > deep dives of how features work under the hood. >

Re: [ovs-discuss] VM-VM-VM communication via OVS

2017-03-28 Thread Justin Pettit
> On Mar 28, 2017, at 3:48 AM, Advith Nagappa wrote: > > Hello All, > > Is it possible to link 2 guest VMS, via another guest VM using OVS bridge? > > Is anyone aware of any resource/doc covering this scenario? I don't understand the deployment scenario that you're

Re: [ovs-discuss] Kernel vs User mode switch

2017-03-27 Thread Justin Pettit
> On Mar 26, 2017, at 5:33 PM, Michael Williams wrote: > > What are the advantages of running the kernel verses the user mode switch? I assume you're specifically asking about running DPDK in userspace. There are certain traffic patterns that can be significantly faster

Re: [ovs-discuss] nd_target match intermittently not hitting

2017-03-23 Thread Justin Pettit
> On Mar 22, 2017, at 2:54 PM, Michael Ben-Ami via discuss > wrote: > > We have a flow that looks like this: > > priority=1030,icmp6,in_port=4,icmp_type=135,nd_target=::1:d0::1105:3000/124 > actions=resubmit(,25) > > When neighbor solicitations come in

Re: [ovs-discuss] how does tos/dscp mechanism work on ovs?

2017-03-19 Thread Justin Pettit
OVS doesn't automatically do anything with those fields itself. If you want to do that, you can configure queues and then write flows that match on those fields and output to a particular queue. --Justin > On Mar 18, 2017, at 6:21 AM, Big Strong wrote: > > TOS/DSCP is

Re: [ovs-discuss] How does OVS learns the remote MACs

2017-03-17 Thread Justin Pettit
> On Mar 16, 2017, at 11:49 PM, Chris Mantis wrote: > > Hello, > > In case of VxLAN configuration on OVS, how does it learn the remote MACs? > > The local macs are typically learned when a data packet is sent out over an > interface, How does it learn the remote

Re: [ovs-discuss] Ip grouping in openflow rule

2017-02-20 Thread Justin Pettit
> On Feb 20, 2017, at 12:46 AM, Tugrul Erdogan > wrote: > > Hi all, > > I am working on Centos 7 with OVS. I have simple flow rules as stated below: > > ovs-ofctl add-flow ovs-brext "ip, nw_dst=10.3.4.6, actions=drop" > ovs-ofctl add-flow ovs-brext "ip,

Re: [ovs-discuss] License of the OvS logo

2017-02-10 Thread Justin Pettit
Thanks for doing that, David. I can't help with German, but the English Wikipedia article on Open vSwitch could use some updating. If you wanted to do any editing on that, I'd be happy to lend a hand. I just don't have any experience working on Wikipedia. --Justin > On Feb 5, 2017, at

Re: [ovs-discuss] VXLAN support in OVS 2.5.0

2017-01-12 Thread Justin Pettit
Assuming that you're running on Linux, you could try setting up network namespaces. --Justin > On Jan 12, 2017, at 6:36 PM, Raymond Burkholder wrote: > > Try running VirtualBox, and build two guests with shared networking. That > will get you an appropriate

Re: [ovs-discuss] general question about synchronization in ovs

2016-12-15 Thread Justin Pettit
code now. > But I do not know which code provide synchronization around the shared > data structure. > > Could you give me some guidance? > > Thank you very much! > Yuxin > > On Thu, Dec 15, 2016 at 3:54 PM, Justin Pettit <jpet...@ovn.org> wrote: >> >>&

Re: [ovs-discuss] general question about synchronization in ovs

2016-12-15 Thread Justin Pettit
> On Dec 15, 2016, at 7:54 AM, Yuxin Ren wrote: > > Hi, > > I am a beginner to OVS. > I have some basic questions about OVS. > > Is it a multiple threads application? > If so, what data structures are shared by multiple threads? > What synchronization technique is used to

  1   2   3   4   5   6   7   8   9   >