Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MetadataDecoder ¶ added in v0.24.0
func MetadataDecoder(raw json.RawMessage) (common.Getter, error)
MetadataDecoder implements a json message raw decoder
Types ¶
type Metadata ¶ added in v0.24.0
type Metadata struct { PortID string `json:",omitempty"` TenantID string `json:",omitempty"` NetworkID string `json:",omitempty"` NetworkName string `json:",omitempty"` IPV4 []string `json:",omitempty"` IPV6 []string `json:",omitempty"` VNI int64 `json:",omitempty"` }
Metadata describes a Neutron port easyjson:json gendecoder
type Probe ¶ added in v0.21.0
type Probe struct { graph.DefaultGraphListener // contains filtered or unexported fields }
Probe describes a topology probe that maps neutron attributes in the graph
func NewProbe ¶ added in v0.21.0
func NewProbe(g *graph.Graph, authURL, username, password, tenantName, regionName, domainName string, availability gophercloud.Availability) (*Probe, error)
NewProbe creates a neutron probe that will enhance the graph
func NewProbeFromConfig ¶ added in v0.21.0
NewProbeFromConfig creates a new neutron probe based on configuration
func (*Probe) OnNodeAdded ¶ added in v0.21.0
OnNodeAdded event
func (*Probe) OnNodeDeleted ¶ added in v0.21.0
OnNodeDeleted event
func (*Probe) OnNodeUpdated ¶ added in v0.21.0
OnNodeUpdated event
Click to show internal directories.
Click to hide internal directories.