Defined Type: openvswitch::bridge

Defined in:
modules/openvswitch/manifests/bridge.pp

Summary

manages an openvswitch bridge

Overview

SPDX-License-Identifier: Apache-2.0



3
4
5
6
7
8
9
# File 'modules/openvswitch/manifests/bridge.pp', line 3

define openvswitch::bridge () {
  exec { "bridge-create-${title}":
    command => "/usr/bin/ovs-vsctl add-br ${title}",
    unless  => "/usr/bin/ovs-vsctl br-exists ${title}",
    require => Service['openvswitch-switch'],
  }
}