50 #ifndef OPENAPI_OSPF_CONFIG_H_INCLUDED
51 #define OPENAPI_OSPF_CONFIG_H_INCLUDED
56 #define OPEN_OSPF_INTF_SECONDARIES_NONE 0
57 #define OPEN_OSPF_INTF_SECONDARIES_ALL 0xFFFFFFFFUL
59 #define OPEN_OSPF_INTF_METRIC_NOT_CONFIGURED 0
588 uint32_t *secondaries);
610 uint32_t secondaries);
753 uint32_t wildcardMask,
774 uint32_t wildcardMask,
802 uint32_t wildcardMask,
link-state database has aged
Import and propagate T5 LSAs.
open_error_t openapiOspfMapRedistributionSet(openapiClientHandle_t *client_handle, bool redistribute, open_buffdesc *sourceProto, uint32_t distList, uint32_t metric, OPEN_OSPF_EXT_METRIC_TYPES_t type, int32_t tag, bool subnets)
Set configuration parameters for OSPF's redistribution of routes from other sources.
Import and propagate T7 LSAs.
non-virtual interface, can't be parsed
virtual interface, OSPF neighbor state change
open_error_t openapiOspfMapIntfSecondariesFlagSet(openapiClientHandle_t *client_handle, uint32_t intf, uint32_t secondaries)
Set the SecondariesFlag for the specified interface.
open_error_t openapiOspfMapIntfAdminModeGet(openapiClientHandle_t *client_handle, uint32_t intf, OPEN_CONTROL_t *mode)
Get the OSPF admin mode for the specified interface.
non-virtual interface, auth mismatch
open_error_t openapiOspfMapIntfHelloIntervalSet(openapiClientHandle_t *client_handle, uint32_t intf, uint32_t seconds)
Sets the Ospf Hello Interval for the specified interface.
open_error_t openapiOspfMapAutoCostRefBwGet(openapiClientHandle_t *client_handle, uint32_t *autoCost)
Get the autocost reference bandwidth for OSPF links.
Configured as a stub router.
open_error_t openapiOspfMapRouterIdGet(openapiClientHandle_t *client_handle, uint32_t *routerId)
Get the OSPF router ID.
open_error_t openapiOspfMapIntfHelloIntervalGet(openapiClientHandle_t *client_handle, uint32_t intf, uint32_t *seconds)
Get the Ospf Hello Interval for the specified interface.
open_error_t openapiOspfMapIntfSecondariesFlagGet(openapiClientHandle_t *client_handle, uint32_t intf, uint32_t *secondaries)
Get the SecondariesFlag for the specified interface.
non-virtual interface, OSPF neighbor state change
open_error_t openapiOspfMapIntfMetricValueGet(openapiClientHandle_t *client_handle, uint32_t intf, OPEN_OSPF_TOS_METRIC_TYPES_t tos, uint32_t *metric)
Get the interface metric value.
OPEN_OSPF_TOS_METRIC_TYPES_t
Type of Service.
open_error_t openapiOspfMapIntfTypeGet(openapiClientHandle_t *client_handle, uint32_t intf, OPEN_OSPF_INTF_TYPES_t *type)
Get the OSPF interface type.
open_error_t openapiOspfMapStubRtrSumLsaMetricOverride(openapiClientHandle_t *client_handle, bool override, uint32_t metric)
Set the configured stub router advertisement mode.
open_error_t
OPEN uses these enumerators to indicate the error codes.
LSDB exceeded 90% of limits.
open_error_t openapiOspfMapIntfAdminModeSet(openapiClientHandle_t *client_handle, uint32_t intf, OPEN_CONTROL_t mode)
Set the OSPF admin mode for the specified interface.
new link-state has originated
open_error_t openapiOspfMapStubRtrModeGet(openapiClientHandle_t *client_handle, OPEN_OSPF_STUB_ROUTER_CFG_t *mode, uint32_t *duration, bool *override, uint32_t *metric)
Get the configured stub router advertisement mode.
non-virtual interface, parameter conflict
open_error_t openapiOspfMapIntfAreaIdSet(openapiClientHandle_t *client_handle, uint32_t intf, uint32_t areaId, OPEN_CONTROL_t mode)
Sets the OSPF area id for the specified interface.
open_error_t openapiOspfMapLogAdjChngGet(openapiClientHandle_t *client_handle, OPEN_CONTROL_t *log, bool *detail)
Get logging information of neighbor state changes.
open_error_t openapiOspfMapAreaSummaryGet(openapiClientHandle_t *client_handle, uint32_t areaId, OPEN_OSPF_AREA_SUMMARY_t *summary)
Get the area summary.
open_error_t openapiOspfMapImportAsExternGet(openapiClientHandle_t *client_handle, uint32_t areaId, OPEN_OSPF_AREA_EXT_ROUTING_t *import)
Get the area's support for importing AS external link-state advertisements.
open_error_t openapiOspfMapIntfDeadIntervalSet(openapiClientHandle_t *client_handle, uint32_t intf, uint32_t seconds)
Sets the Ospf Dead Interval for the specified interface.
open_error_t openapiOspfMapSpfHoldTimeSet(openapiClientHandle_t *client_handle, uint32_t time)
Sets the minimum time (in seconds) between two consecutive SPF calculations.
Is a stub router for a limited time after reboot.
open_error_t openapiOspfMapSpfHoldTimeGet(openapiClientHandle_t *client_handle, uint32_t *time)
Gets the minimum time (in seconds) between two consecutive SPF calculations.
OPEN_OSPF_STUB_ROUTER_CFG_t
open_error_t openapiOspfMapIntfMetricValueSet(openapiClientHandle_t *client_handle, uint32_t intf, uint32_t ipAddr, OPEN_OSPF_TOS_METRIC_TYPES_t tos, uint32_t metric)
Set the interface metric value.
open_error_t openapiOspfMapMaxPathsGet(openapiClientHandle_t *client_handle, uint32_t *maxPaths)
Get the maximum number of paths that OSPF can report.
open_error_t openapiOspfMapMaxPathsSet(openapiClientHandle_t *client_handle, uint32_t maxPaths)
Set the maximum number of paths that OSPF can report.
open_error_t openapiOspfMapIntfPassiveModeSet(openapiClientHandle_t *client_handle, uint32_t intf, bool mode)
Sets the passive mode of the interface.
open_error_t openapiOspfMapRfc1583CompatibilityGet(openapiClientHandle_t *client_handle, OPEN_CONTROL_t *mode)
Get OSPF mode for RFC 1583 compatibility.
open_error_t openapiOspfTrapModeSet(openapiClientHandle_t *client_handle, OPEN_OSPF_TRAP_TYPES_t trapType, bool mode)
Allows a user to enable or disable traps based on the specified mode.
open_error_t openapiOspfMapIntfTypeSet(openapiClientHandle_t *client_handle, uint32_t intf, OPEN_OSPF_INTF_TYPES_t type)
Set the OSPF interface type.
OPEN_CONTROL_t
OPEN uses these enumerators to indicate enable or disable for a given config or status parameter...
virtual interface, auth mismatch
open_error_t openapiOspfMapAutoCostRefBwSet(openapiClientHandle_t *client_handle, uint32_t autoCost)
Set the autocost reference bandwidth for OSPF links.
open_error_t openapiOspfMapRouterIdSet(openapiClientHandle_t *client_handle, uint32_t routerId)
Set the OSPF router ID.
open_error_t openapiOspfMapLogAdjChngSet(openapiClientHandle_t *client_handle, OPEN_CONTROL_t log, bool detail)
Configure logging of neighbor state changes.
open_error_t openapiOspfMapStubRtrModeSet(openapiClientHandle_t *client_handle, OPEN_OSPF_STUB_ROUTER_CFG_t mode, uint32_t duration)
Set the configured stub router advertisement mode.
OPEN_OSPF_AREA_EXT_ROUTING_t
open_error_t openapiOspfMapIntfPassiveModeGet(openapiClientHandle_t *client_handle, uint32_t intf, bool *mode)
gets the passive mode of the interface
open_error_t openapiOspfTrapModeGet(openapiClientHandle_t *client_handle, OPEN_OSPF_TRAP_TYPES_t trapType, bool *mode)
Get the specified trap type mode.
open_error_t openapiOspfMapNSSAImportSummariesSet(openapiClientHandle_t *client_handle, uint32_t areaId, OPEN_OSPF_AREA_SUMMARY_t summary)
Set the import summary configuration for the specified NSSA.
open_error_t openapiOspfMapNetworkAreaEntryDelete(openapiClientHandle_t *client_handle, uint32_t ipAddr, uint32_t wildcardMask, uint32_t areaId)
Delete a network area entry.
virtual interface, retransmitted
virtual interface, parameter conflict
Do not import and propagate ext LSAs- make stub area.
open_error_t openapiOspfMapNetworkAreaEntrySet(openapiClientHandle_t *client_handle, uint32_t ipAddr, uint32_t wildcardMask, uint32_t areaId, OPEN_OSPF_AREA_ID_FORMAT_t areaIdFmt)
Create/Update a network area entry.
Do not originate and propagate summary LSAs.
OPEN_OSPF_AREA_ID_FORMAT_t
Areas are identified by a 32-bit Area ID.
virtual interface, can't be parsed
OPEN_OSPF_TRAP_TYPES_t
OSPFv2 MIB trap bit masks.
open_error_t openapiOspfMapNetworkAreaEntryGet(openapiClientHandle_t *client_handle, uint32_t ipAddr, uint32_t wildcardMask, uint32_t areaId, bool *found)
Find a specific network area object.
non-virtual interface, can't be parsed
OPEN_OSPF_EXT_METRIC_TYPES_t
The cost, or external metric in the route.
open_error_t openapiOspfMapSpfDelayTimeSet(openapiClientHandle_t *client_handle, uint32_t time)
Sets the delay time between when OSPF receives a topology change and when it starts an SPF calculatio...
open_error_t openapiOspfMapIntfDeadIntervalGet(openapiClientHandle_t *client_handle, uint32_t intf, uint32_t *seconds)
Gets the Ospf Dead Interval for the specified interface.
open_error_t openapiOspfMapAreaSummarySet(openapiClientHandle_t *client_handle, uint32_t areaId, OPEN_OSPF_AREA_SUMMARY_t summary)
Set the area summary.
Originate and propagate summary LSAs.
non-virtual interface, state change
open_error_t openapiOspfMapNSSAImportSummariesGet(openapiClientHandle_t *client_handle, uint32_t areaId, OPEN_OSPF_AREA_SUMMARY_t *summary)
Get the import summary configuration for the specified NSSA.
virtual interface, state change
Not configured as a stub router.
open_error_t openapiOspfMapImportAsExternSet(openapiClientHandle_t *client_handle, uint32_t areaId, OPEN_OSPF_AREA_EXT_ROUTING_t import)
Set the area's support for importing AS external link-state advertisements.
open_error_t openapiOspfMapSpfDelayTimeGet(openapiClientHandle_t *client_handle, uint32_t *time)
Gets the delay time between when OSPF receives a topology change and when it starts an SPF calculatio...
open_error_t openapiOspfMapRfc1583CompatibilitySet(openapiClientHandle_t *client_handle, OPEN_CONTROL_t mode)
Configure if OSPF is compatible with RFC 1583.
non-virtual interface, retransmitted
open_error_t openapiOspfMapIntfAreaIdGet(openapiClientHandle_t *client_handle, uint32_t intf, uint32_t *areaId, OPEN_CONTROL_t *mode)
Gets the OSPF area id for the specified interface.