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
networkId
stringThe network id
cancellationToken
CancellationTokenThe 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
networkId
stringThe network id
routingOspf
RoutingOspfThe OSPF routing configuration to update
cancellationToken
CancellationTokenThe cancellation token
Returns
Exceptions
- ApiException
Thrown when fails to make API call