config/puppet-manifests/src/modules/platform/templates/ovs.add-bridge.erb
Steven Webster da1110a3d8 LLDP OVS enablement: puppet configuration
This commit introduces puppet configuration enabling LLDP to operate over
OVS.  Specifically, separate ports flows are configured to handle LLDP
traffic.

In addition, we restrict the lldpd daemon from
operating over bridge, tap, and ovs-netdev devices.

Story: 2002946
Task: 22940

Change-Id: Ibadc9c082425412b5b68b02a55e8c02692de0e17
Signed-off-by: Steven Webster <steven.webster@windriver.com>
2018-09-26 11:11:42 -04:00

7 lines
197 B
Plaintext

ovs-vsctl --timeout 10 -- --may-exist add-br <%= @name -%>
-- set bridge <%= @name -%>
<%- @attributes.each do |attribute| -%>
<%= attribute -%>
<%- end -%>
datapath_type=<%= @datapath_type -%>