Skip to content

Commit

Permalink
do renaming corresponding to "monitoring" state and associated comman…
Browse files Browse the repository at this point in the history
…ds so they are exposed as "autosample" instead of "monitoring". Renamed done for the values of the relevant variables, not to the variables themselves. OOIION-1305.
  • Loading branch information
carueda committed Sep 22, 2013
1 parent 0272a28 commit 9767e5a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ion/agents/platform/platform_agent.py
Expand Up @@ -76,7 +76,7 @@ class PlatformAgentState(BaseEnum):
IDLE = ResourceAgentState.IDLE
STOPPED = ResourceAgentState.STOPPED
COMMAND = ResourceAgentState.COMMAND
MONITORING = 'PLATFORM_AGENT_STATE_MONITORING'
MONITORING = 'PLATFORM_AGENT_STATE_AUTOSAMPLE'
LAUNCHING = 'PLATFORM_AGENT_STATE_LAUNCHING'
LOST_CONNECTION = ResourceAgentState.LOST_CONNECTION

Expand All @@ -103,8 +103,8 @@ class PlatformAgentEvent(BaseEnum):
EXECUTE_RESOURCE = ResourceAgentEvent.EXECUTE_RESOURCE
GET_RESOURCE_STATE = ResourceAgentEvent.GET_RESOURCE_STATE

START_MONITORING = 'PLATFORM_AGENT_START_MONITORING'
STOP_MONITORING = 'PLATFORM_AGENT_STOP_MONITORING'
START_MONITORING = 'PLATFORM_AGENT_START_AUTOSAMPLE'
STOP_MONITORING = 'PLATFORM_AGENT_STOP_AUTOSAMPLE'
LAUNCH_COMPLETE = 'PLATFORM_AGENT_LAUNCH_COMPLETE'

LOST_CONNECTION = ResourceAgentEvent.LOST_CONNECTION
Expand Down

0 comments on commit 9767e5a

Please sign in to comment.