Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[virtual switch] Does virtual switch support LAG ? #1715

Closed
keboliu opened this issue May 16, 2018 · 1 comment
Closed

[virtual switch] Does virtual switch support LAG ? #1715

keboliu opened this issue May 16, 2018 · 1 comment

Comments

@keboliu
Copy link
Collaborator

keboliu commented May 16, 2018

I tried to config LAG interface in virtual switch by adding fllowing to the config_db.json and then restart the vs container.

  "PORTCHANNEL_INTERFACE": {
        "PortChannel0001|10.0.0.56/31": {}, 
        "PortChannel0001|FC00::71/126": {}
    }, 
    "PORTCHANNEL": {
        "PortChannel0001": {
            "members": [
                "Ethernet112"
            ]
        }
    },

But seems the LAG was not created and can only find it's configuration in CONFIG_DB, guess this is due to lack of teamd support in the virtual switch?

kebol@arc-host74-006 ~]$sudo docker exec -it vs ifconfig PortChannel0001
PortChannel0001: error fetching interface information: Device not found

[kebol@arc-host74-006 ~]$sudo docker exec -it vs redis-cli -n 4 keys \*PORTCHANNEL*
1) "PORTCHANNEL|PortChannel0001"
2) "PORTCHANNEL_INTERFACE|PortChannel0001|FC00::71/126"
3) "PORTCHANNEL_INTERFACE|PortChannel0001|10.0.0.56/31"

[kebol@arc-host74-006 ~]$sudo docker exec -it vs redis-cli -n 6 keys \*LAG*
(empty list or set)
@keboliu
Copy link
Collaborator Author

keboliu commented May 26, 2018

for how to add LAG config in VS, refer to #1720 #sonic-net/sonic-swss#507 and #sonic-net/sonic-swss#494

@keboliu keboliu closed this as completed May 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant