Documentation ¶
Overview ¶
Package caphandler ...
Package caphandler ...
Package caphandler ...
Package caphandler ...
Package caphandler ...
Package caphandler ...
Package caphandler ...
Package caphandler ...
Package caphandler ...
Package caphandler ..
Package caphandler ...
Package caphandler ...
Package caphandler ...
Package caphandler ...
Index ¶
- Variables
- func ChassisMethodNotAllowed(ctx iris.Context)
- func CreateAddressPool(ctx iris.Context)
- func CreateApplicationProfile(name string, tenant string, description string, ...) (*aciModels.ApplicationProfile, error)
- func CreateDefaultZone(zone model.Zone) (interface{}, int)
- func CreateEndpoint(ctx iris.Context)
- func CreateEventSubscription(ctx iris.Context)
- func CreateSession(ctx iris.Context)
- func CreateVRF(name string, tenant string, description string, ...) (*aciModels.VRF, error)
- func CreateZone(ctx iris.Context)
- func CreateZoneOfZones(uri string, fabricID string, zone model.Zone) (string, interface{}, int, *capdata.ACIDomainData)
- func DeleteAddressPoolInfo(ctx iris.Context)
- func DeleteEndpointInfo(ctx iris.Context)
- func DeleteEventSubscription(ctx iris.Context)
- func DeleteZone(ctx iris.Context)
- func GetAddressPoolCollection(ctx iris.Context)
- func GetAddressPoolInfo(ctx iris.Context)
- func GetChassis(ctx iris.Context)
- func GetChassisCollection(ctx iris.Context)
- func GetEndpointCollection(ctx iris.Context)
- func GetEndpointInfo(ctx iris.Context)
- func GetFabricData(ctx iris.Context)
- func GetFabricResource(ctx iris.Context)
- func GetManagersCollection(ctx iris.Context)
- func GetManagersInfo(ctx iris.Context)
- func GetPluginStartup(ctx iris.Context)
- func GetPluginStatus(ctx iris.Context)
- func GetPortCollection(ctx iris.Context)
- func GetPortInfo(ctx iris.Context)
- func GetSwitchCollection(ctx iris.Context)
- func GetSwitchInfo(ctx iris.Context)
- func GetTaskMonitor(ctx iris.Context)
- func GetTaskService(ctx iris.Context)
- func GetZone(ctx iris.Context)
- func GetZones(ctx iris.Context)
- func PatchPort(ctx iris.Context)
- func RedfishEvents(ctx iris.Context)
- func TokenValidation(token string) bool
- func UpdateZoneData(ctx iris.Context)
- func Validate(ctx iris.Context)
- type TokenMap
Constants ¶
This section is empty.
Variables ¶
var ( // In Channel In chan<- interface{} // Out Channel Out <-chan interface{} )
Functions ¶
func ChassisMethodNotAllowed ¶
ChassisMethodNotAllowed holds builds reponse for the unallowed http operation on Chassis URLs and returns 405 error.
func CreateAddressPool ¶
CreateAddressPool stores the given addresspool against given fabric
func CreateApplicationProfile ¶
func CreateApplicationProfile(name string, tenant string, description string, fvApattr aciModels.ApplicationProfileAttributes) (*aciModels.ApplicationProfile, error)
CreateApplicationProfile creates Application profiles using APIC
func CreateDefaultZone ¶
CreateDefaultZone creates a zone of type 'Default'
func CreateEndpoint ¶
CreateEndpoint : created endpoints under given fabric
func CreateEventSubscription ¶
CreateEventSubscription : Subscribes for events
func CreateSession ¶
CreateSession is used to create session for odimra to interact with plugin
func CreateVRF ¶
func CreateVRF(name string, tenant string, description string, fvCtxattr aciModels.VRFAttributes) (*aciModels.VRF, error)
CreateVRF creates VRF's using APIC
func CreateZone ¶
CreateZone default function called for creation of any type of zone
func CreateZoneOfZones ¶
func CreateZoneOfZones(uri string, fabricID string, zone model.Zone) (string, interface{}, int, *capdata.ACIDomainData)
CreateZoneOfZones takes the request to create zone of zones and translates to create application profiles and VRFs
func DeleteAddressPoolInfo ¶
DeleteAddressPoolInfo stores the given addresspool against given fabric
func DeleteEndpointInfo ¶
DeleteEndpointInfo : deletes endpoints under given fabric
func DeleteEventSubscription ¶
DeleteEventSubscription : Delete subscription
func GetAddressPoolCollection ¶
GetAddressPoolCollection fetches the addresspool which are linked to that fabric
func GetAddressPoolInfo ¶
GetAddressPoolInfo fetches the addresspool info for given addresspool id
func GetChassis ¶
GetChassis collects retrives the specific chassis details which is managed by plugin
func GetChassisCollection ¶
GetChassisCollection collects all the chassis details which are managed by plugin
func GetEndpointCollection ¶
GetEndpointCollection : Fetches details of the given resource from the device
func GetEndpointInfo ¶
GetEndpointInfo : gets endpoints under given fabric
func GetFabricData ¶
GetFabricData fetches the fabric information
func GetFabricResource ¶
GetFabricResource : Fetches details of the given resource from the device
func GetManagersCollection ¶
GetManagersCollection Fetches details of the manager collection
func GetManagersInfo ¶
GetManagersInfo Fetches details of the given manager info
func GetPluginStatus ¶
GetPluginStatus defines the GetPluginStatus iris handler. and returns status
func GetPortCollection ¶
GetPortCollection fetches the ports which are linked to that switch
func GetPortInfo ¶
GetPortInfo fetches the port info for given port id
func GetSwitchCollection ¶
GetSwitchCollection fetches the switches which are linked to that fabric
func GetSwitchInfo ¶
GetSwitchInfo fetches the switch info for given swith id
func RedfishEvents ¶
RedfishEvents receives the subscribed events from the south bound system Then it will send the received data and ip to publish method
func TokenValidation ¶
TokenValidation validates sent token with the list of plugin generated tokens
func UpdateZoneData ¶
UpdateZoneData provides patch operation on Zone