Code Monkey home page Code Monkey logo

Comments (5)

lguohan avatar lguohan commented on June 28, 2024

have you tried this teamd --no-ports option?

 -n, --no-ports
              Start   without   ports,   even   if  they  are  listed  in  the
              configuration.

from sonic.

stcheng avatar stcheng commented on June 28, 2024

the --no-ports option is used to create the LAG without ports and then later use command teamdctl to add ports.

from sonic.

lguohan avatar lguohan commented on June 28, 2024

Here is configuration for teamd. It has the port channel and member ports information. I am thinking it make sense for the teamd daemon to listen such new netdev message and added them into the port channel.

Anyway, there needs a daemon to do that and that daemon needs the bond information. Why not include this function into teamd daemon?

{
   "device": "PortChannel0",
   "runner": {
       "name": "lacp",
       "active": true,
       "min_ports": 2,
       "tx_hash": ["eth", "ipv4", "ipv6"]
   },
   "link_watch": {
       "name": "ethtool"
   },
   "ports": {
       "Ethernet0": {},
       "Ethernet4": {}
   }
 }

From Jiri,

What you describe is currently not implemented in teamd. Thinking about it now, it might make sense to have this functionality, as an optional behavior (not default). Question is, according to what you can tell that the netdev is the same netdev that was already bonded. I think that you would have to match on both netdev name and mac address.

Feel free to cook up a patch, including man pages documentation and submit it for the review.

from sonic.

liatgrozovik avatar liatgrozovik commented on June 28, 2024

I cannot find marian-pritsak in the list of assignee. Can any one assign this issue to him?

from sonic.

stcheng avatar stcheng commented on June 28, 2024

the above issue is closed with two commits addressing all interfaces automatically coming up and enslaved in the master interface. however, the teamsyncd crashes when swss/teamd docker restarts. @marian-pritsak could you continue investigating this teamd issue?

from sonic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.