physicalresourcerole

package
Version: 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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VethRole

type VethRole struct {
	ContainerID     string `json:"container_id"`
	NameByContainer string `json:"name_by_container"`
	NameByBridge    string `json:"name_by_bridge"`
	MacByContainer  string `json:"mac_by_container"`
	MacByBridge     string `json:"mac_by_bridge"`
	BridgeName      string `json:"bridge_name"`
}

func (*VethRole) Delete

func (this *VethRole) Delete() error

func (*VethRole) DeleteResourceFromLocalDB

func (this *VethRole) DeleteResourceFromLocalDB() error

func (*VethRole) ReadResourceFromLocalDB

func (this *VethRole) ReadResourceFromLocalDB() error

func (*VethRole) SaveResourceToLocalDB

func (this *VethRole) SaveResourceToLocalDB() error

type VnicRole

type VnicRole struct {
	TenantID     string   `json:"tenant_id"`
	NetworkID    string   `json:"network_id"`
	NetworkPlane string   `json:"network_plane"`
	NetworkName  string   `json:"network_name"`
	PortID       string   `json:"port_id"`
	MacAddress   string   `json:"mac_address"`
	NicType      string   `json:"nic_type"`
	Accelerate   string   `json:"accelerate"`
	BusInfos     []string `json:"bus_infos"`
	MTU          string   `json:"mtu"`
	OrgDriver    string   `json:"org_driver"`
	ContainerID  string   `json:"container_id"`
	PortName     string   `json:"port_name"`
}

func (*VnicRole) DeleteResourceFromLocalDB

func (this *VnicRole) DeleteResourceFromLocalDB() error

func (*VnicRole) ReadResourceFromLocalDB

func (this *VnicRole) ReadResourceFromLocalDB() error

func (*VnicRole) SaveResourceToLocalDB

func (this *VnicRole) SaveResourceToLocalDB() error

Jump to

Keyboard shortcuts

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