Skip to content

Commit

Permalink
Merge pull request #73 from megaport/feat/mve-aviatrix-6wind-prisma
Browse files Browse the repository at this point in the history
feat: add new MVE image types
  • Loading branch information
ccakes committed Sep 18, 2024
2 parents 154af0b + a1b3c4b commit acfbbf2
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions mve_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,16 @@ type VendorConfig interface {
IsVendorConfig()
}

// VSRConfig represents the configuration for a 6WIND VSR MVE.
type SixwindVSRConfig struct {
VendorConfig
Vendor string `json:"vendor"`
ImageID int `json:"imageId"`
ProductSize string `json:"productSize"`
MVELabel string `json:"mveLabel"`
SSHPublicKey string `json:"sshPublicKey"`
}

// ArubaConfig represents the configuration for an Aruba MVE.
type ArubaConfig struct {
VendorConfig
Expand All @@ -35,6 +45,16 @@ type ArubaConfig struct {
SystemTag string `json:"systemTag"`
}

// AviatrixConfig represents the configuration for an Aviatrix Secure Edge MVE.
type AviatrixConfig struct {
VendorConfig
Vendor string `json:"vendor"`
ImageID int `json:"imageId"`
ProductSize string `json:"productSize"`
MVELabel string `json:"mveLabel"`
CloudInit string `json:"cloudInit"`
}

// CiscoConfig represents the configuration for a Cisco MVE.
type CiscoConfig struct {
VendorConfig
Expand Down Expand Up @@ -76,6 +96,17 @@ type PaloAltoConfig struct {
LicenseData string `json:"licenseData,omitempty"`
}

// PrismaConfig represents the configuration for a Palo Alto Prisma MVE.
type PrismaConfig struct {
VendorConfig
Vendor string `json:"vendor"`
ImageID int `json:"imageId"`
ProductSize string `json:"productSize"`
MVELabel string `json:"mveLabel"`
IONKey string `json:"ionKey"`
SecretKey string `json:"secretKey"`
}

// VersaConfig represents the configuration for a Versa MVE.
type VersaConfig struct {
VendorConfig
Expand Down

0 comments on commit acfbbf2

Please sign in to comment.