Make l23network module able to create linux bridges and bonds

Registered by Vladimir Kuklin

In order to support upcoming network-related features we need to be able to create linux bridges. Also, this is required as we are overusing OVS bridges. This blueprint was extracted from https://blueprints.launchpad.net/fuel/+spec/l23network-refactror-to-provider-based-resources blueprint as its implementation is a dependency for other features.

Blueprint information

Status:
Complete
Approver:
Vladimir Kuklin
Priority:
Essential
Drafter:
Sergey Vasilenko
Direction:
Approved
Assignee:
Sergey Vasilenko
Definition:
Approved
Series goal:
Accepted for 6.1.x
Implementation:
Implemented
Milestone target:
milestone icon 6.1
Started by
Vladimir Kuklin
Completed by
Sergey Vasilenko

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/refactor-l23-linux-bridges,n,z

Addressed by: https://review.openstack.org/142475
    Implement provider for native linux briges support

Addressed by: https://review.openstack.org/142489
    Add upstream puppet modules

Addressed by: https://review.openstack.org/142490
    Install linux-bridge-utils while l23network initialized

Addressed by: https://review.openstack.org/142528
    Move check-and-creating interface dir and file

Addressed by: https://review.openstack.org/142577
    FIX warnings by recomendation of Fuel-CI

Addressed by: https://review.openstack.org/142691
    Rename Bridge custom type

Addressed by: https://review.openstack.org/142692
    Add l23_store_config custom type

Addressed by: https://review.openstack.org/143506
    rename L2_ovs_port to L2_port

Addressed by: https://review.openstack.org/143578
    l2_port native linux probideg (w/o bridge)

Addressed by: https://review.openstack.org/143883
    l3_ifconfig resource -- managing IP addresses without up and down interfaces

Addressed by: https://review.openstack.org/144280
    code-style changes only

Addressed by: https://review.openstack.org/144281
    Fix generate_network for using provider-based ports and bridges

Addressed by: https://review.openstack.org/147928
    Make store port membering in bridges permanently

Addressed by: https://review.openstack.org/148125
    move common-purposed methods to parent class

Addressed by: https://review.openstack.org/148126
    make l2_bridge prefetchable

Addressed by: https://review.openstack.org/149641
    Linux bonds resources (creating part)

Addressed by: https://review.openstack.org/150050
    add vendor-specific dummy field

Addressed by: https://review.openstack.org/150590
    FIX prefetch functionality for l2_port resources

Addressed by: https://review.openstack.org/151482
    make OVS bridges prefetchable and changable

Addressed by: https://review.openstack.org/151682
    FIX errors in using aliasvalue() and using boolean fields in puppet types

Addressed by: https://review.openstack.org/152210
    FIX: bridge_stp value for L23_stored_config

Addressed by: https://review.openstack.org/152211
    FIX: stored_config for OVS-based resources load/write by lnx provider

Addressed by: https://review.openstack.org/152995
    OVS provider for l2_bond

Addressed by: https://review.openstack.org/152996
    Parser for Network_scheme v1.1

Addressed by: https://review.openstack.org/153311
    Setup offloading (by ethtools) for interfaces in runtime

Addressed by: https://review.openstack.org/154032
    Set of small patches

Addressed by: https://review.openstack.org/154110
    Squash above commits to build custom ISO

Addressed by: https://review.openstack.org/147870
    Introduce network schema for nova-network

Addressed by: https://review.openstack.org/154986
    Refactor Nailgun to support native linux briges and bonds

Gerrit topic: https://review.openstack.org/#q,topic:bp/fuel-library-modularization,n,z

Addressed by: https://review.openstack.org/155367
    Adapt netconfig step to granular deployment

Addressed by: https://review.openstack.org/155418
    L2_patch resource for OVS provider

Addressed by: https://review.openstack.org/154581
    linux bridges instead of ovs in neutron

Addressed by: https://review.openstack.org/155827
    Introduce linux bonds

Addressed by: https://review.openstack.org/156280
    Add bond properties

Addressed by: https://review.openstack.org/157082
    Add routing for multi-cluster-l2

Addressed by: https://review.openstack.org/157351
    Optimize MTU setting

Addressed by: https://review.openstack.org/157457
    x

Addressed by: https://review.openstack.org/157748
    Adapt neutron part of manifests to new network_scheme

Addressed by: https://review.openstack.org/158053
    l23_stored_config provider for CentOS6

Addressed by: https://review.openstack.org/160452
    dhcp support for Ubuntu

Addressed by: https://review.openstack.org/160509
    DHCP support for CentOS6

Addressed by: https://review.openstack.org/160695
    Update puppet for l23network in fuelmenu

Addressed by: https://review.openstack.org/160748
    Add LACP rate option

Addressed by: https://review.openstack.org/160878
    Add xmit_hash_policy support for CentOS6

Addressed by: https://review.openstack.org/161169
    FIX: L23network: auto-add main interface

Addressed by: https://review.openstack.org/161184
    Add to hiera network_provider variable

Addressed by: https://review.openstack.org/163084
    L23network trivial fix

Gerrit topic: https://review.openstack.org/#q,topic:bug/1429190,n,z

Addressed by: https://review.openstack.org/163090
    L3_route resource

Gerrit topic: https://review.openstack.org/#q,topic:bug/1310646,n,z

Addressed by: https://review.openstack.org/164027
    prepare env for use rspec for l23network

Gerrit topic: https://review.openstack.org/#q,topic:bug/1431975,n,z

Addressed by: https://review.openstack.org/164429
    L23network::L2::port now can store ethtool options for Ubuntu.

Gerrit topic: https://review.openstack.org/#q,topic:bug/1431735,n,z

Addressed by: https://review.openstack.org/164450
    FIX: "disable offloading" flag functionality

Addressed by: https://review.openstack.org/164673
    REVERT: Centos workaround "Flush routes after interface up."

Addressed by: https://review.openstack.org/165469
    Add ethtool support for CenOS6 l23_stored_config provider

Gerrit topic: https://review.openstack.org/#q,topic:bug/1433462,n,z

Addressed by: https://review.openstack.org/166525
    Spec-tests for l23network::l2::port

Addressed by: https://review.openstack.org/172110
    Spec-tests for l23network::l2::bridge

Addressed by: https://review.openstack.org/172133
    Spec-tests for l23network::l2::bond

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.