goekesmi / sdc-cn-agent

SDC Compute Node agent; monitors and reports cn-usage, executes tasks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sdc-cn-agent

This repository is part of the Joyent Triton project. See the contribution guidelines -- Triton does not use GitHub PRs -- 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.

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

About

SDC Compute Node agent; monitors and reports cn-usage, executes tasks

License:Mozilla Public License 2.0


Languages

Language:JavaScript 80.0%Language:Makefile 6.1%Language:DTrace 4.7%Language:Shell 4.7%Language:Roff 4.4%Language:C 0.2%