Giter Club home page Giter Club logo

Comments (2)

mcb30 avatar mcb30 commented on September 25, 2024

Yes, this would be useful, and should be exposed via the netdevice settings mechanism in netdev_settings.c.

The only real question is what to call the variable. ${vlan} is potentially too generic a name and so likely to have been used in existing scripts. There is also the question of whether we need to expose the 12-bit VLAN tag number (as returned by vlan_tag()), the whole 16-bit VLAN tag control information number (as returned by vlan_tci()), or both. We could maybe have ${vlantag} and ${vlantci}?

from ipxe.

dupondje avatar dupondje commented on September 25, 2024

@mcb30 : Thanks for the very fast response :)

What about ${vlan-id} or ${vlan-tag} ? And I think only the tag is useful, don't see what additional info the tci will give.
But of course, it does not hurt to have ${vlan-tci} ... So if both is same effort, I would just do both :)

from ipxe.

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.