Documentation ¶
Index ¶
- func AppendActionName(err *error, actionName string)
- func CheckPortsVnicType(portsObj []*portobj.PortObj) error
- func GetNetworksAttrs(tenantID string, networkNames []string, needProvider bool) ([]*portobj.NetworkAttrs, error)
- func RecoverErr(p interface{}, err *error, actionName string)
- type AddNetToFlowMgrAction
- type AttachPortToBrIntAction
- type AttachPortToPodAction
- type CleanPhysicalResourceRecordAction
- type ConnectToBrdepAction
- type CreateVethPairAction
- type DelPodAction
- type DeleteLogicPortsForPodAction
- type DestroyNeutronPortAction
- type DestroyVethPairAction
- type DetachPortFromBrintAction
- type DetachTriggerAction
- type EndAction
- type GeneralModeCreateNeutronBulkPortsAction
- type GeneralModeGetMgrPortAction
- type GetAllPortsOfPodAction
- type GetNetworkAttrsAction
- type GetPodAction
- type GetVniAction
- type IsDeployPod
- type IsK8SRecycleResource
- type IsNetNsExist
- type IsNewPod
- type IsOvs
- type IsPodRestarted
- type IsTenantNetworkNeedDel
- type IsTenantNetworkNotExist
- type IsVxLan
- type K8SRecycleResourceAction
- type KnitterInfo
- type RemoveNetFromFlowMgrAction
- type ReusePortInfoAction
- type SavePhysicalResourceAction
- type SavePodAction
- type SaveVethToLocalDBAction
- type SouthInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendActionName ¶
func CheckPortsVnicType ¶
func CheckPortsVnicType(portsObj []*portobj.PortObj) error
func GetNetworksAttrs ¶
func RecoverErr ¶
Types ¶
type AddNetToFlowMgrAction ¶
type AddNetToFlowMgrAction struct { }
func (*AddNetToFlowMgrAction) Exec ¶
func (this *AddNetToFlowMgrAction) Exec(transInfo *transdsl.TransInfo) (err error)
func (*AddNetToFlowMgrAction) RollBack ¶
func (this *AddNetToFlowMgrAction) RollBack(transInfo *transdsl.TransInfo)
type AttachPortToBrIntAction ¶
type AttachPortToBrIntAction struct { }
func (*AttachPortToBrIntAction) Exec ¶
func (this *AttachPortToBrIntAction) Exec(transInfo *transdsl.TransInfo) (err error)
func (*AttachPortToBrIntAction) RollBack ¶
func (this *AttachPortToBrIntAction) RollBack(transInfo *transdsl.TransInfo)
type AttachPortToPodAction ¶
type AttachPortToPodAction struct { }
func (*AttachPortToPodAction) Exec ¶
func (this *AttachPortToPodAction) Exec(transInfo *transdsl.TransInfo) (err error)
func (*AttachPortToPodAction) RollBack ¶
func (this *AttachPortToPodAction) RollBack(transInfo *transdsl.TransInfo)
type CleanPhysicalResourceRecordAction ¶
type CleanPhysicalResourceRecordAction struct { }
func (*CleanPhysicalResourceRecordAction) Exec ¶
func (this *CleanPhysicalResourceRecordAction) Exec(transInfo *transdsl.TransInfo) (err error)
func (*CleanPhysicalResourceRecordAction) RollBack ¶
func (this *CleanPhysicalResourceRecordAction) RollBack(transInfo *transdsl.TransInfo)
type ConnectToBrdepAction ¶
type ConnectToBrdepAction struct { }
func (*ConnectToBrdepAction) Exec ¶
func (this *ConnectToBrdepAction) Exec(transInfo *transdsl.TransInfo) (err error)
func (*ConnectToBrdepAction) RollBack ¶
func (this *ConnectToBrdepAction) RollBack(transInfo *transdsl.TransInfo)
type CreateVethPairAction ¶
type CreateVethPairAction struct { }
func (*CreateVethPairAction) Exec ¶
func (this *CreateVethPairAction) Exec(transInfo *transdsl.TransInfo) (err error)
func (*CreateVethPairAction) RollBack ¶
func (this *CreateVethPairAction) RollBack(transInfo *transdsl.TransInfo)
type DelPodAction ¶
type DelPodAction struct { }
func (*DelPodAction) Exec ¶
func (this *DelPodAction) Exec(transInfo *transdsl.TransInfo) (err error)
func (*DelPodAction) RollBack ¶
func (this *DelPodAction) RollBack(transInfo *transdsl.TransInfo)
type DeleteLogicPortsForPodAction ¶
type DeleteLogicPortsForPodAction struct { }
func (*DeleteLogicPortsForPodAction) Exec ¶
func (this *DeleteLogicPortsForPodAction) Exec(transInfo *transdsl.TransInfo) (err error)
func (*DeleteLogicPortsForPodAction) RollBack ¶
func (this *DeleteLogicPortsForPodAction) RollBack(transInfo *transdsl.TransInfo)
type DestroyNeutronPortAction ¶
type DestroyNeutronPortAction struct { }
func (*DestroyNeutronPortAction) Exec ¶
func (this *DestroyNeutronPortAction) Exec(transInfo *transdsl.TransInfo) (err error)
func (*DestroyNeutronPortAction) RollBack ¶
func (this *DestroyNeutronPortAction) RollBack(transInfo *transdsl.TransInfo)
type DestroyVethPairAction ¶
type DestroyVethPairAction struct { }
func (*DestroyVethPairAction) Exec ¶
func (this *DestroyVethPairAction) Exec(transInfo *transdsl.TransInfo) (err error)
func (*DestroyVethPairAction) RollBack ¶
func (this *DestroyVethPairAction) RollBack(transInfo *transdsl.TransInfo)
type DetachPortFromBrintAction ¶
type DetachPortFromBrintAction struct { }
func (*DetachPortFromBrintAction) Exec ¶
func (this *DetachPortFromBrintAction) Exec(transInfo *transdsl.TransInfo) (err error)
func (*DetachPortFromBrintAction) RollBack ¶
func (this *DetachPortFromBrintAction) RollBack(transInfo *transdsl.TransInfo)
type DetachTriggerAction ¶
type DetachTriggerAction struct { }
func (*DetachTriggerAction) Exec ¶
func (this *DetachTriggerAction) Exec(transInfo *transdsl.TransInfo) (err error)
func (*DetachTriggerAction) RollBack ¶
func (this *DetachTriggerAction) RollBack(transInfo *transdsl.TransInfo)
type GeneralModeCreateNeutronBulkPortsAction ¶
type GeneralModeCreateNeutronBulkPortsAction struct { }
func (*GeneralModeCreateNeutronBulkPortsAction) Exec ¶
func (c *GeneralModeCreateNeutronBulkPortsAction) Exec(transInfo *transdsl.TransInfo) (err error)
func (*GeneralModeCreateNeutronBulkPortsAction) RollBack ¶
func (c *GeneralModeCreateNeutronBulkPortsAction) RollBack(transInfo *transdsl.TransInfo)
type GeneralModeGetMgrPortAction ¶
type GeneralModeGetMgrPortAction struct { }
func (*GeneralModeGetMgrPortAction) Exec ¶
func (this *GeneralModeGetMgrPortAction) Exec(transInfo *transdsl.TransInfo) (err error)
func (*GeneralModeGetMgrPortAction) RollBack ¶
func (this *GeneralModeGetMgrPortAction) RollBack(transInfo *transdsl.TransInfo)
type GetAllPortsOfPodAction ¶
type GetAllPortsOfPodAction struct { }
func (*GetAllPortsOfPodAction) Exec ¶
func (this *GetAllPortsOfPodAction) Exec(transInfo *transdsl.TransInfo) (err error)
func (*GetAllPortsOfPodAction) RollBack ¶
func (this *GetAllPortsOfPodAction) RollBack(transInfo *transdsl.TransInfo)
type GetNetworkAttrsAction ¶
type GetNetworkAttrsAction struct { }
func (*GetNetworkAttrsAction) Exec ¶
func (this *GetNetworkAttrsAction) Exec(transInfo *transdsl.TransInfo) (err error)
func (*GetNetworkAttrsAction) RollBack ¶
func (this *GetNetworkAttrsAction) RollBack(transInfo *transdsl.TransInfo)
type GetPodAction ¶
type GetPodAction struct { }
func (*GetPodAction) Exec ¶
func (this *GetPodAction) Exec(transInfo *transdsl.TransInfo) (err error)
func (*GetPodAction) RollBack ¶
func (this *GetPodAction) RollBack(transInfo *transdsl.TransInfo)
type GetVniAction ¶
type GetVniAction struct { }
func (*GetVniAction) Exec ¶
func (this *GetVniAction) Exec(transInfo *transdsl.TransInfo) (err error)
func (*GetVniAction) RollBack ¶
func (this *GetVniAction) RollBack(transInfo *transdsl.TransInfo)
type IsDeployPod ¶
type IsDeployPod struct { }
func (*IsDeployPod) Ok ¶
func (this *IsDeployPod) Ok(transInfo *transdsl.TransInfo) bool
type IsK8SRecycleResource ¶
type IsK8SRecycleResource struct { }
func (*IsK8SRecycleResource) Ok ¶
func (this *IsK8SRecycleResource) Ok(transInfo *transdsl.TransInfo) bool
type IsNetNsExist ¶
type IsNetNsExist struct { }
func (*IsNetNsExist) Ok ¶
func (this *IsNetNsExist) Ok(transInfo *transdsl.TransInfo) bool
type IsPodRestarted ¶
type IsPodRestarted struct { }
func (*IsPodRestarted) Ok ¶
func (this *IsPodRestarted) Ok(transInfo *transdsl.TransInfo) bool
func (*IsPodRestarted) RollBack ¶
func (this *IsPodRestarted) RollBack(transInfo *transdsl.TransInfo)
type IsTenantNetworkNeedDel ¶
type IsTenantNetworkNeedDel struct { }
func (IsTenantNetworkNeedDel) Ok ¶
func (this IsTenantNetworkNeedDel) Ok(transInfo *transdsl.TransInfo) bool
type IsTenantNetworkNotExist ¶
type IsTenantNetworkNotExist struct { }
func (*IsTenantNetworkNotExist) Ok ¶
func (this *IsTenantNetworkNotExist) Ok(transInfo *transdsl.TransInfo) bool
type K8SRecycleResourceAction ¶
type K8SRecycleResourceAction struct { }
func (*K8SRecycleResourceAction) Exec ¶
func (this *K8SRecycleResourceAction) Exec(transInfo *transdsl.TransInfo) (err error)
func (*K8SRecycleResourceAction) RollBack ¶
func (this *K8SRecycleResourceAction) RollBack(transInfo *transdsl.TransInfo)
type KnitterInfo ¶
type KnitterInfo struct { ReqBody []byte KnitterObj *knitterobj.KnitterObj Nics []bind.Dpdknic Chan chan int ChanFlag bool DpdkLabel string South bool // used for baremetal south bound port name prefix IsAttachOrDetachFlag bool // when flag type is ture meaning Attach , is false meaning Detach // contains filtered or unexported fields }
type RemoveNetFromFlowMgrAction ¶
type RemoveNetFromFlowMgrAction struct { }
func (*RemoveNetFromFlowMgrAction) Exec ¶
func (this *RemoveNetFromFlowMgrAction) Exec(transInfo *transdsl.TransInfo) (err error)
func (*RemoveNetFromFlowMgrAction) RollBack ¶
func (this *RemoveNetFromFlowMgrAction) RollBack(transInfo *transdsl.TransInfo)
type ReusePortInfoAction ¶
type ReusePortInfoAction struct { }
func (*ReusePortInfoAction) Exec ¶
func (c *ReusePortInfoAction) Exec(transInfo *transdsl.TransInfo) error
func (*ReusePortInfoAction) RollBack ¶
func (c *ReusePortInfoAction) RollBack(transInfo *transdsl.TransInfo)
type SavePhysicalResourceAction ¶
type SavePhysicalResourceAction struct { }
func (*SavePhysicalResourceAction) Exec ¶
func (this *SavePhysicalResourceAction) Exec(transInfo *transdsl.TransInfo) (err error)
func (*SavePhysicalResourceAction) RollBack ¶
func (this *SavePhysicalResourceAction) RollBack(transInfo *transdsl.TransInfo)
type SavePodAction ¶
type SavePodAction struct { }
func (*SavePodAction) Exec ¶
func (this *SavePodAction) Exec(transInfo *transdsl.TransInfo) (err error)
func (*SavePodAction) RollBack ¶
func (this *SavePodAction) RollBack(transInfo *transdsl.TransInfo)
type SaveVethToLocalDBAction ¶
type SaveVethToLocalDBAction struct { }
func (*SaveVethToLocalDBAction) Exec ¶
func (this *SaveVethToLocalDBAction) Exec(transInfo *transdsl.TransInfo) (err error)
func (*SaveVethToLocalDBAction) RollBack ¶
func (this *SaveVethToLocalDBAction) RollBack(transInfo *transdsl.TransInfo)
type SouthInterface ¶
type SouthInterface struct {
// contains filtered or unexported fields
}
Source Files ¶
- add_net_to_flow_mgr_action.go
- attach_port_to_brint_action.go
- attach_port_to_pod_action.go
- clean_physical_resource_record.go
- connect_to_brdep_action.go
- create_veth_pair_action.go
- del_pod_action.go
- delete_logic_ports_for_pod_action.go
- destroy_neutron_port_action.go
- destroy_veth_pair_action.go
- detach_port_from_brint_action.go
- detach_trigger_action.go
- end_action.go
- general_mode_create_neutron_bulk_ports_action.go
- general_mode_get_mgrport_action.go
- get_all_ports_of_pod_action.go
- get_network_attrs_action.go
- get_pod_action.go
- get_vni_action.go
- is_deploy_pod.go
- is_k8s_recycle_resource.go
- is_net_ns_exist.go
- is_new_pod.go
- is_ovs.go
- is_pod_detaching.go
- is_pod_restarted.go
- is_tenant_network_need_del.go
- is_tenant_network_not_exist.go
- is_vxlan.go
- k8s_recycle_resource_action.go
- knitter_info.go
- remove_net_from_flow_mgr_action.go
- reuse_port_info_action.go
- save_physical_resource_action.go
- save_pod_action.go
- save_veth_to_local_db_action.go
Click to show internal directories.
Click to hide internal directories.