restapi

package
v3.3.3+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2019 License: Apache-2.0 Imports: 1 Imported by: 6

Documentation

Index

Constants

View Source
const (
	// RESTPrefix is versioned prefix for REST urls.
	RESTPrefix = "/contiv/v1/"

	// RestURLNodeIPAM is versioned URL for the node IPAM REST endpoint.
	RestURLNodeIPAM = RESTPrefix + "ipam"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type NodeIPAMInfo

type NodeIPAMInfo struct {
	NodeID            uint32             `json:"nodeId"`
	NodeName          string             `json:"nodeName"`
	NodeIP            string             `json:"nodeIP"`
	PodSubnetThisNode string             `json:"podSubnetThisNode"`
	VppHostNetwork    string             `json:"vppHostNetwork"`
	Config            *config.IPAMConfig `json:"config"`
}

NodeIPAMInfo represents runtime IPAM info about the current node. It is exposed by the node IPAM REST handler.

Jump to

Keyboard shortcuts

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