Giter Club home page Giter Club logo

sdc-firewaller-agent's Introduction

sdc-firewaller-agent

This repository is part of the Joyent SmartDataCenter project (SDC). For contribution guidelines, issues, and general documentation, visit the main SDC project page.

Firewaller is the SDC compute node agent responsible for syncing firewall rules and associated VM data from FWAPI and VMAPI. For more information on how it interacts with the rest of SmartDataCenter, consult the Firewall API architecture document.

Repository

config.json         agent configuration file
deps/               Git submodules for running 'make check'
lib/                source files
node_modules/       node.js deps (not checked in - installed via
                    `npm install`)
npm/                npm postinstall scripts
sbin/firewaller     agent executable
smf/manifests       SMF manifests
test/unit           Unit tests (nodeunit)
tools/              dev tools from eng.git

Development

To get started:

git clone [email protected]:joyent/sdc-firewaller-agent.git
cd sdc-firewaller-agent
make

To run style and lint checks:

make check

To run all checks and tests:

make prepush

Before commiting/pushing run make prepush and, if possible, get a code review. For non-trivial changes, a unit or integration test that covers the new behaviour is required.

Testing

Unit tests

To run all tests:

make test

To run an individual test:

./test/runtest ./test/unit/testname.test.js

Integration tests

Since firewaller and the Firewall API are closely related, it is strongly encouraged that you run the Firewall API integration tests before checking in.

To run the integration tests, on a non-production SDC server:

sdc-login fwapi
/opt/smartdc/fwapi/test/runtests

For more information, consult the Firewall API README

sdc-firewaller-agent's People

Contributors

joshwilsdon avatar kusor avatar trentm avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.