设置 Volttron Central (VC)

Setting up Volttron Central (VC)

我对 Volttron Central (VC) 有一些疑问:

  1. 什么 library/module/webserver 用于提供网络内容(html, css、js 等)?
  2. 什么是默认 username/password?我该如何 更改?我在文档中找不到此信息。

谢谢。

VC 使用基于 gevent 的网络服务器。我们为其添加了一些自定义功能,用于注册路由等。

管理界面的默认 username/password 是 admin/admin。很快这将通过 volttron-cfg 界面可用。要更改 username/password 这需要您修改代理的配置文件。

要创建用于 VC 的密码,您可以执行

#Authentication for users is handled through a naive password algorithm
import hashlib
hashlib.sha512(password).hexdigest() where password is the plain text password.

此配置是 username/password/组的创建方式。但是,此配置文件中不推荐使用用户节点以外的所有内容。 https://github.com/VOLTTRON/volttron/blob/develop/services/core/VolttronCentral/config