physicalresourceobj

package
v0.0.0-...-9649b88 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2020 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NouthInterfaceObj

type NouthInterfaceObj struct {
	ContainerID string `json:"container_id"`
	Driver      string `json:"driver"`
	InterfaceID string `json:"interface_id"`
}

func (*NouthInterfaceObj) CleanContainer

func (this *NouthInterfaceObj) CleanContainer() error

func (*NouthInterfaceObj) CleanDriver

func (this *NouthInterfaceObj) CleanDriver() error

func (*NouthInterfaceObj) DeleteContainer

func (this *NouthInterfaceObj) DeleteContainer() error

func (*NouthInterfaceObj) DeleteInterface

func (this *NouthInterfaceObj) DeleteInterface() error

func (*NouthInterfaceObj) ReadDriversFromContainer

func (this *NouthInterfaceObj) ReadDriversFromContainer() ([]string, error)

func (*NouthInterfaceObj) ReadInterfacesFromDriver

func (this *NouthInterfaceObj) ReadInterfacesFromDriver() ([]string, error)

func (*NouthInterfaceObj) SaveInterface

func (this *NouthInterfaceObj) SaveInterface() error

type PhysicalResourceObj

type PhysicalResourceObj struct {
	VethRole physicalresourcerole.VethRole
	VnicRole physicalresourcerole.VnicRole
}

type SouthInterfaceObj

type SouthInterfaceObj struct {
	NetworkID     string   `json:"network_id"`
	ChanType      string   `json:"chan_type"`
	InterfaceID   string   `json:"interface_id"`
	IsPublic      bool     `json:"is_public"`
	VlanID        string   `json:"vlan_id"`
	ContainerList []string `json:"container_list"`
}

func (*SouthInterfaceObj) DeleteInterface

func (this *SouthInterfaceObj) DeleteInterface() error

func (*SouthInterfaceObj) SaveInterface

func (this *SouthInterfaceObj) SaveInterface() error

Jump to

Keyboard shortcuts

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