models

package
v0.0.0-...-9da2307 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2016 License: Apache-2.0 Imports: 0 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EndpointEntry

type EndpointEntry struct {
	Id    string `json:"id"`
	Ip    string `json:"ip"`
	EpgId string `json:"epgid"`
}

type EndpointGroup

type EndpointGroup struct {
	Id     string `json:"id"`
	Epg    string `json:"epg"`
	WireId string `json:"wire-id"`
}

type InfoEntry

type InfoEntry struct {
	Id string `json:"id"`
}

type ModuleEntry

type ModuleEntry struct {
	Id          string                 `json:"id"`
	ModuleType  string                 `json:"module_type"`
	DisplayName string                 `json:"display_name"`
	Perm        string                 `json:"permissions"`
	Config      map[string]interface{} `json:"config"`
	Tags        []string               `json:"tags"`
}

type Policy

type Policy struct {
	Id         string `json:"id"`
	SourceEPG  string `json:"sourceepg"`
	SourcePort string `json:"sourceport"`
	DestEPG    string `json:"destepg"`
	DestPort   string `json:"destport"`
	Protocol   string `json:"protocol"`
	Action     string `json:"action"` // action:Allow/Redirect
}

type TableEntry

type TableEntry struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

Jump to

Keyboard shortcuts

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