This repository is part of the Joyent Triton project. See the contribution guidelines and general documentation at the main Triton project page.
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 range from creating a virtual machine to something as simple as creating or listing ZFS datasets.
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.
To run the cn-agent:
git clone [email protected]:joyent/sdc-cn-agent.git
cd sdc-cn-agent
git submodule update --init