Skip to main content

No project description provided

Project description

# Etherweaver

[![Build Status](](
[![Docs Status](](

Etherweaver is an agentless configuration management system.

Similar to Ansible and Salt, the goal of Etherweaver is to abstract the task of managing large switch fabrics.

### Core Design Concepts

* ##### Universal States for Different Platforms

A switch switches packets, and a router routes them. If they follow standards, they will perform this job identically. While the featureset may be disimilar between two platforms from different vendors, the way they implement protocols are similar, as is the end result.

The goal of Etherweaver is to allow the user to create a "universal" definition of their desired state (configuration), and disconnect the format of this configuration from the vendor-specific OS it is being applied to.

* #### Idempotent and Self-recovering

To reduce the chance of Etherweaver causing momentary outages, it should always compare the current state with the desired state, and avoid making changes if they are equivelant.

When possible, Etherweaver should use clever config file management and rollback functionality on network appliances to reduce the risk of a bad statement causing a permanent management disconnection.

* #### Agentless

Closed source switching and routing platforms shouldn't be excluded from config management. Thus, Etherweaver is agentless by default. Each plugin will support a number of methods (ssh, telnet, RS232, etc.) to ensure that all networks can be maintained in an automated fashion.

## Config Structure

### Top Level objects
roles: # A list of all roles
fabrics: # A list of all fabrics
appliances: # A list of all hardware

### Roles

A Role describes the state and attributes that can describe a specific appliance, or group of appliances.

Roles can be defined on a per device status (for example, you may have role objects for individual switches, or you may have a single template that describes the configuration of hundreds of switches.)

Here is an example of a Role Object as defined in YAML:
fabric: network1
timezone: America/Chicago
tagged_vlans: [2-4]
untagged_vlan: 7
untagged_vlan: 5

### Fabrics

A fabric is a collection of common configuration items, usually representing a switch fabric in a single location. However, it can represent whatever you want. Its simply a logical construct.

Here is an example of a fabric object:

username: cumulus
password: CumulusLinux!
description: Data
description: Public
## Appliances

Here is an example Appliance object.

Appliances are defined by a hyphen separated MAC address. On switches with multiple MAC addresses, the MAC of the out of band management port should be used. Or, if no management port exists, the lowest number switch port.

This file contains all hardware specific information.

role: spine1
plugin_package: cumulus
role: spine2
plugin_package: cumulus

## Usage

Etherweaver uses a salt-like syntax:

``` 'sw1' role.apply --yaml=exampleconf.yaml

This command will apply the role spine1 to any assigned hardware appliances.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

etherweaver-0.2.2.tar.gz (70.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page