ndmz

package
v0.2.2-rc7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2020 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	//BridgeNDMZ is the name of the ipv4 routing bridge in the ndmz namespace
	BridgeNDMZ = "br-ndmz"
	//NetNSNDMZ name of the dmz namespace
	NetNSNDMZ = "ndmz"

	// DMZPub4 ipv4 public interface
	DMZPub4 = "npub4"
	// DMZPub6 ipv6 public interface
	DMZPub6 = "npub6"
)

Variables

This section is empty.

Functions

func AttachNR

func AttachNR(networkID string, nr *nr.NetResource, ipamLeaseDir string) error

AttachNR links a network resource to the NDMZ

func Create

func Create(nodeID pkg.Identifier) error

Create create the NDMZ network namespace and configure its default routes and addresses

func Delete

func Delete() error

Delete deletes the NDMZ network namespace

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL