Interface ISwitchRoutingOspf
- Namespace
- Meraki.Api.Interfaces.Products.Switch
- Assembly
- Meraki.Api.dll
public interface ISwitchRoutingOspf
Methods
GetNetworkSwitchRoutingOspfAsync(string, CancellationToken)
Get layer 3 OSPF routing configuration
[Get("/networks/{networkId}/switch/routing/ospf")]
Task<RoutingOspf> GetNetworkSwitchRoutingOspfAsync(string networkId, CancellationToken cancellationToken = default)
Parameters
networkIdstringThe network id
cancellationTokenCancellationTokenThe cancellation token
Returns
Exceptions
- ApiException
Thrown when fails to make API call
UpdateNetworkSwitchRoutingOspfAsync(string, RoutingOspf, CancellationToken)
Update layer 3 OSPF routing configuration
[Put("/networks/{networkId}/switch/routing/ospf")]
Task<RoutingOspf> UpdateNetworkSwitchRoutingOspfAsync(string networkId, RoutingOspf routingOspf, CancellationToken cancellationToken = default)
Parameters
networkIdstringThe network id
routingOspfRoutingOspfThe OSPF routing configuration to update
cancellationTokenCancellationTokenThe cancellation token
Returns
Exceptions
- ApiException
Thrown when fails to make API call