Files
sunbeam-charms/charms/ovn-central-k8s
Samuel Allan 365aed9a21 Remove pypi mock package for tests
'mock' is built in to python as unittest.mock since python 3.3.
The mock package on pypi is a backport, and not required here.

The test code throughout this repo used a mix of unittest.mock and
the mock package.  This makes it consistently unittest.mock now,
and makes the import styles consistent too.

Change-Id: I643247ac4061c095b327a73cba75a1fa67f1c32e
2024-02-21 09:04:17 +10:30
..
2023-11-30 15:32:39 +05:30
2024-02-21 09:04:17 +10:30
2022-01-31 12:48:31 +00:00
2023-11-30 15:32:39 +05:30
2022-01-31 12:48:31 +00:00
2022-01-31 12:48:31 +00:00
2023-10-11 06:31:43 +00:00
2023-05-25 10:21:35 +00:00
2023-11-30 15:32:39 +05:30

ovn-central-k8s

Description

ovn-central-k8s is an operator to manage the OVN central services (northd, ovsdb-nb, ovsdb-sb) on a Kubernetes based environment.

Usage

Deployment

ovn-central-k8s is deployed using below command:

juju deploy ovn-central-k8s ovn-central

Now connect the ovn-central operator to Vault to generate certificates for secure authentication and communication:

juju relate vault:certificates ovn-central:certificates

Configuration

This section covers common and/or important configuration options. See file config.yaml for the full list of options, along with their descriptions and default values. See the Juju documentation for details on configuring applications.

Actions

This section covers Juju actions supported by the charm. Actions allow specific operations to be performed on a per-unit basis. To display action descriptions run juju actions ovn-central. If the charm is not deployed then see file actions.yaml.

Relations

ovn-central-k8s requires the following relations:

certificates: To retrieve generated certificates from vault

ovn-central-k8s provides the following relations:

ovsdb-cms: Used by Neutron to get ovn-central IPs.

OCI Images

The charm by default uses following images:

`registry.jujucharms.com/charm/kau2b145zhaeuj5ly4w4m30qiq8qzspf93tnd/ovn-northd-image`
`registry.jujucharms.com/charm/kau2b145zhaeuj5ly4w4m30qiq8qzspf93tnd/ovn-nb-db-server-image`
`registry.jujucharms.com/charm/kau2b145zhaeuj5ly4w4m30qiq8qzspf93tnd/ovn-sb-db-server-image`

Contributing

Please see the Juju SDK docs for guidelines on enhancements to this charm following best practice guidelines, and CONTRIBUTING.md for developer guidance.

Bugs

Please report bugs on Launchpad.