L2 agent extensions¶
L2 agent extensions are part of a generalized L2/L3 extension framework. See agent extensions.
Open vSwitch agent API¶
Open vSwitch agent API object includes two methods that return wrapped and hardened bridge objects with cookie values allocated for calling extensions:
#. request_int_br #. request_tun_br
Bridge objects returned by those methods already have new default cookie values allocated for extension flows. All flow management methods (add_flow, mod_flow, …) enforce those allocated cookies.
Linuxbridge agent API¶
The Linux bridge agent extension API object includes a method that returns an instance of the IptablesManager class, which is used by the L2 agent to manage security group rules: