« Previous | Next » 

Revision 19ad386e

ID19ad386e6b961951fb33248802fdf923e01ea981

Added by Dimitris Aragiorgis almost 12 years ago

Introduce client support for networks

gnt-network is used to manipulate and handle networks that
currently provides the following operations:

  • Add a new network:
    gnt-network add --network=1.2.3.0/28 --gateway=1.2.3.1
    --reserve-ips=1.2.3.4,1.2.3.5 testnet
  • Remove an existing network:
    gnt-network remove testnet
  • Modify an existing network:
    gnt-network modify --gateway=1.2.3.6
    --reserved-ips=1.2.3.7
    --network-type=private
    --network6=2001:648::/64
    --gateway6=none testnet
  • Connect an existing network to a nodegroup:
    gnt-network connect testnet default bridged br100
    gnt-network connect testnet <nodegroup> <mode> <link>
    (pass all for <nodegroup> to connect to all nodegroups)
  • Disconnect an existing network from a nodegroup:
    gnt-network disconnect testnet <nodegroup>
    (pass all for <nodegroup> to disconnect from all nodegroups)
  • List available networks:
    gnt-network list
  • Show network info:
    gnt-network info [testnet]

Introduce new option NOCONFLICTSCHECK_OPT for not checking for
conflicting IPs. Using this might cause data inconsistency.

Signed-off-by: Dimitris Aragiorgis <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences