-
Notifications
You must be signed in to change notification settings - Fork 218
Platform Service Standardization
poorvasharma edited this page Jan 8, 2015
·
21 revisions
Service will interact with the message bus through three topics.
- Request - The service agent will listen to incoming requests on this topic
- Response - The service agent will respond on this topic
- Error - The service will "throw" errors on this topic
Agents which are using these services agents should publish to the above Request topic and listen on the Reponse and Error topics. Response and Errors will retain the header that was sent into the request.
Headers
- Request Headers
- Common Header Formats
- type - Unique type of request for the service agent to handle (If an agent handles more than one request type on a specific topic)
- requesterID - Name of the requesting agent
- type - Unique type of request for the service agent to handle (If an agent handles more than one request type on a specific topic)
- priority - HIGH, LOW, LOW_PREEMPT (Found in Scheduler and Activator)
- taskId - Unique task among scheduled tasks.
- window - Seconds remaining in timeslot (actuator agent)
- SourceName - used as name to publish to in smap for archiver agent.
- FROM - Same as requestor id (volttron.messaging.headers.FROM)
- CONTENT_TYPE - volttron.messaging.headers.CONTENT_TYPE.JSON, volttron.messaging.headers.CONTENT_TYPE.PLAIN_TEXT Datalogger location is specified in the message itself.
- Multibuilding
- Cookie
- volttron.messaging.headers.CONTENT_TYPE.JSON
- volttron.messaging.headers.CONTENT_TYPE.PLAIN_TEXT
- Actuator and Scheduling Agent
- devices/actuators/schedule/request (NEW_SCHEDULE request)
- devices/actuators/schedule/request (CANCEL_SCHEDULE request)
- devices/actuators/schedule/response
- devices/actuators/schedule/announce/[full device path]
- devices/actuators/schedule/response (Response for preempted task)
- devices/actuators/get/[full device path]/[ actuation point]
- devices/actuators/set/[full device path]/[ actuation point]
- devices/actuators/value/[full device path]/[ actuation point]
- devices/actuators/error/[full device path]/[ actuation point]
- Archiver Agent
- archiver/request/[path to the value desired/ full device path]
- Logger Agent
- datalogger/log/
- datalogger/log/[path in SMAP for the data point]
- datalogger/status (Status of the storage request)
- Mobility Agent
- platform/move/request/[agent id]
- platform/move/reply/[agent id]
- Multi-Building Agent
- building/recv/[campus]/[building]/[topic]
- building/send/[campus]/[building]/[topic]
- building/error/[campus]/[building]/[topic]
- Weather Agent
- Platform Topics
- platform/shutdown
- agent/[agent]/shutdown
- 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