项目作者: nanopack

项目描述 :
A fast, in-kernel, ad-hoc point-to-point vxlan network.
高级语言: C
项目地址: git://github.com/nanopack/red.git
创建时间: 2015-11-05T22:09:07Z
项目社区:https://github.com/nanopack/red

开源协议:MIT License

下载


red

A fast, in-kernel, ad-hoc point-to-point vxlan network. This project interacts with redd to build virtual networks. The redd project is the daemon that interacts with the kernel’s vxlan module. This project is the command-line utility used to interact with redd.

How to use red:

Usage

  1. Usage: red [OPTIONS] <subcommand> <args> ...
  2. -h <hostname> red hostname (default: 127.0.0.1)
  3. -p <port> red port (default: 4470)
  4. --help Output this help and exit
  5. --version Output version and exit
  6. --yaml Format output in YAML
  7. add-ip <ip address>
  8. remove-ip <ip address>
  9. show-ip
  10. add-node <ip address | hostname>
  11. remove-node <ip address | hostname>
  12. show-node
  13. ping
  14. status

Options

-h

Specify the host to connect to

-p

Specify the port to connect to

—help

Show the help for red

—version

Show the version number of red

—yaml

Format the output of subcommands to be yaml

Subcommands

add-ip

Add ip to the vxlan interface. Must specify with the cidr (192.168.0.1/24).

remove-ip

Remove ip from the vxlan interface. Must specify with the cidr (192.168.0.1/24).

show-ip

Show a list of IPs attached to the vxlan interface.

add-node

Add host node to peer list.

remove-node

Remove host node from peer list.

show-node

Show a list of nodes in the peer list.

ping

Sends a simple request to the redd api to see if it is listening.

status

Shows information about the redd server, including ips and nodes.

open source