Method: Rbeapi::Api::Ospf#remove_network

Defined in:
lib/rbeapi/api/ospf.rb

#remove_network(pid, net, area) ⇒ Boolean

remove_network removes network settings for router ospf and network

area.

Parameters:

  • pid (String)

    The pid for router ospf.

  • net (String)

    The network name.

  • area (String)

    The network area name.

Returns:

  • (Boolean)

    Returns true if the command completed successfully.



339
340
341
# File 'lib/rbeapi/api/ospf.rb', line 339

def remove_network(pid, net, area)
  configure ["router ospf #{pid}", "no network #{net} area #{area}"]
end