Skip to content

Commit

Permalink
Elb v3 next resources (#217)
Browse files Browse the repository at this point in the history
Elb v3 next resources

pool
 member
 health_monitor
 l7 policy
 l7 rule
 proxy unit tests

Reviewed-by: None <None>
Reviewed-by: Artem Goncharov <[email protected]>
Reviewed-by: Rodion Gyrbu <[email protected]>
Reviewed-by: Anton Sidelnikov <None>
  • Loading branch information
anton-sidelnikov authored Jul 26, 2021
1 parent 16eba70 commit 5ef7b92
Show file tree
Hide file tree
Showing 24 changed files with 1,974 additions and 148 deletions.
44 changes: 43 additions & 1 deletion doc/source/sdk/proxies/vlb_v3.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,32 @@ Flavor Operations
:noindex:
:members: flavors, get_flavor, find_flavor

HealthMonitor Operations
^^^^^^^^^^^^^^^^^^^^^^^^

.. autoclass:: otcextensions.sdk.vlb.v3._proxy.Proxy
:noindex:
:members: find_health_monitor, create_health_monitor,
get_health_monitor, health_monitors,
delete_health_monitor, update_health_monitor

L7Policy Operations
^^^^^^^^^^^^^^^^^^^

.. autoclass:: otcextensions.sdk.vlb.v3._proxy.Proxy
:noindex:
:members: create_l7_policy, delete_l7_policy,
find_l7_policy, get_l7_policy, l7_policies,
update_l7_policy

L7Rule Operations
^^^^^^^^^^^^^^^^^^^

.. autoclass:: otcextensions.sdk.vlb.v3._proxy.Proxy
:noindex:
:members: create_l7_rule, delete_l7_rule, find_l7_rule,
get_l7_rule, l7_rules, update_l7_rule

Listener Operations
^^^^^^^^^^^^^^^^^^^

Expand All @@ -53,9 +79,25 @@ LoadBalancer Operations
delete_load_balancer, find_load_balancer,
update_load_balancer

Member Operations
^^^^^^^^^^^^^^^^^^^^^^^

.. autoclass:: otcextensions.sdk.vlb.v3._proxy.Proxy
:noindex:
:members: create_member, delete_member, find_member,
get_member, members, update_member

Pool Operations
^^^^^^^^^^^^^^^^

.. autoclass:: otcextensions.sdk.vlb.v3._proxy.Proxy
:noindex:
:members: create_pool, get_pool, pools, delete_pool,
find_pool, update_pool

Quota Operations
^^^^^^^^^^^^^^^^

.. autoclass:: otcextensions.sdk.vlb.v3._proxy.Proxy
:noindex:
:members: quotas
:members: get_quotas
5 changes: 5 additions & 0 deletions doc/source/sdk/resources/vlb/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,12 @@ DLB v3
v3/availability_zone
v3/certificate
v3/flavor
v3/health_monitor
v3/load_balancer
v3/load_balancer_status
v3/l7_policy
v3/l7_rule
v3/listener
v3/member
v3/pool
v3/quota
13 changes: 13 additions & 0 deletions doc/source/sdk/resources/vlb/v3/health_monitor.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
otcextensions.sdk.vlb.v3.health_monitor
=======================================

.. automodule:: otcextensions.sdk.vlb.v3.health_monitor

The HealthMonitor Class
-----------------------

The ``HealthMonitor`` class inherits from
:class:`~otcextensions.sdk.sdk_resource.Resource`.

.. autoclass:: otcextensions.sdk.vlb.v3.health_monitor.HealthMonitor
:members:
13 changes: 13 additions & 0 deletions doc/source/sdk/resources/vlb/v3/l7_policy.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
otcextensions.sdk.vlb.v3.l7_policy
==================================

.. automodule:: otcextensions.sdk.vlb.v3.l7_policy

The L7Policy Class
------------------

The ``L7Policy`` class inherits from
:class:`~otcextensions.sdk.sdk_resource.Resource`.

.. autoclass:: otcextensions.sdk.vlb.v3.l7_policy.L7Policy
:members:
13 changes: 13 additions & 0 deletions doc/source/sdk/resources/vlb/v3/l7_rule.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
otcextensions.sdk.vlb.v3.l7_rule
==================================

.. automodule:: otcextensions.sdk.vlb.v3.l7_rule

The L7Rule Class
------------------

The ``L7Rule`` class inherits from
:class:`~otcextensions.sdk.sdk_resource.Resource`.

.. autoclass:: otcextensions.sdk.vlb.v3.l7_rule.L7Rule
:members:
13 changes: 13 additions & 0 deletions doc/source/sdk/resources/vlb/v3/member.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
otcextensions.sdk.vlb.v3.member
=================================

.. automodule:: otcextensions.sdk.vlb.v3.member

The Member Class
------------------

The ``Member`` class inherits from
:class:`~otcextensions.sdk.sdk_resource.Resource`.

.. autoclass:: otcextensions.sdk.vlb.v3.member.Member
:members:
13 changes: 13 additions & 0 deletions doc/source/sdk/resources/vlb/v3/pool.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
otcextensions.sdk.vlb.v3.pool
=================================

.. automodule:: otcextensions.sdk.vlb.v3.pool

The Pool Class
------------------

The ``Pool`` class inherits from
:class:`~otcextensions.sdk.sdk_resource.Resource`.

.. autoclass:: otcextensions.sdk.vlb.v3.pool.Pool
:members:
Loading

0 comments on commit 5ef7b92

Please sign in to comment.