:param ctxt: RPC context.
:param stack_name: Name of the stack you want to create.
:param template: Template of stack you want to create.
- :param params: Stack Input Params
+ :param params: Stack Input Params/Environment
:param args: Request parameters/args passed from API
"""
return self.call(ctxt,
:param ctxt: RPC context.
:param stack_name: Name of the stack you want to create.
:param template: Template of stack you want to create.
- :param params: Stack Input Params
+ :param params: Stack Input Params/Environment
:param args: Request parameters/args passed from API
"""
return self.call(ctxt, self.make_msg('update_stack',
:param ctxt: RPC context.
:param template: Template of stack you want to create.
- :param params: Params passed from API.
"""
return self.call(ctxt, self.make_msg('validate_template',
template=template))
:param ctxt: RPC context.
:param stack_name: Name of the stack you want to see.
- :param params: Dict of http request parameters passed in from API side.
"""
return self.call(ctxt, self.make_msg('get_template',
stack_identity=stack_identity))
:param ctxt: RPC context.
:param stack_identity: Name of the stack you want to delete.
- :param params: Params passed from API.
+ :param cast: cast the message or use call (default: True)
"""
rpc_method = self.cast if cast else self.call
return rpc_method(ctxt,
:param ctxt: RPC context.
:param stack_identity: Name of the stack you want to get events for.
- :param params: Params passed from API.
"""
return self.call(ctxt, self.make_msg('list_events',
stack_identity=stack_identity))
def describe_stack_resource(self, ctxt, stack_identity, resource_name):
+ """
+ Get detailed resource information about a particular resource.
+ :param ctxt: RPC context.
+ :param stack_identity: Name of the stack.
+ :param resource_name: the Resource.
+ """
return self.call(ctxt, self.make_msg('describe_stack_resource',
stack_identity=stack_identity,
resource_name=resource_name))
physical_resource_id=physical_resource_id))
def describe_stack_resources(self, ctxt, stack_identity, resource_name):
+ """
+ Get detailed resource information about one or more resources.
+ :param ctxt: RPC context.
+ :param stack_identity: Name of the stack.
+ :param resource_name: the Resource.
+ """
return self.call(ctxt, self.make_msg('describe_stack_resources',
stack_identity=stack_identity,
resource_name=resource_name))
def list_stack_resources(self, ctxt, stack_identity):
+ """
+ List the resources belonging to a stack.
+ :param ctxt: RPC context.
+ :param stack_identity: Name of the stack.
+ """
return self.call(ctxt, self.make_msg('list_stack_resources',
stack_identity=stack_identity))
'''
This could be used by CloudWatch and WaitConditions
and treat HA service events like any other CloudWatch.
+ :param ctxt: RPC context.
+ :param watch_name: Name of the watch/alarm
+ :param stats_data: The data to post.
'''
return self.call(ctxt, self.make_msg('create_watch_data',
watch_name=watch_name,
def set_watch_state(self, ctxt, watch_name, state):
'''
Temporarily set the state of a given watch
- arg1 -> RPC context.
- arg2 -> Name of the watch
- arg3 -> State (must be one defined in WatchRule class)
+ :param ctxt: RPC context.
+ :param watch_name: Name of the watch
+ :param state: State (must be one defined in WatchRule class)
'''
return self.call(ctxt, self.make_msg('set_watch_state',
watch_name=watch_name,