The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Brocade::BSC::Node::NC::Vrouter::StaticRoute

DESCRIPTION

Create and modify static route configuration on a Vyatta virtual router controlled by a Brocade::BSC controller.

new

Creates and returns a new Brocade::BSC::Node::NC::Vrouter::StaticRoute object.

as_json
  # Returns   : static route configuration as formatted JSON string.
get_payload
  # Returns   : OpenVpn interface configuration as JSON for
                posting to controller.
interface_route

Add a static route for the specified subnet.

  # Parameter : $subnet
  # Returns   : hashref - route
interface_route_next_hop_interface

Specify interface on subnet containing next hop device for this route

  # Parameter hash: subnet - req; destination network
                    ifname - req; interface
                    disable - opt, bool; set to disable route
                    distance - opt, int; set metric

  # Returns   : OpenVpn interface configuration as JSON for
                posting to controller.

COPYRIGHT

Copyright (c) 2015, BROCADE COMMUNICATIONS SYSTEMS, INC

All rights reserved.