lp:~lennyb/networking-mlnx/trunk

Created by Lenny on 2019-08-07 and last modified on 2019-09-25
Get this branch:
bzr branch lp:~lennyb/networking-mlnx/trunk

Related bugs

Related blueprints

Branch information

Import details

Import Status: Reviewed

This branch is an import of the HEAD branch of the Git repository at https://opendev.org/x/networking-mlnx.

The next import is scheduled to run in 10 minutes.

Last successful import was 5 hours ago.

Import started 5 hours ago on izar and finished 5 hours ago taking 20 seconds — see the log
Import started 11 hours ago on alnitak and finished 11 hours ago taking 20 seconds — see the log
Import started 17 hours ago on izar and finished 17 hours ago taking 20 seconds — see the log
Import started 23 hours ago on izar and finished 23 hours ago taking 20 seconds — see the log
Import started on 2019-10-13 on alnitak and finished on 2019-10-13 taking 20 seconds — see the log
Import started on 2019-10-13 on izar and finished on 2019-10-13 taking 25 seconds — see the log
Import started on 2019-10-13 on izar and finished on 2019-10-13 taking 25 seconds — see the log
Import started on 2019-10-13 on alnitak and finished on 2019-10-13 taking 20 seconds — see the log
Import started on 2019-10-12 on alnitak and finished on 2019-10-12 taking 20 seconds — see the log
Import started on 2019-10-12 on alnitak and finished on 2019-10-12 taking 20 seconds — see the log

Recent revisions

3719. By Adrian Chiris on 2019-09-25

Add Support for performing net device operations via pyroute2

This change transitions the following operations to be
executed by pyroute2:

1. set VF Admin state
2. set net device link state
3. set GUID

Today, eswitchd uses sysfs extensively to perform much
of the operations.
This change aims to reduce the use sysfs and performs
these operations in a more linux, pythonic way by
using netlink and utilizing pyroute2 library

Elevation of privleges are done by privsep which is
a safer model to be used than the existing rootwrap.

- Introduce netdev_ops abstraction - netdev_opts
- Implement abstraction using pyroute2
- Use privsep to elevate privleges to perform operations
- extend device_db to contain pf net device
- Use netdev_ops in eswitch_handler
  - When setting GUID, fallback to old sysfs functionality
    in case of failure

Change-Id: I807500e57b156fbaad85f42d70e9636c55beaa3d

3718. By Adrian Chiris on 2019-09-25

Transition write_sys method to privsep

This commit introduces the use of privsep in the porject.
In this commit we introduce a pattern that future commits will build
on when there is a requirement to perform operation at elevated
privleges.

- Add privsep admin context
- Add privsep configurations + some clenaup in configuration of eswitchd
- sort devstack deployment with proper configuration files
- add sys_ops module that performs system operations
- elevate sys_ops write_sys method via privsep
- use the new sys_ops module instead of current rootwrap + echo usage
- remove 'echo' command from rootwrap

Change-Id: I0feede9631bd48fdce73054e654d30a132c627c2

3717. By Zuul <email address hidden> on 2019-09-12

Merge "Remove the ebrctl write-sys dependency"

3716. By Adrian Chiris on 2019-09-11

Remove redundant call to set_port_vlan_id

This patch removes a redundant call to set vlan during port_up
operation.

Change-Id: Ic7b078b00ba0392ad6b938bee137de471f4d2fb1

3715. By Moshe Levi on 2019-09-08

remote ethtool and ip link from rootwrap

Change-Id: I9173ee97cbbf236cf9018abb9661bfc0a2ad7e5c

3714. By Adrian Chiris on 2019-09-05

Change cache maintenance config opt default

This change modifies `enable_multi_interface_driver_cache_maintenance`
config opt default to True for the obvious reason that we rather have
this enabled by default than having to specify this in a config opt.

Change-Id: I98c12772ec1b8bc69d070a7a67db283c9148fe83

3713. By Adrian Chiris on 2019-08-22

Fix deadlock of read and write lock taken by the same thread

NetworkCache get() method, in case of a cache miss called
put() method with the newly fetched network object via rpc.

Since SafeNetworkCache simply wrapped the calls with a rw lock,
it caused a dead lock in case of a cache miss since a get operation
would also put.

Proposed fix is to split the get and put logic of NetworkCache.get
into two and re-implement get in SafeNetworkCache.

Unit-test which uses a real lock in case of cache miss was
added.

Change-Id: I94fe2bcea80bb32d2c8ff8ed67194e860fd93ea9

3712. By Zuul <email address hidden> on 2019-08-15

Merge "Add support for binding normal ports"

3711. By Zuul <email address hidden> on 2019-08-14

Merge "remove unused clean.sh and make misc-sanity-checks.sh executable"

3710. By Moshe Levi on 2019-08-14

add checks from neutron pylint and fix them

Change-Id: I9186c65b80d50759261530f9e01e6bb2f1d8a83c

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers