Giter Site home page Giter Site logo

air_agent's Introduction

air-agent

The NVIDIA Air Agent is a systemd service that detects if a VM has been cloned. When a clone operation has been detected, it calls out to the Air API to see if there are any post-clone instructions available to execute.

Pre-requisites

Make sure python3 and pip3 are installed.

Ubuntu 18.04 (python 3.6)

sudo apt update && sudo apt install -y python3 python3-pip

Cumulus Linux 3.x (python 3.4)

echo 'deb http://deb.debian.org/debian/ jessie main' | sudo tee -a /etc/apt/sources.list
sudo apt update
sudo apt-get install -y build-essential libffi-dev python3-dev python3-setuptools
# As of February 2020, pip3 v20.x.x is having issues installing our dependencies,
#  so use v19.3.1 for now
sudo easy_install3 pip==19.3.1

Installing

Make sure python3 and pip3 are installed, and then run:

sudo ./install.sh

NOTE: For python < 3.6, you must install from the python3.4 branch.

For devices where connectivity to Air is desired over a VRF

Pass the desired VRF name to the install script:

sudo ./install.sh -v <VRF>

For example, in newer Cumulus Linux versions where eth0 is configured in the mgmt VRF by default:

sudo ./install.sh -v mgmt

Configuration

Configuration options are set in /etc/nvidia-air/agent.ini. After making configuration changes, the service must be restarted with systemctl restart air-agent.

air_agent's People

Contributors

mjr9804 avatar nwmitchell avatar jubetz 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.