GithubHelp home page GithubHelp logo

Comments (5)

mrjana avatar mrjana commented on August 16, 2024

@guru-shetty Most likely libnetwork will be running in docker daemon. Your understanding of where plugins will sit is correct. But all of these should be transparent to plugin provider as long as they conform to the Network plugin protocol (yet to be fully defined)

from libnetwork.

dave-tucker avatar dave-tucker commented on August 16, 2024

Marking this as closed as I think @mrjana has answered the question

from libnetwork.

squaremo avatar squaremo commented on August 16, 2024

Any future plugin will be between libnetwork and the drivers. i.e., if the plugin takes the form of a REST API, then this will make network.go (https://github.com/docker/libnetwork/blob/master/network.go) call REST APIs to the bridge driver to Create network, create endpoint etc.

The way we (weave) have been constructing a PoC plugin is as follows:

  • when loaded, the plugin registers itself with libnetwork as a network driver
  • the driver implementation it registers uses the "plugin transport" (currently RPC-over-HTTP-over-unix-socket) to talk to the plugin.

from libnetwork.

shettyg avatar shettyg commented on August 16, 2024

@squaremo Thanks for the information. Do you have a semi-working PoC code yet, that I could look at?

from libnetwork.

tomwilkie avatar tomwilkie commented on August 16, 2024

@shettyg Michael + I are working on it here:

https://github.com/tomwilkie/docker/tree/network_extensions_dev

Its very rough and ready! But it pretty much works (just ironing out the last problems now). You'll need my forks of libcontainer and libnetwork too; put them in docker's vendor dir.

from libnetwork.

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.