diff options
author | Niti Rohilla <niti.rohilla@tcs.com> | 2015-07-23 17:05:44 +0530 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2015-07-27 10:15:28 -0700 |
commit | 980904823303ef02af605e62a30c9bebda25f1ef (patch) | |
tree | 8eaa7e6ba07398c8225d1c869bdaa003c2bd6753 /DESIGN.md | |
parent | ad2e649834be20dd01b1632799fe778106a96a2d (diff) | |
download | openvswitch-980904823303ef02af605e62a30c9bebda25f1ef.tar.gz |
ofproto: Implement OF1.4 Set/Get asynchronous configuration messages.
This patch adds support for Openflow1.4 set/get asynchronous configuration
messages. OpenVSwitch already supports set/get asynchronous configuration
messages for Openflow1.3. In this patch OFPT_SET_ASYNC_CONFIG message
allows the controllers to set the configuration for OFPT_ROLE_STATUS,
OFPT_TABLE_STATUS and OFPT_REQUESTFORWARD in addition to the Openflow1.3
messages. In a OFPT_SET_ASYNC, only the properties that shall be changed
need to be included, properties that are omitted from the message are
unchanged.
The OFPT_GET_ASYNC_CONFIG is used to query the asynchronous configuration
of switch. In a OFPT_GET_ASYNC_REPLY message, all properties must be
included.
According to Openflow1.4 the initial configuration shall be:
- In the “master” or “equal” role, enable all OFPT_PACKET_IN messages,
except those with reason OFPR_INVALID_TTL, enable all OFPT_PORT_STATUS
and OFPT_FLOW_REMOVED messages, and disable all OFPT_ROLE_STATUS,
OFPT_TABLE_STATUS and OFPT_REQUESTFORWARD messages.
- In the “slave” role, enable all OFPT_PORT_STATUS messages and disable
all OFPT_PACKET_IN, OFPT_FLOW_REMOVED, OFPT_ROLE_STATUS,
OFPT_TABLE_STATUS and OFPT_REQUESTFORWARD messages.
Signed-off-by: Niti Rohilla <niti.rohilla@tcs.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'DESIGN.md')
-rw-r--r-- | DESIGN.md | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -61,11 +61,27 @@ sent, an entry labeled "---" means that the message is suppressed. OFPRR_IDLE_TIMEOUT yes --- OFPRR_HARD_TIMEOUT yes --- OFPRR_DELETE yes --- + OFPRR_GROUP_DELETE (OF1.4+) yes --- + OFPRR_METER_DELETE (OF1.4+) yes --- + OFPRR_EVICTION (OF1.4+) yes --- OFPT_PORT_STATUS OFPPR_ADD yes yes OFPPR_DELETE yes yes OFPPR_MODIFY yes yes + + OFPT_ROLE_REQUEST / OFPT_ROLE_REPLY (OF1.4+) + OFPCRR_MASTER_REQUEST --- --- + OFPCRR_CONFIG --- --- + OFPCRR_EXPERIMENTER --- --- + + OFPT_TABLE_STATUS (OF1.4+) + OFPTR_VACANCY_DOWN --- --- + OFPTR_VACANCY_UP --- --- + + OFPT_REQUESTFORWARD (OF1.4+) + OFPRFR_GROUP_MOD --- --- + OFPRFR_METER_MOD --- --- ``` The NXT_SET_ASYNC_CONFIG message directly sets all of the values in |