types

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NetConf

type NetConf struct {
	types.NetConf
	DPDKMode   bool
	Sharedvf   bool
	DPDKConf   *dpdk.Conf     `json:"dpdk,omitempty"`
	CNIDir     string         `json:"cniDir"`
	Master     string         `json:"master"`
	IF0NAME    string         `json:"if0name"`
	L2Mode     bool           `json:"l2enable"`
	Vlan       int            `json:"vlan"`
	DeviceID   string         `json:"deviceID"`
	DeviceInfo *VfInformation `json:"deviceinfo,omitempty"`
}

NetConf extends types.NetConf for sriov-cni

type VfInformation

type VfInformation struct {
	PCIaddr string `json:"pci_addr"`
	Pfname  string `json:"pfname"`
	Vfid    int    `json:"vfid"`
}

VfInformation holds VF specific informaiton

Jump to

Keyboard shortcuts

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