def node_add_remote( env, node_name=None, node_addr=None, operations=None, meta_attributes=None, instance_attributes=None, no_node_addr=False, **kwargs, ): operations = operations or [] meta_attributes = meta_attributes or {} instance_attributes = instance_attributes or {} node_name = node_name or NODE_NAME node_addr = node_addr or (None if no_node_addr else "remote-host") node_add_remote_orig( env, node_name, node_addr, operations, meta_attributes, instance_attributes, **kwargs, )
def node_add_remote( env, node_name=None, node_addr=None, operations=None, meta_attributes=None, instance_attributes=None, no_node_addr=False, **kwargs ): operations = operations or [] meta_attributes = meta_attributes or {} instance_attributes = instance_attributes or {} node_name = node_name or NODE_NAME node_addr = node_addr or (None if no_node_addr else "remote-host") node_add_remote_orig( env, node_name, node_addr, operations, meta_attributes, instance_attributes, **kwargs )
def node_add_remote(env, host=None, node_name=None, operations=None, meta_attributes=None, instance_attributes=None, **kwargs): operations = operations or [] meta_attributes = meta_attributes or {} instance_attributes = instance_attributes or {} host = host or "remote-host" node_name = node_name or NODE_NAME node_add_remote_orig(env, host, node_name, operations, meta_attributes, instance_attributes, **kwargs)