flexswitch

package
v0.0.0-...-ac9ef1f Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2017 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Copyright [2016] [SnapRoute Inc]

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

	 Unless required by applicable law or agreed to in writing, software
	 distributed under the License is distributed on an "AS IS" BASIS,
	 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
	 See the License for the specific language governing permissions and
	 limitations under the License.

_______ __ __________ ___ _______.____ __ ____ __ .___________. ______ __ __ | ____|| | | ____\ \ / / / |\ \ / \ / / | | | | / || | | | | |__ | | | |__ \ V / | (----` \ \/ \/ / | | `---| |----`| ,----'| |__| | | __| | | | __| > < \ \ \ / | | | | | | | __ | | | | `----.| |____ / . \ .----) | \ /\ / | | | | | `----.| | | | |__| |_______||_______/__/ \__\ |_______/ \__/ \__/ |__| |__| \______||__| |__|

Copyright [2016] [SnapRoute Inc]

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

	 Unless required by applicable law or agreed to in writing, software
	 distributed under the License is distributed on an "AS IS" BASIS,
	 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
	 See the License for the specific language governing permissions and
	 limitations under the License.

_______ __ __________ ___ _______.____ __ ____ __ .___________. ______ __ __ | ____|| | | ____\ \ / / / |\ \ / \ / / | | | | / || | | | | |__ | | | |__ \ V / | (----` \ \/ \/ / | | `---| |----`| ,----'| |__| | | __| | | | __| > < \ \ \ / | | | | | | | __ | | | | `----.| |____ / . \ .----) | \ /\ / | | | | | `----.| | | | |__| |_______||_______/__/ \__\ |_______/ \__/ \__/ |__| |__| \______||__| |__|

Copyright [2016] [SnapRoute Inc]

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

	 Unless required by applicable law or agreed to in writing, software
	 distributed under the License is distributed on an "AS IS" BASIS,
	 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
	 See the License for the specific language governing permissions and
	 limitations under the License.

_______ __ __________ ___ _______.____ __ ____ __ .___________. ______ __ __ | ____|| | | ____\ \ / / / |\ \ / \ / / | | | | / || | | | | |__ | | | |__ \ V / | (----` \ \/ \/ / | | `---| |----`| ,----'| |__| | | __| | | | __| > < \ \ \ / | | | | | | | __ | | | | `----.| |____ / . \ .----) | \ /\ / | | | | | `----.| | | | |__| |_______||_______/__/ \__\ |_______/ \__/ \__/ |__| |__| \______||__| |__|

Copyright [2016] [SnapRoute Inc]

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

	 Unless required by applicable law or agreed to in writing, software
	 distributed under the License is distributed on an "AS IS" BASIS,
	 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
	 See the License for the specific language governing permissions and
	 limitations under the License.

_______ __ __________ ___ _______.____ __ ____ __ .___________. ______ __ __ | ____|| | | ____\ \ / / / |\ \ / \ / / | | | | / || | | | | |__ | | | |__ \ V / | (----` \ \/ \/ / | | `---| |----`| ,----'| |__| | | __| | | | __| > < \ \ \ / | | | | | | | __ | | | | `----.| |____ / . \ .----) | \ /\ / | | | | | `----.| | | | |__| |_______||_______/__/ \__\ |_______/ \__/ \__/ |__| |__| \______||__| |__|

Copyright [2016] [SnapRoute Inc]

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

	 Unless required by applicable law or agreed to in writing, software
	 distributed under the License is distributed on an "AS IS" BASIS,
	 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
	 See the License for the specific language governing permissions and
	 limitations under the License.

_______ __ __________ ___ _______.____ __ ____ __ .___________. ______ __ __ | ____|| | | ____\ \ / / / |\ \ / \ / / | | | | / || | | | | |__ | | | |__ \ V / | (----` \ \/ \/ / | | `---| |----`| ,----'| |__| | | __| | | | __| > < \ \ \ / | | | | | | | __ | | | | `----.| |____ / . \ .----) | \ /\ / | | | | | `----.| | | | |__| |_______||_______/__/ \__\ |_______/ \__/ \__/ |__| |__| \______||__| |__|

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSwitchInst

func GetSwitchInst() *commonDefs.AsicdClientStruct

Types

type AsicNotificationHdl

type AsicNotificationHdl struct {
}

func (*AsicNotificationHdl) ProcessNotification

func (notifyHdl *AsicNotificationHdl) ProcessNotification(msg commonDefs.AsicdNotifyMsg)

type ClientJson

type ClientJson struct {
	Name string `json:Name`
	Port int    `json:Port`
}

type ConfigHandler

type ConfigHandler struct {
}

func NewConfigHandler

func NewConfigHandler() *ConfigHandler

func (*ConfigHandler) CreateNDPGlobal

func (h *ConfigHandler) CreateNDPGlobal(config *ndpd.NDPGlobal) (bool, error)

func (*ConfigHandler) DeleteNDPGlobal

func (h *ConfigHandler) DeleteNDPGlobal(config *ndpd.NDPGlobal) (bool, error)

func (*ConfigHandler) ExecuteActionNdpDeleteByIPv6Addr

func (h *ConfigHandler) ExecuteActionNdpDeleteByIPv6Addr(config *ndpd.NdpDeleteByIPv6Addr) (bool, error)

func (*ConfigHandler) ExecuteActionNdpDeleteByIfName

func (h *ConfigHandler) ExecuteActionNdpDeleteByIfName(config *ndpd.NdpDeleteByIfName) (bool, error)

func (*ConfigHandler) ExecuteActionNdpRefreshByIPv6Addr

func (h *ConfigHandler) ExecuteActionNdpRefreshByIPv6Addr(config *ndpd.NdpRefreshByIPv6Addr) (bool, error)

func (*ConfigHandler) ExecuteActionNdpRefreshByIfName

func (h *ConfigHandler) ExecuteActionNdpRefreshByIfName(config *ndpd.NdpRefreshByIfName) (bool, error)

func (*ConfigHandler) GetBulkIPV6AdjState

func (h *ConfigHandler) GetBulkIPV6AdjState(fromIdx ndpd.Int, count ndpd.Int) (*ndpd.IPV6AdjStateGetInfo, error)

func (*ConfigHandler) GetBulkNDPEntryState

func (h *ConfigHandler) GetBulkNDPEntryState(fromIdx ndpd.Int, count ndpd.Int) (*ndpd.NDPEntryStateGetInfo, error)

func (*ConfigHandler) GetBulkNDPGlobalState

func (h *ConfigHandler) GetBulkNDPGlobalState(fromIndex ndpd.Int, count ndpd.Int) (*ndpd.NDPGlobalStateGetInfo, error)

func (*ConfigHandler) GetIPV6AdjState

func (h *ConfigHandler) GetIPV6AdjState(intfRef string) (*ndpd.IPV6AdjState, error)

func (*ConfigHandler) GetNDPEntryState

func (h *ConfigHandler) GetNDPEntryState(ipAddr string) (*ndpd.NDPEntryState, error)

func (*ConfigHandler) GetNDPGlobalState

func (h *ConfigHandler) GetNDPGlobalState(vrf string) (*ndpd.NDPGlobalState, error)

func (*ConfigHandler) UpdateNDPGlobal

func (h *ConfigHandler) UpdateNDPGlobal(orgCfg *ndpd.NDPGlobal, newCfg *ndpd.NDPGlobal, attrset []bool, op []*ndpd.PatchOpInfo) (bool, error)

type ConfigPlugin

type ConfigPlugin struct {
	// contains filtered or unexported fields
}

func NewConfigPlugin

func NewConfigPlugin(handler *ConfigHandler, fileName string) *ConfigPlugin

func (*ConfigPlugin) StartConfigListener

func (cfg *ConfigPlugin) StartConfigListener() error

Jump to

Keyboard shortcuts

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