-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix for issue #150. Port vctl --all-tagged from monolithic code #153
Conversation
start_agent(opts) | ||
|
||
|
||
def act_on_agent(action, opts): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please document the new "act_on_agent" function now including what is expected in opts and how this method works.
@@ -145,13 +145,13 @@ def escape(pattern): | |||
|
|||
|
|||
def filter_agents(agents, patterns, opts): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please document the filter_agents method to have the different options be called out in the docs.
if pid and status is None: | ||
_stdout.write(f"Stopping {agent.uuid} {agent.name}\n") | ||
call(action, agent.uuid) | ||
return | ||
|
||
|
||
def run_agent(opts): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please document the run_agent(opts) method
without the platform running I think you should be able to get a help from vctl
not sure if we can separate all of the commands out but the top level should work? This might be a different issue to be made though. |
Created new issue #155 |
Fix for issue #150 - port vctl --all-tagged from monolithic code (https://github.com/VOLTTRON/volttron/pull/2882/files)