Table of Contents

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 string

The network id

cancellationToken CancellationToken

The cancellation token

Returns

Task<RoutingOspf>

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 string

The network id

routingOspf RoutingOspf

The OSPF routing configuration to update

cancellationToken CancellationToken

The cancellation token

Returns

Task<RoutingOspf>

Exceptions

ApiException

Thrown when fails to make API call