Skip to content
This repository has been archived by the owner on Apr 18, 2019. It is now read-only.

F5Networks/f5-ipam-ctlr

Repository files navigation

Build Status Coverage Status

F5 IPAM Controller

This GitHub repository has been archived and is read-only. This project is no longer actively maintained.

The F5 IPAM Controller interfaces with an IPAM system to allocate IP addresses for host names in an orchestration environment.

The controller currently supports the following environments:

Orchestrations:

Kubernetes/OpenShift

IPAM systems:

Infoblox

Documentation

For instruction on how to use this component, see the docs for F5 IPAM Controller.

Running

The official docker image is f5networks/f5-ipam-ctlr.

Usually, the controller is deployed in an orchestration environment. However, the controller can be run locally for development testing.

docker run f5networks/f5-ipam-ctlr /app/bin/f5-ipam-ctlr <args>

Building

The official images are built using docker, but the adventurous can use standard go build tools.

Official Build

Prerequisites:

  • Docker
git clone https://github.com/f5networks/f5-ipam-ctlr.git
cd  f5-ipam-ctlr

# Use docker to build the release artifacts, into a local "_docker_workspace" directory, then put into docker images
# Alpine image
make prod

OR

# RHEL7 image
make prod BASE_OS=rhel7

Alternate, unofficial build

A normal go and godep toolchain can be used as well

Prerequisites:

  • go 1.9.4
  • $GOPATH pointing at a valid go workspace
  • godep (Only needed to modify vendor's packages)
mkdir -p $GOPATH/src/github.com/F5Networks
cd $GOPATH/src/github.com/F5Networks
git clone https://github.com/f5networks/f5-ipam-ctlr.git
cd f5-ipam-ctlr

# Build all packages, and run unit tests
make all test

To make changes to vendor dependencies, see Devel