Brocade::BSC::Node::NC::Vrouter::StaticRoute
Create and modify static route configuration on a Vyatta virtual router controlled by a Brocade::BSC controller.
Creates and returns a new Brocade::BSC::Node::NC::Vrouter::StaticRoute object.
# Returns : static route configuration as formatted JSON string.
# Returns : OpenVpn interface configuration as JSON for posting to controller.
Add a static route for the specified subnet.
# Parameter : $subnet # Returns : hashref - route
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 (c) 2015, BROCADE COMMUNICATIONS SYSTEMS, INC
All rights reserved.
To install Brocade::BSC, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Brocade::BSC
CPAN shell
perl -MCPAN -e shell install Brocade::BSC
For more information on module installation, please visit the detailed CPAN module installation guide.