API over the barbican service.
neutron_lbaas_dashboard.api.rest.barbican.
SSLCertificates
(**kwargs)[source]¶Bases: django.views.generic.base.View
API for working with SSL certificate containers.
get
(request)[source]¶List certificate containers.
The listing result is an object with property “items”.
url_regex
= 'barbican/certificates/$'¶API over the neutron LBaaS v2 service.
neutron_lbaas_dashboard.api.rest.nlbaasv2.
HealthMonitor
(**kwargs)[source]¶Bases: django.views.generic.base.View
API for retrieving a single health monitor.
delete
(request, healthmonitor_id)[source]¶Delete a specific health monitor.
http://localhost/api/nlbaas/healthmonitors/cc758c90-3d98-4ea1-af44-aab405c9c915
url_regex
= 'nlbaas/healthmonitors/(?P<healthmonitor_id>[^/]+)/$'¶neutron_lbaas_dashboard.api.rest.nlbaasv2.
HealthMonitors
(**kwargs)[source]¶Bases: django.views.generic.base.View
API for load balancer pool health monitors.
url_regex
= 'nlbaas/healthmonitors/$'¶neutron_lbaas_dashboard.api.rest.nlbaasv2.
Listener
(**kwargs)[source]¶Bases: django.views.generic.base.View
API for retrieving, updating, and deleting a single listener.
delete
(request, listener_id)[source]¶Delete a specific listener.
http://localhost/api/nlbaas/listeners/cc758c90-3d98-4ea1-af44-aab405c9c915
get
(request, listener_id)[source]¶Get a specific listener.
If the param ‘includeChildResources’ is passed in as a truthy value, the details of all resources that exist under the listener will be returned along with the listener details.
http://localhost/api/nlbaas/listeners/cc758c90-3d98-4ea1-af44-aab405c9c915
url_regex
= 'nlbaas/listeners/(?P<listener_id>[^/]+)/$'¶neutron_lbaas_dashboard.api.rest.nlbaasv2.
Listeners
(**kwargs)[source]¶Bases: django.views.generic.base.View
API for load balancer listeners.
get
(request)[source]¶List of listeners for the current project.
The listing result is an object with property “items”.
post
(request)[source]¶Create a new listener.
Creates a new listener as well as other optional resources such as a pool, members, and health monitor.
url_regex
= 'nlbaas/listeners/$'¶neutron_lbaas_dashboard.api.rest.nlbaasv2.
LoadBalancer
(**kwargs)[source]¶Bases: django.views.generic.base.View
API for retrieving, updating, and deleting a single load balancer.
delete
(request, loadbalancer_id)[source]¶Delete a specific load balancer.
http://localhost/api/nlbaas/loadbalancers/cc758c90-3d98-4ea1-af44-aab405c9c915
get
(request, loadbalancer_id)[source]¶Get a specific load balancer.
http://localhost/api/nlbaas/loadbalancers/cc758c90-3d98-4ea1-af44-aab405c9c915
url_regex
= 'nlbaas/loadbalancers/(?P<loadbalancer_id>[^/]+)/$'¶neutron_lbaas_dashboard.api.rest.nlbaasv2.
LoadBalancerStatusTree
(**kwargs)[source]¶Bases: django.views.generic.base.View
API for retrieving the resource status tree for a single load balancer.
get
(request, loadbalancer_id)[source]¶Get the status tree for a specific load balancer.
http://localhost/api/nlbaas/loadbalancers/cc758c90-3d98-4ea1-af44-aab405c9c915/statuses
url_regex
= 'nlbaas/loadbalancers/(?P<loadbalancer_id>[^/]+)/statuses/$'¶neutron_lbaas_dashboard.api.rest.nlbaasv2.
LoadBalancers
(**kwargs)[source]¶Bases: django.views.generic.base.View
API for load balancers.
get
(request)[source]¶List load balancers for current project.
The listing result is an object with property “items”.
post
(request)[source]¶Create a new load balancer.
Creates a new load balancer as well as other optional resources such as a listener, pool, monitor, etc.
url_regex
= 'nlbaas/loadbalancers/$'¶neutron_lbaas_dashboard.api.rest.nlbaasv2.
Member
(**kwargs)[source]¶Bases: django.views.generic.base.View
API for retrieving a single member.
url_regex
= 'nlbaas/pools/(?P<pool_id>[^/]+)/members/(?P<member_id>[^/]+)/$'¶neutron_lbaas_dashboard.api.rest.nlbaasv2.
Members
(**kwargs)[source]¶Bases: django.views.generic.base.View
API for load balancer members.
get
(request, pool_id)[source]¶List of members for the current project.
The listing result is an object with property “items”.
url_regex
= 'nlbaas/pools/(?P<pool_id>[^/]+)/members/$'¶neutron_lbaas_dashboard.api.rest.nlbaasv2.
Pool
(**kwargs)[source]¶Bases: django.views.generic.base.View
API for retrieving a single pool.
delete
(request, pool_id)[source]¶Delete a specific pool.
http://localhost/api/nlbaas/pools/cc758c90-3d98-4ea1-af44-aab405c9c915
get
(request, pool_id)[source]¶Get a specific pool.
If the param ‘includeChildResources’ is passed in as a truthy value, the details of all resources that exist under the pool will be returned along with the pool details.
http://localhost/api/nlbaas/pools/cc758c90-3d98-4ea1-af44-aab405c9c915
url_regex
= 'nlbaas/pools/(?P<pool_id>[^/]+)/$'¶neutron_lbaas_dashboard.api.rest.nlbaasv2.
Pools
(**kwargs)[source]¶Bases: django.views.generic.base.View
API for load balancer pools.
post
(request)[source]¶Create a new pool.
Creates a new pool as well as other optional resources such as members and health monitor.
url_regex
= 'nlbaas/pools/$'¶neutron_lbaas_dashboard.api.rest.nlbaasv2.
add_floating_ip_info
(request, loadbalancers)[source]¶Add floating IP address info to each load balancer.
neutron_lbaas_dashboard.api.rest.nlbaasv2.
add_member
(request, **kwargs)[source]¶Add a member to a pool.
neutron_lbaas_dashboard.api.rest.nlbaasv2.
create_health_monitor
(request, **kwargs)[source]¶Create a new health monitor for a pool.
neutron_lbaas_dashboard.api.rest.nlbaasv2.
create_listener
(request, **kwargs)[source]¶Create a new listener.
neutron_lbaas_dashboard.api.rest.nlbaasv2.
create_pool
(request, **kwargs)[source]¶Create a new pool.
neutron_lbaas_dashboard.api.rest.nlbaasv2.
get_members_to_add_remove
(request_member_data, existing_members)[source]¶neutron_lbaas_dashboard.api.rest.nlbaasv2.
poll_loadbalancer_status
(request, loadbalancer_id, callback, from_state='PENDING_UPDATE', to_state='ACTIVE', callback_kwargs=None)[source]¶Poll for the status of the load balancer.
Polls for the status of the load balancer and calls a function when the status changes to a specified state.
request – django request object
loadbalancer_id – id of the load balancer to poll
callback – function to call when polling is complete
from_state – initial expected state of the load balancer
to_state – state to check for
callback_kwargs – kwargs to pass into the callback function
neutron_lbaas_dashboard.api.rest.nlbaasv2.
remove_member
(request, **kwargs)[source]¶Remove a member from the pool.
neutron_lbaas_dashboard.api.rest.nlbaasv2.
update_listener
(request, **kwargs)[source]¶Update a listener.
neutron_lbaas_dashboard.api.rest.nlbaasv2.
update_loadbalancer
(request, **kwargs)[source]¶Update a load balancer.
neutron_lbaas_dashboard.api.rest.nlbaasv2.
update_member_list
(request, **kwargs)[source]¶Update the list of members by adding or removing the necessary members.
This package holds the REST API that supports the LBaaS v2 dashboard Javascript code.
It is not intended to be used outside of Horizon, and makes no promises of stability or fitness for purpose outside of that scope.
It does not promise to adhere to the general OpenStack API Guidelines set out in https://wiki.openstack.org/wiki/APIChangeGuidelines.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.