octavia.api.handlers package

octavia.api.handlers package

Submodules

octavia.api.handlers.abstract_handler module

class BaseHandler[source]

Bases: object

Base class for all handlers.

health_monitor = <octavia.api.handlers.abstract_handler.NotImplementedObjectHandler object>
l7policy = <octavia.api.handlers.abstract_handler.NotImplementedObjectHandler object>
l7rule = <octavia.api.handlers.abstract_handler.NotImplementedObjectHandler object>
listener = <octavia.api.handlers.abstract_handler.NotImplementedObjectHandler object>
load_balancer = <octavia.api.handlers.abstract_handler.NotImplementedObjectHandler object>
member = <octavia.api.handlers.abstract_handler.NotImplementedObjectHandler object>
pool = <octavia.api.handlers.abstract_handler.NotImplementedObjectHandler object>
class BaseObjectHandler[source]

Bases: object

Base class for any object handler.

create(model_id)[source]

Begins process of actually creating data_model.

delete(model_id)[source]

Begins process of actually deleting data_model.

update(model_id, updated_dict)[source]

Begins process of actually updating data_model.

class NotImplementedObjectHandler[source]

Bases: octavia.api.handlers.abstract_handler.BaseObjectHandler

Default Object Handler to force implementation of subclasses.

Helper class to make any subclass of AbstractHandler explode if it is missing any of the required object managers.

static create(model_id)[source]
static delete(model_id)[source]
static update(model_id, updated_dict)[source]

Module contents

Creative Commons Attribution 3.0 License

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