salt.states.openvswitch_db module

Management of Open vSwitch database records.

salt.states.openvswitch_db.managed(name, table, data, record=None)

Ensures that the specified columns of the named record have the specified values.

Parameters
  • name -- The name of the record.

  • table -- The name of the table to which the record belongs.

  • data -- Dictionary containing a mapping from column names to the desired values. Columns that exist, but are not specified in this dictionary are not touched.

  • record -- The name of the record (optional). Replaces name if specified.