Open bonicim opened 2 years ago
We cannot include default identity in a file named "IDENTITY" for all agents as this will create name clash when multiple agent wheels are installed in the same python environment. We should default identity to a file
Describe the bug
When installing the Volttron Platform Driver using the following command:
the Volttron platform will use the package name as the identity. For example, when running
vctl status
, we see the identity as the following:The expected behavior of
vctl install
is to use the default 'platform.driver' as defined involttron-core
.Consequently, we expect to see the following after running
vctl status
:In addition, if a wheel already has an IDENTITY as seen in this PR,
vctl install
will still not pickup the IDENTITY file.To check if an IDENTITY was installed for an agent, navigate to the virtual environment's 'site-packages' directory and open the directory of the agent that you installed.
To Reproduce Steps to reproduce the behavior:
vctl install volttron-platform-driver
vctl status
to see the incorrect nameExpected behavior
Below is sample output of running
vctl status
:Note how IDENTITY is not defined as 'platform.driver` and instead uses the package name.