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 ¶
- func GetSwitchInst() *commonDefs.AsicdClientStruct
- type AsicNotificationHdl
- type ClientJson
- type ConfigHandler
- func (h *ConfigHandler) CreateNDPGlobal(config *ndpd.NDPGlobal) (bool, error)
- func (h *ConfigHandler) DeleteNDPGlobal(config *ndpd.NDPGlobal) (bool, error)
- func (h *ConfigHandler) ExecuteActionNdpDeleteByIPv6Addr(config *ndpd.NdpDeleteByIPv6Addr) (bool, error)
- func (h *ConfigHandler) ExecuteActionNdpDeleteByIfName(config *ndpd.NdpDeleteByIfName) (bool, error)
- func (h *ConfigHandler) ExecuteActionNdpRefreshByIPv6Addr(config *ndpd.NdpRefreshByIPv6Addr) (bool, error)
- func (h *ConfigHandler) ExecuteActionNdpRefreshByIfName(config *ndpd.NdpRefreshByIfName) (bool, error)
- func (h *ConfigHandler) GetBulkIPV6AdjState(fromIdx ndpd.Int, count ndpd.Int) (*ndpd.IPV6AdjStateGetInfo, error)
- func (h *ConfigHandler) GetBulkNDPEntryState(fromIdx ndpd.Int, count ndpd.Int) (*ndpd.NDPEntryStateGetInfo, error)
- func (h *ConfigHandler) GetBulkNDPGlobalState(fromIndex ndpd.Int, count ndpd.Int) (*ndpd.NDPGlobalStateGetInfo, error)
- func (h *ConfigHandler) GetIPV6AdjState(intfRef string) (*ndpd.IPV6AdjState, error)
- func (h *ConfigHandler) GetNDPEntryState(ipAddr string) (*ndpd.NDPEntryState, error)
- func (h *ConfigHandler) GetNDPGlobalState(vrf string) (*ndpd.NDPGlobalState, error)
- func (h *ConfigHandler) UpdateNDPGlobal(orgCfg *ndpd.NDPGlobal, newCfg *ndpd.NDPGlobal, attrset []bool, ...) (bool, error)
- type ConfigPlugin
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 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