[ovs-dev] [PATCH] utilities: Use FQDN for external_ids:hostname in Openvswitch table

2016-11-15 Thread bschanmu
From: Babu Shanmugam Openstack compute manager uses FQDN to check for the hypervisors to which the ports are bound. Without this fix, no instances can be launched as the hypervisor's hostname mismatches. Signed-off-by: Babu Shanmugam ---

[ovs-dev] [PATCH] rhel: Environment file option for northd service

2016-11-15 Thread bschanmu
From: Babu Shanmugam Since the northd service starts the DB servers as well, it will be better to have an environment file options in the systemd unit file for northd service. The environment file is expected to define NORTHD_OPTS which will have additional parameters to be

[ovs-dev] [PACTCH v14] DSCP marking on packets

2016-10-05 Thread bschanmu
From: Babu Shanmugam This patch adds support for marking qos on IP packets based on arbitrary match criteria for a logical switch. Signed-off-by: Babu Shanmugam Suggested-by: Mickey Spiegel Acked-by: Mickey Spiegel

[ovs-dev] [PATCH v3 4/4] ovn: Add ovndb servers ocf script in debian packager

2016-09-27 Thread bschanmu
From: Babu Shanmugam The OCF script will be present in the ovn-common package and installed in the openvswitch scripts folder and a symbolic link to this file will be created in the OCF resources folder. The OCF resource agent name for this resource is ocf:ovn:ovndb-servers

[ovs-dev] [PATCH v3 2/4] ovn: OCF script for OVN OVSDB servers

2016-09-27 Thread bschanmu
From: Babu Shanmugam Co-authored-by: Numan Siddique Signed-off-by: Numan Siddique Co-authored-by: Andrew Beekhof Signed-off-by: Andrew Beekhof Signed-off-by: Babu Shanmugam

[ovs-dev] [PATCH v3 1/4] ovn: ovn-ctl support for HA ovn DB servers

2016-09-27 Thread bschanmu
From: Babu Shanmugam This patch adds support to start_ovsdb() function in ovn-ctl to start the ovn db servers in backup mode. This can be done in the following ways 1. Use parameters --ovn-nb-sync-from-addr and --ovn-sb-sync-from-addr to set the addresses of the active

[ovs-dev] [PATCH v3 3/4] ovn: Add ovn db servers ocf script in fedora packager

2016-09-27 Thread bschanmu
From: Babu Shanmugam The OCF script will be present in the ovn-common package and installed in the openvswitch scripts folder. A symbolic link to this file will be created in the OCF resources folder. The OCF resource agent name for this resource is ocf:ovn:ovndb-servers

[ovs-dev] [PATCH v3 0/4] High availability support for OVN DB servers using pacemaker

2016-09-27 Thread bschanmu
v2 -> v3: - Handling few edged cases in the OCF script as suggested by Andrew Beekhof This patch contains changes required to run a pacemaker resource agent to manage OVN db servers in active/standby mode in a HA cluster. Babu Shanmugam (4): ovn: ovn-ctl support for HA ovn DB servers

[ovs-dev] [PATCH] ovn: Change ct_label[0] to ct_label.blocked

2016-09-21 Thread bschanmu
From: Babu Shanmugam ovn-northd uses ct_label[0] to keep track of the ACL changes on existing connections.This patch replaces the usage of ct_label[0] in the logical flows with a symbolic name ct_label.blocked Suggested-by: Justin Pettit Suggested-at:

[ovs-dev] [PATCH v2 4/4] ovn: Add ovndb servers ocf script in debian packager

2016-09-16 Thread bschanmu
From: Babu Shanmugam The OCF script will be present in the ovn-common package and installed in the openvswitch scripts folder and a symbolic link to this file will be created in the OCF resources folder. The OCF resource agent name for this resource is ocf:ovn:ovndb-servers

[ovs-dev] [PATCH v2 3/4] ovn: Add ovn db servers ocf script in fedora packager

2016-09-16 Thread bschanmu
From: Babu Shanmugam The OCF script will be present in the ovn-common package and installed in the openvswitch scripts folder. A symbolic link to this file will be created in the OCF resources folder. The OCF resource agent name for this resource is ocf:ovn:ovndb-servers

[ovs-dev] [PATCH v2 2/4] ovn: OCF script for OVN OVSDB servers

2016-09-16 Thread bschanmu
From: Babu Shanmugam Co-authored-by: Numan Siddique Signed-off-by: Numan Siddique Signed-off-by: Babu Shanmugam --- ovn/utilities/automake.mk | 6 +- ovn/utilities/ovndb-servers.ocf | 192

[ovs-dev] [PATCH v2 1/4] ovn: ovn-ctl support for HA ovn DB servers

2016-09-16 Thread bschanmu
From: Babu Shanmugam This patch adds support to start_ovsdb() function in ovn-ctl to start the ovn db servers in backup mode. This can be done in the following ways 1. Use parameters --ovn-nb-sync-from-addr and --ovn-sb-sync-from-addr to set the addresses of the active

[ovs-dev] [PATCH v2 0/4] OCF script for OVN DB servers

2016-09-16 Thread bschanmu
v1 -> v2: - Fixed a logical problem in the OCF script as suggested by Andrew Beekhof - Changed start_northd in ovn-ctl to look for DB parameters in a file and not start the DB server if present. This patch contains changes required to run a pacemaker resource agent

[ovs-dev] [PATCH v1 4/4] ovn: Add ovndb servers ocf script in debian packager

2016-09-15 Thread bschanmu
The OCF script will be present in the ovn-common package and installed in the openvswitch scripts folder and a symbolic link to this file will be created in the OCF resources folder. The OCF resource agent name for this resource is ocf:ovn:ovndb-servers Signed-off-by: Babu Shanmugam

[ovs-dev] [PATCH v1 3/4] ovn: Add ovn db servers ocf script in fedora packager

2016-09-15 Thread bschanmu
The OCF script will be present in the ovn-common package and installed in the openvswitch scripts folder. A symbolic link to this file will be created in the OCF resources folder. The OCF resource agent name for this resource is ocf:ovn:ovndb-servers Signed-off-by: Babu Shanmugam

[ovs-dev] [PATCH v1 2/4] ovn: OCF script for OVN OVSDB servers

2016-09-15 Thread bschanmu
Co-authored-by: Numan Siddique Signed-off-by: Numan Siddique Signed-off-by: Babu Shanmugam --- ovn/utilities/automake.mk | 6 +- ovn/utilities/ovndb-servers.ocf | 180 2 files

[ovs-dev] [PATCH v1 1/4] ovn: ovn-ctl support to start ovn db servers in backup mode

2016-09-15 Thread bschanmu
This patch adds support to start_ovsdb() function in ovn-ctl to start the ovn db servers in backup mode. This can be done in the following ways 1. Use parameters --ovn-nb-sync-from-addr and --ovn-sb-sync-from-addr to set the addresses of the active server. 2. Create files

[ovs-dev] [PATCH v1 0/4] OCF script for OVN DB servers

2016-09-15 Thread bschanmu
v0 -> v1: - Added Co-authored-by in 2/4 patch. This patch contains changes required to run a pacemaker resource agent to manage OVN db servers in active/standby mode in a HA cluster. Babu Shanmugam (1): ovn: ovn-ctl support to start ovn db servers in backup mode ovn: OCF script for OVN

[ovs-dev] [PATCH 0/4] OCF script for OVN DB servers

2016-09-15 Thread bschanmu
This patch contains changes required to run a pacemaker resource agent to run OVN db servers in active/standby mode in a HA cluster. Babu Shanmugam (1): ovn: ovn-ctl support to start ovn db servers in backup mode ovn: OCF script for OVN OVSDB servers ovn: Added ovn db servers OCF resource

[ovs-dev] [PATCH 4/4] ovn: Add ovndb servers ocf script in debian packager

2016-09-15 Thread bschanmu
The OCF script will be present in the ovn-common package and installed in the openvswitch scripts folder and a symbolic link to this file will be created in the OCF resources folder. The OCF resource agent name for this resource is ocf:ovn:ovndb-servers Signed-off-by: Babu Shanmugam

[ovs-dev] [PATCH 1/4] ovn: ovn-ctl support to start ovn db servers in backup mode

2016-09-15 Thread bschanmu
This patch adds support to start_ovsdb() function in ovn-ctl to start the ovn db servers in backup mode. This can be done in the following ways 1. Use parameters --ovn-nb-sync-from-addr and --ovn-sb-sync-from-addr to set the addresses of the active server. 2. Create files

[ovs-dev] [PATCH v13 1/2] Check and allocate free qdisc queue id for ports with qos parameters

2016-09-07 Thread bschanmu
From: Babu Shanmugam ovn-northd processes the list of Port_Bindings and hashes the list of queues per chassis. When it finds a port with qos_parameters and without a queue_id, it allocates a free queue for the chassis that this port belongs. The queue_id information is

[ovs-dev] [PATCH v13 2/2] DSCP marking on packets

2016-09-07 Thread bschanmu
From: Babu Shanmugam This patch adds support for marking qos on IP packets based on arbitrary match criteria for a logical switch. Signed-off-by: Babu Shanmugam Suggested-by: Mickey Spiegel Acked-by: Mickey Spiegel

[ovs-dev] [PATCH v13 0/2] QOS updates with DSCP support

2016-09-07 Thread bschanmu
v12 -> v13: - Few nit and test case changes suggested by Mickey Spiegel Babu Shanmugam (2): Check and allocate free qdisc queue id for ports with qos parameters DSCP marking on packets include/ovn/actions.h | 17 +++- ovn/controller/binding.c| 220

[ovs-dev] [PATCH v13 0/2] QOS updates with DSCP support

2016-09-07 Thread bschanmu
v12 -> v13: - Few nit and test case changes suggested by Mickey Spiegel Babu Shanmugam (2): Check and allocate free qdisc queue id for ports with qos parameters DSCP marking on packets include/ovn/actions.h | 17 +++- ovn/controller/binding.c| 220

[ovs-dev] [PATCH v12 2/2] DSCP marking on packets

2016-09-05 Thread bschanmu
From: Babu Shanmugam This patch adds support for marking qos on IP packets based on arbitrary match criteria for a logical switch. Signed-off-by: Babu Shanmugam Suggested-by: Mickey Spiegel --- ovn/lib/logical-fields.c| 2

[ovs-dev] [PATCH v12 1/2] Check and allocate free qdisc queue id for ports with qos parameters

2016-09-05 Thread bschanmu
From: Babu Shanmugam ovn-northd processes the list of Port_Bindings and hashes the list of queues per chassis. When it finds a port with qos_parameters and without a queue_id, it allocates a free queue for the chassis that this port belongs. The queue_id information is

[ovs-dev] [PATCH v12 0/2] QOS updates with DSCP support

2016-09-05 Thread bschanmu
v11 -> v12: - QOS dscp marking on IP packets based on arbitrary match criteria for a logical switch. Babu Shanmugam (2): Check and allocate free qdisc queue id for ports with qos parameters DSCP marking on packets include/ovn/actions.h | 17 +++- ovn/controller/binding.c| 233

[ovs-dev] [patch v2] ovn: ovn-ctl support to start ovn db servers in backup mode

2016-09-01 Thread bschanmu
From: Babu Shanmugam This patch adds support to start_ovsdb() function in ovn-ctl to start the ovn db servers in backup mode. This can be done in the following ways 1. Use parameters --ovn-nb-sync-from-addr and --ovn-sb-sync-from-addr to set the addresses of the active

[ovs-dev] [patch v1] ovn: ovn-ctl support to start ovn db servers in backup mode

2016-08-31 Thread bschanmu
From: Babu Shanmugam This patch adds support to start_ovsdb() function in ovn-ctl to start the ovn db servers in backup mode. This can be done in the following ways 1. Use parameters --ovn-nb-sync-from-addr and --ovn-sb-sync-from-addr to set the addresses of the active

[ovs-dev] [patch v11 0/2] QOS updates with DSCP support

2016-08-31 Thread bschanmu
v10 -> v11 - Moved the DSCP marking at a later stage as suggested by Mickey Spiegel - Update the documentation for the DSCP in ovn northd's man page template Babu Shanmugam (2): Check and allocate free qdisc queue id for ports with qos parameters DSCP marking on packets egressing VIF

[ovs-dev] [patch v11 2/2] DSCP marking on packets egressing VIF interface

2016-08-31 Thread bschanmu
ovn-northd sets 'ip.dscp' to the DSCP value Signed-off-by: Babu Shanmugam --- ovn/lib/logical-fields.c| 2 +- ovn/northd/ovn-northd.8.xml | 30 +++ ovn/northd/ovn-northd.c | 69 ++ ovn/ovn-nb.xml

[ovs-dev] [patch v11 1/2] Check and allocate free qdisc queue id for ports with qos parameters

2016-08-31 Thread bschanmu
ovn-northd processes the list of Port_Bindings and hashes the list of queues per chassis. When it finds a port with qos_parameters and without a queue_id, it allocates a free queue for the chassis that this port belongs. The queue_id information is stored in the options field of Port_binding

[ovs-dev] [patch v10 1/2] Check and allocate free qdisc queue id for ports with qos parameters

2016-08-29 Thread bschanmu
ovn-northd processes the list of Port_Bindings and hashes the list of queues per chassis. When it finds a port with qos_parameters and without a queue_id, it allocates a free queue for the chassis that this port belongs. The queue_id information is stored in the options field of Port_binding

[ovs-dev] [patch v10 2/2] DSCP marking on packets egressing VIF interface

2016-08-29 Thread bschanmu
ovn-northd sets 'ip.dscp' to the DSCP value Signed-off-by: Babu Shanmugam --- ovn/lib/logical-fields.c| 2 +- ovn/northd/ovn-northd.8.xml | 45 ovn/northd/ovn-northd.c | 72 +++- ovn/ovn-nb.xml

[ovs-dev] [patch v10 0/2] QOS updates with DSCP support

2016-08-29 Thread bschanmu
v9 -> v10 - Rebased on top of master. - DSCP marking is done at a new logical ingress stage. - Added relevant documentation for the DSCP flow. Babu Shanmugam (2): Check and allocate free qdisc queue id for ports with qos parameters DSCP marking on packets egressing VIF interface

[ovs-dev] [PATCH] ovn: ovn-ctl support to start ovn db servers in standby mode

2016-08-25 Thread bschanmu
This patch adds support to start_ovsdb() function in ovn-ctl to start the ovn db servers in standby mode. This can be done in the following ways 1. Use parameters --ovn-nb-sync-from-addr and --ovn-sb-sync-from-addr to set the addresses of the master server. 2. Create files

[ovs-dev] [PATCH] rhel: Include ovn-trace in ovn-common package

2016-08-23 Thread bschanmu
Include the ovn-trace binary and it's man page in ovn-common package Signed-off-by: Babu Shanmugam --- rhel/openvswitch-fedora.spec.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in index

[ovs-dev] [PATCH v9 1/2] Check and allocate free qdisc queue id for ports with qos parameters

2016-08-17 Thread bschanmu
From: Babu Shanmugam ovn-northd processes the list of Port_Bindings and hashes the list of queues per chassis. When it finds a port with qos_parameters and without a queue_id, it allocates a free queue for the chassis that this port belongs. The queue_id information is

[ovs-dev] [PATCH v9 0/2] QOS updates with DSCP support

2016-08-17 Thread bschanmu
From: Babu Shanmugam v8 -> v9 - Moved the logical flow for DSCP marking from build_port_security_ip() to build_lswitch_flows() Babu Shanmugam (2): Check and allocate free qdisc queue id for ports with qos parameters DSCP marking on packets egressing VIF interface

[ovs-dev] [PATCH v9 2/2] DSCP marking on packets egressing VIF interface

2016-08-17 Thread bschanmu
From: Babu Shanmugam ovn-northd sets 'ip.dscp' to the DSCP value Signed-off-by: Babu Shanmugam --- ovn/lib/logical-fields.c | 2 +- ovn/northd/ovn-northd.c | 13 + ovn/ovn-nb.xml | 6 ovn/ovn-sb.xml | 5

[ovs-dev] [PATCH v8 0/2] QOS updates with DSCP support

2016-08-16 Thread bschanmu
From: Babu Shanmugam v7 -> v8 - Modified the queue allocation part in northd. Hash chassis with it's uuid and store the UUID to avoid hash collisions - Updated the comments and the ovn-northd man page about the new logical flow for DSCP marking - Rebased on top

[ovs-dev] [PATCH v8 1/2] Check and allocate free qdisc queue id for ports with qos parameters

2016-08-16 Thread bschanmu
From: Babu Shanmugam ovn-northd processes the list of Port_Bindings and hashes the list of queues per chassis. When it finds a port with qos_parameters and without a queue_id, it allocates a free queue for the chassis that this port belongs. The queue_id information is

[ovs-dev] [PATCH v8 2/2] DSCP marking on packets egressing VIF interface

2016-08-16 Thread bschanmu
From: Babu Shanmugam ovn-northd sets 'ip.dscp' to the DSCP value Signed-off-by: Babu Shanmugam --- ovn/lib/logical-fields.c| 2 +- ovn/northd/ovn-northd.8.xml | 5 ovn/northd/ovn-northd.c | 13 ovn/ovn-nb.xml | 6

[ovs-dev] [PATCH rebase v7 0/2] ovn: QOS updates with DSCP support

2016-08-12 Thread bschanmu
From: Babu Shanmugam * Rebased v7 on top of the master Babu Shanmugam (2): Check and allocate free qdisc queue id for ports with qos parameters DSCP marking on packets egressing VIF interface include/ovn/actions.h| 7 ++ ovn/controller/binding.c | 239

[ovs-dev] [PATCH rebase v7 2/2] DSCP marking on packets egressing VIF interface

2016-08-12 Thread bschanmu
From: Babu Shanmugam ovn-northd sets 'ip.dscp' to the DSCP value Signed-off-by: Babu Shanmugam --- ovn/lib/logical-fields.c | 2 +- ovn/northd/ovn-northd.c | 13 + ovn/ovn-nb.xml | 6 ovn/ovn-sb.xml | 5

[ovs-dev] [PATCH rebase v7 1/2] Check and allocate free qdisc queue id for ports with qos parameters

2016-08-12 Thread bschanmu
From: Babu Shanmugam ovn-northd processes the list of Port_Bindings and hashes the list of queues per chassis. When it finds a port with qos_parameters and without a queue_id, it allocates a free queue for the chassis that this port belongs. The queue_id information is

[ovs-dev] [PATCH v7 2/2] DSCP marking on packets egressing VIF interface

2016-08-02 Thread bschanmu
From: Babu Shanmugam ovn-northd sets 'ip.dscp' to the DSCP value Signed-off-by: Babu Shanmugam --- ovn/controller/lflow.c | 2 +- ovn/northd/ovn-northd.c | 13 + ovn/ovn-nb.xml | 6 ovn/ovn-sb.xml | 5

[ovs-dev] [PATCH v7 1/2] Check and allocate free qdisc queue id for ports with qos parameters

2016-08-02 Thread bschanmu
From: Babu Shanmugam ovn-northd processes the list of Port_Bindings and hashes the list of queues per chassis. When it finds a port with qos_parameters and without a queue_id, it allocates a free queue for the chassis that this port belongs. The queue_id information is

[ovs-dev] [PATCH v7 0/2] QOS updates with DSCP support

2016-08-02 Thread bschanmu
From: anbu v6 -> v7 - Updated the DSCP marking part in ovn-northd. Moved the DSCP logical flow to S_SWITCH_IN_PORT_SEC_IP pipeline. - Added test cases for the DSCP marking case. Babu Shanmugam (2): Check and allocate free qdisc queue id for ports with qos parameters DSCP

[ovs-dev] [PATCH] ovn-controller: update_ct_zone operates always on empty set

2016-07-26 Thread bschanmu
From: Babu Shanmugam Commit 263064a (Convert binding_run to incremental processing.) removed the usage of all_lports from binding_run, but it is infact used in the context of the caller, especially by update_ct_zones(). Without this change, update_ct_zones operates on an

[ovs-dev] [PATCH v6 1/2] Check and allocate free qdisc queue id for ports with qos parameters

2016-07-20 Thread bschanmu
ovn-northd processes the list of Port_Bindings and hashes the list of queues per chassis. When it finds a port with qos_parameters and without a queue_id, it allocates a free queue for the chassis that this port belongs. The queue_id information is stored in the options field of Port_binding

[ovs-dev] [PATCH v6 2/2] DSCP marking on packets egressing VIF interface

2016-07-20 Thread bschanmu
ovn-northd sets 'ip.dscp' to the DSCP value Signed-off-by: Babu Shanmugam Acked-by: Ben Pfaff --- ovn/controller/lflow.c | 2 +- ovn/northd/ovn-northd.c | 4 ovn/ovn-nb.xml | 6 ++ ovn/ovn-sb.xml | 5 + 4 files changed, 16

[ovs-dev] [PATCH v6 0/2] ovn: QOS updates with DSCP support

2016-07-20 Thread bschanmu
From: Babu Shanmugam v5->v6: - Rebased to the latest master - Avoid updating the qos column of port record when txn is NULL Babu Shanmugam (2): Check and allocate free qdisc queue id for ports with qos parameters DSCP marking on packets egressing VIF interface

[ovs-dev] [PATCH v5 2/2] DSCP marking on packets egressing VIF interface

2016-07-04 Thread bschanmu
ovn-northd sets 'ip.dscp' to the DSCP value Signed-off-by: Babu Shanmugam --- ovn/controller/lflow.c | 2 +- ovn/northd/ovn-northd.c | 4 ovn/ovn-nb.xml | 6 ++ ovn/ovn-sb.xml | 5 + 4 files changed, 16 insertions(+), 1 deletion(-) diff

[ovs-dev] [PATCH v5 1/2] Check and allocate free qdisc queue id for ports with qos parameters

2016-07-04 Thread bschanmu
ovn-northd processes the list of Port_Bindings and hashes the list of queues per chassis. When it finds a port with qos_parameters and without a queue_id, it allocates a free queue for the chassis that this port belongs. The queue_id information is stored in the options field of Port_binding

[ovs-dev] [PATCH v5 0/2] QOS updates with DSCP support

2016-07-04 Thread bschanmu
v4->v5 - Rebased v4 along with changes from Ben Pfaff Babu Shanmugam (2): Check and allocate free qdisc queue id for ports with qos parameters DSCP marking on packets egressing VIF interface ovn/controller/binding.c | 230 +--

[ovs-dev] [PATCH v6 1/2] Add address set support.

2016-06-28 Thread bschanmu
From: Russel Bryant Update the OVN expression parser to support address sets. Previously, you could have a set of IP or MAC addresses in this form: {addr1, addr2, ..., addrN} This patch adds support for a bit of indirection where we can define a set of addresses and refer

[ovs-dev] [PATCH v6 2/2] ovn: Add address_set() support for ACLs.

2016-06-28 Thread bschanmu
From: Russell Bryant This feature was originally proposed here: http://openvswitch.org/pipermail/dev/2016-March/067440.html A common use case for OVN ACLs involves needing to match a set of IP addresses. outport == "lp1" && ip4.src == {10.0.0.5, 10.0.0.25, 10.0.0.50}

[ovs-dev] [PATCH v6 0/2] OVN address sets.

2016-06-28 Thread bschanmu
From: Babu Shanmugam v5 -> v6 - Fixed a documentation update - Fixed the ovn-nb.ovsschema checksum Russel Bryant (1): Add address set support. Russell Bryant (1): ovn: Add address_set() support for ACLs. ovn/controller/lflow.c| 155

[ovs-dev] [PATCH v5 0/2] OVN address sets.

2016-06-28 Thread bschanmu
From: Babu Shanmugam v4 -> v5 - Added external_ids column to 'Address Set' table in NB db, as suggested by Han Zhou - Some more correction as suggested by Zong Kai LI Russel Bryant (1): Add address set support. Russell Bryant (1): ovn: Add address_set() support

[ovs-dev] [PATCH v5 1/2] Add address set support.

2016-06-28 Thread bschanmu
From: Russel Bryant Update the OVN expression parser to support address sets. Previously, you could have a set of IP or MAC addresses in this form: {addr1, addr2, ..., addrN} This patch adds support for a bit of indirection where we can define a set of addresses and refer

[ovs-dev] [PATCH v5 2/2] ovn: Add address_set() support for ACLs.

2016-06-28 Thread bschanmu
From: Russell Bryant This feature was originally proposed here: http://openvswitch.org/pipermail/dev/2016-March/067440.html A common use case for OVN ACLs involves needing to match a set of IP addresses. outport == "lp1" && ip4.src == {10.0.0.5, 10.0.0.25, 10.0.0.50}

[ovs-dev] [PATCH v4 0/2] OVN address sets.

2016-06-27 Thread bschanmu
From: Babu Shanmugam v3 -> v4 - Additional test cases added by Flavio F - Documentation changes as suggested by Zong Kai YL Li Russel Bryant (1): Add address set support. Russell Bryant (1): ovn: Add address_set() support for ACLs. ovn/controller/lflow.c| 155

[ovs-dev] [PATCH v4 2/2] ovn: Add address_set() support for ACLs.

2016-06-27 Thread bschanmu
From: Russell Bryant This feature was originally proposed here: http://openvswitch.org/pipermail/dev/2016-March/067440.html A common use case for OVN ACLs involves needing to match a set of IP addresses. outport == "lp1" && ip4.src == {10.0.0.5, 10.0.0.25, 10.0.0.50}

[ovs-dev] [PATCH v4 1/2] Add address set support.

2016-06-27 Thread bschanmu
From: Russel Bryant Update the OVN expression parser to support address sets. Previously, you could have a set of IP or MAC addresses in this form: {addr1, addr2, ..., addrN} This patch adds support for a bit of indirection where we can define a set of addresses and refer

[ovs-dev] [PATCH v4 2/2] DSCP marking on packets egressing VIF interface

2016-06-24 Thread bschanmu
ovn-northd sets 'ip.dscp' to the DSCP value Signed-off-by: Babu Shanmugam --- ovn/controller/lflow.c | 2 +- ovn/northd/ovn-northd.c | 4 ovn/ovn-nb.xml | 6 ++ ovn/ovn-sb.xml | 5 + 4 files changed, 16 insertions(+), 1 deletion(-) diff

[ovs-dev] [PATCH v4 1/2] Check and allocate free qdisc queue id for ports with qos parameters

2016-06-24 Thread bschanmu
ovn-northd processes the list of Port_Bindings and hashes the list of queues per chassis. When it finds a port with qos_parameters and without a queue_id, it allocates a free queue for the chassis that this port belongs. The queue_id information is stored in the options field of Port_binding

[ovs-dev] [PATCH v4 0/2] QOS updates with DSCP support

2016-06-24 Thread bschanmu
v3 -> v4: - Rebased on top of master - Fixed a bug where the noop qos was set on tunnel ports instead of egress interfaces Babu Shanmugam (2): Check and allocate free qdisc queue id for ports with qos parameters DSCP marking on packets egressing VIF interface ovn/controller/binding.c

[ovs-dev] [PATCH v3 2/2] ovn: Add address_set() support for ACLs.

2016-06-22 Thread bschanmu
From: Russell Bryant This feature was originally proposed here: http://openvswitch.org/pipermail/dev/2016-March/067440.html A common use case for OVN ACLs involves needing to match a set of IP addresses. outport == "lp1" && ip4.src == {10.0.0.5, 10.0.0.25, 10.0.0.50}

[ovs-dev] [PATCH v3 1/2] Add address set support.

2016-06-22 Thread bschanmu
From: Russel Bryant Update the OVN expression parser to support address sets. Previously, you could have a set of IP or MAC addresses in this form: {addr1, addr2, ..., addrN} This patch adds support for a bit of indirection where we can define a set of addresses and refer

[ovs-dev] [PATCH v3 0/2] OVN address sets.

2016-06-22 Thread bschanmu
From: Babu Shanmugam v2->v3: - address_set('name') tokens are changed to $name. - $name can be used inside a set in expressions. - Some typo fixes that. v1->v2: - rebase - add docs that I forgot to include in v1. Russel Bryant (1): Add address set support. Russell

[ovs-dev] [PATCH v3 3/3] DSCP marking on packets egressing VIF interface

2016-06-13 Thread bschanmu
ovn-northd sets 'ip.dscp' to the DSCP value Signed-off-by: Babu Shanmugam --- ovn/controller/lflow.c | 2 +- ovn/northd/ovn-northd.c | 4 ovn/ovn-nb.xml | 5 + ovn/ovn-sb.xml | 5 + 4 files changed, 15 insertions(+), 1 deletion(-) diff --git

[ovs-dev] [PATCH v3 2/3] Check and allocate free qdisc queue id for ports with qos parameters

2016-06-13 Thread bschanmu
ovn-northd processes the list of Port_Bindings and hashes the list of queues per chassis. When it finds a port with qos_parameters and without a queue_id, it allocates a free queue for the chassis that this port belongs. The queue_id information is stored in the options field of Port_binding

[ovs-dev] [PATCH v3 1/3] New qos type linux-noop

2016-06-13 Thread bschanmu
Linux ``No operation'' qos type is used to inform the vswitch that the traffic control for the port is managed externally. Any configuration values set for this type will have no effect. This patch provides a solution suggested in this mail -

[ovs-dev] [PATCH v3 0/3] QOS updates with DSCP support

2016-06-13 Thread bschanmu
v2 -> v3 changes: - Added a new qos type 'linux-noop' - Set queues on all physical interfaces used for tunnelling - Some minor styling fixes Following are done through this series 1. Changed the old approach of policing the packets. It is now shaped with queues. Changed the

[ovs-dev] [PATCH v2 2/2] DSCP marking on packets egressing VIF interface

2016-05-25 Thread bschanmu
ovn-northd sets 'ip.dscp' to the DSCP value Signed-off-by: Babu Shanmugam --- ovn/controller/lflow.c | 2 +- ovn/northd/ovn-northd.c | 4 ovn/ovn-nb.xml | 5 + ovn/ovn-sb.xml | 5 + 4 files changed, 15 insertions(+), 1 deletion(-) diff --git

[ovs-dev] [PATCH v2 1/2] Check and allocate free qdisc queue id for ports with qos parameters

2016-05-25 Thread bschanmu
ovn-northd processes the list of Port_Bindings and hashes the list of queues per chassis. When it finds a port with qos_parameters and without a queue_id, it allocates a free queue for the chassis that this port belongs. The queue_id information is stored in the options field of Port_binding

[ovs-dev] [PATCH v2 0/2] QOS updates with DSCP support

2016-05-25 Thread bschanmu
Following are done through this series 1. Changed the old approach of policing the packets. It is now shaped with queues. Changed the Logical_Port options for NB db 2. Support for DSCP marking through options field in Logical_Port table Babu Shanmugam (2): Check and allocate free qdisc

[ovs-dev] [PATCH 1/2] ovn: Replace the QOS policing parameters with the usage of QOS table

2016-04-22 Thread bschanmu
From: Babu Shanmugam Replaced the earlier approach of setting the rate and burst parameters in the Interface table with Port tables's qos parameter (using the default queue). In this patch, 'linux-htb' is used as a fixed Qos type. Also replaced the options for VMI

[ovs-dev] [PATCH 2/2] ovn: QOS DSCP markings for ports

2016-04-22 Thread bschanmu
From: Babu Shanmugam Added an additional option 'qos_dscp' for VMI Logical_Ports Signed-off-by: Babu Shanmugam --- ovn/controller/binding.c | 10 +- ovn/ovn-nb.xml | 5 + 2 files changed, 14 insertions(+), 1 deletion(-) diff

[ovs-dev] [PATCH 0/2] ovn: QOS updates with DSCP support

2016-04-22 Thread bschanmu
From: Babu Shanmugam Following are done through this series 1. Changed the old approach of policing the packets. It is now shaped with queues. Changed the Logical_Port options for NB db 2. Support of DSCP marking through options field in Logical_Port table Babu Shanmugam

[ovs-dev] [PATCH RFC] ovn: Add support for DSCP marking

2016-04-15 Thread bschanmu
From: Babu Shanmugam Added an additional option 'dscp_code' for VMI Logica_Ports in addition to the ingress_policing_rate and burst in the OVN Northbound database. Also in the controller, replaced the earlier approach of setting the rate and burst parameters in the

[ovs-dev] [PATCH v2] rhel: Packaging for OVN is split as per functionality

2016-03-24 Thread bschanmu
rhel packaging for OVN is split to host(controller), central(northd), common(command line utilities) and docker(docker network plugin). This is similar to OVN packaging for Debian. Signed-off-by: Babu Shanmugam --- rhel/openvswitch-fedora.spec.in | 148

[ovs-dev] [PATCH] rhel: Packaging for OVN is split as per functionality

2016-03-09 Thread bschanmu
rhel packaging for OVN is split to host(controller), central(northd), common(command line utilities) and docker(docker network plugin). This is similar to OVN packaging for Debian. Signed-off-by: Babu Shanmugam --- rhel/openvswitch-fedora.spec.in | 106

[ovs-dev] [PATCH] rhel: Use ovn-ctl to ovn-controller service

2016-03-08 Thread bschanmu
Trying to revert the changes caused by 8520deefbf208b24518c2bf67baad6d230f39dc0 to travis build failures Signed-off-by: Babu Shanmugam --- rhel/.gitignore| 1 - rhel/automake.mk | 3 ---

[ovs-dev] [PATCH v2] Use 'RUNDIR' from make for rhel/ovn-controller.service

2016-03-06 Thread bschanmu
Perviously it was using the platform's runtime directory which can be different from the runtime directory of ovsdb-server started by the openvswitch service Signed-off-by: Babu Shanmugam --- rhel/.gitignore| 1 + rhel/automake.mk

[ovs-dev] [PATCH] Use 'RUNDIR' from make for rhel/ovn-controller.service

2016-02-24 Thread bschanmu
Perviously it was using the platform's runtime directory which can be different from the runtime directory of ovsdb-server started by the openvswitch service Signed-off-by: Babu Shanmugam --- rhel/.gitignore| 1 + rhel/automake.mk

[ovs-dev] [PATCH 0/3] QOS support in OVN

2016-01-05 Thread bschanmu
This patch series enables QOS support in OVN. Only two parameters (policing_rate and policing_burst) are enabled through this patch series. Babu Shanmugam (3): ovn: ovn-controller changes for qos settings ovn: Qos options for VMI updated in ovn-sb.xml ovn: Qos options for VMI updated in

[ovs-dev] [PATCH 2/3] ovn: Qos options for VMI updated in ovn-sb.xml

2016-01-05 Thread bschanmu
Signed-off-by: Babu Shanmugam --- ovn/ovn-sb.xml | 17 + 1 file changed, 17 insertions(+) diff --git a/ovn/ovn-sb.xml b/ovn/ovn-sb.xml index e674f3a..1ea35d5 100644 --- a/ovn/ovn-sb.xml +++ b/ovn/ovn-sb.xml @@ -1300,6 +1300,23 @@ tcp.flags = RST;

[ovs-dev] [PATCH 0/3] QOS support in OVN

2016-01-05 Thread bschanmu
This patch series enables QOS support in OVN. Only two parameters (policing_rate and policing_burst) are enabled through this patch series. Babu Shanmugam (3): ovn: ovn-controller changes for qos settings ovn: Qos options for VMI updated in ovn-sb.xml ovn: Qos options for VMI updated in

[ovs-dev] [PATCH 3/3] ovn: Qos options for VMI updated in ovn-nb.xml

2016-01-05 Thread bschanmu
Signed-off-by: Babu Shanmugam --- ovn/ovn-nb.xml | 17 + 1 file changed, 17 insertions(+) diff --git a/ovn/ovn-nb.xml b/ovn/ovn-nb.xml index ef34c9b..e0e9df6 100644 --- a/ovn/ovn-nb.xml +++ b/ovn/ovn-nb.xml @@ -182,6 +182,23 @@ Required. A

[ovs-dev] [PATCH 1/3] ovn: ovn-controller changes for qos settings

2016-01-05 Thread bschanmu
The qos settings are managed using the 'options' fields in the "Port_Binding" table. Signed-off-by: Babu Shanmugam --- ovn/controller/binding.c| 116 +++- ovn/controller/ovn-controller.c | 4 ++ 2 files changed, 118

[ovs-dev] [PATCH v4 0/4] Support native dhcp in ovn controller

2015-11-24 Thread bschanmu
This patch series introduces native dhcp support in ovn controller. v4 has few bug fixes in the test cases Babu Shanmugam (3): ovn: Dedicated connection handler for packet-ins ovn: New flows for DHCP tranffic ovn: Process dhcp packet-ins and respond through packet-outs Numan Siddique (1):

[ovs-dev] [PATCH v4 1/4] ovn: Dedicated connection handler for packet-ins

2015-11-24 Thread bschanmu
This patch opens and maintains a new connection that is dedicated to monitor the packet-ins for br-int. Signed-off-by: Babu Shanmugam --- ovn/controller/automake.mk | 2 + ovn/controller/ovn-controller.c | 6 ++ ovn/controller/pinctrl.c| 177

[ovs-dev] [PATCH v4 3/4] ovn: Process dhcp packet-ins and respond through packet-outs

2015-11-24 Thread bschanmu
The DHCP packets can be of two types (1) DHCP Discover (2) DHCP Request For (1), the controller should respond with DHCP offer and for (2), either DHCP Ack or DHCP Nack should be sent. In this patch, DHCP Nack is never sent. In case of failures in validating the packet, the controller does not

[ovs-dev] [PATCH v4 2/4] ovn: New flows for DHCP tranffic

2015-11-24 Thread bschanmu
The ovn-controller registers a flow in table 33 (LOCAL_OUTPUT) to send a packet matching the DHCP discover/request structure to a specific controller id, that the ovn pinctrl has registered on it's ofconn. Signed-off-by: Babu Shanmugam Signed-off-by: Numan Siddique

[ovs-dev] [PATCH] ovn: Enabled BFD for tunnel monitoring in ovn-controller

2015-11-23 Thread bschanmu
--- ovn/controller/encaps.c | 5 + ovn/controller/ovn-controller.c | 1 + 2 files changed, 6 insertions(+) diff --git a/ovn/controller/encaps.c b/ovn/controller/encaps.c index dfb11c0..c8744a0 100644 --- a/ovn/controller/encaps.c +++ b/ovn/controller/encaps.c @@ -150,6 +150,7 @@

[ovs-dev] [PATCH v3 3/4] ovn: Process dhcp packet-ins and respond through packet-outs

2015-11-20 Thread bschanmu
The DHCP packets can be of two types (1) DHCP Discover (2) DHCP Request For (1), the controller should respond with DHCP offer and for (2), either DHCP Ack or DHCP Nack should be sent. In this patch, DHCP Nack is never sent. In case of failures in validating the packet, the controller does not

  1   2   >