Giter Club home page Giter Club logo

dell-brocade's Introduction

Brocade network device module

Table of Contents

Overview

The Brocade network device module is designed to add support for managing Brocade switch configuration using Puppet and its Network Device functionality.

Following Brocade models have been verified using this module:

  • Brocade-6510

However, this module may be compatible with other versions.

Features

This module supports the following functionalities:

  • Alias creation and deletion
  • Addition and Removal of Members from Alias
  • Zone creation and deletion
  • Addition and Removal of Members from zones
  • Config creation and deletion
  • Addition and Removal of Zones from Config
  • Activation and De-Activation of Config

Requirements

Because the Puppet agent cannot be directly installed on the Brocade Fabric OS, the agent can be managed either from the Puppet Master server, or through an intermediate proxy system running a puppet agent. The proxy system requirements are not yet defined.

Usage

Device Setup

To configure a Brocade Fabric OS device, the device type must be brocade_fos. The device can either be configured within /etc/puppet/device.conf, or, preferably, create an individual config file for each device within a sub-folder. This is preferred as it allows the user to run the puppet against individual devices, rather than all devices configured.

To run the puppet against a single device, use the following command:

puppet device --deviceconfig /etc/puppet/device/[device].conf

Sample configuration /etc/puppet/device/brocade_fos1.example.com.conf:

[brocade_fos1.example.com]
  type brocade_fos
  url ssh://root:secret@brocade_fos1.example.com:22

Brocade FOS operations

This module can be used to create or delete an alias,add/remove member to/from alias, create or delete a zone, add/remove member to/from a zone, create or delete config, activate or de-activate config. For example:

brocade_member_alias { 'demoAlias': name => 'demoAlias:50:00:d3:10:00:5e:c4:ad;50:00:d3:10:00:5e:c4:ac' ensure => 'present' }

brocade_zone { 'demozone': ensure => 'present', member => 'demoAlias' }

brocade_config { 'democonfig': ensure => 'present', member_zone => 'demozone', configstate => 'disable', }

This creates an alias for the members, adds the alias to a zone, and then adds the zone to the config (in de-activation mode) as per defined input parameters.

You can also use any of the above operations individually, or create new defined types, as required.

Sample manifests can be referred from tests folder.

dell-brocade's People

Contributors

anujmittal avatar sanjeevrohila avatar sumanjeet avatar sangeetasharma avatar abhishek-grover avatar sushilrai avatar gavin-scott avatar ripienaar avatar tnegi avatar arun78781307 avatar gurmeet-singh3 avatar logankimmel avatar asaenz-vmware avatar jkrauskopf avatar kaushalgala avatar shariqiqbal1 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.