3 Commits

Author SHA1 Message Date
Takashi Kajinami
200c8f10e7 Replace mocha by rspec-mocks
puppetlabs_spec_helper recommends rspec-mocks instead of mocha[1] and
it uses rspec-mocks by default instead of mocha since v 5.0.0[2]

This is the prep work to adapt to that migration.

[1] https://github.com/puppetlabs/puppetlabs_spec_helper/#mock_with
[2] 493f0cbc1c

Closes-Bug: #2004135
Change-Id: I843c72def83a79783d68c9bcf1036d9beddb0e5d
2023-01-30 13:27:24 +09:00
Tim Rozet
6e3d77e9e4 Adds SSL custom type/provider
New type for configuring SSL in OVS.  Bootstrap mode allows the switch
to accept an initial CA certificate offered by the controller.
Otherwise specify the location of the CA certificate to use in comparing
the controller's cert.  OVS only supports a single instance of SSL
configuration so the provider limits the resource declaration to a
single instance named 'system'.

Partially-Implements: blueprint opendaylight-ssl-support

Change-Id: Ic026ee0bc4f385e0f8cd7076b3044feeb935ae45
Signed-off-by: Tim Rozet <trozet@redhat.com>
2018-01-09 18:18:22 -05:00
Babu Shanmugam
7d1ff4325e Added custom type vs_config and OVS provider for it
vs_config checks and updates the columns in Open_vSwitch table.
Records are updated only when the value differs from the one set
in 'value' parameter.

This will be used by projects like OVN which depends on the
global configs to even boot up

Change-Id: I87f870463147b41a319f1fc6c4225c35d244e3b9
2016-03-22 09:05:06 +00:00