Class OpenShift::MCollectiveApplicationContainerProxy
In: lib/openshift-origin-msg-broker-mcollective/lib/openshift/mcollective_application_container_proxy.rb
Parent: OpenShift::ApplicationContainerProxy

Methods

add_alias   add_authorized_ssh_key   add_broker_auth_key   add_component   add_env_var   blacklisted_in_impl?   component_status   conceal_port   configure_cartridge   create   deconfigure_cartridge   destroy   do_with_retry   embedded_carts   execute_connector   execute_direct   execute_parallel_jobs_impl   expose_port   find_app   find_available_impl   find_one_impl   force_stop   framework_carts   get_active_capacity   get_add_authorized_ssh_key_job   get_all_gears_impl   get_app_status   get_available_cartridges   get_blacklisted_in_impl   get_broker_auth_key_add_job   get_broker_auth_key_remove_job   get_capacity   get_cart_status   get_district_uuid   get_env_var_add_job   get_env_var_remove_job   get_execute_connector_job   get_ip_address   get_node_profile   get_public_hostname   get_public_ip_address   get_quota   get_quota_blocks   get_quota_files   get_remove_authorized_ssh_key_job   get_show_gear_quota_job   get_show_state_job   get_status_job   get_update_gear_quota_job   has_app?   has_embedded_app?   has_uid_or_gid?   inc_externally_reserved_uids_size   log_debug   log_error   move_cartridge   move_gear   move_gear_destroy_old   move_gear_post   move_gear_pre   new   parse_result   post_move_cart   pre_move_cart   reload   reload_component   remove_alias   remove_authorized_ssh_key   remove_broker_auth_key   remove_component   remove_env_var   reserve_uid   resolve_destination   restart   restart_component   rpc_exec   rpc_exec_direct   rpc_find_available   rpc_find_one   rpc_get_fact   rpc_get_fact_direct   rpc_options   rsuccess   rsync_destination_container   run_cartridge_command   rvalue   sanitize_result   set_district   set_quota   show_port   show_state   start   start_component   status   stop   stop_component   system_messages   threaddump   tidy   unreserve_uid   update_namespace   valid_gear_sizes_impl  

Attributes

district  [RW] 
id  [RW] 

Public Class methods

Execute an RPC call for the specified agent. If a server is supplied, only execute for that server.

Protected Class methods

Returns the server identity of the specified app

Returns the fact value from the specified server. Yields to the supplied block if there is a non-nil value for the fact.

Return the value of the MCollective response for both a single result and a multiple result structure

Public Instance methods

Returns an array with following information [Filesystem, blocks_used, blocks_soft_limit, blocks_hard_limit, inodes_used,

 inodes_soft_limit, inodes_hard_limit]

Set blocks hard limit and inodes ihard limit for uuid

Protected Instance methods

Returns whether this server has the specified app

Returns whether this server has the specified embedded app

Returns whether this server has already reserved the specified uid as a uid or gid

Execute direct rpc call directly against a node If more then one node exists, just pick one

Given a known fact and node, get a single fact directly. This is significantly faster then the get_facts method If multiple nodes of the same name exist, it will pick just one

[Validate]