[ovs-git] [openvswitch/ovs] de7d3c: Implement Openflow 1.4 Vacancy Events for OFPT_TAB...

GitHub noreply at github.com
Mon Nov 30 02:00:20 UTC 2015

  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: de7d3c0761a34232613ac60792c0f6cf75fdca8e
  Author: Saloni Jain <saloni.jain at tcs.com>
  Date:   2015-11-29 (Sun, 29 Nov 2015)

  Changed paths:
    M NEWS
    M lib/ofp-parse.c
    M lib/ofp-parse.h
    M lib/ofp-print.c
    M lib/ofp-util.c
    M lib/ofp-util.h
    M ofproto/ofproto-provider.h
    M ofproto/ofproto.c
    M tests/ofp-print.at
    M tests/ofproto.at
    M utilities/ovs-ofctl.8.in
    M utilities/ovs-ofctl.c

  Log Message:
  Implement Openflow 1.4 Vacancy Events for OFPT_TABLE_MOD.

OpenFlow 1.4 introduces the ability to turn on vacancy events with an
OFPT_TABLE_MOD message specifying OFPTC_VACANCY_EVENTS. This commit adds
support for the new feature in ovs-ofctl mod-table.
As per the openflow specification-1.4, vacancy event adds a mechanism
enabling the controller to get an early warning based on capacity
threshold chosen by the controller.

With this commit, vacancy events can be configured as:
ovs-ofctl -O OpenFlow14 mod-table <bridge> <table> vacancy:<low,high>
<low,high> specify vacancy threshold values in percentage for vacancy_down
and vacancy_up respectively.

To disable vacancy events, following command should be given:
ovs-ofctl -O OpenFlow14 mod-table <bridge> <table> novacancy

Signed-off-by: Saloni Jain <saloni.jain at tcs.com>
Co-authored-by: Shashwat Srivastava <shashwat.srivastava at tcs.com>
Signed-off-by: Shashwat Srivastava <shashwat.srivastava at tcs.com>
Co-authored-by: Sandeep Kumar <sandeep.kumar16 at tcs.com>
Signed-off-by: Sandeep Kumar <sandeep.kumar16 at tcs.com>
[blp at ovn.org fixed a few typos]
Signed-off-by: Ben Pfaff <blp at ovn.org>

More information about the git mailing list