From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

NAME

Brocade::BSC::Node

DESCRIPTION

A Brocade::BSC::Node object is used to model, query, and configure network devices via Brocade's OpenDaylight-based Software-Defined Networking controller.

METHODS

new

Creates a new Brocade::BSC::Node object and populates fields with values from argument hash, if present, or YAML configuration file.

### parameters:
# + cfgfile - path to YAML configuration file specifying node attributes
# + ctrl - reference to Brocade::BSC controller object (required)
# + name - name of controlled node
#
### YAML configuration file labels and default values
#
# parameter hash | YAML label | default value
# -------------- | ----------- | -------------
# name | nodeName |

Returns new Brocade::BSC::Node object.

as_json
# Returns : Returns pretty-printed JSON string representing netconf node.
ctrl_req
# Parameters: $method (string, req) HTTP verb
# : $urlpath (string, req) path for REST request
# : $data (string, opt)
# : $headerref (hash ref, opt)
# Returns : HTTP::Response

COPYRIGHT

Copyright (c) 2015, BROCADE COMMUNICATIONS SYSTEMS, INC

All rights reserved.