This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ADMIN_URL=http://<bridge-host>:18444 | |
| SEP2_SERVER_ADDR=<bridge-host>:18443 | |
| N=49 | |
| SEP2_CERT_DIR=<copied devices folder> | |
| SEP2_CA_CERT_FILE=<copied serving-ca.pem> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| docker exec ieee-2030_5-bridge-bridge-1 printenv SEP2_ADMIN_UI_KEY | wc -c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [boot] | |
| systemd=true | |
| command="ip route add 172.18.65.126/32 via $(ip route | grep default | awk '{print $3}')" | |
| [user] | |
| default=os2204 | |
| [automount] | |
| enabled=true | |
| options="metadata,uid=1000,gid=1000,umask=022" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import argparse | |
| import logging | |
| import sys | |
| LOG_FORMAT = "%(asctime)s:%(levelname)s:%(processName)s - %(name)s %(message)s" | |
| logging.basicConfig(stream=sys.stdout, level=logging.INFO, | |
| format=LOG_FORMAT) | |
| _log = logging.getLogger("main") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Example file using the weather agent. | |
| # | |
| # Requirements | |
| # - A VOLTTRON instance must be started | |
| # - A weatheragnet must be running prior to running this code. | |
| # | |
| # Author: Craig Allwardt | |
| from volttron.platform.vip.agent import Agent | |
| import gevent |