项目作者: F5Networks

项目描述 :
Repository for the F5 IPAM Controller
高级语言: Go
项目地址: git://github.com/F5Networks/f5-ipam-ctlr.git
创建时间: 2018-01-29T17:59:51Z
项目社区:https://github.com/F5Networks/f5-ipam-ctlr

开源协议:Apache License 2.0

下载


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.

  1. 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
  1. git clone https://github.com/f5networks/f5-ipam-ctlr.git
  2. cd f5-ipam-ctlr
  3. # Use docker to build the release artifacts, into a local "_docker_workspace" directory, then put into docker images
  4. # Alpine image
  5. make prod
  6. OR
  7. # RHEL7 image
  8. 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)
  1. mkdir -p $GOPATH/src/github.com/F5Networks
  2. cd $GOPATH/src/github.com/F5Networks
  3. git clone https://github.com/f5networks/f5-ipam-ctlr.git
  4. cd f5-ipam-ctlr
  5. # Build all packages, and run unit tests
  6. make all test

To make changes to vendor dependencies, see Devel