senlin_dashboard.api package¶
Subpackages¶
Submodules¶
senlin_dashboard.api.senlin module¶
- senlin_dashboard.api.senlin.cluster_attach_policy(request, cluster, policy, params)[source]¶
Attach policy to a specific cluster
- senlin_dashboard.api.senlin.cluster_check(request, cluster, params=None)[source]¶
Check a Cluster’s Health Status.
- senlin_dashboard.api.senlin.cluster_detach_policy(request, cluster, policy)[source]¶
Detach policy from cluster.
- senlin_dashboard.api.senlin.cluster_list(request, sort_dir='desc', sort_key='created_at', marker=None, paginate=False, reversed_order=False, filters=None)[source]¶
Returns all clusters.
- senlin_dashboard.api.senlin.cluster_policy_list(request, cluster, params)[source]¶
List policies from cluster.
- senlin_dashboard.api.senlin.cluster_recover(request, cluster, params=None)[source]¶
Recover a Cluster to a Healthy Status
- senlin_dashboard.api.senlin.cluster_scale_in(request, cluster, count=None)[source]¶
Scale in a Cluster
- senlin_dashboard.api.senlin.cluster_scale_out(request, cluster, count=None)[source]¶
Scale out a Cluster
- senlin_dashboard.api.senlin.event_list(request, sort_dir='desc', sort_key='timestamp', marker=None, paginate=False, reversed_order=False, filters=None)[source]¶
Returns all events.
- senlin_dashboard.api.senlin.node_check(request, node, params=None)[source]¶
Check a node’s health status.
- senlin_dashboard.api.senlin.node_list(request, sort_dir='desc', sort_key='name', marker=None, paginate=False, reversed_order=False, cluster_id=None, filters=None)[source]¶
Returns all nodes.
- senlin_dashboard.api.senlin.node_recover(request, node, params=None)[source]¶
Recover a Node to Healthy Status
- senlin_dashboard.api.senlin.policy_list(request, sort_dir='desc', sort_key='created_at', marker=None, paginate=False, reversed_order=False, filters=None)[source]¶
Returns all policies.
- senlin_dashboard.api.senlin.profile_list(request, sort_dir='desc', sort_key='created_at', marker=None, paginate=False, reversed_order=False, filters=None)[source]¶
Returns all profiles.
- senlin_dashboard.api.senlin.profile_update(request, profile_id, **params)[source]¶
Update a profile.
- senlin_dashboard.api.senlin.receiver_list(request, sort_dir='desc', sort_key='created_at', marker=None, paginate=False, reversed_order=False, filters=None)[source]¶
Returns all receivers.