Skip to content
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

Merged
merged 4 commits into from
Feb 3, 2023

Conversation

schandrika
Copy link
Contributor

Fix for issue #150 - port vctl --all-tagged from monolithic code (https://github.com/VOLTTRON/volttron/pull/2882/files)

start_agent(opts)


def act_on_agent(action, opts):
Copy link
Contributor

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):
Copy link
Contributor

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):
Copy link
Contributor

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

@craig8
Copy link
Contributor

craig8 commented Feb 3, 2023

without the platform running I think you should be able to get a help from vctl

vctl --help

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.

@craig8 craig8 merged commit 1443c51 into eclipse-volttron:develop Feb 3, 2023
@schandrika
Copy link
Contributor Author

Created new issue #155

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Port --all-tagged option of vctl command from monolithic to modular volttron
2 participants