sdc-cn-agent
This repository is part of the Joyent SmartDataCenter project (SDC). For contribution guidelines, issues, and general documentation, visit the main SDC project page.
Overview
sdc-cn-agent is an RPC mechanism via which a client can interact with a compute node. It acts as an externally visible interface to subsystems within the server.
It is responsible for executing "tasks", scripts which break down some unit of work into a number of steps to be completed. This may be may range from creating a virtual machine to something as simple as creating or listing ZFS datasets.
Repository
Some notable parts of the repo:
node_modules/fw This is a copy of smartos-live.git:src/fw
and should be kept in sync. It is used to
provide a node API to `fw.{update,del,add}`
for firewall data.
Development
To run the cn-agent:
git clone git@github.com:joyent/sdc-cn-agent.git
cd sdc-cn-agent
git submodule update --init