config

package
v0.0.0-...-fec9766 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	KeyExchangeScheme_name = map[int32]string{
		0: "KEA_NONE",
		1: "KEA_ECDH",
	}
	KeyExchangeScheme_value = map[string]int32{
		"KEA_NONE": 0,
		"KEA_ECDH": 1,
	}
)

Enum value maps for KeyExchangeScheme.

View Source
var (
	EncryptionScheme_name = map[int32]string{
		0: "SA_NONE",
		1: "SA_AES_256_CFB",
	}
	EncryptionScheme_value = map[string]int32{
		"SA_NONE":        0,
		"SA_AES_256_CFB": 1,
	}
)

Enum value maps for EncryptionScheme.

View Source
var (
	MetaDataType_name = map[int32]string{
		0: "MetaDataDrive",
		1: "MetaDataNone",
		2: "MetaDataOpenStack",
		3: "MetaDataDriveMultipart",
	}
	MetaDataType_value = map[string]int32{
		"MetaDataDrive":          0,
		"MetaDataNone":           1,
		"MetaDataOpenStack":      2,
		"MetaDataDriveMultipart": 3,
	}
)

Enum value maps for MetaDataType.

View Source
var (
	SnapshotType_name = map[int32]string{
		0: "SNAPSHOT_TYPE_UNSPECIFIED",
		1: "SNAPSHOT_TYPE_APP_UPDATE",
	}
	SnapshotType_value = map[string]int32{
		"SNAPSHOT_TYPE_UNSPECIFIED": 0,
		"SNAPSHOT_TYPE_APP_UPDATE":  1,
	}
)

Enum value maps for SnapshotType.

View Source
var (
	BondMode_name = map[int32]string{
		0: "BOND_MODE_UNSPECIFIED",
		1: "BOND_MODE_BALANCE_RR",
		2: "BOND_MODE_ACTIVE_BACKUP",
		3: "BOND_MODE_BALANCE_XOR",
		4: "BOND_MODE_BROADCAST",
		5: "BOND_MODE_802_3AD",
		6: "BOND_MODE_BALANCE_TLB",
		7: "BOND_MODE_BALANCE_ALB",
	}
	BondMode_value = map[string]int32{
		"BOND_MODE_UNSPECIFIED":   0,
		"BOND_MODE_BALANCE_RR":    1,
		"BOND_MODE_ACTIVE_BACKUP": 2,
		"BOND_MODE_BALANCE_XOR":   3,
		"BOND_MODE_BROADCAST":     4,
		"BOND_MODE_802_3AD":       5,
		"BOND_MODE_BALANCE_TLB":   6,
		"BOND_MODE_BALANCE_ALB":   7,
	}
)

Enum value maps for BondMode.

View Source
var (
	LacpRate_name = map[int32]string{
		0: "LACP_RATE_UNSPECIFIED",
		1: "LACP_RATE_SLOW",
		2: "LACP_RATE_FAST",
	}
	LacpRate_value = map[string]int32{
		"LACP_RATE_UNSPECIFIED": 0,
		"LACP_RATE_SLOW":        1,
		"LACP_RATE_FAST":        2,
	}
)

Enum value maps for LacpRate.

View Source
var (
	ACEDirection_name = map[int32]string{
		0: "BOTH",
		1: "INGRESS",
		2: "EGRESS",
	}
	ACEDirection_value = map[string]int32{
		"BOTH":    0,
		"INGRESS": 1,
		"EGRESS":  2,
	}
)

Enum value maps for ACEDirection.

View Source
var (
	ProxyProto_name = map[int32]string{
		0:   "PROXY_HTTP",
		1:   "PROXY_HTTPS",
		2:   "PROXY_SOCKS",
		3:   "PROXY_FTP",
		255: "PROXY_OTHER",
	}
	ProxyProto_value = map[string]int32{
		"PROXY_HTTP":  0,
		"PROXY_HTTPS": 1,
		"PROXY_SOCKS": 2,
		"PROXY_FTP":   3,
		"PROXY_OTHER": 255,
	}
)

Enum value maps for ProxyProto.

View Source
var (
	DHCPType_name = map[int32]string{
		0: "DHCPNoop",
		1: "Static",
		2: "DHCPNone",
		4: "Client",
	}
	DHCPType_value = map[string]int32{
		"DHCPNoop": 0,
		"Static":   1,
		"DHCPNone": 2,
		"Client":   4,
	}
)

Enum value maps for DHCPType.

View Source
var (
	NetworkType_name = map[int32]string{
		0:  "NETWORKTYPENOOP",
		4:  "V4",
		6:  "V6",
		24: "CryptoV4",
		26: "CryptoV6",
		14: "CryptoEID",
		7:  "V4Only",
		8:  "V6Only",
		9:  "DualV4V6",
	}
	NetworkType_value = map[string]int32{
		"NETWORKTYPENOOP": 0,
		"V4":              4,
		"V6":              6,
		"CryptoV4":        24,
		"CryptoV6":        26,
		"CryptoEID":       14,
		"V4Only":          7,
		"V6Only":          8,
		"DualV4V6":        9,
	}
)

Enum value maps for NetworkType.

View Source
var (
	WirelessType_name = map[int32]string{
		0: "TypeNOOP",
		1: "WiFi",
		2: "Cellular",
	}
	WirelessType_value = map[string]int32{
		"TypeNOOP": 0,
		"WiFi":     1,
		"Cellular": 2,
	}
)

Enum value maps for WirelessType.

View Source
var (
	WiFiKeyScheme_name = map[int32]string{
		0: "SchemeNOOP",
		1: "WPAPSK",
		2: "WPAEAP",
	}
	WiFiKeyScheme_value = map[string]int32{
		"SchemeNOOP": 0,
		"WPAPSK":     1,
		"WPAEAP":     2,
	}
)

Enum value maps for WiFiKeyScheme.

View Source
var (
	CellularAuthProtocol_name = map[int32]string{
		0: "CELLULAR_AUTH_PROTOCOL_NONE",
		1: "CELLULAR_AUTH_PROTOCOL_PAP",
		2: "CELLULAR_AUTH_PROTOCOL_CHAP",
		3: "CELLULAR_AUTH_PROTOCOL_PAP_AND_CHAP",
	}
	CellularAuthProtocol_value = map[string]int32{
		"CELLULAR_AUTH_PROTOCOL_NONE":         0,
		"CELLULAR_AUTH_PROTOCOL_PAP":          1,
		"CELLULAR_AUTH_PROTOCOL_CHAP":         2,
		"CELLULAR_AUTH_PROTOCOL_PAP_AND_CHAP": 3,
	}
)

Enum value maps for CellularAuthProtocol.

View Source
var (
	ZNetworkInstType_name = map[int32]string{
		0:   "ZNetInstFirst",
		1:   "ZnetInstSwitch",
		2:   "ZnetInstLocal",
		3:   "ZnetInstCloud",
		4:   "ZnetInstMesh",
		5:   "ZnetInstHoneyPot",
		6:   "ZnetInstTransparent",
		255: "ZNetInstLast",
	}
	ZNetworkInstType_value = map[string]int32{
		"ZNetInstFirst":       0,
		"ZnetInstSwitch":      1,
		"ZnetInstLocal":       2,
		"ZnetInstCloud":       3,
		"ZnetInstMesh":        4,
		"ZnetInstHoneyPot":    5,
		"ZnetInstTransparent": 6,
		"ZNetInstLast":        255,
	}
)

Enum value maps for ZNetworkInstType.

View Source
var (
	AddressType_name = map[int32]string{
		0:   "First",
		1:   "IPV4",
		2:   "IPV6",
		3:   "CryptoIPV4",
		4:   "CryptoIPV6",
		255: "Last",
	}
	AddressType_value = map[string]int32{
		"First":      0,
		"IPV4":       1,
		"IPV6":       2,
		"CryptoIPV4": 3,
		"CryptoIPV6": 4,
		"Last":       255,
	}
)

Enum value maps for AddressType.

View Source
var (
	ZNetworkOpaqueConfigType_name = map[int32]string{
		0: "ZNetOConfigVPN",
		1: "ZNetOConfigLisp",
	}
	ZNetworkOpaqueConfigType_value = map[string]int32{
		"ZNetOConfigVPN":  0,
		"ZNetOConfigLisp": 1,
	}
)

Enum value maps for ZNetworkOpaqueConfigType.

View Source
var (
	ZcServiceType_name = map[int32]string{
		0: "zcloudInvalidSrv",
		1: "mapServer",
		2: "supportServer",
	}
	ZcServiceType_value = map[string]int32{
		"zcloudInvalidSrv": 0,
		"mapServer":        1,
		"supportServer":    2,
	}
)

Enum value maps for ZcServiceType.

View Source
var (
	DsType_name = map[int32]string{
		0: "DsUnknown",
		1: "DsHttp",
		2: "DsHttps",
		3: "DsS3",
		4: "DsSFTP",
		5: "DsContainerRegistry",
		6: "DsAzureBlob",
		7: "DsGoogleStorage",
	}
	DsType_value = map[string]int32{
		"DsUnknown":           0,
		"DsHttp":              1,
		"DsHttps":             2,
		"DsS3":                3,
		"DsSFTP":              4,
		"DsContainerRegistry": 5,
		"DsAzureBlob":         6,
		"DsGoogleStorage":     7,
	}
)

Enum value maps for DsType.

View Source
var (
	Format_name = map[int32]string{
		0: "FmtUnknown",
		1: "RAW",
		2: "QCOW",
		3: "QCOW2",
		4: "VHD",
		5: "VMDK",
		6: "OVA",
		7: "VHDX",
		8: "CONTAINER",
		9: "ISO",
	}
	Format_value = map[string]int32{
		"FmtUnknown": 0,
		"RAW":        1,
		"QCOW":       2,
		"QCOW2":      3,
		"VHD":        4,
		"VMDK":       5,
		"OVA":        6,
		"VHDX":       7,
		"CONTAINER":  8,
		"ISO":        9,
	}
)

Enum value maps for Format.

View Source
var (
	Target_name = map[int32]string{
		0: "TgtUnknown",
		1: "Disk",
		2: "Kernel",
		3: "Initrd",
		4: "RamDisk",
		5: "AppCustom",
	}
	Target_value = map[string]int32{
		"TgtUnknown": 0,
		"Disk":       1,
		"Kernel":     2,
		"Initrd":     3,
		"RamDisk":    4,
		"AppCustom":  5,
	}
)

Enum value maps for Target.

View Source
var (
	DriveType_name = map[int32]string{
		0: "Unclassified",
		1: "CDROM",
		2: "HDD",
		3: "NET",
		4: "HDD_EMPTY",
	}
	DriveType_value = map[string]int32{
		"Unclassified": 0,
		"CDROM":        1,
		"HDD":          2,
		"NET":          3,
		"HDD_EMPTY":    4,
	}
)

Enum value maps for DriveType.

View Source
var (
	VolumeAccessProtocols_name = map[int32]string{
		0: "VAP_NONE",
		1: "VAP_9P",
	}
	VolumeAccessProtocols_value = map[string]int32{
		"VAP_NONE": 0,
		"VAP_9P":   1,
	}
)

Enum value maps for VolumeAccessProtocols.

View Source
var (
	VolumeContentOriginType_name = map[int32]string{
		0: "VCOT_UNKNOWN",
		1: "VCOT_BLANK",
		2: "VCOT_DOWNLOAD",
	}
	VolumeContentOriginType_value = map[string]int32{
		"VCOT_UNKNOWN":  0,
		"VCOT_BLANK":    1,
		"VCOT_DOWNLOAD": 2,
	}
)

Enum value maps for VolumeContentOriginType.

View Source
var (
	DiskConfigType_name = map[int32]string{
		0: "DISK_CONFIG_TYPE_UNSPECIFIED",
		1: "DISK_CONFIG_TYPE_EVEOS",
		2: "DISK_CONFIG_TYPE_PERSIST",
		3: "DISK_CONFIG_TYPE_ZFS_ONLINE",
		4: "DISK_CONFIG_TYPE_ZFS_OFFLINE",
		5: "DISK_CONFIG_TYPE_APPDIRECT",
		6: "DISK_CONFIG_TYPE_UNUSED",
	}
	DiskConfigType_value = map[string]int32{
		"DISK_CONFIG_TYPE_UNSPECIFIED": 0,
		"DISK_CONFIG_TYPE_EVEOS":       1,
		"DISK_CONFIG_TYPE_PERSIST":     2,
		"DISK_CONFIG_TYPE_ZFS_ONLINE":  3,
		"DISK_CONFIG_TYPE_ZFS_OFFLINE": 4,
		"DISK_CONFIG_TYPE_APPDIRECT":   5,
		"DISK_CONFIG_TYPE_UNUSED":      6,
	}
)

Enum value maps for DiskConfigType.

View Source
var (
	DisksArrayType_name = map[int32]string{
		0: "DISKS_ARRAY_TYPE_UNSPECIFIED",
		1: "DISKS_ARRAY_TYPE_RAID0",
		2: "DISKS_ARRAY_TYPE_RAID1",
		3: "DISKS_ARRAY_TYPE_RAID5",
		4: "DISKS_ARRAY_TYPE_RAID6",
	}
	DisksArrayType_value = map[string]int32{
		"DISKS_ARRAY_TYPE_UNSPECIFIED": 0,
		"DISKS_ARRAY_TYPE_RAID0":       1,
		"DISKS_ARRAY_TYPE_RAID1":       2,
		"DISKS_ARRAY_TYPE_RAID5":       3,
		"DISKS_ARRAY_TYPE_RAID6":       4,
	}
)

Enum value maps for DisksArrayType.

View Source
var (
	VmMode_name = map[int32]string{
		0: "PV",
		1: "HVM",
		2: "Filler",
		3: "FML",
		4: "NOHYPER",
		5: "LEGACY",
	}
	VmMode_value = map[string]int32{
		"PV":      0,
		"HVM":     1,
		"Filler":  2,
		"FML":     3,
		"NOHYPER": 4,
		"LEGACY":  5,
	}
)

Enum value maps for VmMode.

View Source
var File_config_acipherinfo_proto protoreflect.FileDescriptor
View Source
var File_config_appconfig_proto protoreflect.FileDescriptor
View Source
var File_config_baseosconfig_proto protoreflect.FileDescriptor
View Source
var File_config_devcommon_proto protoreflect.FileDescriptor
View Source
var File_config_devconfig_proto protoreflect.FileDescriptor
View Source
var File_config_devmodel_proto protoreflect.FileDescriptor
View Source
var File_config_edgeview_proto protoreflect.FileDescriptor
View Source
var File_config_fw_proto protoreflect.FileDescriptor
View Source
var File_config_netcmn_proto protoreflect.FileDescriptor
View Source
var File_config_netconfig_proto protoreflect.FileDescriptor
View Source
var File_config_netinst_proto protoreflect.FileDescriptor
View Source
var File_config_storage_proto protoreflect.FileDescriptor
View Source
var File_config_vm_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ACE

type ACE struct {

	// multiple matches here is for various fields of 6 tuples
	//
	//	for example
	//	   1) host=www.example.com & port=http
	//	   2) ip=8.8.8.8 & port=53 & proto=UDP
	Matches []*ACEMatch `protobuf:"bytes,1,rep,name=matches,proto3" json:"matches,omitempty"`
	// Expect only single action...repeated here is
	// for future work.
	Actions []*ACEAction `protobuf:"bytes,2,rep,name=actions,proto3" json:"actions,omitempty"`
	Name    string       `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`                                        // User visible name of the ACL
	Id      int32        `protobuf:"varint,4,opt,name=id,proto3" json:"id,omitempty"`                                           // identifier
	Dir     ACEDirection `protobuf:"varint,5,opt,name=dir,proto3,enum=org.lfedge.eve.config.ACEDirection" json:"dir,omitempty"` // direction
	// contains filtered or unexported fields
}

func (*ACE) Descriptor deprecated

func (*ACE) Descriptor() ([]byte, []int)

Deprecated: Use ACE.ProtoReflect.Descriptor instead.

func (*ACE) GetActions

func (x *ACE) GetActions() []*ACEAction

func (*ACE) GetDir

func (x *ACE) GetDir() ACEDirection

func (*ACE) GetId

func (x *ACE) GetId() int32

func (*ACE) GetMatches

func (x *ACE) GetMatches() []*ACEMatch

func (*ACE) GetName

func (x *ACE) GetName() string

func (*ACE) ProtoMessage

func (*ACE) ProtoMessage()

func (*ACE) ProtoReflect

func (x *ACE) ProtoReflect() protoreflect.Message

func (*ACE) Reset

func (x *ACE) Reset()

func (*ACE) String

func (x *ACE) String() string

type ACEAction

type ACEAction struct {
	Drop bool `protobuf:"varint,1,opt,name=drop,proto3" json:"drop,omitempty"`
	// limit action, and its associated parameter
	Limit      bool   `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
	Limitrate  uint32 `protobuf:"varint,3,opt,name=limitrate,proto3" json:"limitrate,omitempty"`
	Limitunit  string `protobuf:"bytes,4,opt,name=limitunit,proto3" json:"limitunit,omitempty"`
	Limitburst uint32 `protobuf:"varint,5,opt,name=limitburst,proto3" json:"limitburst,omitempty"`
	// port map action, and its associated parameter
	Portmap bool   `protobuf:"varint,6,opt,name=portmap,proto3" json:"portmap,omitempty"`
	AppPort uint32 `protobuf:"varint,7,opt,name=appPort,proto3" json:"appPort,omitempty"`
	// contains filtered or unexported fields
}

func (*ACEAction) Descriptor deprecated

func (*ACEAction) Descriptor() ([]byte, []int)

Deprecated: Use ACEAction.ProtoReflect.Descriptor instead.

func (*ACEAction) GetAppPort

func (x *ACEAction) GetAppPort() uint32

func (*ACEAction) GetDrop

func (x *ACEAction) GetDrop() bool

func (*ACEAction) GetLimit

func (x *ACEAction) GetLimit() bool

func (*ACEAction) GetLimitburst

func (x *ACEAction) GetLimitburst() uint32

func (*ACEAction) GetLimitrate

func (x *ACEAction) GetLimitrate() uint32

func (*ACEAction) GetLimitunit

func (x *ACEAction) GetLimitunit() string

func (*ACEAction) GetPortmap

func (x *ACEAction) GetPortmap() bool

func (*ACEAction) ProtoMessage

func (*ACEAction) ProtoMessage()

func (*ACEAction) ProtoReflect

func (x *ACEAction) ProtoReflect() protoreflect.Message

func (*ACEAction) Reset

func (x *ACEAction) Reset()

func (*ACEAction) String

func (x *ACEAction) String() string

type ACEDirection

type ACEDirection int32
const (
	ACEDirection_BOTH    ACEDirection = 0
	ACEDirection_INGRESS ACEDirection = 1
	ACEDirection_EGRESS  ACEDirection = 2
)

func (ACEDirection) Descriptor

func (ACEDirection) Enum

func (x ACEDirection) Enum() *ACEDirection

func (ACEDirection) EnumDescriptor deprecated

func (ACEDirection) EnumDescriptor() ([]byte, []int)

Deprecated: Use ACEDirection.Descriptor instead.

func (ACEDirection) Number

func (ACEDirection) String

func (x ACEDirection) String() string

func (ACEDirection) Type

type ACEMatch

type ACEMatch struct {

	// FIXME: We should convert this to enum
	Type  string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*ACEMatch) Descriptor deprecated

func (*ACEMatch) Descriptor() ([]byte, []int)

Deprecated: Use ACEMatch.ProtoReflect.Descriptor instead.

func (*ACEMatch) GetType

func (x *ACEMatch) GetType() string

func (*ACEMatch) GetValue

func (x *ACEMatch) GetValue() string

func (*ACEMatch) ProtoMessage

func (*ACEMatch) ProtoMessage()

func (*ACEMatch) ProtoReflect

func (x *ACEMatch) ProtoReflect() protoreflect.Message

func (*ACEMatch) Reset

func (x *ACEMatch) Reset()

func (*ACEMatch) String

func (x *ACEMatch) String() string

type Adapter

type Adapter struct {
	Type  evecommon.PhyIoType `protobuf:"varint,1,opt,name=type,proto3,enum=org.lfedge.eve.common.PhyIoType" json:"type,omitempty"`
	Name  string              `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`                // Short hand name such as "com" from bundle
	EthVf *EthVF              `protobuf:"bytes,3,opt,name=eth_vf,json=ethVf,proto3" json:"eth_vf,omitempty"` // Only relevant for PHY_IO_TYPE_PHY_IO_NET_ETH_VF
	// contains filtered or unexported fields
}

Adapter bundles corresponding to a subset of what is in ZioBundle When used by a NetworkInstanceConfig the name is the logicallabel for the network adapter.

func (*Adapter) Descriptor deprecated

func (*Adapter) Descriptor() ([]byte, []int)

Deprecated: Use Adapter.ProtoReflect.Descriptor instead.

func (*Adapter) GetEthVf

func (x *Adapter) GetEthVf() *EthVF

func (*Adapter) GetName

func (x *Adapter) GetName() string

func (*Adapter) GetType

func (x *Adapter) GetType() evecommon.PhyIoType

func (*Adapter) ProtoMessage

func (*Adapter) ProtoMessage()

func (*Adapter) ProtoReflect

func (x *Adapter) ProtoReflect() protoreflect.Message

func (*Adapter) Reset

func (x *Adapter) Reset()

func (*Adapter) String

func (x *Adapter) String() string

type AddressType

type AddressType int32
const (
	AddressType_First      AddressType = 0
	AddressType_IPV4       AddressType = 1
	AddressType_IPV6       AddressType = 2
	AddressType_CryptoIPV4 AddressType = 3
	AddressType_CryptoIPV6 AddressType = 4
	AddressType_Last       AddressType = 255
)

func (AddressType) Descriptor

func (AddressType) Enum

func (x AddressType) Enum() *AddressType

func (AddressType) EnumDescriptor deprecated

func (AddressType) EnumDescriptor() ([]byte, []int)

Deprecated: Use AddressType.Descriptor instead.

func (AddressType) Number

func (x AddressType) Number() protoreflect.EnumNumber

func (AddressType) String

func (x AddressType) String() string

func (AddressType) Type

type AppDebugAccessPolicy

type AppDebugAccessPolicy struct {

	// app side of edge-view access is allowed or not
	AllowApp bool `protobuf:"varint,1,opt,name=allow_app,json=allowApp,proto3" json:"allow_app,omitempty"`
	// contains filtered or unexported fields
}

App debug policy applicable to edge-view

func (*AppDebugAccessPolicy) Descriptor deprecated

func (*AppDebugAccessPolicy) Descriptor() ([]byte, []int)

Deprecated: Use AppDebugAccessPolicy.ProtoReflect.Descriptor instead.

func (*AppDebugAccessPolicy) GetAllowApp

func (x *AppDebugAccessPolicy) GetAllowApp() bool

func (*AppDebugAccessPolicy) ProtoMessage

func (*AppDebugAccessPolicy) ProtoMessage()

func (*AppDebugAccessPolicy) ProtoReflect

func (x *AppDebugAccessPolicy) ProtoReflect() protoreflect.Message

func (*AppDebugAccessPolicy) Reset

func (x *AppDebugAccessPolicy) Reset()

func (*AppDebugAccessPolicy) String

func (x *AppDebugAccessPolicy) String() string

type AppInstanceConfig

type AppInstanceConfig struct {
	Uuidandversion *UUIDandVersion `protobuf:"bytes,1,opt,name=uuidandversion,proto3" json:"uuidandversion,omitempty"`
	Displayname    string          `protobuf:"bytes,2,opt,name=displayname,proto3" json:"displayname,omitempty"` // User-friendly name
	Fixedresources *VmConfig       `protobuf:"bytes,3,opt,name=fixedresources,proto3" json:"fixedresources,omitempty"`
	// VolumeRefs, if supported by EVE, will supersede drives. Drives still
	// exist for backward compatibility.
	// Drives will be deprecated in the future.
	// The order here is critical because they are presented to the VM or
	// container in the order they are listed, e.g., the first VM image
	// will be the root disk.
	Drives []*Drive `protobuf:"bytes,4,rep,name=drives,proto3" json:"drives,omitempty"`
	// Set activate to start the application instance; clear it to stop it.
	Activate bool `protobuf:"varint,5,opt,name=activate,proto3" json:"activate,omitempty"`
	// NetworkAdapter are virtual adapters assigned to the application
	// The order here is critical because they are presented to the VM or
	// container in the order they are listed, e.g., the first NetworkAdapter
	// will appear in a Linux VM as eth0. Also, the MAC address is determined
	// based on the order in the list.
	Interfaces []*NetworkAdapter `protobuf:"bytes,6,rep,name=interfaces,proto3" json:"interfaces,omitempty"`
	// Physical adapters such as eth1 or USB controllers and GPUs assigned
	// to the application instance.
	// The Name in Adapter should be set to PhysicalIO.assigngrp
	Adapters []*Adapter `protobuf:"bytes,7,rep,name=adapters,proto3" json:"adapters,omitempty"`
	// The device behavior for a restart command (if counter increased)
	// is to restart the application instance
	// Increasing this multiple times does not imply the application instance
	// will restart more than once.
	// EVE can assume that the adapters did not change.
	Restart *InstanceOpsCmd `protobuf:"bytes,9,opt,name=restart,proto3" json:"restart,omitempty"`
	// The EVE behavior for a purge command is to restart the application instance
	// with the first drive/volumeRef recreated from its origin.
	Purge *InstanceOpsCmd `protobuf:"bytes,10,opt,name=purge,proto3" json:"purge,omitempty"`
	// App Instance initialization configuration data provided by user
	// This will be used as "user-data" in cloud-init
	// Empty string will indicate that cloud-init is not required
	// It is also used to carry environment variables for containers.
	// XXX will be deprecated and replaced by the cipherData below.
	UserData string `protobuf:"bytes,11,opt,name=userData,proto3" json:"userData,omitempty"`
	// Config flag if the app-instance should be made accessible
	// through a remote console session established by the device.
	RemoteConsole bool `protobuf:"varint,12,opt,name=remoteConsole,proto3" json:"remoteConsole,omitempty"`
	// contains the encrypted userdata
	CipherData *CipherBlock `protobuf:"bytes,13,opt,name=cipherData,proto3" json:"cipherData,omitempty"`
	// The static IP address assigned on the NetworkAdapter which App Container
	// stats collection uses. If the 'collectStatsIPAddr' is not empty and valid,
	// it enables the container stats collection for this App.
	// During App instance creation, after user enables the collection of stats
	// from App, cloud needs to make sure at least one 'Local' type of Network-Instance
	// is assigned to the App interface, and based on the subnet of the NI, statically
	// assign an IP address on the same subnet, e.g. 10.1.0.100
	CollectStatsIPAddr string `protobuf:"bytes,15,opt,name=collectStatsIPAddr,proto3" json:"collectStatsIPAddr,omitempty"`
	// The volumes to be attached to the app-instance.
	// The order here is critical because they are presented to the VM or
	// container in the order they are listed, e.g., the first VM image
	// will be the root disk.
	// Note that since the name volumeRef was used before and deprecated
	// python protobuf seems to require that we use a different name.
	VolumeRefList []*VolumeRef `protobuf:"bytes,16,rep,name=volumeRefList,proto3" json:"volumeRefList,omitempty"`
	// metadata type to use for app if provided inside userData
	MetaDataType MetaDataType `protobuf:"varint,17,opt,name=metaDataType,proto3,enum=org.lfedge.eve.config.MetaDataType" json:"metaDataType,omitempty"`
	// profile_list is a set of strings which can be used to control which sets
	// of applications are run. Combined with the activate flag above.
	// If the profile list is empty it means wildcard; application will
	// be started independent of the global or local profile specified for the
	// device.
	ProfileList []string `protobuf:"bytes,18,rep,name=profile_list,json=profileList,proto3" json:"profile_list,omitempty"`
	// start_delay_in_seconds - Applicable only when EVE boots up fresh and starts
	// applications for the first time after boot up. This is the amount of time that
	// EVE waits (after boot finish) before starting each application.
	// Default value 0 -> start application immediately.
	// Non-Zero value -> After EVE is ready to start application instance, wait for the
	// given amount of time before starting the respective application instance.
	StartDelayInSeconds uint32 `protobuf:"varint,19,opt,name=start_delay_in_seconds,json=startDelayInSeconds,proto3" json:"start_delay_in_seconds,omitempty"`
	// service - run app instance as a service container in the host/dom0
	// will override default capabilities with configuration
	// defined in org.mobyproject.config label of image provided by linuxkit
	Service bool `protobuf:"varint,20,opt,name=service,proto3" json:"service,omitempty"`
	// All changes to the cloud-init config are tracked using this version field -
	// once the version is changed cloud-init tool restarts in a guest.
	CloudInitVersion uint32 `protobuf:"varint,21,opt,name=cloud_init_version,json=cloudInitVersion,proto3" json:"cloud_init_version,omitempty"`
	// SnapshotConfig is used to track the snapshots of the app instance
	Snapshot *SnapshotConfig `protobuf:"bytes,22,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
	// contains filtered or unexported fields
}

The complete configuration for an Application Instance When changing key fields such as the drives/volumeRefs or the number of interfaces, the controller is required to issue a purge command i.e., increase the purge counter. Otherwise there will be an error (The controller can also issue a purge command to re-construct the content of the first drive/volumeRef without any changes.) Some changes such as ACL changes in the interfaces do not require a restart, but all other changes (such as fixedresources and adapters) require a restart command i.e., an increase to the restart counter. The restart counter can also be increased to cause an application instance restart without any other change to the application instance.

func (*AppInstanceConfig) Descriptor deprecated

func (*AppInstanceConfig) Descriptor() ([]byte, []int)

Deprecated: Use AppInstanceConfig.ProtoReflect.Descriptor instead.

func (*AppInstanceConfig) GetActivate

func (x *AppInstanceConfig) GetActivate() bool

func (*AppInstanceConfig) GetAdapters

func (x *AppInstanceConfig) GetAdapters() []*Adapter

func (*AppInstanceConfig) GetCipherData

func (x *AppInstanceConfig) GetCipherData() *CipherBlock

func (*AppInstanceConfig) GetCloudInitVersion

func (x *AppInstanceConfig) GetCloudInitVersion() uint32

func (*AppInstanceConfig) GetCollectStatsIPAddr

func (x *AppInstanceConfig) GetCollectStatsIPAddr() string

func (*AppInstanceConfig) GetDisplayname

func (x *AppInstanceConfig) GetDisplayname() string

func (*AppInstanceConfig) GetDrives

func (x *AppInstanceConfig) GetDrives() []*Drive

func (*AppInstanceConfig) GetFixedresources

func (x *AppInstanceConfig) GetFixedresources() *VmConfig

func (*AppInstanceConfig) GetInterfaces

func (x *AppInstanceConfig) GetInterfaces() []*NetworkAdapter

func (*AppInstanceConfig) GetMetaDataType

func (x *AppInstanceConfig) GetMetaDataType() MetaDataType

func (*AppInstanceConfig) GetProfileList

func (x *AppInstanceConfig) GetProfileList() []string

func (*AppInstanceConfig) GetPurge

func (x *AppInstanceConfig) GetPurge() *InstanceOpsCmd

func (*AppInstanceConfig) GetRemoteConsole

func (x *AppInstanceConfig) GetRemoteConsole() bool

func (*AppInstanceConfig) GetRestart

func (x *AppInstanceConfig) GetRestart() *InstanceOpsCmd

func (*AppInstanceConfig) GetService

func (x *AppInstanceConfig) GetService() bool

func (*AppInstanceConfig) GetSnapshot

func (x *AppInstanceConfig) GetSnapshot() *SnapshotConfig

func (*AppInstanceConfig) GetStartDelayInSeconds

func (x *AppInstanceConfig) GetStartDelayInSeconds() uint32

func (*AppInstanceConfig) GetUserData

func (x *AppInstanceConfig) GetUserData() string

func (*AppInstanceConfig) GetUuidandversion

func (x *AppInstanceConfig) GetUuidandversion() *UUIDandVersion

func (*AppInstanceConfig) GetVolumeRefList

func (x *AppInstanceConfig) GetVolumeRefList() []*VolumeRef

func (*AppInstanceConfig) ProtoMessage

func (*AppInstanceConfig) ProtoMessage()

func (*AppInstanceConfig) ProtoReflect

func (x *AppInstanceConfig) ProtoReflect() protoreflect.Message

func (*AppInstanceConfig) Reset

func (x *AppInstanceConfig) Reset()

func (*AppInstanceConfig) String

func (x *AppInstanceConfig) String() string

type ArpMonitor

type ArpMonitor struct {

	// Interval specifies the ARP link monitoring frequency in milliseconds.
	Interval uint32 `protobuf:"varint,1,opt,name=interval,proto3" json:"interval,omitempty"`
	// IpTargets specifies the IPv4 addresses to use as ARP monitoring peers.
	// These are the targets of ARP requests sent to determine the health of links.
	IpTargets []string `protobuf:"bytes,2,rep,name=ip_targets,json=ipTargets,proto3" json:"ip_targets,omitempty"`
	// contains filtered or unexported fields
}

ArpMonitor : ARP-based link monitoring parameters. Defined for BondAdapter.

func (*ArpMonitor) Descriptor deprecated

func (*ArpMonitor) Descriptor() ([]byte, []int)

Deprecated: Use ArpMonitor.ProtoReflect.Descriptor instead.

func (*ArpMonitor) GetInterval

func (x *ArpMonitor) GetInterval() uint32

func (*ArpMonitor) GetIpTargets

func (x *ArpMonitor) GetIpTargets() []string

func (*ArpMonitor) ProtoMessage

func (*ArpMonitor) ProtoMessage()

func (*ArpMonitor) ProtoReflect

func (x *ArpMonitor) ProtoReflect() protoreflect.Message

func (*ArpMonitor) Reset

func (x *ArpMonitor) Reset()

func (*ArpMonitor) String

func (x *ArpMonitor) String() string

type BaseOS

type BaseOS struct {

	// UUID for ContentTree with BaseOS image
	ContentTreeUuid string `protobuf:"bytes,1,opt,name=content_tree_uuid,json=contentTreeUuid,proto3" json:"content_tree_uuid,omitempty"`
	// retry_update
	// Retry the BaseOs update if the update failed previously.
	//  1. If this image is in FAILED state, retry the image update.
	//  2. If this image is already active and fully installed (PartitionState = UPDATED),
	//     Do nothing. Just update the baseos_update_counter in Info message.
	//  3. If this image is same as active image, but status is NOT yet UPDATED, or
	//     if the update to this image is in progress, wait till the update
	//     concludes (Success / Error+rollback) - then trigger the retry as needed.
	RetryUpdate *DeviceOpsCmd `protobuf:"bytes,2,opt,name=retry_update,json=retryUpdate,proto3" json:"retry_update,omitempty"`
	// if not set BaseOS will be installed,
	// but not activated
	Activate      bool   `protobuf:"varint,3,opt,name=activate,proto3" json:"activate,omitempty"`
	BaseOsVersion string `protobuf:"bytes,4,opt,name=base_os_version,json=baseOsVersion,proto3" json:"base_os_version,omitempty"`
	// contains filtered or unexported fields
}

func (*BaseOS) Descriptor deprecated

func (*BaseOS) Descriptor() ([]byte, []int)

Deprecated: Use BaseOS.ProtoReflect.Descriptor instead.

func (*BaseOS) GetActivate

func (x *BaseOS) GetActivate() bool

func (*BaseOS) GetBaseOsVersion

func (x *BaseOS) GetBaseOsVersion() string

func (*BaseOS) GetContentTreeUuid

func (x *BaseOS) GetContentTreeUuid() string

func (*BaseOS) GetRetryUpdate

func (x *BaseOS) GetRetryUpdate() *DeviceOpsCmd

func (*BaseOS) ProtoMessage

func (*BaseOS) ProtoMessage()

func (*BaseOS) ProtoReflect

func (x *BaseOS) ProtoReflect() protoreflect.Message

func (*BaseOS) Reset

func (x *BaseOS) Reset()

func (*BaseOS) String

func (x *BaseOS) String() string

type BaseOSConfig

type BaseOSConfig struct {
	Uuidandversion *UUIDandVersion `protobuf:"bytes,1,opt,name=uuidandversion,proto3" json:"uuidandversion,omitempty"`
	// volumeID will supersede drives. Drives still
	// exist for backward compatibility.
	// Drives will be deprecated in the future.
	Drives        []*Drive `protobuf:"bytes,3,rep,name=drives,proto3" json:"drives,omitempty"`
	Activate      bool     `protobuf:"varint,4,opt,name=activate,proto3" json:"activate,omitempty"`
	BaseOSVersion string   `protobuf:"bytes,10,opt,name=baseOSVersion,proto3" json:"baseOSVersion,omitempty"` // deprecated 11; OSVerDetails baseOSDetails
	VolumeID      string   `protobuf:"bytes,12,opt,name=volumeID,proto3" json:"volumeID,omitempty"`           // UUID for Volume with BaseOS image
	// contains filtered or unexported fields
}

func (*BaseOSConfig) Descriptor deprecated

func (*BaseOSConfig) Descriptor() ([]byte, []int)

Deprecated: Use BaseOSConfig.ProtoReflect.Descriptor instead.

func (*BaseOSConfig) GetActivate

func (x *BaseOSConfig) GetActivate() bool

func (*BaseOSConfig) GetBaseOSVersion

func (x *BaseOSConfig) GetBaseOSVersion() string

func (*BaseOSConfig) GetDrives

func (x *BaseOSConfig) GetDrives() []*Drive

func (*BaseOSConfig) GetUuidandversion

func (x *BaseOSConfig) GetUuidandversion() *UUIDandVersion

func (*BaseOSConfig) GetVolumeID

func (x *BaseOSConfig) GetVolumeID() string

func (*BaseOSConfig) ProtoMessage

func (*BaseOSConfig) ProtoMessage()

func (*BaseOSConfig) ProtoReflect

func (x *BaseOSConfig) ProtoReflect() protoreflect.Message

func (*BaseOSConfig) Reset

func (x *BaseOSConfig) Reset()

func (*BaseOSConfig) String

func (x *BaseOSConfig) String() string

type BondAdapter

type BondAdapter struct {

	// Name of this bond adapter.
	Logicallabel string `protobuf:"bytes,1,opt,name=logicallabel,proto3" json:"logicallabel,omitempty"`
	// A physical name of the bond interface.
	// Note that the interface name is limited in Linux kernel to 15 characters.
	// If not defined, logicallabel will be used instead.
	InterfaceName string `protobuf:"bytes,2,opt,name=interface_name,json=interfaceName,proto3" json:"interface_name,omitempty"`
	// Logical names of aggregated PhysicalIOs.
	// For all bonding modes but Active-Backup the order is irrelevant.
	// In the Active-Backup mode (BOND_MODE_ACTIVE_BACKUP), the first PhysicalIO
	// in the list will be considered as the primary port (i.e. only when
	// the primary is off-line will alternate ports be used).
	LowerLayerNames []string `protobuf:"bytes,3,rep,name=lower_layer_names,json=lowerLayerNames,proto3" json:"lower_layer_names,omitempty"`
	// A bonding mode specifies the policy indicating how bonding slaves are used
	// during network transmission
	BondMode BondMode `protobuf:"varint,4,opt,name=bond_mode,json=bondMode,proto3,enum=org.lfedge.eve.config.BondMode" json:"bond_mode,omitempty"`
	// Method by which link failures and recoveries are detected.
	//
	// Types that are assignable to Monitoring:
	//
	//	*BondAdapter_Mii
	//	*BondAdapter_Arp
	Monitoring isBondAdapter_Monitoring `protobuf_oneof:"monitoring"`
	// Option specifying the rate in which EVE will ask LACP link partners
	// to transmit LACPDU packets in 802.3ad mode.
	LacpRate LacpRate `protobuf:"varint,8,opt,name=lacp_rate,json=lacpRate,proto3,enum=org.lfedge.eve.config.LacpRate" json:"lacp_rate,omitempty"`
	// contains filtered or unexported fields
}

BondAdapter aggregates multiple PhysicalIOs into one adapter for redundancy and load-spreading purposes.

func (*BondAdapter) Descriptor deprecated

func (*BondAdapter) Descriptor() ([]byte, []int)

Deprecated: Use BondAdapter.ProtoReflect.Descriptor instead.

func (*BondAdapter) GetArp

func (x *BondAdapter) GetArp() *ArpMonitor

func (*BondAdapter) GetBondMode

func (x *BondAdapter) GetBondMode() BondMode

func (*BondAdapter) GetInterfaceName

func (x *BondAdapter) GetInterfaceName() string

func (*BondAdapter) GetLacpRate

func (x *BondAdapter) GetLacpRate() LacpRate

func (*BondAdapter) GetLogicallabel

func (x *BondAdapter) GetLogicallabel() string

func (*BondAdapter) GetLowerLayerNames

func (x *BondAdapter) GetLowerLayerNames() []string

func (*BondAdapter) GetMii

func (x *BondAdapter) GetMii() *MIIMonitor

func (*BondAdapter) GetMonitoring

func (m *BondAdapter) GetMonitoring() isBondAdapter_Monitoring

func (*BondAdapter) ProtoMessage

func (*BondAdapter) ProtoMessage()

func (*BondAdapter) ProtoReflect

func (x *BondAdapter) ProtoReflect() protoreflect.Message

func (*BondAdapter) Reset

func (x *BondAdapter) Reset()

func (*BondAdapter) String

func (x *BondAdapter) String() string

type BondAdapter_Arp

type BondAdapter_Arp struct {
	// The ARP monitor is based on the communication to the target
	// hosts designated by their IP addresses. Even if the link is beyond
	// the nearest connected switch, the APR monitor can detect it.
	Arp *ArpMonitor `protobuf:"bytes,6,opt,name=arp,proto3,oneof"`
}

type BondAdapter_Mii

type BondAdapter_Mii struct {
	// The MII monitor is driver-dependent. It monitors the links from the device
	// to the nearest connected switch. If the failure occurs beyond the nearest
	// connected switch, it cannot be detected by MII monitor.
	Mii *MIIMonitor `protobuf:"bytes,5,opt,name=mii,proto3,oneof"`
}

type BondMode

type BondMode int32

A bonding mode specifies the policy indicating how bonding slaves are used during network transmission.

const (
	// BOND_MODE_UNSPECIFIED : if bonding mode is not explicitly specified,
	// then by default Round-Robin policy is applied (BOND_MODE_BALANCE_RR).
	BondMode_BOND_MODE_UNSPECIFIED BondMode = 0
	// BOND_MODE_BALANCE_RR : transmit packets in sequential order from the first
	// available slave through the last. This mode provides load balancing
	// and fault tolerance.
	// This is the default bonding mode.
	BondMode_BOND_MODE_BALANCE_RR BondMode = 1
	// BOND_MODE_ACTIVE_BACKUP : only one slave in the bond is active.
	// A different slave becomes active if, and only if, the active slave fails.
	// The bond's MAC address is externally visible on only one port to avoid
	// confusing the switch.
	// This mode provides fault tolerance.
	BondMode_BOND_MODE_ACTIVE_BACKUP BondMode = 2
	// BOND_MODE_BALANCE_XOR : packet source and destination MAC addresses are
	// used to calculate hash and select the output slave interface accordingly.
	// This algorithm will place all traffic destined to a particular network
	// peer on the same slave.
	// This mode provides load balancing and fault tolerance.
	BondMode_BOND_MODE_BALANCE_XOR BondMode = 3
	// BOND_MODE_BROADCAST: transmits everything on all slave interfaces.
	// This mode provides fault tolerance.
	BondMode_BOND_MODE_BROADCAST BondMode = 4
	// BOND_MODE_802_3AD : IEEE 802.3ad Dynamic link aggregation.
	// Creates aggregation groups that share the same speed and duplex settings.
	// Utilizes all slaves in the active aggregator according to the 802.3ad
	// specification.
	// Requires that upstream networks equipment supports and has the IEEE 802.3ad
	// Dynamic link aggregation properly configured.
	BondMode_BOND_MODE_802_3AD BondMode = 5
	// BOND_MODE_BALANCE_TLB : adaptive transmit load balancing. Channel bonding that
	// does not require any special switch support. The outgoing traffic
	// is distributed according to the current load (computed relative to the speed)
	// on each slave.
	// Incoming traffic is received by the current slave. If the receiving slave
	// fails, another slave takes over the MAC address of the failed receiving slave.
	// This mode provides (TX) load balancing and fault tolerance.
	BondMode_BOND_MODE_BALANCE_TLB BondMode = 6
	// BOND_MODE_BALANCE_ALB : adaptive load balancing. Includes BOND_MODE_BALANCE_TLB
	// plus receive load balancing (RLB) for IPV4 traffic, and does not require
	// any special switch support. The receive load balancing is achieved by ARP
	// negotiation.
	// This mode provides load balancing and fault tolerance.
	BondMode_BOND_MODE_BALANCE_ALB BondMode = 7
)

func (BondMode) Descriptor

func (BondMode) Descriptor() protoreflect.EnumDescriptor

func (BondMode) Enum

func (x BondMode) Enum() *BondMode

func (BondMode) EnumDescriptor deprecated

func (BondMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use BondMode.Descriptor instead.

func (BondMode) Number

func (x BondMode) Number() protoreflect.EnumNumber

func (BondMode) String

func (x BondMode) String() string

func (BondMode) Type

type BootstrapConfig

type BootstrapConfig struct {

	// Device configuration to use for bootstrapping.
	// Should be signed by the controller using AuthContainer (see OBJECT_SIGNING.md).
	// Put **protobuf-encoded** (not json) EdgeDevConfig under AuthContainer.protectedPayload.
	// Instead of AuthContainer.senderCert, use controller_certs attribute below to include
	// the signing certificate and all intermediate certificates needed for signature
	// verification against root_certificate. However, the corresponding hash of the signing
	// certificate is still expected to be included in AuthContainer (senderCertHash attribute).
	SignedConfig *auth.AuthContainer `protobuf:"bytes,1,opt,name=signed_config,json=signedConfig,proto3" json:"signed_config,omitempty"`
	// Signing certificate (CERT_TYPE_CONTROLLER_SIGNING) and intermediate certificates
	// (CERT_TYPE_CONTROLLER_INTERMEDIATE).
	ControllerCerts []*certs.ZCert `protobuf:"bytes,2,rep,name=controller_certs,json=controllerCerts,proto3" json:"controller_certs,omitempty"`
	// contains filtered or unexported fields
}

BootstrapConfig is used to carry initial device configuration, baked into a "single-use" EVE installer prepared for a specific device to bootstrap, i.e. to establish the initial connectivity with the controller and onboard. This is useful if the default network configuration (i.e. Ethernet connectivity with DHCP) is not applicable for access to the controller.

func (*BootstrapConfig) Descriptor deprecated

func (*BootstrapConfig) Descriptor() ([]byte, []int)

Deprecated: Use BootstrapConfig.ProtoReflect.Descriptor instead.

func (*BootstrapConfig) GetControllerCerts

func (x *BootstrapConfig) GetControllerCerts() []*certs.ZCert

func (*BootstrapConfig) GetSignedConfig

func (x *BootstrapConfig) GetSignedConfig() *auth.AuthContainer

func (*BootstrapConfig) ProtoMessage

func (*BootstrapConfig) ProtoMessage()

func (*BootstrapConfig) ProtoReflect

func (x *BootstrapConfig) ProtoReflect() protoreflect.Message

func (*BootstrapConfig) Reset

func (x *BootstrapConfig) Reset()

func (*BootstrapConfig) String

func (x *BootstrapConfig) String() string

type CellularAccessPoint

type CellularAccessPoint struct {

	// SIM card slot to which this configuration applies.
	// 0 - unspecified (apply to currently activated or the only available)
	// 1 - config for SIM card in the first slot
	// 2 - config for SIM card in the second slot
	// etc.
	SimSlot uint32 `protobuf:"varint,1,opt,name=sim_slot,json=simSlot,proto3" json:"sim_slot,omitempty"`
	// Access Point Network to connect into.
	// By default it is "internet".
	Apn string `protobuf:"bytes,2,opt,name=apn,proto3" json:"apn,omitempty"`
	// Authentication protocol used by the network.
	AuthProtocol CellularAuthProtocol `` /* 146-byte string literal not displayed */
	// Cipher data may contain encrypted user credentials
	// (inside cellNetUsername and cellNetPassword fields).
	CipherData *CipherBlock `protobuf:"bytes,4,opt,name=cipher_data,json=cipherData,proto3" json:"cipher_data,omitempty"`
	// The set of cellular network operators that modem should preferably try to register
	// and connect into.
	// Network operator should be referenced by PLMN (Public Land Mobile Network) code,
	// consisting of 3-digits MCC (Mobile Country Code) and 2 or 3-digits MNC (Mobile Network Code),
	// separated by a dash, e.g. "310-260".
	// If empty, then modem will select the network automatically based on the SIM card config.
	PreferredPlmns []string `protobuf:"bytes,5,rep,name=preferred_plmns,json=preferredPlmns,proto3" json:"preferred_plmns,omitempty"`
	// If true, then modem will avoid connecting to networks with roaming.
	ForbidRoaming bool `protobuf:"varint,6,opt,name=forbid_roaming,json=forbidRoaming,proto3" json:"forbid_roaming,omitempty"`
	// The list of preferred Radio Access Technologies (RATs) to use for connecting
	// to the network.
	// Order matters, first is the most preferred, second is tried next, etc.
	// Not listed technologies will not be tried.
	// If empty, then modem will select RAT automatically.
	PreferredRats []evecommon.RadioAccessTechnology `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

CellularAccessPoint contains config parameters for connecting to a cellular network.

func (*CellularAccessPoint) Descriptor deprecated

func (*CellularAccessPoint) Descriptor() ([]byte, []int)

Deprecated: Use CellularAccessPoint.ProtoReflect.Descriptor instead.

func (*CellularAccessPoint) GetApn

func (x *CellularAccessPoint) GetApn() string

func (*CellularAccessPoint) GetAuthProtocol

func (x *CellularAccessPoint) GetAuthProtocol() CellularAuthProtocol

func (*CellularAccessPoint) GetCipherData

func (x *CellularAccessPoint) GetCipherData() *CipherBlock

func (*CellularAccessPoint) GetForbidRoaming

func (x *CellularAccessPoint) GetForbidRoaming() bool

func (*CellularAccessPoint) GetPreferredPlmns

func (x *CellularAccessPoint) GetPreferredPlmns() []string

func (*CellularAccessPoint) GetPreferredRats

func (x *CellularAccessPoint) GetPreferredRats() []evecommon.RadioAccessTechnology

func (*CellularAccessPoint) GetSimSlot

func (x *CellularAccessPoint) GetSimSlot() uint32

func (*CellularAccessPoint) ProtoMessage

func (*CellularAccessPoint) ProtoMessage()

func (*CellularAccessPoint) ProtoReflect

func (x *CellularAccessPoint) ProtoReflect() protoreflect.Message

func (*CellularAccessPoint) Reset

func (x *CellularAccessPoint) Reset()

func (*CellularAccessPoint) String

func (x *CellularAccessPoint) String() string

type CellularAuthProtocol

type CellularAuthProtocol int32
const (
	// No authentication.
	CellularAuthProtocol_CELLULAR_AUTH_PROTOCOL_NONE CellularAuthProtocol = 0
	// Password Authentication Protocol.
	CellularAuthProtocol_CELLULAR_AUTH_PROTOCOL_PAP CellularAuthProtocol = 1
	// Challenge-Handshake Authentication Protocol.
	CellularAuthProtocol_CELLULAR_AUTH_PROTOCOL_CHAP CellularAuthProtocol = 2
	// Both PAP and CHAP.
	CellularAuthProtocol_CELLULAR_AUTH_PROTOCOL_PAP_AND_CHAP CellularAuthProtocol = 3
)

func (CellularAuthProtocol) Descriptor

func (CellularAuthProtocol) Enum

func (CellularAuthProtocol) EnumDescriptor deprecated

func (CellularAuthProtocol) EnumDescriptor() ([]byte, []int)

Deprecated: Use CellularAuthProtocol.Descriptor instead.

func (CellularAuthProtocol) Number

func (CellularAuthProtocol) String

func (x CellularAuthProtocol) String() string

func (CellularAuthProtocol) Type

type CellularConfig

type CellularConfig struct {

	// APN string - by default it is "internet".
	// TO BE DEPRECATED: Fill connection arguments inside access_points instead.
	// If access_points is non-empty, then APN field is ignored.
	APN string `protobuf:"bytes,1,opt,name=APN,proto3" json:"APN,omitempty"`
	// Optional cellular connectivity probing.
	// By default it is enabled.
	Probe *CellularConnectivityProbe `protobuf:"bytes,2,opt,name=probe,proto3" json:"probe,omitempty"`
	// Some LTE modems have GNSS receiver integrated and can be used for device
	// location tracking.
	// Enable this option to have location info periodically obtained from this
	// modem and published to controller and to applications.
	LocationTracking bool `protobuf:"varint,3,opt,name=location_tracking,json=locationTracking,proto3" json:"location_tracking,omitempty"`
	// Parameters to apply for connecting to cellular networks.
	// Configured separately for every SIM card inserted into the modem.
	AccessPoints []*CellularAccessPoint `protobuf:"bytes,4,rep,name=access_points,json=accessPoints,proto3" json:"access_points,omitempty"`
	// Select SIM card slot to activate.
	// Currently, EVE support only single-standby SIM card mode.
	// 0 - unspecified (leave the currently activated)
	// 1 - activate the first SIM slot
	// 2 - activate the second SIM slot
	// etc.
	ActivatedSimSlot uint32 `protobuf:"varint,5,opt,name=activated_sim_slot,json=activatedSimSlot,proto3" json:"activated_sim_slot,omitempty"`
	// contains filtered or unexported fields
}

func (*CellularConfig) Descriptor deprecated

func (*CellularConfig) Descriptor() ([]byte, []int)

Deprecated: Use CellularConfig.ProtoReflect.Descriptor instead.

func (*CellularConfig) GetAPN

func (x *CellularConfig) GetAPN() string

func (*CellularConfig) GetAccessPoints

func (x *CellularConfig) GetAccessPoints() []*CellularAccessPoint

func (*CellularConfig) GetActivatedSimSlot

func (x *CellularConfig) GetActivatedSimSlot() uint32

func (*CellularConfig) GetLocationTracking

func (x *CellularConfig) GetLocationTracking() bool

func (*CellularConfig) GetProbe

func (*CellularConfig) ProtoMessage

func (*CellularConfig) ProtoMessage()

func (*CellularConfig) ProtoReflect

func (x *CellularConfig) ProtoReflect() protoreflect.Message

func (*CellularConfig) Reset

func (x *CellularConfig) Reset()

func (*CellularConfig) String

func (x *CellularConfig) String() string

type CellularConnectivityProbe

type CellularConnectivityProbe struct {

	// If true, then probing is disabled.
	Disable bool `protobuf:"varint,1,opt,name=disable,proto3" json:"disable,omitempty"`
	// IP/FQDN to periodically probe using 3 pings per iteration to determine connectivity status.
	// The default probing behavior (i.e. without user-defined probing endpoint), is more complex
	// that just pinging a remote endpoint and the goal is to minimize generated traffic,
	// probing time and false negatives (that would trigger undesired re-connect).
	// EVE will periodically check the modem status, accessibility of DNS server(s) and potentially
	// also proxies in the local network, and only as the last resort (if connectivity state
	// is still unclear) it will probe the default remote endpoint "8.8.8.8" (Google public DNS)
	// using ICMP ping.
	// It is recommended to use custom probe_address only for private LTE networks where
	// public DNS servers are not allowed by the firewall (and hence ping would fail even with
	// working connectivity).
	ProbeAddress string `protobuf:"bytes,2,opt,name=probe_address,json=probeAddress,proto3" json:"probe_address,omitempty"`
	// contains filtered or unexported fields
}

CellularConnectivityProbe is used to periodically check the connectivity status of a cellular network by probing a remote endpoint. Whenever the probe fails, the cellular connection is automatically restarted. If the probe keeps failing even after the restart, the failure is reported in ZCellularStatus.probeError. The connectivity probing interval is 5 minutes and currently it is not configurable.

func (*CellularConnectivityProbe) Descriptor deprecated

func (*CellularConnectivityProbe) Descriptor() ([]byte, []int)

Deprecated: Use CellularConnectivityProbe.ProtoReflect.Descriptor instead.

func (*CellularConnectivityProbe) GetDisable

func (x *CellularConnectivityProbe) GetDisable() bool

func (*CellularConnectivityProbe) GetProbeAddress

func (x *CellularConnectivityProbe) GetProbeAddress() string

func (*CellularConnectivityProbe) ProtoMessage

func (*CellularConnectivityProbe) ProtoMessage()

func (*CellularConnectivityProbe) ProtoReflect

func (*CellularConnectivityProbe) Reset

func (x *CellularConnectivityProbe) Reset()

func (*CellularConnectivityProbe) String

func (x *CellularConnectivityProbe) String() string

type CipherBlock

type CipherBlock struct {

	// cipher context id
	CipherContextId string `protobuf:"bytes,1,opt,name=cipherContextId,proto3" json:"cipherContextId,omitempty"`
	// Initial Value for Symmetric Key derivation
	InitialValue []byte `protobuf:"bytes,2,opt,name=initialValue,proto3" json:"initialValue,omitempty"`
	// encrypted sensitive data
	CipherData []byte `protobuf:"bytes,3,opt,name=cipherData,proto3" json:"cipherData,omitempty"`
	// sha256 of the plaintext sensitive data
	ClearTextSha256 []byte `protobuf:"bytes,4,opt,name=clearTextSha256,proto3" json:"clearTextSha256,omitempty"`
	// contains filtered or unexported fields
}

Encrypted sensitive data information

func (*CipherBlock) Descriptor deprecated

func (*CipherBlock) Descriptor() ([]byte, []int)

Deprecated: Use CipherBlock.ProtoReflect.Descriptor instead.

func (*CipherBlock) GetCipherContextId

func (x *CipherBlock) GetCipherContextId() string

func (*CipherBlock) GetCipherData

func (x *CipherBlock) GetCipherData() []byte

func (*CipherBlock) GetClearTextSha256

func (x *CipherBlock) GetClearTextSha256() []byte

func (*CipherBlock) GetInitialValue

func (x *CipherBlock) GetInitialValue() []byte

func (*CipherBlock) ProtoMessage

func (*CipherBlock) ProtoMessage()

func (*CipherBlock) ProtoReflect

func (x *CipherBlock) ProtoReflect() protoreflect.Message

func (*CipherBlock) Reset

func (x *CipherBlock) Reset()

func (*CipherBlock) String

func (x *CipherBlock) String() string

type CipherContext

type CipherContext struct {

	// cipher context id, key to this structure
	ContextId string `protobuf:"bytes,1,opt,name=contextId,proto3" json:"contextId,omitempty"`
	// algorithm used to compute hash for certificates
	HashScheme evecommon.HashAlgorithm `protobuf:"varint,2,opt,name=hashScheme,proto3,enum=org.lfedge.eve.common.HashAlgorithm" json:"hashScheme,omitempty"`
	// for key exchange scheme, like ECDH etc.
	KeyExchangeScheme KeyExchangeScheme `` /* 133-byte string literal not displayed */
	// for encrypting sensitive data, like AES256 etc.
	EncryptionScheme EncryptionScheme `` /* 130-byte string literal not displayed */
	// device public certificate hash
	DeviceCertHash []byte `protobuf:"bytes,5,opt,name=deviceCertHash,proto3" json:"deviceCertHash,omitempty"`
	// controller certificate hash
	ControllerCertHash []byte `protobuf:"bytes,6,opt,name=controllerCertHash,proto3" json:"controllerCertHash,omitempty"`
	// contains filtered or unexported fields
}

Cipher information to decrypt Sensitive Data

func (*CipherContext) Descriptor deprecated

func (*CipherContext) Descriptor() ([]byte, []int)

Deprecated: Use CipherContext.ProtoReflect.Descriptor instead.

func (*CipherContext) GetContextId

func (x *CipherContext) GetContextId() string

func (*CipherContext) GetControllerCertHash

func (x *CipherContext) GetControllerCertHash() []byte

func (*CipherContext) GetDeviceCertHash

func (x *CipherContext) GetDeviceCertHash() []byte

func (*CipherContext) GetEncryptionScheme

func (x *CipherContext) GetEncryptionScheme() EncryptionScheme

func (*CipherContext) GetHashScheme

func (x *CipherContext) GetHashScheme() evecommon.HashAlgorithm

func (*CipherContext) GetKeyExchangeScheme

func (x *CipherContext) GetKeyExchangeScheme() KeyExchangeScheme

func (*CipherContext) ProtoMessage

func (*CipherContext) ProtoMessage()

func (*CipherContext) ProtoReflect

func (x *CipherContext) ProtoReflect() protoreflect.Message

func (*CipherContext) Reset

func (x *CipherContext) Reset()

func (*CipherContext) String

func (x *CipherContext) String() string

type ConfigItem

type ConfigItem struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // E.g., "configinterval"
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Timers and other per-device policy which relates to the interaction with zedcloud. Note that the timers are randomized on the device to avoid synchronization with other devices. Random range is between between .5 and 1.5 of these nominal values. If not set (i.e. zero), it means the default value of 60 seconds.

func (*ConfigItem) Descriptor deprecated

func (*ConfigItem) Descriptor() ([]byte, []int)

Deprecated: Use ConfigItem.ProtoReflect.Descriptor instead.

func (*ConfigItem) GetKey

func (x *ConfigItem) GetKey() string

func (*ConfigItem) GetValue

func (x *ConfigItem) GetValue() string

func (*ConfigItem) ProtoMessage

func (*ConfigItem) ProtoMessage()

func (*ConfigItem) ProtoReflect

func (x *ConfigItem) ProtoReflect() protoreflect.Message

func (*ConfigItem) Reset

func (x *ConfigItem) Reset()

func (*ConfigItem) String

func (x *ConfigItem) String() string

type ConfigRequest

type ConfigRequest struct {
	ConfigHash     string `protobuf:"bytes,1,opt,name=configHash,proto3" json:"configHash,omitempty"`
	IntegrityToken []byte `protobuf:"bytes,2,opt,name=integrity_token,json=integrityToken,proto3" json:"integrity_token,omitempty"` // value provided by controller during remote attestation
	// contains filtered or unexported fields
}

func (*ConfigRequest) Descriptor deprecated

func (*ConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use ConfigRequest.ProtoReflect.Descriptor instead.

func (*ConfigRequest) GetConfigHash

func (x *ConfigRequest) GetConfigHash() string

func (*ConfigRequest) GetIntegrityToken

func (x *ConfigRequest) GetIntegrityToken() []byte

func (*ConfigRequest) ProtoMessage

func (*ConfigRequest) ProtoMessage()

func (*ConfigRequest) ProtoReflect

func (x *ConfigRequest) ProtoReflect() protoreflect.Message

func (*ConfigRequest) Reset

func (x *ConfigRequest) Reset()

func (*ConfigRequest) String

func (x *ConfigRequest) String() string

type ConfigResponse

type ConfigResponse struct {
	Config     *EdgeDevConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"`
	ConfigHash string         `protobuf:"bytes,2,opt,name=configHash,proto3" json:"configHash,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfigResponse) Descriptor deprecated

func (*ConfigResponse) Descriptor() ([]byte, []int)

Deprecated: Use ConfigResponse.ProtoReflect.Descriptor instead.

func (*ConfigResponse) GetConfig

func (x *ConfigResponse) GetConfig() *EdgeDevConfig

func (*ConfigResponse) GetConfigHash

func (x *ConfigResponse) GetConfigHash() string

func (*ConfigResponse) ProtoMessage

func (*ConfigResponse) ProtoMessage()

func (*ConfigResponse) ProtoReflect

func (x *ConfigResponse) ProtoReflect() protoreflect.Message

func (*ConfigResponse) Reset

func (x *ConfigResponse) Reset()

func (*ConfigResponse) String

func (x *ConfigResponse) String() string

type ContentTree

type ContentTree struct {
	Uuid    string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	DsId    string `protobuf:"bytes,2,opt,name=dsId,proto3" json:"dsId,omitempty"` // Deprecated; You need to check the ds_ids_list
	URL     string `protobuf:"bytes,3,opt,name=URL,proto3" json:"URL,omitempty"`   // URL to append to datastore dpath
	Iformat Format `protobuf:"varint,4,opt,name=iformat,proto3,enum=org.lfedge.eve.config.Format" json:"iformat,omitempty"`
	// The sha is for the top blob of the ContentTree
	Sha256 string `protobuf:"bytes,5,opt,name=sha256,proto3" json:"sha256,omitempty"`
	// maxSizeBytes used for capping resource consumption in EVE.
	// maxSizeBytes indicates the maximum download size of content tree.
	MaxSizeBytes uint64         `protobuf:"varint,6,opt,name=maxSizeBytes,proto3" json:"maxSizeBytes,omitempty"`
	Siginfo      *SignatureInfo `protobuf:"bytes,7,opt,name=siginfo,proto3" json:"siginfo,omitempty"`
	DisplayName  string         `protobuf:"bytes,8,opt,name=displayName,proto3" json:"displayName,omitempty"` // Optional friendly name echo'ed in info
	// For container ContentTree, sha256 might not be available in config.
	// If the sha256 is not available then it needs to be resolved corresponding to the tag
	// change in generation_count indicates that the resolution of tag is needed
	// generation_count needs to be updated when purge is required for an existing
	// instance. In case of new instance using the same content tree, EVE will get
	// new content tree UUID in the device configuration from the controller.
	GenerationCount int64 `protobuf:"varint,9,opt,name=generation_count,json=generationCount,proto3" json:"generation_count,omitempty"`
	// An arbitrary string. Usage depends on the content purpose. Currently the
	// only usage is with custom application blobs (AppCustom) - this string will
	// appear in the restAPI endpoint available at http://169.254.169.254. So user
	// application can read that data and treat the blob accordingly.
	CustomMetaData string `protobuf:"bytes,10,opt,name=custom_meta_data,json=customMetaData,proto3" json:"custom_meta_data,omitempty"`
	// List of DatastoreConfig UUIDs, that must have the same content. In case of
	// network failure, the download process can fallback to the next datastore
	// in the list.
	DsIdsList []string `protobuf:"bytes,11,rep,name=ds_ids_list,json=dsIdsList,proto3" json:"ds_ids_list,omitempty"`
	// contains filtered or unexported fields
}

ContentTree describes the top of some content tree. The controller needs to allocate a uuid for it, and that uuid will be sent by EVE in the ZInfoContentTree message

func (*ContentTree) Descriptor deprecated

func (*ContentTree) Descriptor() ([]byte, []int)

Deprecated: Use ContentTree.ProtoReflect.Descriptor instead.

func (*ContentTree) GetCustomMetaData

func (x *ContentTree) GetCustomMetaData() string

func (*ContentTree) GetDisplayName

func (x *ContentTree) GetDisplayName() string

func (*ContentTree) GetDsId

func (x *ContentTree) GetDsId() string

func (*ContentTree) GetDsIdsList

func (x *ContentTree) GetDsIdsList() []string

func (*ContentTree) GetGenerationCount

func (x *ContentTree) GetGenerationCount() int64

func (*ContentTree) GetIformat

func (x *ContentTree) GetIformat() Format

func (*ContentTree) GetMaxSizeBytes

func (x *ContentTree) GetMaxSizeBytes() uint64

func (*ContentTree) GetSha256

func (x *ContentTree) GetSha256() string

func (*ContentTree) GetSiginfo

func (x *ContentTree) GetSiginfo() *SignatureInfo

func (*ContentTree) GetURL

func (x *ContentTree) GetURL() string

func (*ContentTree) GetUuid

func (x *ContentTree) GetUuid() string

func (*ContentTree) ProtoMessage

func (*ContentTree) ProtoMessage()

func (*ContentTree) ProtoReflect

func (x *ContentTree) ProtoReflect() protoreflect.Message

func (*ContentTree) Reset

func (x *ContentTree) Reset()

func (*ContentTree) String

func (x *ContentTree) String() string

type DHCPType

type DHCPType int32
const (
	DHCPType_DHCPNoop DHCPType = 0
	// Statically configure the DHCP for port
	DHCPType_Static DHCPType = 1
	// Don't run any DHCP, we are in passthrough mode for app
	DHCPType_DHCPNone DHCPType = 2
	// Run the DHCP client on this port
	DHCPType_Client DHCPType = 4
)

func (DHCPType) Descriptor

func (DHCPType) Descriptor() protoreflect.EnumDescriptor

func (DHCPType) Enum

func (x DHCPType) Enum() *DHCPType

func (DHCPType) EnumDescriptor deprecated

func (DHCPType) EnumDescriptor() ([]byte, []int)

Deprecated: Use DHCPType.Descriptor instead.

func (DHCPType) Number

func (x DHCPType) Number() protoreflect.EnumNumber

func (DHCPType) String

func (x DHCPType) String() string

func (DHCPType) Type

type DatastoreConfig

type DatastoreConfig struct {
	Id    string `protobuf:"bytes,100,opt,name=id,proto3" json:"id,omitempty"` // UUID
	DType DsType `protobuf:"varint,1,opt,name=dType,proto3,enum=org.lfedge.eve.config.DsType" json:"dType,omitempty"`
	Fqdn  string `protobuf:"bytes,2,opt,name=fqdn,proto3" json:"fqdn,omitempty"` // Fully-qualified domain name of server
	// to be deprecated, use cipherData instead
	ApiKey string `protobuf:"bytes,3,opt,name=apiKey,proto3" json:"apiKey,omitempty"`
	// to be deprecated, use cipherData instead
	Password string `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
	// depending on datastore types, it could be bucket or path
	Dpath string `protobuf:"bytes,5,opt,name=dpath,proto3" json:"dpath,omitempty"`
	// Applies for some datastore types
	Region string `protobuf:"bytes,6,opt,name=region,proto3" json:"region,omitempty"`
	// contains the encrypted credentials
	CipherData *CipherBlock `protobuf:"bytes,7,opt,name=cipherData,proto3" json:"cipherData,omitempty"`
	// Uploaded datastore certificate or certificate chain
	DsCertPEM [][]byte `protobuf:"bytes,8,rep,name=dsCertPEM,proto3" json:"dsCertPEM,omitempty"`
	// contains filtered or unexported fields
}

The DataStoreConfig contains common parameters for a give source of images aka ContentTrees, such as the credentials and server

func (*DatastoreConfig) Descriptor deprecated

func (*DatastoreConfig) Descriptor() ([]byte, []int)

Deprecated: Use DatastoreConfig.ProtoReflect.Descriptor instead.

func (*DatastoreConfig) GetApiKey

func (x *DatastoreConfig) GetApiKey() string

func (*DatastoreConfig) GetCipherData

func (x *DatastoreConfig) GetCipherData() *CipherBlock

func (*DatastoreConfig) GetDType

func (x *DatastoreConfig) GetDType() DsType

func (*DatastoreConfig) GetDpath

func (x *DatastoreConfig) GetDpath() string

func (*DatastoreConfig) GetDsCertPEM

func (x *DatastoreConfig) GetDsCertPEM() [][]byte

func (*DatastoreConfig) GetFqdn

func (x *DatastoreConfig) GetFqdn() string

func (*DatastoreConfig) GetId

func (x *DatastoreConfig) GetId() string

func (*DatastoreConfig) GetPassword

func (x *DatastoreConfig) GetPassword() string

func (*DatastoreConfig) GetRegion

func (x *DatastoreConfig) GetRegion() string

func (*DatastoreConfig) ProtoMessage

func (*DatastoreConfig) ProtoMessage()

func (*DatastoreConfig) ProtoReflect

func (x *DatastoreConfig) ProtoReflect() protoreflect.Message

func (*DatastoreConfig) Reset

func (x *DatastoreConfig) Reset()

func (*DatastoreConfig) String

func (x *DatastoreConfig) String() string

type DevDebugAccessPolicy

type DevDebugAccessPolicy struct {

	// device side of edge-view access is allowed or not
	AllowDev bool `protobuf:"varint,1,opt,name=allow_dev,json=allowDev,proto3" json:"allow_dev,omitempty"`
	// contains filtered or unexported fields
}

Dev debug policy applicable to edge-view

func (*DevDebugAccessPolicy) Descriptor deprecated

func (*DevDebugAccessPolicy) Descriptor() ([]byte, []int)

Deprecated: Use DevDebugAccessPolicy.ProtoReflect.Descriptor instead.

func (*DevDebugAccessPolicy) GetAllowDev

func (x *DevDebugAccessPolicy) GetAllowDev() bool

func (*DevDebugAccessPolicy) ProtoMessage

func (*DevDebugAccessPolicy) ProtoMessage()

func (*DevDebugAccessPolicy) ProtoReflect

func (x *DevDebugAccessPolicy) ProtoReflect() protoreflect.Message

func (*DevDebugAccessPolicy) Reset

func (x *DevDebugAccessPolicy) Reset()

func (*DevDebugAccessPolicy) String

func (x *DevDebugAccessPolicy) String() string

type DeviceOpsCmd

type DeviceOpsCmd struct {
	Counter      uint32 `protobuf:"varint,2,opt,name=counter,proto3" json:"counter,omitempty"`
	DesiredState bool   `protobuf:"varint,3,opt,name=desiredState,proto3" json:"desiredState,omitempty"`
	// FIXME: change to timestamp, once we move to gogo proto
	OpsTime string `protobuf:"bytes,4,opt,name=opsTime,proto3" json:"opsTime,omitempty"`
	// contains filtered or unexported fields
}

Device Operational Commands Semantic For rebooting device, command=Reset, counter = counter+delta, desiredState = on For poweroff device, command=Reset, counter = counter+delta, desiredState = off For backup at midnight, command=Backup, counter = counter+delta, desiredState=n/a, opsTime = mm/dd/yy:hh:ss Current implementation does support only single command outstanding for each type. In future can be extended to have more scheduled events.

func (*DeviceOpsCmd) Descriptor deprecated

func (*DeviceOpsCmd) Descriptor() ([]byte, []int)

Deprecated: Use DeviceOpsCmd.ProtoReflect.Descriptor instead.

func (*DeviceOpsCmd) GetCounter

func (x *DeviceOpsCmd) GetCounter() uint32

func (*DeviceOpsCmd) GetDesiredState

func (x *DeviceOpsCmd) GetDesiredState() bool

func (*DeviceOpsCmd) GetOpsTime

func (x *DeviceOpsCmd) GetOpsTime() string

func (*DeviceOpsCmd) ProtoMessage

func (*DeviceOpsCmd) ProtoMessage()

func (*DeviceOpsCmd) ProtoReflect

func (x *DeviceOpsCmd) ProtoReflect() protoreflect.Message

func (*DeviceOpsCmd) Reset

func (x *DeviceOpsCmd) Reset()

func (*DeviceOpsCmd) String

func (x *DeviceOpsCmd) String() string

type DiskConfig

type DiskConfig struct {
	Disk *evecommon.DiskDescription `protobuf:"bytes,1,opt,name=disk,proto3" json:"disk,omitempty"`
	// define old disk here to replace it with new one defined in disk, omit it to not use replacement
	OldDisk    *evecommon.DiskDescription `protobuf:"bytes,2,opt,name=old_disk,json=oldDisk,proto3" json:"old_disk,omitempty"`
	DiskConfig DiskConfigType             `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

DiskConfig describe desired configuration of disk If we want change state to online/offline we should define its state If we want to add disk we should define it here and set DiskConfigType to online or offline If we want to remove disk we should set its state to unused or appdirect If we want to replace disk we should fill old_disk to be replaced with disk Progress of operation is expected to be available in info messages

func (*DiskConfig) Descriptor deprecated

func (*DiskConfig) Descriptor() ([]byte, []int)

Deprecated: Use DiskConfig.ProtoReflect.Descriptor instead.

func (*DiskConfig) GetDisk

func (x *DiskConfig) GetDisk() *evecommon.DiskDescription

func (*DiskConfig) GetDiskConfig

func (x *DiskConfig) GetDiskConfig() DiskConfigType

func (*DiskConfig) GetOldDisk

func (x *DiskConfig) GetOldDisk() *evecommon.DiskDescription

func (*DiskConfig) ProtoMessage

func (*DiskConfig) ProtoMessage()

func (*DiskConfig) ProtoReflect

func (x *DiskConfig) ProtoReflect() protoreflect.Message

func (*DiskConfig) Reset

func (x *DiskConfig) Reset()

func (*DiskConfig) String

func (x *DiskConfig) String() string

type DiskConfigType

type DiskConfigType int32

DiskConfigType is the desired configuration of disks

const (
	DiskConfigType_DISK_CONFIG_TYPE_UNSPECIFIED DiskConfigType = 0 // no configured, do nothing
	DiskConfigType_DISK_CONFIG_TYPE_EVEOS       DiskConfigType = 1 // the disk EVE is installed on
	DiskConfigType_DISK_CONFIG_TYPE_PERSIST     DiskConfigType = 2 // the disk is separate persist partition, not zfs
	DiskConfigType_DISK_CONFIG_TYPE_ZFS_ONLINE  DiskConfigType = 3 // included in zfs and online
	DiskConfigType_DISK_CONFIG_TYPE_ZFS_OFFLINE DiskConfigType = 4 // included in zfs and offline
	DiskConfigType_DISK_CONFIG_TYPE_APPDIRECT   DiskConfigType = 5 // for direct assignment
	DiskConfigType_DISK_CONFIG_TYPE_UNUSED      DiskConfigType = 6 // removed from zfs/app-direct
)

func (DiskConfigType) Descriptor

func (DiskConfigType) Enum

func (x DiskConfigType) Enum() *DiskConfigType

func (DiskConfigType) EnumDescriptor deprecated

func (DiskConfigType) EnumDescriptor() ([]byte, []int)

Deprecated: Use DiskConfigType.Descriptor instead.

func (DiskConfigType) Number

func (DiskConfigType) String

func (x DiskConfigType) String() string

func (DiskConfigType) Type

type DisksArrayType

type DisksArrayType int32

DisksArrayType is the desired configuration of disks in DisksConfig

const (
	DisksArrayType_DISKS_ARRAY_TYPE_UNSPECIFIED DisksArrayType = 0 // no configured
	DisksArrayType_DISKS_ARRAY_TYPE_RAID0       DisksArrayType = 1 // stripe
	DisksArrayType_DISKS_ARRAY_TYPE_RAID1       DisksArrayType = 2 // mirror
	DisksArrayType_DISKS_ARRAY_TYPE_RAID5       DisksArrayType = 3 // raidz1
	DisksArrayType_DISKS_ARRAY_TYPE_RAID6       DisksArrayType = 4 // raidz2
)

func (DisksArrayType) Descriptor

func (DisksArrayType) Enum

func (x DisksArrayType) Enum() *DisksArrayType

func (DisksArrayType) EnumDescriptor deprecated

func (DisksArrayType) EnumDescriptor() ([]byte, []int)

Deprecated: Use DisksArrayType.Descriptor instead.

func (DisksArrayType) Number

func (DisksArrayType) String

func (x DisksArrayType) String() string

func (DisksArrayType) Type

type DisksConfig

type DisksConfig struct {
	Disks     []*DiskConfig  `protobuf:"bytes,1,rep,name=disks,proto3" json:"disks,omitempty"`
	ArrayType DisksArrayType `` /* 131-byte string literal not displayed */
	Children  []*DisksConfig `protobuf:"bytes,3,rep,name=children,proto3" json:"children,omitempty"`
	// contains filtered or unexported fields
}

DisksConfig is a configuration of disks We expect information about disks to be filled and will try to adjust disks states accordingly All disks defined in disks field expected to have array type defined in array_type To support nested topologies we can use children field

For example to use stripe of two pairs of mirrored disks we should define DisksConfig without disks with array_type DISKS_ARRAY_TYPE_RAID0 with two children with properly defined disks inside and with array_type DISKS_ARRAY_TYPE_RAID1 and empty children

func (*DisksConfig) Descriptor deprecated

func (*DisksConfig) Descriptor() ([]byte, []int)

Deprecated: Use DisksConfig.ProtoReflect.Descriptor instead.

func (*DisksConfig) GetArrayType

func (x *DisksConfig) GetArrayType() DisksArrayType

func (*DisksConfig) GetChildren

func (x *DisksConfig) GetChildren() []*DisksConfig

func (*DisksConfig) GetDisks

func (x *DisksConfig) GetDisks() []*DiskConfig

func (*DisksConfig) ProtoMessage

func (*DisksConfig) ProtoMessage()

func (*DisksConfig) ProtoReflect

func (x *DisksConfig) ProtoReflect() protoreflect.Message

func (*DisksConfig) Reset

func (x *DisksConfig) Reset()

func (*DisksConfig) String

func (x *DisksConfig) String() string

type Drive

type Drive struct {
	Image    *Image    `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
	Readonly bool      `protobuf:"varint,5,opt,name=readonly,proto3" json:"readonly,omitempty"`
	Preserve bool      `protobuf:"varint,6,opt,name=preserve,proto3" json:"preserve,omitempty"` // XXX deprecate; EVE always preserves unless there is a purge
	Drvtype  DriveType `protobuf:"varint,8,opt,name=drvtype,proto3,enum=org.lfedge.eve.config.DriveType" json:"drvtype,omitempty"`
	Target   Target    `protobuf:"varint,9,opt,name=target,proto3,enum=org.lfedge.eve.config.Target" json:"target,omitempty"`
	// maxsizebytes indicates the maximum size of the volume.
	// Initial image size will be resized to the maxsizebytes
	// iff maxsizebytes is greater than the image size.
	Maxsizebytes int64 `protobuf:"varint,10,opt,name=maxsizebytes,proto3" json:"maxsizebytes,omitempty"`
	// contains filtered or unexported fields
}

XXX the Drive will be deprecated and we will use Volumes instead

func (*Drive) Descriptor deprecated

func (*Drive) Descriptor() ([]byte, []int)

Deprecated: Use Drive.ProtoReflect.Descriptor instead.

func (*Drive) GetDrvtype

func (x *Drive) GetDrvtype() DriveType

func (*Drive) GetImage

func (x *Drive) GetImage() *Image

func (*Drive) GetMaxsizebytes

func (x *Drive) GetMaxsizebytes() int64

func (*Drive) GetPreserve

func (x *Drive) GetPreserve() bool

func (*Drive) GetReadonly

func (x *Drive) GetReadonly() bool

func (*Drive) GetTarget

func (x *Drive) GetTarget() Target

func (*Drive) ProtoMessage

func (*Drive) ProtoMessage()

func (*Drive) ProtoReflect

func (x *Drive) ProtoReflect() protoreflect.Message

func (*Drive) Reset

func (x *Drive) Reset()

func (*Drive) String

func (x *Drive) String() string

type DriveType

type DriveType int32

XXX the DriveType will be deprecated when we deprecate Drive

const (
	DriveType_Unclassified DriveType = 0
	DriveType_CDROM        DriveType = 1
	DriveType_HDD          DriveType = 2
	DriveType_NET          DriveType = 3
	// this type is allocate the empty disk of maxsizebytes specified
	DriveType_HDD_EMPTY DriveType = 4
)

func (DriveType) Descriptor

func (DriveType) Descriptor() protoreflect.EnumDescriptor

func (DriveType) Enum

func (x DriveType) Enum() *DriveType

func (DriveType) EnumDescriptor deprecated

func (DriveType) EnumDescriptor() ([]byte, []int)

Deprecated: Use DriveType.Descriptor instead.

func (DriveType) Number

func (x DriveType) Number() protoreflect.EnumNumber

func (DriveType) String

func (x DriveType) String() string

func (DriveType) Type

type DsType

type DsType int32
const (
	DsType_DsUnknown           DsType = 0
	DsType_DsHttp              DsType = 1
	DsType_DsHttps             DsType = 2
	DsType_DsS3                DsType = 3
	DsType_DsSFTP              DsType = 4
	DsType_DsContainerRegistry DsType = 5
	DsType_DsAzureBlob         DsType = 6
	DsType_DsGoogleStorage     DsType = 7
)

func (DsType) Descriptor

func (DsType) Descriptor() protoreflect.EnumDescriptor

func (DsType) Enum

func (x DsType) Enum() *DsType

func (DsType) EnumDescriptor deprecated

func (DsType) EnumDescriptor() ([]byte, []int)

Deprecated: Use DsType.Descriptor instead.

func (DsType) Number

func (x DsType) Number() protoreflect.EnumNumber

func (DsType) String

func (x DsType) String() string

func (DsType) Type

func (DsType) Type() protoreflect.EnumType

type EdgeDevConfig

type EdgeDevConfig struct {
	Id         *UUIDandVersion      `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Apps       []*AppInstanceConfig `protobuf:"bytes,4,rep,name=apps,proto3" json:"apps,omitempty"`
	Networks   []*NetworkConfig     `protobuf:"bytes,5,rep,name=networks,proto3" json:"networks,omitempty"`
	Datastores []*DatastoreConfig   `protobuf:"bytes,6,rep,name=datastores,proto3" json:"datastores,omitempty"`
	// OBSOLETE - base. Use baseos instead. Controller should fill this for
	// backward compatibility till all the Older Eve images are no longer
	// supported.
	Base        []*BaseOSConfig `protobuf:"bytes,8,rep,name=base,proto3" json:"base,omitempty"` // BaseOSImage config block
	Reboot      *DeviceOpsCmd   `protobuf:"bytes,9,opt,name=reboot,proto3" json:"reboot,omitempty"`
	Backup      *DeviceOpsCmd   `protobuf:"bytes,10,opt,name=backup,proto3" json:"backup,omitempty"`
	ConfigItems []*ConfigItem   `protobuf:"bytes,11,rep,name=configItems,proto3" json:"configItems,omitempty"`
	// systemAdapterList - List of DeviceNetworkAdapters. Only Network
	//
	//	adapters ( Ex: eth0, wlan1 etc ) have a corresponding SystemAdapter.
	//
	// non-Network adapters do not have systemadapters.
	SystemAdapterList []*SystemAdapter `protobuf:"bytes,12,rep,name=systemAdapterList,proto3" json:"systemAdapterList,omitempty"`
	// deviceIoList - List of Physical Adapters. Includes both Network
	//
	//	Adapters and Non-Network Adapters ( USB / Com etc )
	DeviceIoList []*PhysicalIO `protobuf:"bytes,13,rep,name=deviceIoList,proto3" json:"deviceIoList,omitempty"`
	// Override dmidecode info if set
	Manufacturer     string                   `protobuf:"bytes,14,opt,name=manufacturer,proto3" json:"manufacturer,omitempty"`
	ProductName      string                   `protobuf:"bytes,15,opt,name=productName,proto3" json:"productName,omitempty"`
	NetworkInstances []*NetworkInstanceConfig `protobuf:"bytes,16,rep,name=networkInstances,proto3" json:"networkInstances,omitempty"`
	// controller supplies a list of cipher contexts,
	// containing certificate and other details, to be
	// used for sensitive data decryption
	CipherContexts []*CipherContext `protobuf:"bytes,19,rep,name=cipherContexts,proto3" json:"cipherContexts,omitempty"`
	// These images aka ContentTrees and Volumes should be created by EVE
	// independently of any application usage.
	// Application instances will refer to the volumes.
	ContentInfo []*ContentTree `protobuf:"bytes,20,rep,name=contentInfo,proto3" json:"contentInfo,omitempty"`
	Volumes     []*Volume      `protobuf:"bytes,21,rep,name=volumes,proto3" json:"volumes,omitempty"`
	// This field is used by the device to detect when it needs to re-download
	// the controller certs using the /certs API endpoint.
	// The controller just needs to ensure this value changes when it wants the
	// device to re-fetch the controller certs, for instance by having it
	// be a hash of all of the controller certificates.
	ControllercertConfighash string `` /* 134-byte string literal not displayed */
	// deprecated 23;
	// If maintence_mode is set the device will operate in a limited mode e.g.,
	// not start applications etc as to enable inspection of its state and
	// recover from bad state.
	MaintenanceMode bool `protobuf:"varint,24,opt,name=maintenance_mode,json=maintenanceMode,proto3" json:"maintenance_mode,omitempty"`
	// controller_epoch indicates current epoch of config
	// if we set new epoch, EVE sends all info messages to controller
	// it captures when a new controller takes over and needs all the info be resent
	ControllerEpoch int64 `protobuf:"varint,25,opt,name=controller_epoch,json=controllerEpoch,proto3" json:"controller_epoch,omitempty"`
	// Baseos Config Block
	Baseos *BaseOS `protobuf:"bytes,26,opt,name=baseos,proto3" json:"baseos,omitempty"`
	// global_profile, if set, controls set of applications which will run.
	// The Activate=true app instances which have this profile in their profile_list
	// will run. If the global_profile is not set, then the profile_list is not
	// used to gate the application instances.
	GlobalProfile string `protobuf:"bytes,27,opt,name=global_profile,json=globalProfile,proto3" json:"global_profile,omitempty"`
	// local_profile_server, if set, indicates a hostname/IPv4/IPv6 address and
	// optional port number at which EVE will request for a local profile.
	// If such a local profile is retrieved, it will override the global_profile.
	// The syntax follows the usual URL server name syntax thus the following
	// are example valid strings:
	//
	//	[fe80::1]:1234
	//	10.1.1.1:1234
	//	hostname:1234
	//	[fe80::1]
	//	10.1.1.1
	//	hostname
	//
	// If the port number is not specified, it will default to 8888
	LocalProfileServer string `protobuf:"bytes,28,opt,name=local_profile_server,json=localProfileServer,proto3" json:"local_profile_server,omitempty"`
	// Together with a local_profile_server one can specify a
	// profile_server_token. EVE must verify that the response from the
	// local_profile_server contains this token.
	ProfileServerToken string `protobuf:"bytes,29,opt,name=profile_server_token,json=profileServerToken,proto3" json:"profile_server_token,omitempty"`
	// A list of VLAN sub-interfaces configured for EVE management traffic and
	// for local network instances.
	Vlans []*VlanAdapter `protobuf:"bytes,30,rep,name=vlans,proto3" json:"vlans,omitempty"`
	// A list of bond interfaces (LAGs) aggregating physical network adapters.
	Bonds []*BondAdapter `protobuf:"bytes,31,rep,name=bonds,proto3" json:"bonds,omitempty"`
	// edge-view configuration
	Edgeview *EdgeViewConfig `protobuf:"bytes,32,opt,name=edgeview,proto3" json:"edgeview,omitempty"`
	// disks configuration
	Disks *DisksConfig `protobuf:"bytes,33,opt,name=disks,proto3" json:"disks,omitempty"`
	// Graceful shutdown of all app instances on the edge node.
	// Any local profile server is shut down after all the other app instances
	// have halted.
	// Note that this does not power off the edge node since there is no remote
	// power on capability; power off can be done locally using the Local Profile
	// Server API.
	Shutdown       *DeviceOpsCmd `protobuf:"bytes,34,opt,name=shutdown,proto3" json:"shutdown,omitempty"`
	DeviceName     string        `protobuf:"bytes,35,opt,name=device_name,json=deviceName,proto3" json:"device_name,omitempty"`
	ProjectName    string        `protobuf:"bytes,36,opt,name=project_name,json=projectName,proto3" json:"project_name,omitempty"`
	ProjectId      string        `protobuf:"bytes,37,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	EnterpriseName string        `protobuf:"bytes,38,opt,name=enterprise_name,json=enterpriseName,proto3" json:"enterprise_name,omitempty"`
	EnterpriseId   string        `protobuf:"bytes,39,opt,name=enterprise_id,json=enterpriseId,proto3" json:"enterprise_id,omitempty"`
	// Timestamp updated by controller whenever device config is modified.
	// Used by EVE to properly order configurations that originate at the same controller
	// but get submitted to device through different ways:
	//
	//	/config API vs. initial config for bootstrapping vs. USB-based config override etc.
	//
	// This ensures that device will not accidentally revert back to an older configuration.
	// Does not apply to legacy override.json and usb.json mechanisms.
	ConfigTimestamp *timestamppb.Timestamp `protobuf:"bytes,40,opt,name=config_timestamp,json=configTimestamp,proto3" json:"config_timestamp,omitempty"`
	// Configuration of the Local Operator Console (LOC)
	LocConfig *LOCConfig `protobuf:"bytes,41,opt,name=loc_config,json=locConfig,proto3" json:"loc_config,omitempty"`
	// contains filtered or unexported fields
}

 This is the response to a GET /api/v1/edgeDevice/config The EdgeDevConfig message carries all of the device's configuration from the controller to the device. The device will request these messages either periodically or as a result of some TBD notification. The message is assumed to be protected by a TLS session bound to the device certificate.

func (*EdgeDevConfig) Descriptor deprecated

func (*EdgeDevConfig) Descriptor() ([]byte, []int)

Deprecated: Use EdgeDevConfig.ProtoReflect.Descriptor instead.

func (*EdgeDevConfig) GetApps

func (x *EdgeDevConfig) GetApps() []*AppInstanceConfig

func (*EdgeDevConfig) GetBackup

func (x *EdgeDevConfig) GetBackup() *DeviceOpsCmd

func (*EdgeDevConfig) GetBase

func (x *EdgeDevConfig) GetBase() []*BaseOSConfig

func (*EdgeDevConfig) GetBaseos

func (x *EdgeDevConfig) GetBaseos() *BaseOS

func (*EdgeDevConfig) GetBonds

func (x *EdgeDevConfig) GetBonds() []*BondAdapter

func (*EdgeDevConfig) GetCipherContexts

func (x *EdgeDevConfig) GetCipherContexts() []*CipherContext

func (*EdgeDevConfig) GetConfigItems

func (x *EdgeDevConfig) GetConfigItems() []*ConfigItem

func (*EdgeDevConfig) GetConfigTimestamp

func (x *EdgeDevConfig) GetConfigTimestamp() *timestamppb.Timestamp

func (*EdgeDevConfig) GetContentInfo

func (x *EdgeDevConfig) GetContentInfo() []*ContentTree

func (*EdgeDevConfig) GetControllerEpoch

func (x *EdgeDevConfig) GetControllerEpoch() int64

func (*EdgeDevConfig) GetControllercertConfighash

func (x *EdgeDevConfig) GetControllercertConfighash() string

func (*EdgeDevConfig) GetDatastores

func (x *EdgeDevConfig) GetDatastores() []*DatastoreConfig

func (*EdgeDevConfig) GetDeviceIoList

func (x *EdgeDevConfig) GetDeviceIoList() []*PhysicalIO

func (*EdgeDevConfig) GetDeviceName

func (x *EdgeDevConfig) GetDeviceName() string

func (*EdgeDevConfig) GetDisks

func (x *EdgeDevConfig) GetDisks() *DisksConfig

func (*EdgeDevConfig) GetEdgeview

func (x *EdgeDevConfig) GetEdgeview() *EdgeViewConfig

func (*EdgeDevConfig) GetEnterpriseId

func (x *EdgeDevConfig) GetEnterpriseId() string

func (*EdgeDevConfig) GetEnterpriseName

func (x *EdgeDevConfig) GetEnterpriseName() string

func (*EdgeDevConfig) GetGlobalProfile

func (x *EdgeDevConfig) GetGlobalProfile() string

func (*EdgeDevConfig) GetId

func (x *EdgeDevConfig) GetId() *UUIDandVersion

func (*EdgeDevConfig) GetLocConfig

func (x *EdgeDevConfig) GetLocConfig() *LOCConfig

func (*EdgeDevConfig) GetLocalProfileServer

func (x *EdgeDevConfig) GetLocalProfileServer() string

func (*EdgeDevConfig) GetMaintenanceMode

func (x *EdgeDevConfig) GetMaintenanceMode() bool

func (*EdgeDevConfig) GetManufacturer

func (x *EdgeDevConfig) GetManufacturer() string

func (*EdgeDevConfig) GetNetworkInstances

func (x *EdgeDevConfig) GetNetworkInstances() []*NetworkInstanceConfig

func (*EdgeDevConfig) GetNetworks

func (x *EdgeDevConfig) GetNetworks() []*NetworkConfig

func (*EdgeDevConfig) GetProductName

func (x *EdgeDevConfig) GetProductName() string

func (*EdgeDevConfig) GetProfileServerToken

func (x *EdgeDevConfig) GetProfileServerToken() string

func (*EdgeDevConfig) GetProjectId

func (x *EdgeDevConfig) GetProjectId() string

func (*EdgeDevConfig) GetProjectName

func (x *EdgeDevConfig) GetProjectName() string

func (*EdgeDevConfig) GetReboot

func (x *EdgeDevConfig) GetReboot() *DeviceOpsCmd

func (*EdgeDevConfig) GetShutdown

func (x *EdgeDevConfig) GetShutdown() *DeviceOpsCmd

func (*EdgeDevConfig) GetSystemAdapterList

func (x *EdgeDevConfig) GetSystemAdapterList() []*SystemAdapter

func (*EdgeDevConfig) GetVlans

func (x *EdgeDevConfig) GetVlans() []*VlanAdapter

func (*EdgeDevConfig) GetVolumes

func (x *EdgeDevConfig) GetVolumes() []*Volume

func (*EdgeDevConfig) ProtoMessage

func (*EdgeDevConfig) ProtoMessage()

func (*EdgeDevConfig) ProtoReflect

func (x *EdgeDevConfig) ProtoReflect() protoreflect.Message

func (*EdgeDevConfig) Reset

func (x *EdgeDevConfig) Reset()

func (*EdgeDevConfig) String

func (x *EdgeDevConfig) String() string

type EdgeViewConfig

type EdgeViewConfig struct {

	// JWT token for signed info, it contains the dispatcher
	// endpoint IP:Port, device UUID, nonce and expiration time
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// dispatcher certificate(s) if it's not well-known CA signed
	DispCertPem [][]byte `protobuf:"bytes,2,rep,name=disp_cert_pem,json=dispCertPem,proto3" json:"disp_cert_pem,omitempty"`
	// policy for device access through edge-view
	DevPolicy *DevDebugAccessPolicy `protobuf:"bytes,3,opt,name=dev_policy,json=devPolicy,proto3" json:"dev_policy,omitempty"`
	// policy access for apps through edge-view
	AppPolicy *AppDebugAccessPolicy `protobuf:"bytes,4,opt,name=app_policy,json=appPolicy,proto3" json:"app_policy,omitempty"`
	// policy access for external endpoint through edge-view
	ExtPolicy *ExternalEndPointPolicy `protobuf:"bytes,5,opt,name=ext_policy,json=extPolicy,proto3" json:"ext_policy,omitempty"`
	// Generation ID for re-start edgeview without parameter changes
	GenerationId uint32 `protobuf:"varint,6,opt,name=generation_id,json=generationId,proto3" json:"generation_id,omitempty"`
	// contains filtered or unexported fields
}

func (*EdgeViewConfig) Descriptor deprecated

func (*EdgeViewConfig) Descriptor() ([]byte, []int)

Deprecated: Use EdgeViewConfig.ProtoReflect.Descriptor instead.

func (*EdgeViewConfig) GetAppPolicy

func (x *EdgeViewConfig) GetAppPolicy() *AppDebugAccessPolicy

func (*EdgeViewConfig) GetDevPolicy

func (x *EdgeViewConfig) GetDevPolicy() *DevDebugAccessPolicy

func (*EdgeViewConfig) GetDispCertPem

func (x *EdgeViewConfig) GetDispCertPem() [][]byte

func (*EdgeViewConfig) GetExtPolicy

func (x *EdgeViewConfig) GetExtPolicy() *ExternalEndPointPolicy

func (*EdgeViewConfig) GetGenerationId

func (x *EdgeViewConfig) GetGenerationId() uint32

func (*EdgeViewConfig) GetToken

func (x *EdgeViewConfig) GetToken() string

func (*EdgeViewConfig) ProtoMessage

func (*EdgeViewConfig) ProtoMessage()

func (*EdgeViewConfig) ProtoReflect

func (x *EdgeViewConfig) ProtoReflect() protoreflect.Message

func (*EdgeViewConfig) Reset

func (x *EdgeViewConfig) Reset()

func (*EdgeViewConfig) String

func (x *EdgeViewConfig) String() string

type EncryptionBlock

type EncryptionBlock struct {
	DsAPIKey          string `protobuf:"bytes,1,opt,name=dsAPIKey,proto3" json:"dsAPIKey,omitempty"`
	DsPassword        string `protobuf:"bytes,2,opt,name=dsPassword,proto3" json:"dsPassword,omitempty"`
	WifiUserName      string `protobuf:"bytes,3,opt,name=wifiUserName,proto3" json:"wifiUserName,omitempty"` // If the authentication type is EAP
	WifiPassword      string `protobuf:"bytes,4,opt,name=wifiPassword,proto3" json:"wifiPassword,omitempty"`
	ProtectedUserData string `protobuf:"bytes,5,opt,name=protectedUserData,proto3" json:"protectedUserData,omitempty"`
	// Username for cellular network.
	CellularNetUsername string `protobuf:"bytes,6,opt,name=cellular_net_username,json=cellularNetUsername,proto3" json:"cellular_net_username,omitempty"`
	// Password for cellular network.
	CellularNetPassword string `protobuf:"bytes,7,opt,name=cellular_net_password,json=cellularNetPassword,proto3" json:"cellular_net_password,omitempty"`
	// contains filtered or unexported fields
}

This message will be filled with the details to be encrypted and shared across wire for data in transit, by the controller for encryption

func (*EncryptionBlock) Descriptor deprecated

func (*EncryptionBlock) Descriptor() ([]byte, []int)

Deprecated: Use EncryptionBlock.ProtoReflect.Descriptor instead.

func (*EncryptionBlock) GetCellularNetPassword

func (x *EncryptionBlock) GetCellularNetPassword() string

func (*EncryptionBlock) GetCellularNetUsername

func (x *EncryptionBlock) GetCellularNetUsername() string

func (*EncryptionBlock) GetDsAPIKey

func (x *EncryptionBlock) GetDsAPIKey() string

func (*EncryptionBlock) GetDsPassword

func (x *EncryptionBlock) GetDsPassword() string

func (*EncryptionBlock) GetProtectedUserData

func (x *EncryptionBlock) GetProtectedUserData() string

func (*EncryptionBlock) GetWifiPassword

func (x *EncryptionBlock) GetWifiPassword() string

func (*EncryptionBlock) GetWifiUserName

func (x *EncryptionBlock) GetWifiUserName() string

func (*EncryptionBlock) ProtoMessage

func (*EncryptionBlock) ProtoMessage()

func (*EncryptionBlock) ProtoReflect

func (x *EncryptionBlock) ProtoReflect() protoreflect.Message

func (*EncryptionBlock) Reset

func (x *EncryptionBlock) Reset()

func (*EncryptionBlock) String

func (x *EncryptionBlock) String() string

type EncryptionScheme

type EncryptionScheme int32

Encryption Scheme for Cipher Payload

const (
	EncryptionScheme_SA_NONE        EncryptionScheme = 0
	EncryptionScheme_SA_AES_256_CFB EncryptionScheme = 1
)

func (EncryptionScheme) Descriptor

func (EncryptionScheme) Enum

func (EncryptionScheme) EnumDescriptor deprecated

func (EncryptionScheme) EnumDescriptor() ([]byte, []int)

Deprecated: Use EncryptionScheme.Descriptor instead.

func (EncryptionScheme) Number

func (EncryptionScheme) String

func (x EncryptionScheme) String() string

func (EncryptionScheme) Type

type EthVF

type EthVF struct {
	Index  uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	Mac    string `protobuf:"bytes,2,opt,name=mac,proto3" json:"mac,omitempty"`
	VlanId uint32 `protobuf:"varint,3,opt,name=vlan_id,json=vlanId,proto3" json:"vlan_id,omitempty"`
	// contains filtered or unexported fields
}

Information regarding Virtual Function (VF) customisation

func (*EthVF) Descriptor deprecated

func (*EthVF) Descriptor() ([]byte, []int)

Deprecated: Use EthVF.ProtoReflect.Descriptor instead.

func (*EthVF) GetIndex

func (x *EthVF) GetIndex() uint32

func (*EthVF) GetMac

func (x *EthVF) GetMac() string

func (*EthVF) GetVlanId

func (x *EthVF) GetVlanId() uint32

func (*EthVF) ProtoMessage

func (*EthVF) ProtoMessage()

func (*EthVF) ProtoReflect

func (x *EthVF) ProtoReflect() protoreflect.Message

func (*EthVF) Reset

func (x *EthVF) Reset()

func (*EthVF) String

func (x *EthVF) String() string

type ExternalEndPointPolicy

type ExternalEndPointPolicy struct {

	// external of device side of edge-view access is allowed or not
	AllowExt bool `protobuf:"varint,1,opt,name=allow_ext,json=allowExt,proto3" json:"allow_ext,omitempty"`
	// contains filtered or unexported fields
}

External Endpoint applicable to edge-view To mean the entity external to the device, e.g. a local-profile server on the LAN outside of mgmt or app-shared ports. since it's not part of EVE, and not part of EVE applications. In the EdgeView code, if tcp session setup is to an address we don't have, it identifies the request as 'external'

func (*ExternalEndPointPolicy) Descriptor deprecated

func (*ExternalEndPointPolicy) Descriptor() ([]byte, []int)

Deprecated: Use ExternalEndPointPolicy.ProtoReflect.Descriptor instead.

func (*ExternalEndPointPolicy) GetAllowExt

func (x *ExternalEndPointPolicy) GetAllowExt() bool

func (*ExternalEndPointPolicy) ProtoMessage

func (*ExternalEndPointPolicy) ProtoMessage()

func (*ExternalEndPointPolicy) ProtoReflect

func (x *ExternalEndPointPolicy) ProtoReflect() protoreflect.Message

func (*ExternalEndPointPolicy) Reset

func (x *ExternalEndPointPolicy) Reset()

func (*ExternalEndPointPolicy) String

func (x *ExternalEndPointPolicy) String() string

type Format

type Format int32
const (
	Format_FmtUnknown Format = 0
	Format_RAW        Format = 1
	Format_QCOW       Format = 2
	Format_QCOW2      Format = 3
	Format_VHD        Format = 4
	Format_VMDK       Format = 5
	Format_OVA        Format = 6
	Format_VHDX       Format = 7
	Format_CONTAINER  Format = 8
	Format_ISO        Format = 9
)

func (Format) Descriptor

func (Format) Descriptor() protoreflect.EnumDescriptor

func (Format) Enum

func (x Format) Enum() *Format

func (Format) EnumDescriptor deprecated

func (Format) EnumDescriptor() ([]byte, []int)

Deprecated: Use Format.Descriptor instead.

func (Format) Number

func (x Format) Number() protoreflect.EnumNumber

func (Format) String

func (x Format) String() string

func (Format) Type

func (Format) Type() protoreflect.EnumType

type Image

type Image struct {
	Uuidandversion *UUIDandVersion `protobuf:"bytes,1,opt,name=uuidandversion,proto3" json:"uuidandversion,omitempty"`
	// it could be relative path/name as well; appended to the datastore dpath
	Name    string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Sha256  string `protobuf:"bytes,3,opt,name=sha256,proto3" json:"sha256,omitempty"` // EVE will verify this sha for the content
	Iformat Format `protobuf:"varint,4,opt,name=iformat,proto3,enum=org.lfedge.eve.config.Format" json:"iformat,omitempty"`
	// if its signed image
	Siginfo *SignatureInfo `protobuf:"bytes,5,opt,name=siginfo,proto3" json:"siginfo,omitempty"`
	DsId    string         `protobuf:"bytes,6,opt,name=dsId,proto3" json:"dsId,omitempty"` // Datastore UUID
	// sizeBytes indicates the maximum download size of an image.
	// A value of 0 will indicate the unlimited download.
	SizeBytes int64 `protobuf:"varint,8,opt,name=sizeBytes,proto3" json:"sizeBytes,omitempty"`
	// contains filtered or unexported fields
}

XXX the Image will be deprecated and we will use ContentTree instead

func (*Image) Descriptor deprecated

func (*Image) Descriptor() ([]byte, []int)

Deprecated: Use Image.ProtoReflect.Descriptor instead.

func (*Image) GetDsId

func (x *Image) GetDsId() string

func (*Image) GetIformat

func (x *Image) GetIformat() Format

func (*Image) GetName

func (x *Image) GetName() string

func (*Image) GetSha256

func (x *Image) GetSha256() string

func (*Image) GetSiginfo

func (x *Image) GetSiginfo() *SignatureInfo

func (*Image) GetSizeBytes

func (x *Image) GetSizeBytes() int64

func (*Image) GetUuidandversion

func (x *Image) GetUuidandversion() *UUIDandVersion

func (*Image) ProtoMessage

func (*Image) ProtoMessage()

func (*Image) ProtoReflect

func (x *Image) ProtoReflect() protoreflect.Message

func (*Image) Reset

func (x *Image) Reset()

func (*Image) String

func (x *Image) String() string

type InstanceOpsCmd

type InstanceOpsCmd struct {
	Counter uint32 `protobuf:"varint,2,opt,name=counter,proto3" json:"counter,omitempty"`
	OpsTime string `protobuf:"bytes,4,opt,name=opsTime,proto3" json:"opsTime,omitempty"` // Not currently used
	// contains filtered or unexported fields
}

func (*InstanceOpsCmd) Descriptor deprecated

func (*InstanceOpsCmd) Descriptor() ([]byte, []int)

Deprecated: Use InstanceOpsCmd.ProtoReflect.Descriptor instead.

func (*InstanceOpsCmd) GetCounter

func (x *InstanceOpsCmd) GetCounter() uint32

func (*InstanceOpsCmd) GetOpsTime

func (x *InstanceOpsCmd) GetOpsTime() string

func (*InstanceOpsCmd) ProtoMessage

func (*InstanceOpsCmd) ProtoMessage()

func (*InstanceOpsCmd) ProtoReflect

func (x *InstanceOpsCmd) ProtoReflect() protoreflect.Message

func (*InstanceOpsCmd) Reset

func (x *InstanceOpsCmd) Reset()

func (*InstanceOpsCmd) String

func (x *InstanceOpsCmd) String() string

type IpRange

type IpRange struct {
	Start string `protobuf:"bytes,1,opt,name=start,proto3" json:"start,omitempty"`
	End   string `protobuf:"bytes,2,opt,name=end,proto3" json:"end,omitempty"`
	// contains filtered or unexported fields
}

func (*IpRange) Descriptor deprecated

func (*IpRange) Descriptor() ([]byte, []int)

Deprecated: Use IpRange.ProtoReflect.Descriptor instead.

func (*IpRange) GetEnd

func (x *IpRange) GetEnd() string

func (*IpRange) GetStart

func (x *IpRange) GetStart() string

func (*IpRange) ProtoMessage

func (*IpRange) ProtoMessage()

func (*IpRange) ProtoReflect

func (x *IpRange) ProtoReflect() protoreflect.Message

func (*IpRange) Reset

func (x *IpRange) Reset()

func (*IpRange) String

func (x *IpRange) String() string

type Ipspec

type Ipspec struct {
	Dhcp DHCPType `protobuf:"varint,2,opt,name=dhcp,proto3,enum=org.lfedge.eve.config.DHCPType" json:"dhcp,omitempty"`
	// subnet is CIDR format...x.y.z.l/nn
	Subnet  string   `protobuf:"bytes,3,opt,name=subnet,proto3" json:"subnet,omitempty"`
	Gateway string   `protobuf:"bytes,5,opt,name=gateway,proto3" json:"gateway,omitempty"`
	Domain  string   `protobuf:"bytes,6,opt,name=domain,proto3" json:"domain,omitempty"`
	Ntp     string   `protobuf:"bytes,7,opt,name=ntp,proto3" json:"ntp,omitempty"`
	Dns     []string `protobuf:"bytes,8,rep,name=dns,proto3" json:"dns,omitempty"`
	// for IPAM management when dhcp is turned on.
	// If none provided, system will default pool.
	DhcpRange *IpRange `protobuf:"bytes,9,opt,name=dhcpRange,proto3" json:"dhcpRange,omitempty"`
	// contains filtered or unexported fields
}

Common for IPv4 and IPv6

func (*Ipspec) Descriptor deprecated

func (*Ipspec) Descriptor() ([]byte, []int)

Deprecated: Use Ipspec.ProtoReflect.Descriptor instead.

func (*Ipspec) GetDhcp

func (x *Ipspec) GetDhcp() DHCPType

func (*Ipspec) GetDhcpRange

func (x *Ipspec) GetDhcpRange() *IpRange

func (*Ipspec) GetDns

func (x *Ipspec) GetDns() []string

func (*Ipspec) GetDomain

func (x *Ipspec) GetDomain() string

func (*Ipspec) GetGateway

func (x *Ipspec) GetGateway() string

func (*Ipspec) GetNtp

func (x *Ipspec) GetNtp() string

func (*Ipspec) GetSubnet

func (x *Ipspec) GetSubnet() string

func (*Ipspec) ProtoMessage

func (*Ipspec) ProtoMessage()

func (*Ipspec) ProtoReflect

func (x *Ipspec) ProtoReflect() protoreflect.Message

func (*Ipspec) Reset

func (x *Ipspec) Reset()

func (*Ipspec) String

func (x *Ipspec) String() string

type KeyExchangeScheme

type KeyExchangeScheme int32

Security Key Exchange Method

const (
	KeyExchangeScheme_KEA_NONE KeyExchangeScheme = 0
	KeyExchangeScheme_KEA_ECDH KeyExchangeScheme = 1
)

func (KeyExchangeScheme) Descriptor

func (KeyExchangeScheme) Enum

func (KeyExchangeScheme) EnumDescriptor deprecated

func (KeyExchangeScheme) EnumDescriptor() ([]byte, []int)

Deprecated: Use KeyExchangeScheme.Descriptor instead.

func (KeyExchangeScheme) Number

func (KeyExchangeScheme) String

func (x KeyExchangeScheme) String() string

func (KeyExchangeScheme) Type

type LOCConfig

type LOCConfig struct {

	// If set indicates URL of the Local Operator Console (LOC)
	LocUrl string `protobuf:"bytes,1,opt,name=loc_url,json=locUrl,proto3" json:"loc_url,omitempty"`
	// contains filtered or unexported fields
}

func (*LOCConfig) Descriptor deprecated

func (*LOCConfig) Descriptor() ([]byte, []int)

Deprecated: Use LOCConfig.ProtoReflect.Descriptor instead.

func (*LOCConfig) GetLocUrl

func (x *LOCConfig) GetLocUrl() string

func (*LOCConfig) ProtoMessage

func (*LOCConfig) ProtoMessage()

func (*LOCConfig) ProtoReflect

func (x *LOCConfig) ProtoReflect() protoreflect.Message

func (*LOCConfig) Reset

func (x *LOCConfig) Reset()

func (*LOCConfig) String

func (x *LOCConfig) String() string

type LacpRate

type LacpRate int32

Option specifying the rate in which EVE will ask LACP link partners to transmit LACPDU packets in 802.3ad mode.

const (
	// Default LACP rate is Slow.
	LacpRate_LACP_RATE_UNSPECIFIED LacpRate = 0
	// Request LACP partner to transmit LACPDUs every 30 seconds.
	LacpRate_LACP_RATE_SLOW LacpRate = 1
	// Request LACP partner to transmit LACPDUs every 1 second.
	LacpRate_LACP_RATE_FAST LacpRate = 2
)

func (LacpRate) Descriptor

func (LacpRate) Descriptor() protoreflect.EnumDescriptor

func (LacpRate) Enum

func (x LacpRate) Enum() *LacpRate

func (LacpRate) EnumDescriptor deprecated

func (LacpRate) EnumDescriptor() ([]byte, []int)

Deprecated: Use LacpRate.Descriptor instead.

func (LacpRate) Number

func (x LacpRate) Number() protoreflect.EnumNumber

func (LacpRate) String

func (x LacpRate) String() string

func (LacpRate) Type

type MIIMonitor

type MIIMonitor struct {

	// Specifies the MII link monitoring frequency in milliseconds.
	// This determines how often the link state of each bond slave is inspected
	// for link failures.
	Interval uint32 `protobuf:"varint,1,opt,name=interval,proto3" json:"interval,omitempty"`
	// Updelay specifies the time, in milliseconds, to wait before enabling
	// a bond slave after a link recovery has been detected.
	// The updelay value should be a multiple of the monitoring interval; if not,
	// it will be rounded down to the nearest multiple.
	// The default value is 0.
	Updelay uint32 `protobuf:"varint,2,opt,name=updelay,proto3" json:"updelay,omitempty"`
	// Specifies the time, in milliseconds, to wait before disabling a bond
	// slave after a link failure has been detected.
	// The downdelay value should be a multiple of the monitoring interval; if not,
	// it will be rounded down to the nearest multiple.
	// The default value is 0.
	Downdelay uint32 `protobuf:"varint,3,opt,name=downdelay,proto3" json:"downdelay,omitempty"`
	// contains filtered or unexported fields
}

MIIMonitor : MII link monitoring parameters. Defined for BondAdapter.

func (*MIIMonitor) Descriptor deprecated

func (*MIIMonitor) Descriptor() ([]byte, []int)

Deprecated: Use MIIMonitor.ProtoReflect.Descriptor instead.

func (*MIIMonitor) GetDowndelay

func (x *MIIMonitor) GetDowndelay() uint32

func (*MIIMonitor) GetInterval

func (x *MIIMonitor) GetInterval() uint32

func (*MIIMonitor) GetUpdelay

func (x *MIIMonitor) GetUpdelay() uint32

func (*MIIMonitor) ProtoMessage

func (*MIIMonitor) ProtoMessage()

func (*MIIMonitor) ProtoReflect

func (x *MIIMonitor) ProtoReflect() protoreflect.Message

func (*MIIMonitor) Reset

func (x *MIIMonitor) Reset()

func (*MIIMonitor) String

func (x *MIIMonitor) String() string

type MetaDataType

type MetaDataType int32

Type of cloud-init data to provide to application

const (
	MetaDataType_MetaDataDrive          MetaDataType = 0
	MetaDataType_MetaDataNone           MetaDataType = 1 // Do not provide metadata
	MetaDataType_MetaDataOpenStack      MetaDataType = 2
	MetaDataType_MetaDataDriveMultipart MetaDataType = 3 // Process multipart MIME for application
)

func (MetaDataType) Descriptor

func (MetaDataType) Enum

func (x MetaDataType) Enum() *MetaDataType

func (MetaDataType) EnumDescriptor deprecated

func (MetaDataType) EnumDescriptor() ([]byte, []int)

Deprecated: Use MetaDataType.Descriptor instead.

func (MetaDataType) Number

func (MetaDataType) String

func (x MetaDataType) String() string

func (MetaDataType) Type

type NetworkAdapter

type NetworkAdapter struct {
	Name      string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`           // name which we report in metrics and status
	NetworkId string `protobuf:"bytes,3,opt,name=networkId,proto3" json:"networkId,omitempty"` // UUID of NetworkInstance object
	Addr      string `protobuf:"bytes,4,opt,name=addr,proto3" json:"addr,omitempty"`           // Static IP address; could be IPv4 EID
	Hostname  string `protobuf:"bytes,5,opt,name=hostname,proto3" json:"hostname,omitempty"`   // Not currently used
	// more configuration for getting addr/EID
	CryptoEid     string `protobuf:"bytes,10,opt,name=cryptoEid,proto3" json:"cryptoEid,omitempty"`
	Lispsignature string `protobuf:"bytes,6,opt,name=lispsignature,proto3" json:"lispsignature,omitempty"`
	Pemcert       []byte `protobuf:"bytes,7,opt,name=pemcert,proto3" json:"pemcert,omitempty"`
	Pemprivatekey []byte `protobuf:"bytes,8,opt,name=pemprivatekey,proto3" json:"pemprivatekey,omitempty"`
	// Used in case of P2V, where we want to specify a macAddress
	// to vif, that is simulated towards app
	MacAddress string `protobuf:"bytes,9,opt,name=macAddress,proto3" json:"macAddress,omitempty"`
	// firewall
	Acls []*ACE `protobuf:"bytes,40,rep,name=acls,proto3" json:"acls,omitempty"`
	// access port vlan id
	// app interface with access vlan id of zero will be treated as trunk port
	// valid vlan id range: 2 - 4093
	// vlan id 1 is implicitly used by linux bridges
	AccessVlanId uint32 `protobuf:"varint,41,opt,name=access_vlan_id,json=accessVlanId,proto3" json:"access_vlan_id,omitempty"`
	// contains filtered or unexported fields
}

func (*NetworkAdapter) Descriptor deprecated

func (*NetworkAdapter) Descriptor() ([]byte, []int)

Deprecated: Use NetworkAdapter.ProtoReflect.Descriptor instead.

func (*NetworkAdapter) GetAccessVlanId

func (x *NetworkAdapter) GetAccessVlanId() uint32

func (*NetworkAdapter) GetAcls

func (x *NetworkAdapter) GetAcls() []*ACE

func (*NetworkAdapter) GetAddr

func (x *NetworkAdapter) GetAddr() string

func (*NetworkAdapter) GetCryptoEid

func (x *NetworkAdapter) GetCryptoEid() string

func (*NetworkAdapter) GetHostname

func (x *NetworkAdapter) GetHostname() string

func (*NetworkAdapter) GetLispsignature

func (x *NetworkAdapter) GetLispsignature() string

func (*NetworkAdapter) GetMacAddress

func (x *NetworkAdapter) GetMacAddress() string

func (*NetworkAdapter) GetName

func (x *NetworkAdapter) GetName() string

func (*NetworkAdapter) GetNetworkId

func (x *NetworkAdapter) GetNetworkId() string

func (*NetworkAdapter) GetPemcert

func (x *NetworkAdapter) GetPemcert() []byte

func (*NetworkAdapter) GetPemprivatekey

func (x *NetworkAdapter) GetPemprivatekey() []byte

func (*NetworkAdapter) ProtoMessage

func (*NetworkAdapter) ProtoMessage()

func (*NetworkAdapter) ProtoReflect

func (x *NetworkAdapter) ProtoReflect() protoreflect.Message

func (*NetworkAdapter) Reset

func (x *NetworkAdapter) Reset()

func (*NetworkAdapter) String

func (x *NetworkAdapter) String() string

type NetworkConfig

type NetworkConfig struct {
	Id   string      `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Type NetworkType `protobuf:"varint,5,opt,name=type,proto3,enum=org.lfedge.eve.config.NetworkType" json:"type,omitempty"`
	// network ip specification
	Ip  *Ipspec               `protobuf:"bytes,6,opt,name=ip,proto3" json:"ip,omitempty"`
	Dns []*ZnetStaticDNSEntry `protobuf:"bytes,7,rep,name=dns,proto3" json:"dns,omitempty"`
	// enterprise proxy
	EntProxy *ProxyConfig `protobuf:"bytes,8,opt,name=entProxy,proto3" json:"entProxy,omitempty"`
	// wireless specification
	Wireless *WirelessConfig `protobuf:"bytes,10,opt,name=wireless,proto3" json:"wireless,omitempty"`
	// contains filtered or unexported fields
}

func (*NetworkConfig) Descriptor deprecated

func (*NetworkConfig) Descriptor() ([]byte, []int)

Deprecated: Use NetworkConfig.ProtoReflect.Descriptor instead.

func (*NetworkConfig) GetDns

func (x *NetworkConfig) GetDns() []*ZnetStaticDNSEntry

func (*NetworkConfig) GetEntProxy

func (x *NetworkConfig) GetEntProxy() *ProxyConfig

func (*NetworkConfig) GetId

func (x *NetworkConfig) GetId() string

func (*NetworkConfig) GetIp

func (x *NetworkConfig) GetIp() *Ipspec

func (*NetworkConfig) GetType

func (x *NetworkConfig) GetType() NetworkType

func (*NetworkConfig) GetWireless

func (x *NetworkConfig) GetWireless() *WirelessConfig

func (*NetworkConfig) ProtoMessage

func (*NetworkConfig) ProtoMessage()

func (*NetworkConfig) ProtoReflect

func (x *NetworkConfig) ProtoReflect() protoreflect.Message

func (*NetworkConfig) Reset

func (x *NetworkConfig) Reset()

func (*NetworkConfig) String

func (x *NetworkConfig) String() string

type NetworkInstanceConfig

type NetworkInstanceConfig struct {
	Uuidandversion *UUIDandVersion `protobuf:"bytes,1,opt,name=uuidandversion,proto3" json:"uuidandversion,omitempty"`
	Displayname    string          `protobuf:"bytes,2,opt,name=displayname,proto3" json:"displayname,omitempty"`
	// instType - Type of network instance ( local, bridge etc )
	InstType ZNetworkInstType `protobuf:"varint,4,opt,name=instType,proto3,enum=org.lfedge.eve.config.ZNetworkInstType" json:"instType,omitempty"`
	// activate
	//   - True by default. If set to false ( deactivate), the network instance
	//     configuration is downloaded to the device, but the network instance
	//     itself is not created on the device.
	Activate bool `protobuf:"varint,5,opt,name=activate,proto3" json:"activate,omitempty"`
	// port - Only a single port is supported.
	//
	//	This is used as the external connection for the network instance.
	//	This can be a physical (eth0 ) or logical port (vlan 0).
	//	The port name comes from DeviceConfig ( When it is supported in future).
	//	If the user needs multiple physical ports, Device config should be
	//	used to create a label for multiple physical ports.
	Port *Adapter `protobuf:"bytes,20,opt,name=port,proto3" json:"port,omitempty"`
	// cfg - Used to pass some feature-specific configuration to the
	//
	//	network instance. For Ex: Lisp, StriongSwan etc
	Cfg *NetworkInstanceOpaqueConfig `protobuf:"bytes,30,opt,name=cfg,proto3" json:"cfg,omitempty"`
	// type of ipSpec
	IpType AddressType `protobuf:"varint,39,opt,name=ipType,proto3,enum=org.lfedge.eve.config.AddressType" json:"ipType,omitempty"`
	// network ip specification
	Ip *Ipspec `protobuf:"bytes,40,opt,name=ip,proto3" json:"ip,omitempty"`
	// static DNS entry, if we are running DNS/DHCP service
	Dns []*ZnetStaticDNSEntry `protobuf:"bytes,41,rep,name=dns,proto3" json:"dns,omitempty"`
	// contains filtered or unexported fields
}

func (*NetworkInstanceConfig) Descriptor deprecated

func (*NetworkInstanceConfig) Descriptor() ([]byte, []int)

Deprecated: Use NetworkInstanceConfig.ProtoReflect.Descriptor instead.

func (*NetworkInstanceConfig) GetActivate

func (x *NetworkInstanceConfig) GetActivate() bool

func (*NetworkInstanceConfig) GetCfg

func (*NetworkInstanceConfig) GetDisplayname

func (x *NetworkInstanceConfig) GetDisplayname() string

func (*NetworkInstanceConfig) GetDns

func (*NetworkInstanceConfig) GetInstType

func (x *NetworkInstanceConfig) GetInstType() ZNetworkInstType

func (*NetworkInstanceConfig) GetIp

func (x *NetworkInstanceConfig) GetIp() *Ipspec

func (*NetworkInstanceConfig) GetIpType

func (x *NetworkInstanceConfig) GetIpType() AddressType

func (*NetworkInstanceConfig) GetPort

func (x *NetworkInstanceConfig) GetPort() *Adapter

func (*NetworkInstanceConfig) GetUuidandversion

func (x *NetworkInstanceConfig) GetUuidandversion() *UUIDandVersion

func (*NetworkInstanceConfig) ProtoMessage

func (*NetworkInstanceConfig) ProtoMessage()

func (*NetworkInstanceConfig) ProtoReflect

func (x *NetworkInstanceConfig) ProtoReflect() protoreflect.Message

func (*NetworkInstanceConfig) Reset

func (x *NetworkInstanceConfig) Reset()

func (*NetworkInstanceConfig) String

func (x *NetworkInstanceConfig) String() string

type NetworkInstanceLispConfig

type NetworkInstanceLispConfig struct {
	LispMSs             []*ZcServicePoint `protobuf:"bytes,1,rep,name=LispMSs,proto3" json:"LispMSs,omitempty"`
	LispInstanceId      uint32            `protobuf:"varint,2,opt,name=LispInstanceId,proto3" json:"LispInstanceId,omitempty"`
	Allocate            bool              `protobuf:"varint,3,opt,name=allocate,proto3" json:"allocate,omitempty"`
	Exportprivate       bool              `protobuf:"varint,4,opt,name=exportprivate,proto3" json:"exportprivate,omitempty"`
	Allocationprefix    []byte            `protobuf:"bytes,5,opt,name=allocationprefix,proto3" json:"allocationprefix,omitempty"`
	Allocationprefixlen uint32            `protobuf:"varint,6,opt,name=allocationprefixlen,proto3" json:"allocationprefixlen,omitempty"`
	// various configuration to dataPlane, lispers.net vs Zededa
	Experimental bool `protobuf:"varint,20,opt,name=experimental,proto3" json:"experimental,omitempty"`
	// contains filtered or unexported fields
}

Lisp NetworkInstance config

func (*NetworkInstanceLispConfig) Descriptor deprecated

func (*NetworkInstanceLispConfig) Descriptor() ([]byte, []int)

Deprecated: Use NetworkInstanceLispConfig.ProtoReflect.Descriptor instead.

func (*NetworkInstanceLispConfig) GetAllocate

func (x *NetworkInstanceLispConfig) GetAllocate() bool

func (*NetworkInstanceLispConfig) GetAllocationprefix

func (x *NetworkInstanceLispConfig) GetAllocationprefix() []byte

func (*NetworkInstanceLispConfig) GetAllocationprefixlen

func (x *NetworkInstanceLispConfig) GetAllocationprefixlen() uint32

func (*NetworkInstanceLispConfig) GetExperimental

func (x *NetworkInstanceLispConfig) GetExperimental() bool

func (*NetworkInstanceLispConfig) GetExportprivate

func (x *NetworkInstanceLispConfig) GetExportprivate() bool

func (*NetworkInstanceLispConfig) GetLispInstanceId

func (x *NetworkInstanceLispConfig) GetLispInstanceId() uint32

func (*NetworkInstanceLispConfig) GetLispMSs

func (x *NetworkInstanceLispConfig) GetLispMSs() []*ZcServicePoint

func (*NetworkInstanceLispConfig) ProtoMessage

func (*NetworkInstanceLispConfig) ProtoMessage()

func (*NetworkInstanceLispConfig) ProtoReflect

func (*NetworkInstanceLispConfig) Reset

func (x *NetworkInstanceLispConfig) Reset()

func (*NetworkInstanceLispConfig) String

func (x *NetworkInstanceLispConfig) String() string

type NetworkInstanceOpaqueConfig

type NetworkInstanceOpaqueConfig struct {
	Oconfig    string                     `protobuf:"bytes,1,opt,name=oconfig,proto3" json:"oconfig,omitempty"`
	LispConfig *NetworkInstanceLispConfig `protobuf:"bytes,2,opt,name=lispConfig,proto3" json:"lispConfig,omitempty"`
	Type       ZNetworkOpaqueConfigType   `protobuf:"varint,3,opt,name=type,proto3,enum=org.lfedge.eve.config.ZNetworkOpaqueConfigType" json:"type,omitempty"`
	// contains filtered or unexported fields
}

Network Instance Opaque config. In future we might add more fields here but idea is here. This is service specific configuration.

func (*NetworkInstanceOpaqueConfig) Descriptor deprecated

func (*NetworkInstanceOpaqueConfig) Descriptor() ([]byte, []int)

Deprecated: Use NetworkInstanceOpaqueConfig.ProtoReflect.Descriptor instead.

func (*NetworkInstanceOpaqueConfig) GetLispConfig

func (*NetworkInstanceOpaqueConfig) GetOconfig

func (x *NetworkInstanceOpaqueConfig) GetOconfig() string

func (*NetworkInstanceOpaqueConfig) GetType

func (*NetworkInstanceOpaqueConfig) ProtoMessage

func (*NetworkInstanceOpaqueConfig) ProtoMessage()

func (*NetworkInstanceOpaqueConfig) ProtoReflect

func (*NetworkInstanceOpaqueConfig) Reset

func (x *NetworkInstanceOpaqueConfig) Reset()

func (*NetworkInstanceOpaqueConfig) String

func (x *NetworkInstanceOpaqueConfig) String() string

type NetworkType

type NetworkType int32
const (
	NetworkType_NETWORKTYPENOOP NetworkType = 0
	NetworkType_V4              NetworkType = 4 // Legacy - interpreted same as Dual stack
	NetworkType_V6              NetworkType = 6 // Legacy - interpreted same as Dual stack
	NetworkType_CryptoV4        NetworkType = 24
	NetworkType_CryptoV6        NetworkType = 26
	NetworkType_CryptoEID       NetworkType = 14
	NetworkType_V4Only          NetworkType = 7
	NetworkType_V6Only          NetworkType = 8
	NetworkType_DualV4V6        NetworkType = 9
)

func (NetworkType) Descriptor

func (NetworkType) Enum

func (x NetworkType) Enum() *NetworkType

func (NetworkType) EnumDescriptor deprecated

func (NetworkType) EnumDescriptor() ([]byte, []int)

Deprecated: Use NetworkType.Descriptor instead.

func (NetworkType) Number

func (x NetworkType) Number() protoreflect.EnumNumber

func (NetworkType) String

func (x NetworkType) String() string

func (NetworkType) Type

type OSKeyTags

type OSKeyTags struct {
	// contains filtered or unexported fields
}

OS version key and value pair

func (*OSKeyTags) Descriptor deprecated

func (*OSKeyTags) Descriptor() ([]byte, []int)

Deprecated: Use OSKeyTags.ProtoReflect.Descriptor instead.

func (*OSKeyTags) ProtoMessage

func (*OSKeyTags) ProtoMessage()

func (*OSKeyTags) ProtoReflect

func (x *OSKeyTags) ProtoReflect() protoreflect.Message

func (*OSKeyTags) Reset

func (x *OSKeyTags) Reset()

func (*OSKeyTags) String

func (x *OSKeyTags) String() string

type OSVerDetails

type OSVerDetails struct {
	// contains filtered or unexported fields
}

repeated key value tags compromising

func (*OSVerDetails) Descriptor deprecated

func (*OSVerDetails) Descriptor() ([]byte, []int)

Deprecated: Use OSVerDetails.ProtoReflect.Descriptor instead.

func (*OSVerDetails) ProtoMessage

func (*OSVerDetails) ProtoMessage()

func (*OSVerDetails) ProtoReflect

func (x *OSVerDetails) ProtoReflect() protoreflect.Message

func (*OSVerDetails) Reset

func (x *OSVerDetails) Reset()

func (*OSVerDetails) String

func (x *OSVerDetails) String() string

type PhyIOUsagePolicy

type PhyIOUsagePolicy struct {
	FreeUplink bool `protobuf:"varint,1,opt,name=freeUplink,proto3" json:"freeUplink,omitempty"` // DEPRECATED by cost in the SystemAdapter message
	// contains filtered or unexported fields
}

Given additional details for EVE software to how to treat this interface. Example policies could be limit use of LTE interface or only use Eth1 only if Eth0 is not available etc Note that this is the static information from the model. Current configuration is in systemAdapter

func (*PhyIOUsagePolicy) Descriptor deprecated

func (*PhyIOUsagePolicy) Descriptor() ([]byte, []int)

Deprecated: Use PhyIOUsagePolicy.ProtoReflect.Descriptor instead.

func (x *PhyIOUsagePolicy) GetFreeUplink() bool

func (*PhyIOUsagePolicy) ProtoMessage

func (*PhyIOUsagePolicy) ProtoMessage()

func (*PhyIOUsagePolicy) ProtoReflect

func (x *PhyIOUsagePolicy) ProtoReflect() protoreflect.Message

func (*PhyIOUsagePolicy) Reset

func (x *PhyIOUsagePolicy) Reset()

func (*PhyIOUsagePolicy) String

func (x *PhyIOUsagePolicy) String() string

type PhysicalIO

type PhysicalIO struct {
	Ptype evecommon.PhyIoType `protobuf:"varint,1,opt,name=ptype,proto3,enum=org.lfedge.eve.common.PhyIoType" json:"ptype,omitempty"`
	// physical label typically printed on box.
	// Example Eth0, Eth1, Wifi0, ComA, ComB
	Phylabel string `protobuf:"bytes,2,opt,name=phylabel,proto3" json:"phylabel,omitempty"`
	// The hardware bus address. The key to this map can be of the following
	// (case-insensitive) values:
	// "pcilong": the address is a PCI id of the form 0000:02:00.0
	// "ifname": the address is a string for a network interface like "eth1"
	// "serial": the address is a Linux serial port alias such as "/dev/ttyS2"
	// "irq": the address is a number such as "5". This can be a comma
	//
	//	separated list of integers or even a range of integers. Hence using
	//	a string to address this.
	//
	// "ioports": the address is a string such as "2f8-2ff"
	// "usbaddr": the address is a USB of the form of "1:2.3"
	// If the type is PhyIoNet*, then there needs to be an "ifname" physaddr.
	Phyaddrs map[string]string `` /* 157-byte string literal not displayed */
	// logicallabel - provides the ability to model designer to refer
	//
	//	the physicalIO port to using more friendly name
	//
	// For example Eth0->Mgmt0
	//
	//	or USBA->ConfigDiskA etc
	Logicallabel string `protobuf:"bytes,4,opt,name=logicallabel,proto3" json:"logicallabel,omitempty"`
	// assigngrp
	// Assignment Group, is unique label that is applied across PhysicalIOs
	// EntireGroup can be assigned to application or nothing at all
	//
	// This is the name used in AppInstanceConfig.adapters to assign an
	// adapter to an application.
	//
	// If assigngrp is not set, the Adapter cannot be assigned to any
	// application. One example is, when the adapter is on the same Pci
	// bus as another device required by Dom0.
	//
	// Even if there is only one device on the its PCIBus, the assignGrp Must
	// be set.
	Assigngrp string `protobuf:"bytes,5,opt,name=assigngrp,proto3" json:"assigngrp,omitempty"`
	// usage - indicates the role of adapter ( mgmt / blocked / app-direct
	//
	//	etc. )
	Usage evecommon.PhyIoMemberUsage `protobuf:"varint,6,opt,name=usage,proto3,enum=org.lfedge.eve.common.PhyIoMemberUsage" json:"usage,omitempty"`
	// usagePolicy - Policy Object used to further refine the usage.
	// For example, specify if this should be only used as fallback?
	//
	//	Or used as the primary uplink? Allow App traffic? restrict
	//	app traffic?? etc..
	UsagePolicy *PhyIOUsagePolicy `protobuf:"bytes,7,opt,name=usagePolicy,proto3" json:"usagePolicy,omitempty"`
	// physical and logical attributes
	//
	//	For example in WWAN to which firmware version to load etc
	Cbattr map[string]string `` /* 153-byte string literal not displayed */
	// list of Virtual Functions (VF) for given Physical Function (PF)
	// only applies for PHY_IO_TYPE_PHY_IO_NET_ETH_PF
	Vflist *VfList `protobuf:"bytes,9,opt,name=vflist,proto3" json:"vflist,omitempty"`
	// contains filtered or unexported fields
}

PhysicalIO:

Absolute low level description of physical buses and ports that are
available on given platform.
Collection of these IOs, constitute what we would call as hardware
model. Each physical IO is manageable and visible to EVE software, and
it can be further configured to either provide IP connectivity or
directly be given to workloads

func (*PhysicalIO) Descriptor deprecated

func (*PhysicalIO) Descriptor() ([]byte, []int)

Deprecated: Use PhysicalIO.ProtoReflect.Descriptor instead.

func (*PhysicalIO) GetAssigngrp

func (x *PhysicalIO) GetAssigngrp() string

func (*PhysicalIO) GetCbattr

func (x *PhysicalIO) GetCbattr() map[string]string

func (*PhysicalIO) GetLogicallabel

func (x *PhysicalIO) GetLogicallabel() string

func (*PhysicalIO) GetPhyaddrs

func (x *PhysicalIO) GetPhyaddrs() map[string]string

func (*PhysicalIO) GetPhylabel

func (x *PhysicalIO) GetPhylabel() string

func (*PhysicalIO) GetPtype

func (x *PhysicalIO) GetPtype() evecommon.PhyIoType

func (*PhysicalIO) GetUsage

func (x *PhysicalIO) GetUsage() evecommon.PhyIoMemberUsage

func (*PhysicalIO) GetUsagePolicy

func (x *PhysicalIO) GetUsagePolicy() *PhyIOUsagePolicy

func (*PhysicalIO) GetVflist

func (x *PhysicalIO) GetVflist() *VfList

func (*PhysicalIO) ProtoMessage

func (*PhysicalIO) ProtoMessage()

func (*PhysicalIO) ProtoReflect

func (x *PhysicalIO) ProtoReflect() protoreflect.Message

func (*PhysicalIO) Reset

func (x *PhysicalIO) Reset()

func (*PhysicalIO) String

func (x *PhysicalIO) String() string

type ProxyConfig

type ProxyConfig struct {

	// enable network level proxy in the form of WPAD
	NetworkProxyEnable bool `protobuf:"varint,1,opt,name=networkProxyEnable,proto3" json:"networkProxyEnable,omitempty"`
	// dedicated per protocol information
	Proxies []*ProxyServer `protobuf:"bytes,2,rep,name=proxies,proto3" json:"proxies,omitempty"`
	// exceptions separated by commas
	Exceptions string `protobuf:"bytes,3,opt,name=exceptions,proto3" json:"exceptions,omitempty"`
	// or pacfile can be in place of others
	// base64 encoded
	Pacfile string `protobuf:"bytes,4,opt,name=pacfile,proto3" json:"pacfile,omitempty"`
	// Direct URL for wpad.dat download
	NetworkProxyURL string `protobuf:"bytes,5,opt,name=networkProxyURL,proto3" json:"networkProxyURL,omitempty"`
	// Uploaded proxy certificate or certificate chain for MITM
	// this may be needed either in explicit (has ProxyServer items), automatic
	// (networkProxyEnable) or transparent (network layer not aware of proxy)
	ProxyCertPEM [][]byte `protobuf:"bytes,6,rep,name=proxyCertPEM,proto3" json:"proxyCertPEM,omitempty"`
	// contains filtered or unexported fields
}

func (*ProxyConfig) Descriptor deprecated

func (*ProxyConfig) Descriptor() ([]byte, []int)

Deprecated: Use ProxyConfig.ProtoReflect.Descriptor instead.

func (*ProxyConfig) GetExceptions

func (x *ProxyConfig) GetExceptions() string

func (*ProxyConfig) GetNetworkProxyEnable

func (x *ProxyConfig) GetNetworkProxyEnable() bool

func (*ProxyConfig) GetNetworkProxyURL

func (x *ProxyConfig) GetNetworkProxyURL() string

func (*ProxyConfig) GetPacfile

func (x *ProxyConfig) GetPacfile() string

func (*ProxyConfig) GetProxies

func (x *ProxyConfig) GetProxies() []*ProxyServer

func (*ProxyConfig) GetProxyCertPEM

func (x *ProxyConfig) GetProxyCertPEM() [][]byte

func (*ProxyConfig) ProtoMessage

func (*ProxyConfig) ProtoMessage()

func (*ProxyConfig) ProtoReflect

func (x *ProxyConfig) ProtoReflect() protoreflect.Message

func (*ProxyConfig) Reset

func (x *ProxyConfig) Reset()

func (*ProxyConfig) String

func (x *ProxyConfig) String() string

type ProxyProto

type ProxyProto int32
const (
	ProxyProto_PROXY_HTTP  ProxyProto = 0
	ProxyProto_PROXY_HTTPS ProxyProto = 1
	ProxyProto_PROXY_SOCKS ProxyProto = 2
	ProxyProto_PROXY_FTP   ProxyProto = 3
	ProxyProto_PROXY_OTHER ProxyProto = 255
)

func (ProxyProto) Descriptor

func (ProxyProto) Descriptor() protoreflect.EnumDescriptor

func (ProxyProto) Enum

func (x ProxyProto) Enum() *ProxyProto

func (ProxyProto) EnumDescriptor deprecated

func (ProxyProto) EnumDescriptor() ([]byte, []int)

Deprecated: Use ProxyProto.Descriptor instead.

func (ProxyProto) Number

func (x ProxyProto) Number() protoreflect.EnumNumber

func (ProxyProto) String

func (x ProxyProto) String() string

func (ProxyProto) Type

type ProxyServer

type ProxyServer struct {
	Proto  ProxyProto `protobuf:"varint,1,opt,name=proto,proto3,enum=org.lfedge.eve.config.ProxyProto" json:"proto,omitempty"`
	Server string     `protobuf:"bytes,2,opt,name=server,proto3" json:"server,omitempty"`
	Port   uint32     `protobuf:"varint,3,opt,name=port,proto3" json:"port,omitempty"`
	// contains filtered or unexported fields
}

func (*ProxyServer) Descriptor deprecated

func (*ProxyServer) Descriptor() ([]byte, []int)

Deprecated: Use ProxyServer.ProtoReflect.Descriptor instead.

func (*ProxyServer) GetPort

func (x *ProxyServer) GetPort() uint32

func (*ProxyServer) GetProto

func (x *ProxyServer) GetProto() ProxyProto

func (*ProxyServer) GetServer

func (x *ProxyServer) GetServer() string

func (*ProxyServer) ProtoMessage

func (*ProxyServer) ProtoMessage()

func (*ProxyServer) ProtoReflect

func (x *ProxyServer) ProtoReflect() protoreflect.Message

func (*ProxyServer) Reset

func (x *ProxyServer) Reset()

func (*ProxyServer) String

func (x *ProxyServer) String() string

type SignatureInfo

type SignatureInfo struct {
	Intercertsurl string `protobuf:"bytes,1,opt,name=intercertsurl,proto3" json:"intercertsurl,omitempty"`
	Signercerturl string `protobuf:"bytes,2,opt,name=signercerturl,proto3" json:"signercerturl,omitempty"`
	Signature     []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

XXX this will be deprecated when all deployed instances of EVE no longer expect it. 5.6.X depend on it. 5.7.1 does not.

func (*SignatureInfo) Descriptor deprecated

func (*SignatureInfo) Descriptor() ([]byte, []int)

Deprecated: Use SignatureInfo.ProtoReflect.Descriptor instead.

func (*SignatureInfo) GetIntercertsurl

func (x *SignatureInfo) GetIntercertsurl() string

func (*SignatureInfo) GetSignature

func (x *SignatureInfo) GetSignature() []byte

func (*SignatureInfo) GetSignercerturl

func (x *SignatureInfo) GetSignercerturl() string

func (*SignatureInfo) ProtoMessage

func (*SignatureInfo) ProtoMessage()

func (*SignatureInfo) ProtoReflect

func (x *SignatureInfo) ProtoReflect() protoreflect.Message

func (*SignatureInfo) Reset

func (x *SignatureInfo) Reset()

func (*SignatureInfo) String

func (x *SignatureInfo) String() string

type SnapshotConfig

type SnapshotConfig struct {

	// active_snapshot is the id of the snapshot which is expected to be used by
	// the application.
	// It may be empty if no snapshot expected to be used.
	ActiveSnapshot string `protobuf:"bytes,1,opt,name=active_snapshot,json=activeSnapshot,proto3" json:"active_snapshot,omitempty"`
	// rollback_cmd is used to trigger a rollback to the snapshot with the
	// active_snapshot id.
	// The counter inside the InstanceOpsCmd is incremented when a snapshot is
	// used for a rollback. It should not be decreased.
	// The counter's semantics is the same as the one used in the restart/purge
	// commands. It's necessary for the cases, when the state of the device is
	// behind the controller because it hasn't yet managed to fetch the latest
	// declarative statement. Only increasing the counter will trigger the
	// rollback.
	RollbackCmd *InstanceOpsCmd `protobuf:"bytes,2,opt,name=rollback_cmd,json=rollbackCmd,proto3" json:"rollback_cmd,omitempty"`
	// max_snapshots is the maximum number of snapshots that can be stored for the
	// application instance.
	// If the number of snapshots exceeds the max_snapshots, the oldest snapshot
	// will be deleted. It's so even if the oldest snapshot is the active one.
	// As an example, let's consider the following scenario:
	// The value of max_snapshots is 1. Then a snapshot is created. VM continues
	// working. Then a rollback to the snapshot created earlier is requested, so
	// the first snapshot becomes active. EVE performs the rollback. Then the
	// controller requests a new snapshot be created. EVE is configured to store
	// only 1 snapshot, hence the first one should be deleted.
	MaxSnapshots uint32 `protobuf:"varint,3,opt,name=max_snapshots,json=maxSnapshots,proto3" json:"max_snapshots,omitempty"`
	// snapshots is the list of snapshots of the application instance.
	// It is used to synchronize the list of snapshots between the controller and
	// the device. This can be used to provide an id of a new snapshot or to
	// delete an existing snapshot.
	// To provide a new snapshot id, the controller should send a message with
	// the new snapshot id in the snapshots list. The id is generated by
	// Controller in this case. (It can be also generated by EVE, if the snapshot
	// creation is triggered locally. In this case the ID will be returned in the
	// ZInfoApp.snapshots[].id field, see the `info.proto` file).
	// Worth noting that the snapshot creation is not triggered by the appearance
	// of the snapshot id in the available_snapshots list. The snapshot creation
	// will be triggered by the behaviour defined in the snapshot type field.
	// To delete a snapshot, the controller should send a message that does not
	// contain the snapshot id in the available_snapshots list. The device will
	// delete the snapshot with the absent id.
	Snapshots []*SnapshotDesc `protobuf:"bytes,4,rep,name=snapshots,proto3" json:"snapshots,omitempty"`
	// contains filtered or unexported fields
}

The snapshot information for an Application Instance

func (*SnapshotConfig) Descriptor deprecated

func (*SnapshotConfig) Descriptor() ([]byte, []int)

Deprecated: Use SnapshotConfig.ProtoReflect.Descriptor instead.

func (*SnapshotConfig) GetActiveSnapshot

func (x *SnapshotConfig) GetActiveSnapshot() string

func (*SnapshotConfig) GetMaxSnapshots

func (x *SnapshotConfig) GetMaxSnapshots() uint32

func (*SnapshotConfig) GetRollbackCmd

func (x *SnapshotConfig) GetRollbackCmd() *InstanceOpsCmd

func (*SnapshotConfig) GetSnapshots

func (x *SnapshotConfig) GetSnapshots() []*SnapshotDesc

func (*SnapshotConfig) ProtoMessage

func (*SnapshotConfig) ProtoMessage()

func (*SnapshotConfig) ProtoReflect

func (x *SnapshotConfig) ProtoReflect() protoreflect.Message

func (*SnapshotConfig) Reset

func (x *SnapshotConfig) Reset()

func (*SnapshotConfig) String

func (x *SnapshotConfig) String() string

type SnapshotDesc

type SnapshotDesc struct {

	// id of the snapshot.
	// The format of the ID is a standard UUIDv4.
	// Should be unique within the app instance. Generated by the Controller in
	// the case the snapshot creation is requested by the Controller, or by EVE
	// in the case the snapshot creation is triggered locally.
	// Corresponds to the ZInfoApp.snapshots[].id field (see the `info.proto`
	// file).
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// type of the snapshot creation trigger.
	Type SnapshotType `protobuf:"varint,2,opt,name=type,proto3,enum=org.lfedge.eve.config.SnapshotType" json:"type,omitempty"`
	// contains filtered or unexported fields
}

A descriptor of the snapshot instance

func (*SnapshotDesc) Descriptor deprecated

func (*SnapshotDesc) Descriptor() ([]byte, []int)

Deprecated: Use SnapshotDesc.ProtoReflect.Descriptor instead.

func (*SnapshotDesc) GetId

func (x *SnapshotDesc) GetId() string

func (*SnapshotDesc) GetType

func (x *SnapshotDesc) GetType() SnapshotType

func (*SnapshotDesc) ProtoMessage

func (*SnapshotDesc) ProtoMessage()

func (*SnapshotDesc) ProtoReflect

func (x *SnapshotDesc) ProtoReflect() protoreflect.Message

func (*SnapshotDesc) Reset

func (x *SnapshotDesc) Reset()

func (*SnapshotDesc) String

func (x *SnapshotDesc) String() string

type SnapshotType

type SnapshotType int32

Type of the snapshot creation trigger

const (
	SnapshotType_SNAPSHOT_TYPE_UNSPECIFIED SnapshotType = 0
	SnapshotType_SNAPSHOT_TYPE_APP_UPDATE  SnapshotType = 1 // Snapshot created as a result of an application update
)

func (SnapshotType) Descriptor

func (SnapshotType) Enum

func (x SnapshotType) Enum() *SnapshotType

func (SnapshotType) EnumDescriptor deprecated

func (SnapshotType) EnumDescriptor() ([]byte, []int)

Deprecated: Use SnapshotType.Descriptor instead.

func (SnapshotType) Number

func (SnapshotType) String

func (x SnapshotType) String() string

func (SnapshotType) Type

type SystemAdapter

type SystemAdapter struct {

	// name - Name of the Network Interface. This is the Port Name
	//
	//	used in Info / Metrics / flowlog etc. Name cannot be changed.
	//
	// This will be the Network Port name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// DEPRECATED by cost below
	FreeUplink bool `protobuf:"varint,2,opt,name=freeUplink,proto3" json:"freeUplink,omitempty"`
	// uplink - DEPRECATED by PhysicalIO.Usage / PhysicalIO.UsagePolicy
	// this is part of the uplink group
	// deprecate: have a separate device policy object in the API
	Uplink bool `protobuf:"varint,3,opt,name=uplink,proto3" json:"uplink,omitempty"`
	// networkUUID - attach this network config for this adapter
	// if not set, depending on Usage of Adapter, would be treated as
	// an L2 port
	NetworkUUID string `protobuf:"bytes,4,opt,name=networkUUID,proto3" json:"networkUUID,omitempty"`
	// addr - if its static network we need ip address
	// If this is specified, networkUUID must also be specified. addr
	// is expected to be in sync with the network object (same subnet etc ).
	Addr string `protobuf:"bytes,5,opt,name=addr,proto3" json:"addr,omitempty"`
	// alias - Device just reflects it back in status / Metrics back to
	// cloud.
	Alias string `protobuf:"bytes,7,opt,name=alias,proto3" json:"alias,omitempty"`
	// lowerLayerName - For example, if lower layer is PhysicalAdapter
	// ( physical interface), this should point to logicallabel of the
	// physicalIO.
	LowerLayerName string `protobuf:"bytes,8,opt,name=lowerLayerName,proto3" json:"lowerLayerName,omitempty"`
	// cost of using a port for EVE management traffic (which is determined
	// from PhysicalIO.usage)
	// 0 is the lowest cost (free); 255 the highest.
	// Load spreading will apply when multiple adapters have the same cost.
	// Higher cost adapters are only tried when none of the lower cost ones work.
	Cost uint32 `protobuf:"varint,9,opt,name=cost,proto3" json:"cost,omitempty"`
	// contains filtered or unexported fields
}

systemAdapters are higher-level IP-ready network endpoints. systemAdapters give all the required bits to turn the physical IOs and intermediate L2 objects into useful IP endpoints. These endpoints can be further used to connect to controller or can be shared between workload/services running on the node.

func (*SystemAdapter) Descriptor deprecated

func (*SystemAdapter) Descriptor() ([]byte, []int)

Deprecated: Use SystemAdapter.ProtoReflect.Descriptor instead.

func (*SystemAdapter) GetAddr

func (x *SystemAdapter) GetAddr() string

func (*SystemAdapter) GetAlias

func (x *SystemAdapter) GetAlias() string

func (*SystemAdapter) GetCost

func (x *SystemAdapter) GetCost() uint32
func (x *SystemAdapter) GetFreeUplink() bool

func (*SystemAdapter) GetLowerLayerName

func (x *SystemAdapter) GetLowerLayerName() string

func (*SystemAdapter) GetName

func (x *SystemAdapter) GetName() string

func (*SystemAdapter) GetNetworkUUID

func (x *SystemAdapter) GetNetworkUUID() string
func (x *SystemAdapter) GetUplink() bool

func (*SystemAdapter) ProtoMessage

func (*SystemAdapter) ProtoMessage()

func (*SystemAdapter) ProtoReflect

func (x *SystemAdapter) ProtoReflect() protoreflect.Message

func (*SystemAdapter) Reset

func (x *SystemAdapter) Reset()

func (*SystemAdapter) String

func (x *SystemAdapter) String() string

type Target

type Target int32
const (
	Target_TgtUnknown Target = 0
	Target_Disk       Target = 1
	Target_Kernel     Target = 2
	Target_Initrd     Target = 3
	Target_RamDisk    Target = 4
	Target_AppCustom  Target = 5 // XXX DeviceTree?
)

func (Target) Descriptor

func (Target) Descriptor() protoreflect.EnumDescriptor

func (Target) Enum

func (x Target) Enum() *Target

func (Target) EnumDescriptor deprecated

func (Target) EnumDescriptor() ([]byte, []int)

Deprecated: Use Target.Descriptor instead.

func (Target) Number

func (x Target) Number() protoreflect.EnumNumber

func (Target) String

func (x Target) String() string

func (Target) Type

func (Target) Type() protoreflect.EnumType

type UUIDandVersion

type UUIDandVersion struct {
	Uuid    string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*UUIDandVersion) Descriptor deprecated

func (*UUIDandVersion) Descriptor() ([]byte, []int)

Deprecated: Use UUIDandVersion.ProtoReflect.Descriptor instead.

func (*UUIDandVersion) GetUuid

func (x *UUIDandVersion) GetUuid() string

func (*UUIDandVersion) GetVersion

func (x *UUIDandVersion) GetVersion() string

func (*UUIDandVersion) ProtoMessage

func (*UUIDandVersion) ProtoMessage()

func (*UUIDandVersion) ProtoReflect

func (x *UUIDandVersion) ProtoReflect() protoreflect.Message

func (*UUIDandVersion) Reset

func (x *UUIDandVersion) Reset()

func (*UUIDandVersion) String

func (x *UUIDandVersion) String() string

type VfList

type VfList struct {

	// how many Virtual Functions (VF) will be created
	VfCount uint32 `protobuf:"varint,1,opt,name=vf_count,json=vfCount,proto3" json:"vf_count,omitempty"`
	// optional configuration for given Virtual Function (VF)
	Data []*EthVF `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*VfList) Descriptor deprecated

func (*VfList) Descriptor() ([]byte, []int)

Deprecated: Use VfList.ProtoReflect.Descriptor instead.

func (*VfList) GetData

func (x *VfList) GetData() []*EthVF

func (*VfList) GetVfCount

func (x *VfList) GetVfCount() uint32

func (*VfList) ProtoMessage

func (*VfList) ProtoMessage()

func (*VfList) ProtoReflect

func (x *VfList) ProtoReflect() protoreflect.Message

func (*VfList) Reset

func (x *VfList) Reset()

func (*VfList) String

func (x *VfList) String() string

type VlanAdapter

type VlanAdapter struct {

	// Logical name of this VLAN adapter.
	Logicallabel string `protobuf:"bytes,1,opt,name=logicallabel,proto3" json:"logicallabel,omitempty"`
	// A physical name of the VLAN sub-interface.
	// Note that the interface name is limited in Linux kernel to 15 characters.
	// If not defined, logicallabel will be used instead.
	InterfaceName string `protobuf:"bytes,2,opt,name=interface_name,json=interfaceName,proto3" json:"interface_name,omitempty"`
	// Logical name of the lower layer adapter (bond or physicalIO).
	LowerLayerName string `protobuf:"bytes,3,opt,name=lower_layer_name,json=lowerLayerName,proto3" json:"lower_layer_name,omitempty"`
	// VLAN ID. Valid values are from 1 to 4094.
	VlanId uint32 `protobuf:"varint,4,opt,name=vlan_id,json=vlanId,proto3" json:"vlan_id,omitempty"`
	// contains filtered or unexported fields
}

VlanAdapter represents a single VLAN sub-interface. The parent, which is referenced by lower_layer_name, should be either PhysicalIO or BondAdapter.

func (*VlanAdapter) Descriptor deprecated

func (*VlanAdapter) Descriptor() ([]byte, []int)

Deprecated: Use VlanAdapter.ProtoReflect.Descriptor instead.

func (*VlanAdapter) GetInterfaceName

func (x *VlanAdapter) GetInterfaceName() string

func (*VlanAdapter) GetLogicallabel

func (x *VlanAdapter) GetLogicallabel() string

func (*VlanAdapter) GetLowerLayerName

func (x *VlanAdapter) GetLowerLayerName() string

func (*VlanAdapter) GetVlanId

func (x *VlanAdapter) GetVlanId() uint32

func (*VlanAdapter) ProtoMessage

func (*VlanAdapter) ProtoMessage()

func (*VlanAdapter) ProtoReflect

func (x *VlanAdapter) ProtoReflect() protoreflect.Message

func (*VlanAdapter) Reset

func (x *VlanAdapter) Reset()

func (*VlanAdapter) String

func (x *VlanAdapter) String() string

type VmConfig

type VmConfig struct {
	Kernel  string `protobuf:"bytes,1,opt,name=kernel,proto3" json:"kernel,omitempty"`
	Ramdisk string `protobuf:"bytes,2,opt,name=ramdisk,proto3" json:"ramdisk,omitempty"`
	// in kbytes; rounded up to Mbytes for xen
	Memory uint32 `protobuf:"varint,3,opt,name=memory,proto3" json:"memory,omitempty"`
	// in kbytes; xen only, default equal to 'memory', so no ballooning
	Maxmem uint32 `protobuf:"varint,4,opt,name=maxmem,proto3" json:"maxmem,omitempty"`
	// The amount of the VCPUs in the VM.
	Vcpus uint32 `protobuf:"varint,5,opt,name=vcpus,proto3" json:"vcpus,omitempty"`
	// In the case of the Xen hypervisor - the maximal amount of the VCPUs
	// available to the VM. Can be greater than `vcpus` (the VCPUs online on the
	// VM start). If the field is not set, it is initialized by EVE to the value
	// in the `vcpus` field.
	Maxcpus    uint32 `protobuf:"varint,6,opt,name=maxcpus,proto3" json:"maxcpus,omitempty"`
	Rootdev    string `protobuf:"bytes,7,opt,name=rootdev,proto3" json:"rootdev,omitempty"`
	Extraargs  string `protobuf:"bytes,8,opt,name=extraargs,proto3" json:"extraargs,omitempty"`
	Bootloader string `protobuf:"bytes,9,opt,name=bootloader,proto3" json:"bootloader,omitempty"`
	// Currently is not handled by EVE.
	// CPU mask of the CPUs assigned to the VM. Represented in the form
	// "d[[,-]d]*". E.g. "0-2" or "0-2,5,6". CPUs start with 0. For example, the
	// mask "0,3" would mean that only physical CPUs 0 and 3 are available for
	// the VM.
	Cpus               string   `protobuf:"bytes,10,opt,name=cpus,proto3" json:"cpus,omitempty"`
	Devicetree         string   `protobuf:"bytes,11,opt,name=devicetree,proto3" json:"devicetree,omitempty"`
	Dtdev              []string `protobuf:"bytes,12,rep,name=dtdev,proto3" json:"dtdev,omitempty"`
	Irqs               []uint32 `protobuf:"varint,13,rep,packed,name=irqs,proto3" json:"irqs,omitempty"`
	Iomem              []string `protobuf:"bytes,14,rep,name=iomem,proto3" json:"iomem,omitempty"`
	VirtualizationMode VmMode   `protobuf:"varint,15,opt,name=virtualizationMode,proto3,enum=org.lfedge.eve.config.VmMode" json:"virtualizationMode,omitempty"`
	EnableVnc          bool     `protobuf:"varint,16,opt,name=enableVnc,proto3" json:"enableVnc,omitempty"`
	VncDisplay         uint32   `protobuf:"varint,17,opt,name=vncDisplay,proto3" json:"vncDisplay,omitempty"`
	VncPasswd          string   `protobuf:"bytes,18,opt,name=vncPasswd,proto3" json:"vncPasswd,omitempty"`
	// Change of the 'disable logs' field can be handled without VM reboot
	DisableLogs bool `protobuf:"varint,19,opt,name=disableLogs,proto3" json:"disableLogs,omitempty"`
	// Set if the VM should run in a mode with pinned CPUs.
	// In this case any VCPU thread created by QEMU runs on a dedicated physical
	// CPU. All the other QEMU threads will be limited to run on the physical
	// CPUs defined by CPU mask. The CPU mask is provided with the 'cpus' field,
	// defined above. If the CPU mask is not set, the physical CPUs to be used
	// for running QEMU threads are picked automatically by Pillar: it just takes
	// that amount of available physical CPUs that is defined with the 'vcpus'
	// parameter defined above.
	PinCpu bool `protobuf:"varint,20,opt,name=pin_cpu,json=pinCpu,proto3" json:"pin_cpu,omitempty"`
	// Maximum amount of memory in kbytes allowed for VM monitor to occupy,
	// aka "overhead". E.g. for the qemu-kvm hypervisor the memory limit
	// for one VM instance (guest RAM + VM monitor) is set according to the
	// following equation: `memory` + `vmm_maxmem`
	VmmMaxmem uint32 `protobuf:"varint,21,opt,name=vmm_maxmem,json=vmmMaxmem,proto3" json:"vmm_maxmem,omitempty"`
	// contains filtered or unexported fields
}

func (*VmConfig) Descriptor deprecated

func (*VmConfig) Descriptor() ([]byte, []int)

Deprecated: Use VmConfig.ProtoReflect.Descriptor instead.

func (*VmConfig) GetBootloader

func (x *VmConfig) GetBootloader() string

func (*VmConfig) GetCpus

func (x *VmConfig) GetCpus() string

func (*VmConfig) GetDevicetree

func (x *VmConfig) GetDevicetree() string

func (*VmConfig) GetDisableLogs

func (x *VmConfig) GetDisableLogs() bool

func (*VmConfig) GetDtdev

func (x *VmConfig) GetDtdev() []string

func (*VmConfig) GetEnableVnc

func (x *VmConfig) GetEnableVnc() bool

func (*VmConfig) GetExtraargs

func (x *VmConfig) GetExtraargs() string

func (*VmConfig) GetIomem

func (x *VmConfig) GetIomem() []string

func (*VmConfig) GetIrqs

func (x *VmConfig) GetIrqs() []uint32

func (*VmConfig) GetKernel

func (x *VmConfig) GetKernel() string

func (*VmConfig) GetMaxcpus

func (x *VmConfig) GetMaxcpus() uint32

func (*VmConfig) GetMaxmem

func (x *VmConfig) GetMaxmem() uint32

func (*VmConfig) GetMemory

func (x *VmConfig) GetMemory() uint32

func (*VmConfig) GetPinCpu

func (x *VmConfig) GetPinCpu() bool

func (*VmConfig) GetRamdisk

func (x *VmConfig) GetRamdisk() string

func (*VmConfig) GetRootdev

func (x *VmConfig) GetRootdev() string

func (*VmConfig) GetVcpus

func (x *VmConfig) GetVcpus() uint32

func (*VmConfig) GetVirtualizationMode

func (x *VmConfig) GetVirtualizationMode() VmMode

func (*VmConfig) GetVmmMaxmem

func (x *VmConfig) GetVmmMaxmem() uint32

func (*VmConfig) GetVncDisplay

func (x *VmConfig) GetVncDisplay() uint32

func (*VmConfig) GetVncPasswd

func (x *VmConfig) GetVncPasswd() string

func (*VmConfig) ProtoMessage

func (*VmConfig) ProtoMessage()

func (*VmConfig) ProtoReflect

func (x *VmConfig) ProtoReflect() protoreflect.Message

func (*VmConfig) Reset

func (x *VmConfig) Reset()

func (*VmConfig) String

func (x *VmConfig) String() string

type VmMode

type VmMode int32

For now we need to tell the device which virtualization mode to use. Later we might use a single one for all VMs (on any particular ISA). If we end up keeping this we should make the names be less tied to a particular hypervisor.

const (
	VmMode_PV      VmMode = 0
	VmMode_HVM     VmMode = 1
	VmMode_Filler  VmMode = 2 // PVH = 2;
	VmMode_FML     VmMode = 3 // Experimental machine learning mode
	VmMode_NOHYPER VmMode = 4 // Do not use a hypervisor
	VmMode_LEGACY  VmMode = 5 // HVM, but with fully emulated legacy I/O (IDE disks and e1000 net)
)

func (VmMode) Descriptor

func (VmMode) Descriptor() protoreflect.EnumDescriptor

func (VmMode) Enum

func (x VmMode) Enum() *VmMode

func (VmMode) EnumDescriptor deprecated

func (VmMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use VmMode.Descriptor instead.

func (VmMode) Number

func (x VmMode) Number() protoreflect.EnumNumber

func (VmMode) String

func (x VmMode) String() string

func (VmMode) Type

func (VmMode) Type() protoreflect.EnumType

type Volume

type Volume struct {
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// origin of the volume content.
	Origin *VolumeContentOrigin `protobuf:"bytes,2,opt,name=origin,proto3" json:"origin,omitempty"`
	// describes all the different ways how this Volume can
	// be offered to Tasks
	Protocols []VolumeAccessProtocols `` /* 128-byte string literal not displayed */
	// change in generationCount indicates that the mutated volume needs to be
	// purged and built from scratch. This is a generalization of the purge
	// command for an application instance
	GenerationCount int64 `protobuf:"varint,4,opt,name=generationCount,proto3" json:"generationCount,omitempty"`
	// miscellaneous attributes of the Volume
	// maxSizeBytes Used for capping resource consumption in EVE.
	// maxSizeBytes indicates the maximum size of the volume.
	Maxsizebytes int64  `protobuf:"varint,5,opt,name=maxsizebytes,proto3" json:"maxsizebytes,omitempty"`
	Readonly     bool   `protobuf:"varint,6,opt,name=readonly,proto3" json:"readonly,omitempty"`                               // Will be offered to tasks as read-only
	DisplayName  string `protobuf:"bytes,7,opt,name=displayName,proto3" json:"displayName,omitempty"`                          // Optional friendly name echo'ed in info message
	ClearText    bool   `protobuf:"varint,8,opt,name=clear_text,json=clearText,proto3" json:"clear_text,omitempty"`            // Flag to indicate the volume encryption needed or not
	Target       Target `protobuf:"varint,9,opt,name=target,proto3,enum=org.lfedge.eve.config.Target" json:"target,omitempty"` // How the volume will be presented to the instance. At the moment only the AppCustom is used
	// contains filtered or unexported fields
}

The Volume describes a storage volume which should exist on the device. This can currently either be blank or created from a ContentTree If maxSizeBytes is zero it means unlimited by the controller. In that case EVE needs to determine how much space it can assign and limit any downloaded ContentTree and the created volume based on that calculated size.

func (*Volume) Descriptor deprecated

func (*Volume) Descriptor() ([]byte, []int)

Deprecated: Use Volume.ProtoReflect.Descriptor instead.

func (*Volume) GetClearText

func (x *Volume) GetClearText() bool

func (*Volume) GetDisplayName

func (x *Volume) GetDisplayName() string

func (*Volume) GetGenerationCount

func (x *Volume) GetGenerationCount() int64

func (*Volume) GetMaxsizebytes

func (x *Volume) GetMaxsizebytes() int64

func (*Volume) GetOrigin

func (x *Volume) GetOrigin() *VolumeContentOrigin

func (*Volume) GetProtocols

func (x *Volume) GetProtocols() []VolumeAccessProtocols

func (*Volume) GetReadonly

func (x *Volume) GetReadonly() bool

func (*Volume) GetTarget

func (x *Volume) GetTarget() Target

func (*Volume) GetUuid

func (x *Volume) GetUuid() string

func (*Volume) ProtoMessage

func (*Volume) ProtoMessage()

func (*Volume) ProtoReflect

func (x *Volume) ProtoReflect() protoreflect.Message

func (*Volume) Reset

func (x *Volume) Reset()

func (*Volume) String

func (x *Volume) String() string

type VolumeAccessProtocols

type VolumeAccessProtocols int32

The protocol that the task will use to access the Volume

const (
	VolumeAccessProtocols_VAP_NONE VolumeAccessProtocols = 0
	VolumeAccessProtocols_VAP_9P   VolumeAccessProtocols = 1
)

func (VolumeAccessProtocols) Descriptor

func (VolumeAccessProtocols) Enum

func (VolumeAccessProtocols) EnumDescriptor deprecated

func (VolumeAccessProtocols) EnumDescriptor() ([]byte, []int)

Deprecated: Use VolumeAccessProtocols.Descriptor instead.

func (VolumeAccessProtocols) Number

func (VolumeAccessProtocols) String

func (x VolumeAccessProtocols) String() string

func (VolumeAccessProtocols) Type

type VolumeContentOrigin

type VolumeContentOrigin struct {
	Type                  VolumeContentOriginType `protobuf:"varint,1,opt,name=type,proto3,enum=org.lfedge.eve.config.VolumeContentOriginType" json:"type,omitempty"`
	DownloadContentTreeID string                  `protobuf:"bytes,2,opt,name=downloadContentTreeID,proto3" json:"downloadContentTreeID,omitempty"` // UUID for ContentTree
	// contains filtered or unexported fields
}

func (*VolumeContentOrigin) Descriptor deprecated

func (*VolumeContentOrigin) Descriptor() ([]byte, []int)

Deprecated: Use VolumeContentOrigin.ProtoReflect.Descriptor instead.

func (*VolumeContentOrigin) GetDownloadContentTreeID

func (x *VolumeContentOrigin) GetDownloadContentTreeID() string

func (*VolumeContentOrigin) GetType

func (*VolumeContentOrigin) ProtoMessage

func (*VolumeContentOrigin) ProtoMessage()

func (*VolumeContentOrigin) ProtoReflect

func (x *VolumeContentOrigin) ProtoReflect() protoreflect.Message

func (*VolumeContentOrigin) Reset

func (x *VolumeContentOrigin) Reset()

func (*VolumeContentOrigin) String

func (x *VolumeContentOrigin) String() string

type VolumeContentOriginType

type VolumeContentOriginType int32
const (
	VolumeContentOriginType_VCOT_UNKNOWN  VolumeContentOriginType = 0
	VolumeContentOriginType_VCOT_BLANK    VolumeContentOriginType = 1 // Create an empty directory/disk with specified size
	VolumeContentOriginType_VCOT_DOWNLOAD VolumeContentOriginType = 2 // Create from downloadContentTreeID
)

func (VolumeContentOriginType) Descriptor

func (VolumeContentOriginType) Enum

func (VolumeContentOriginType) EnumDescriptor deprecated

func (VolumeContentOriginType) EnumDescriptor() ([]byte, []int)

Deprecated: Use VolumeContentOriginType.Descriptor instead.

func (VolumeContentOriginType) Number

func (VolumeContentOriginType) String

func (x VolumeContentOriginType) String() string

func (VolumeContentOriginType) Type

type VolumeRef

type VolumeRef struct {
	Uuid            string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // Volume UUID
	GenerationCount int64  `protobuf:"varint,2,opt,name=generationCount,proto3" json:"generationCount,omitempty"`
	// Indicates volume mount point inside container
	// if mount_dir is empty then it will be mounted on /mnt
	MountDir string `protobuf:"bytes,3,opt,name=mount_dir,json=mountDir,proto3" json:"mount_dir,omitempty"`
	// contains filtered or unexported fields
}

Reference to a Volume specified separately in the API If a volume is purged (re-created from scratch) it will either have a new UUID or a new generationCount

func (*VolumeRef) Descriptor deprecated

func (*VolumeRef) Descriptor() ([]byte, []int)

Deprecated: Use VolumeRef.ProtoReflect.Descriptor instead.

func (*VolumeRef) GetGenerationCount

func (x *VolumeRef) GetGenerationCount() int64

func (*VolumeRef) GetMountDir

func (x *VolumeRef) GetMountDir() string

func (*VolumeRef) GetUuid

func (x *VolumeRef) GetUuid() string

func (*VolumeRef) ProtoMessage

func (*VolumeRef) ProtoMessage()

func (*VolumeRef) ProtoReflect

func (x *VolumeRef) ProtoReflect() protoreflect.Message

func (*VolumeRef) Reset

func (x *VolumeRef) Reset()

func (*VolumeRef) String

func (x *VolumeRef) String() string

type WiFiKeyScheme

type WiFiKeyScheme int32
const (
	WiFiKeyScheme_SchemeNOOP WiFiKeyScheme = 0
	WiFiKeyScheme_WPAPSK     WiFiKeyScheme = 1 // WPA-PSK
	WiFiKeyScheme_WPAEAP     WiFiKeyScheme = 2 // WPA-EAP or WPA2 Enterprise
)

func (WiFiKeyScheme) Descriptor

func (WiFiKeyScheme) Enum

func (x WiFiKeyScheme) Enum() *WiFiKeyScheme

func (WiFiKeyScheme) EnumDescriptor deprecated

func (WiFiKeyScheme) EnumDescriptor() ([]byte, []int)

Deprecated: Use WiFiKeyScheme.Descriptor instead.

func (WiFiKeyScheme) Number

func (WiFiKeyScheme) String

func (x WiFiKeyScheme) String() string

func (WiFiKeyScheme) Type

type WifiConfig

type WifiConfig struct {
	WifiSSID  string        `protobuf:"bytes,1,opt,name=wifiSSID,proto3" json:"wifiSSID,omitempty"`                                             // SSID for WIFI
	KeyScheme WiFiKeyScheme `protobuf:"varint,2,opt,name=keyScheme,proto3,enum=org.lfedge.eve.config.WiFiKeyScheme" json:"keyScheme,omitempty"` // key management scheme, WPA-PSK, WPS-EPA, etc
	// to be deprecated, use cipherData instead
	Identity string `protobuf:"bytes,5,opt,name=identity,proto3" json:"identity,omitempty"` // WPA2 Enterprise user identity/username
	// to be deprecated, use cipherData instead
	Password   string                 `protobuf:"bytes,10,opt,name=password,proto3" json:"password,omitempty"`     // a string of hashed psk or password
	Crypto     *WifiConfigCryptoblock `protobuf:"bytes,20,opt,name=crypto,proto3" json:"crypto,omitempty"`         // encrypted block
	Priority   int32                  `protobuf:"varint,25,opt,name=priority,proto3" json:"priority,omitempty"`    // priority of connection, default is 0
	CipherData *CipherBlock           `protobuf:"bytes,30,opt,name=cipherData,proto3" json:"cipherData,omitempty"` // contains encrypted credential information
	// contains filtered or unexported fields
}

func (*WifiConfig) Descriptor deprecated

func (*WifiConfig) Descriptor() ([]byte, []int)

Deprecated: Use WifiConfig.ProtoReflect.Descriptor instead.

func (*WifiConfig) GetCipherData

func (x *WifiConfig) GetCipherData() *CipherBlock

func (*WifiConfig) GetCrypto

func (x *WifiConfig) GetCrypto() *WifiConfigCryptoblock

func (*WifiConfig) GetIdentity

func (x *WifiConfig) GetIdentity() string

func (*WifiConfig) GetKeyScheme

func (x *WifiConfig) GetKeyScheme() WiFiKeyScheme

func (*WifiConfig) GetPassword

func (x *WifiConfig) GetPassword() string

func (*WifiConfig) GetPriority

func (x *WifiConfig) GetPriority() int32

func (*WifiConfig) GetWifiSSID

func (x *WifiConfig) GetWifiSSID() string

func (*WifiConfig) ProtoMessage

func (*WifiConfig) ProtoMessage()

func (*WifiConfig) ProtoReflect

func (x *WifiConfig) ProtoReflect() protoreflect.Message

func (*WifiConfig) Reset

func (x *WifiConfig) Reset()

func (*WifiConfig) String

func (x *WifiConfig) String() string

type WifiConfigCryptoblock

type WifiConfigCryptoblock struct {
	Identity string `protobuf:"bytes,11,opt,name=identity,proto3" json:"identity,omitempty"` // encrypted username if not empty
	Password string `protobuf:"bytes,12,opt,name=password,proto3" json:"password,omitempty"` // encrypted Password if not empty
	// contains filtered or unexported fields
}

func (*WifiConfigCryptoblock) Descriptor deprecated

func (*WifiConfigCryptoblock) Descriptor() ([]byte, []int)

Deprecated: Use WifiConfigCryptoblock.ProtoReflect.Descriptor instead.

func (*WifiConfigCryptoblock) GetIdentity

func (x *WifiConfigCryptoblock) GetIdentity() string

func (*WifiConfigCryptoblock) GetPassword

func (x *WifiConfigCryptoblock) GetPassword() string

func (*WifiConfigCryptoblock) ProtoMessage

func (*WifiConfigCryptoblock) ProtoMessage()

func (*WifiConfigCryptoblock) ProtoReflect

func (x *WifiConfigCryptoblock) ProtoReflect() protoreflect.Message

func (*WifiConfigCryptoblock) Reset

func (x *WifiConfigCryptoblock) Reset()

func (*WifiConfigCryptoblock) String

func (x *WifiConfigCryptoblock) String() string

type WirelessConfig

type WirelessConfig struct {
	Type        WirelessType      `protobuf:"varint,1,opt,name=type,proto3,enum=org.lfedge.eve.config.WirelessType" json:"type,omitempty"` // either LTE or Wifi
	CellularCfg []*CellularConfig `protobuf:"bytes,5,rep,name=cellularCfg,proto3" json:"cellularCfg,omitempty"`                            // Cellular config
	WifiCfg     []*WifiConfig     `protobuf:"bytes,10,rep,name=wifiCfg,proto3" json:"wifiCfg,omitempty"`                                   // Wifi, can be multiple APs on a single wlan, e.g. one for 2.5Ghz, other 5Ghz SSIDs
	// contains filtered or unexported fields
}

func (*WirelessConfig) Descriptor deprecated

func (*WirelessConfig) Descriptor() ([]byte, []int)

Deprecated: Use WirelessConfig.ProtoReflect.Descriptor instead.

func (*WirelessConfig) GetCellularCfg

func (x *WirelessConfig) GetCellularCfg() []*CellularConfig

func (*WirelessConfig) GetType

func (x *WirelessConfig) GetType() WirelessType

func (*WirelessConfig) GetWifiCfg

func (x *WirelessConfig) GetWifiCfg() []*WifiConfig

func (*WirelessConfig) ProtoMessage

func (*WirelessConfig) ProtoMessage()

func (*WirelessConfig) ProtoReflect

func (x *WirelessConfig) ProtoReflect() protoreflect.Message

func (*WirelessConfig) Reset

func (x *WirelessConfig) Reset()

func (*WirelessConfig) String

func (x *WirelessConfig) String() string

type WirelessType

type WirelessType int32
const (
	WirelessType_TypeNOOP WirelessType = 0
	WirelessType_WiFi     WirelessType = 1
	WirelessType_Cellular WirelessType = 2
)

func (WirelessType) Descriptor

func (WirelessType) Enum

func (x WirelessType) Enum() *WirelessType

func (WirelessType) EnumDescriptor deprecated

func (WirelessType) EnumDescriptor() ([]byte, []int)

Deprecated: Use WirelessType.Descriptor instead.

func (WirelessType) Number

func (WirelessType) String

func (x WirelessType) String() string

func (WirelessType) Type

type ZNetworkInstType

type ZNetworkInstType int32
const (
	ZNetworkInstType_ZNetInstFirst       ZNetworkInstType = 0
	ZNetworkInstType_ZnetInstSwitch      ZNetworkInstType = 1
	ZNetworkInstType_ZnetInstLocal       ZNetworkInstType = 2
	ZNetworkInstType_ZnetInstCloud       ZNetworkInstType = 3
	ZNetworkInstType_ZnetInstMesh        ZNetworkInstType = 4
	ZNetworkInstType_ZnetInstHoneyPot    ZNetworkInstType = 5
	ZNetworkInstType_ZnetInstTransparent ZNetworkInstType = 6
	ZNetworkInstType_ZNetInstLast        ZNetworkInstType = 255
)

func (ZNetworkInstType) Descriptor

func (ZNetworkInstType) Enum

func (ZNetworkInstType) EnumDescriptor deprecated

func (ZNetworkInstType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ZNetworkInstType.Descriptor instead.

func (ZNetworkInstType) Number

func (ZNetworkInstType) String

func (x ZNetworkInstType) String() string

func (ZNetworkInstType) Type

type ZNetworkOpaqueConfigType

type ZNetworkOpaqueConfigType int32
const (
	ZNetworkOpaqueConfigType_ZNetOConfigVPN  ZNetworkOpaqueConfigType = 0
	ZNetworkOpaqueConfigType_ZNetOConfigLisp ZNetworkOpaqueConfigType = 1
)

func (ZNetworkOpaqueConfigType) Descriptor

func (ZNetworkOpaqueConfigType) Enum

func (ZNetworkOpaqueConfigType) EnumDescriptor deprecated

func (ZNetworkOpaqueConfigType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ZNetworkOpaqueConfigType.Descriptor instead.

func (ZNetworkOpaqueConfigType) Number

func (ZNetworkOpaqueConfigType) String

func (x ZNetworkOpaqueConfigType) String() string

func (ZNetworkOpaqueConfigType) Type

type ZcServicePoint

type ZcServicePoint struct {
	ZsType     ZcServiceType `protobuf:"varint,3,opt,name=zsType,proto3,enum=org.lfedge.eve.config.ZcServiceType" json:"zsType,omitempty"`
	NameOrIp   string        `protobuf:"bytes,1,opt,name=NameOrIp,proto3" json:"NameOrIp,omitempty"`
	Credential string        `protobuf:"bytes,2,opt,name=Credential,proto3" json:"Credential,omitempty"`
	// contains filtered or unexported fields
}

This is way to tell the device if there is service in cloud somewhere, what type it is how to access it

func (*ZcServicePoint) Descriptor deprecated

func (*ZcServicePoint) Descriptor() ([]byte, []int)

Deprecated: Use ZcServicePoint.ProtoReflect.Descriptor instead.

func (*ZcServicePoint) GetCredential

func (x *ZcServicePoint) GetCredential() string

func (*ZcServicePoint) GetNameOrIp

func (x *ZcServicePoint) GetNameOrIp() string

func (*ZcServicePoint) GetZsType

func (x *ZcServicePoint) GetZsType() ZcServiceType

func (*ZcServicePoint) ProtoMessage

func (*ZcServicePoint) ProtoMessage()

func (*ZcServicePoint) ProtoReflect

func (x *ZcServicePoint) ProtoReflect() protoreflect.Message

func (*ZcServicePoint) Reset

func (x *ZcServicePoint) Reset()

func (*ZcServicePoint) String

func (x *ZcServicePoint) String() string

type ZcServiceType

type ZcServiceType int32
const (
	ZcServiceType_zcloudInvalidSrv ZcServiceType = 0
	// mapping service for zededa overlay service
	ZcServiceType_mapServer ZcServiceType = 1
	// if device has support feature enabled, this is cloud service from
	// device can be reached
	ZcServiceType_supportServer ZcServiceType = 2
)

func (ZcServiceType) Descriptor

func (ZcServiceType) Enum

func (x ZcServiceType) Enum() *ZcServiceType

func (ZcServiceType) EnumDescriptor deprecated

func (ZcServiceType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ZcServiceType.Descriptor instead.

func (ZcServiceType) Number

func (ZcServiceType) String

func (x ZcServiceType) String() string

func (ZcServiceType) Type

type ZedServer

type ZedServer struct {
	HostName string   `protobuf:"bytes,1,opt,name=HostName,proto3" json:"HostName,omitempty"`
	EID      []string `protobuf:"bytes,2,rep,name=EID,proto3" json:"EID,omitempty"`
	// contains filtered or unexported fields
}

deprecated use ZnetStaticDNSEntry

func (*ZedServer) Descriptor deprecated

func (*ZedServer) Descriptor() ([]byte, []int)

Deprecated: Use ZedServer.ProtoReflect.Descriptor instead.

func (*ZedServer) GetEID

func (x *ZedServer) GetEID() []string

func (*ZedServer) GetHostName

func (x *ZedServer) GetHostName() string

func (*ZedServer) ProtoMessage

func (*ZedServer) ProtoMessage()

func (*ZedServer) ProtoReflect

func (x *ZedServer) ProtoReflect() protoreflect.Message

func (*ZedServer) Reset

func (x *ZedServer) Reset()

func (*ZedServer) String

func (x *ZedServer) String() string

type ZnetStaticDNSEntry

type ZnetStaticDNSEntry struct {
	HostName string   `protobuf:"bytes,1,opt,name=HostName,proto3" json:"HostName,omitempty"`
	Address  []string `protobuf:"bytes,2,rep,name=Address,proto3" json:"Address,omitempty"`
	// contains filtered or unexported fields
}

These are list of static mapping that can be added to network

func (*ZnetStaticDNSEntry) Descriptor deprecated

func (*ZnetStaticDNSEntry) Descriptor() ([]byte, []int)

Deprecated: Use ZnetStaticDNSEntry.ProtoReflect.Descriptor instead.

func (*ZnetStaticDNSEntry) GetAddress

func (x *ZnetStaticDNSEntry) GetAddress() []string

func (*ZnetStaticDNSEntry) GetHostName

func (x *ZnetStaticDNSEntry) GetHostName() string

func (*ZnetStaticDNSEntry) ProtoMessage

func (*ZnetStaticDNSEntry) ProtoMessage()

func (*ZnetStaticDNSEntry) ProtoReflect

func (x *ZnetStaticDNSEntry) ProtoReflect() protoreflect.Message

func (*ZnetStaticDNSEntry) Reset

func (x *ZnetStaticDNSEntry) Reset()

func (*ZnetStaticDNSEntry) String

func (x *ZnetStaticDNSEntry) String() string

Jump to

Keyboard shortcuts

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