Skip to content

jumpojoy/networking-generic-switch

 
 

Repository files navigation

GenericSwitch ML2 Mechanism driver from ML2 plugin

Supported Devices:
  1. Cisco IOS switches

ML2 plugin requires mechanism driver to support configuring of hardware switches. GenericSwitch Mechanism for ML2 uses Netmiko library, that uses SSH as the backend to configure the switch. This ML2 is PoC and any switch that supports SSH can be added.

Neutron
v2.0


Openstack Neutron ML2 Plugin


Generic Mechanism Driver

SSH

Switch

Configuration

In order to use this mechnism the generic configuration file needs to be edited with the appropriate configuration information:

% cat /etc/neutron/plugins/ml2/ml2_conf_genericswitch.ini [genericswitch:sw-hostname] device_type = cisco_ios username = admin password = password secret = secret ip = <switch mgmt ip address>

Additionally the GenericSwitch mechanism driver needs to be enabled from the ml2 config file:

% cat /etc/neutron/plugins/ml2/ml2_conf.ini

[ml2] tenant_network_types = vlan type_drivers = local,flat,vlan,gre,vxlan mechanism_drivers = openvswitch,genericswitch # OR mechanism_drivers = openvswitch,linuxbridge,hyperv,genericswitch ... ...

About

Multi-vendor Modular Layer 2 (ML2) driver.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 89.6%
  • Shell 10.4%