# octavia.cmd package

## Submodules

## octavia.cmd.agent module

class `AmphoraAgent`(app, options=None)

  Bases: `gunicorn.app.base.BaseApplication`

  `load`()
  `load_config`()

    This method is used to load the configuration from one or several input(s). Custom Command line, configuration file. You have to override this method in your class.

`main`()

## octavia.cmd.api module

`main`()

## octavia.cmd.driver_agent module

`main`()

## octavia.cmd.haproxy_vrrp_check module

`get_status`(sock_address)

  Query haproxy stat socket

  Only VRRP fail over if the stats socket is not responding.

  Parameters: | sock_address – unix socket file
  Returns: | 0 if haproxy responded

`health_check`(sock_addresses)

  Invoke queries for all defined listeners

  Parameters: | sock_addresses –
  Returns: |

`main`()

## octavia.cmd.health_manager module

`hm_health_check`(exit_event)

`hm_listener`(exit_event)

`main`()

## octavia.cmd.house_keeping module

`cert_rotation`()

  Perform certificate rotation.

`db_cleanup`()

  Perform db cleanup for old resources.

`main`()

`spare_amphora_check`()

  Initiates spare amp check with respect to configured interval.

## octavia.cmd.octavia_worker module

`main`()

## octavia.cmd.status module

class `Checks`

  Bases: `oslo_upgradecheck.upgradecheck.UpgradeCommands`

  Contains upgrade checks

  Various upgrade checks should be added as separate methods in this class and added to _upgrade_checks tuple.

`main`()

## Module contents

this page last updated: 2020-04-10 18:17:54

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.

found an error? report a bug questions?