-
Notifications
You must be signed in to change notification settings - Fork 218
Agent Mobility
The mobility module can enable the deployment of agents within a site or to other sites (possibly in different building, cities, etc.) remotely. The mobility feature allows authorized VOLTTRON platforms to send and deploy agents, allowing for greater management and deployment ease and flexibility.
This feature requires that you have installed the VOLTTRON™ Restricted.
To create the required keys (minimum requirement to run VOLTTRON with Restricted module installed) enter the following commands in a command terminal:
-
Create ssh directory in VOLTTRON_HOME (see PlatformConfiguration for details on configuring the platform):
mkdir -p ~/.volttron/ssh
-
Generate ssh key and add to id_rsa file:
ssh-keygen -t rsa -N '' -f ~/.volttron/ssh/id_rsa
-
Create empty file for authorized keys and know hosts:
touch ~/.volttron/ssh/{authorized_keys,known_hosts}
Then, for each host you wish to authorize, its public key must be added to the authorized_keys file on the host to which it needs to connect. The public key has a .pub extension. The added hosts must have VOLTTRON instances installed, with the Restricted code installed and enabled (the authorized host has created the keys detailed in the steps above):
-
Copy host information securely:
scp otherhost.example.com:~/.volttron/ssh/id_rsa.pub ./otherhost.pub
-
Append host key(s) to authorized_keys file in $VOLTTRON_HOME/ssh:
```cat otherhost.pub >> ~/.volttron/ssh/authorized_keys````
See the PingPongAgent example for information on how to add this feature to your custom agents.
- Platform Agent
- VOLTTRON Central Agent
- Platform Commands
- Platform Configuration
- [Platform Hardening Security Recommendations] (Linux-Platform-Hardening-Recommendations-for-VOLTTRON-users)
- ...
- [Building VOLTTRON] (Building-VOLTTRON)
- Example Agents
- Agent Development
- [Shortcut Scripts] (Scripts)
- [VOLTTRON Conventions] (Conventions)
- [sMAP Test Server] (sMAP-Test-Instance)
- [Design Discussions] (Design Discussions)
- VIP
- VIP - VOLTTRON Interconnect Protocol
- RPC by example
- VIP - Known Identities
- VIP - Authentication
- VIP - Authorization
- Protecting Pub/Sub Topics
- Setup Eclipse for VOLTTRON
- Deployment Walkthrough
- Forward Historian Walkthrough
- [Create New Historian Agent] (Developing-Historian-Agents)
- [Create New Driver Agent] (Develop-Driver-Agent)
- [Developing With Eclipse] (Eclipse)
- Migrations
- [2.x to 3.x Migration](2.x-to 3.x-Migration)
- 1.2 to 2.0 Migration
- [Deployment Recommendations](Recommendations for Deployments)
VOLTTRON Versions and Features
Transactional Network Platform Overview
- Established Topics
- Working with the Actuator Agent
- Logging
- [Multi-Node Communication] (MultiBuildingMessaging)
Information Exchange Standards