Skip to content

enable IPRoute to pass teamd config #699

Open
@jtluka

Description

@jtluka

Currently it is impossible to add a team device with specific configuration using IPRoute. Instead a hardcoded config is used.

Code sample:

from pyroute2 import IPRoute                                                    
                                                                                
ipr = IPRoute()
ret_val = ipr.link('add', ifname='myteam', kind='team')
$ pgrep -fa teamd
5727 teamd -d -n -c {"device": "myteam", "runner": {"name": "activebackup"}, "link_watch": {"name": "ethtool"}}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions