-
Notifications
You must be signed in to change notification settings - Fork 10
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
Add --vip-identity for vctl agent control, e.g., vctl restart, vctl start, vctl stop, etc. #165
Comments
I would prefer if all vctl accepted vip identity as default in addition to uuid - i.e. search for uuid if there is no match, search against vip id |
From meeting on 3/15/2023
Search vip-identity first as default argument to start, stop remove, etc. If fails then search on uuid list.
(env) kefei@ubuntu-22:~/sandbox/dnp3-driver-sandbox$ vctl start 1
OR
(env) kefei@ubuntu-22:~/sandbox/dnp3-driver-sandbox$ vctl start volttron-listener-0.2.0rc0_2
WILL PRODUCE a status of...
UUID AGENT IDENTITY TAG PRIORITY STATUS HEALTH
e volttron-listener-0.2.0rc0 volttron-listener-0.2.0rc0_1
1 volttron-listener-0.2.0rc0 volttron-listener-0.2.0rc0_2 running [23479] GOOD |
@craig8, Can we add functionality that for the following situation it would not cause confusion?
(update at 5:24 Central time, 03/15/2023), per answer at: #165 (comment) |
Yeah so lets make sure that any new UUID's don't start with any existing identities. |
Though this is very rare to happen, consider the following situation that a user use single asscii characters as vip-identity, then there will not be uuid available to avoid staring with vip-identity names
|
why are there ! in the example? |
To avoid starting with existing vio-identity, which are 0, 1, 2, etc-- assuming uuid can take any ascii. The point to show the concern when newly created uuid tries to avoid starting with existing vip identity. |
UUIDs can only be [a-f][0-9] I am not sure I understand your point. |
I am referring to this: "Yeah so lets make sure that any new UUID's don't start with any existing identities." in #165 (comment) |
Description
Considering the following situation
The vctl [start|stop|restart] do not have --vip-identity option, which can be useful, especially when
vctl install
, which has the --vip-identity option.To make it consistent
The text was updated successfully, but these errors were encountered: