Skip to main content

OpenStack Networking ofagent

Project description

What’s this

This is OpenStack/Networking (Neutron) “ofagent” ML2 driver and its agent.

Installation

For how to install/set up ML2 mechanism driver for OpenFlow Agent, please refer to https://github.com/osrg/ryu/wiki/OpenStack

Notes for updating from Icehouce

OVS.bridge_mappings is deprecated for ofagent. It was removed in Kilo. Please use AGENT.physical_interface_mappings instead. To mimic an existing setup with bridge_mapping, you can create a veth pair, link one side of it to the bridge, and then specify the other side in physical_interface_mappings. For example, if you have the following:

[OVS]
bridge_mappings=public:br-ex

You can do:

# ip link add int-public type veth peer name phy-public
# ip link set int-public up
# ip link set phy-public up
# ovs-vsctl add-port br-ex phy-public

and then replace the bridge_mappings with:

[AGENT]
physical_interface_mappings=public:int-public

After Icehouce, most of the functionality have been folded into a single bridge, the integration bridge. (aka. br-int) The integration bridge is the only bridge which would have an OpenFlow connection to the embedded controller in ofagent now.

  • ofagent no longer uses a separate bridge for tunneling. Please remove br-tun if you have one:

    # ovs-vsctl del-br br-tun
  • ofagent no longer acts as an OpenFlow controller for physical bridges. Please remove set-controller configuration from your physical bridges:

    # ovs-vsctl del-controller ${PHYSICAL_BRIDGE}

The support of ancillary bridges has been removed after Icehouce. While you can still use these bridges to provide connectivity, neutron-ofagent-agent no longer reports port state changes (up/down) for these bridges. If it is a problem for you, please consider tweaking your configuration to avoid using ancillary bridges. We recommend to use a provider network instead as the following:

  • Make l3-agent external_network_bridge configuration empty:

    [DEFAULT]
    external_network_bridge=
  • (Re-)create a network (and subnet) for public connectivity with a flat provider network:

    neutron net-create $PUBLIC_NETWORK -- \
      --router:external=True \
      --provider:network_type:flat \
      --provider:physical_network=$PUBLIC_PHYSICAL_NETWORK
  • Associate your neutron router to the above network:

    neutron router-gateway-clear $ROUTER_ID
    neutron router-gateway-set $ROUTER_ID $PUBLIC_NETWORK
  • Add the corresponding entry to bridge_mappings:

    [OVS]
    bridge_mappings=$PUBLIC_PHYSICAL_NETWORK:$PUBLIC_BRIDGE

The port naming scheme for ofagent has been changed after Icehouce. If you are using security groups, you should switch firewall_driver accordingly.

From:

[securitygroup]
firewall_driver=neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver

To:

[securitygroup]
firewall_driver=neutron.agent.linux.iptables_firewall.IptablesFirewallDriver

External Resources

OFAgent documentation on ReadTheDocs

http://networking-ofagent.readthedocs.org/en/latest/

Neutron/OFAgent on OpenStack wiki

https://wiki.openstack.org/wiki/Neutron/OFAgent

Ryu

OFAgent uses Ryu ofproto library to communicate with the local switch.

For general Ryu stuff, please refer to http://osrg.github.io/ryu/

Ryu is available at github git://github.com/osrg/ryu.git https://github.com/osrg/ryu

The mailing is at ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel

Enjoy!

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

networking-ofagent-2015.1.3.tar.gz (73.3 kB view details)

Uploaded Source

Built Distribution

networking_ofagent-2015.1.3-py2.py3-none-any.whl (61.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file networking-ofagent-2015.1.3.tar.gz.

File metadata

File hashes

Hashes for networking-ofagent-2015.1.3.tar.gz
Algorithm Hash digest
SHA256 ca8016cc1e2a3188f4c25d9d1a563e5282a4042f8836592e68359566482ed595
MD5 a091f35d44e0781750ca28ae1d1e1167
BLAKE2b-256 8aa3d7c4d761109deb3bd9af1fec59417c4dae9e1bbc063d8e625455bb64cf7d

See more details on using hashes here.

Provenance

File details

Details for the file networking_ofagent-2015.1.3-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for networking_ofagent-2015.1.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 da31959cec30004c98ffdf6a4c44345f038bbe427182ae124a4f4ef44e71890d
MD5 dde0c833705020b4e7063be7e5ce5f02
BLAKE2b-256 7993b343cb266f64332586ac7a112c671958f155ea125fff459a4fd6c3cc2423

See more details on using hashes here.

Provenance

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