Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EngineInput ¶
type EngineInput struct { Paddle ccj.Paddle ApplicationNodeMetadata configs.ApplicationNodeMetadataMap // Advanced options to control when a the topology engine finds a despcrency. IgnoreRemovedHardware bool HardwareToIgnore []string IgnoreUnknownCANUHardwareArchitectures bool CurrentSLSState sls_common.SLSState }
type IPReservationChange ¶
type IPReservationChange struct { NetworkName string SubnetName string IPReservation sls_common.IPReservation // This is the hardware object that triggered the change // If empty, then this was not changed by hardware ChangedByXname string }
type SubnetChange ¶
type SubnetChange struct { NetworkName string Subnet sls_common.IPV4Subnet }
type TopologyChanges ¶
type TopologyChanges struct { // The following fields are meant to pushed back into SLS HardwareAdded []sls_common.GenericHardware ModifiedNetworks map[string]sls_common.Network // The following fields are for book keeping to trigger other events SubnetsAdded []SubnetChange IPReservationsAdded []IPReservationChange }
type TopologyEngine ¶
type TopologyEngine struct {
Input EngineInput
}
func (*TopologyEngine) DetermineChanges ¶
func (te *TopologyEngine) DetermineChanges() (*TopologyChanges, error)
Click to show internal directories.
Click to hide internal directories.