Giter VIP home page Giter VIP logo

ovs-exporter's People

Contributors

leannetworking avatar megzo avatar szabdav avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ovs-exporter's Issues

Local read support

The current ovs-exporter implementation only supports reading statistics from an OVS bridge via passive OpenFlow ports, which means that the OVS bridge has to listen to OpenFlow commands on an opened TCP port. That can cause security issues since by knowing the given port number, everyone can send OpenFlow commands to the bridges that can corrupt the forwarding behavior.

I suggest to add a different model where next to every OVS switch runs an ovs-exporter. That way the exporter can read the statistics from the OVS Unix Socket file, provided that it has read permission (the default file is at /var/run/openvswitch/db.sock). This would also help scenarios where multiple OVS bridges are defined on the same host (e.g. in OpenStack where bridges br-int, br-tun and br-ext might exist on the same host).

My suggestion is the following:

  • Have a --local flag, which in case it's set read use the same param(target) from the URL but do not include the 'tcp:' before the bridge name, therefore it will read data via the Unix Socket file rather than a remote bridge.

dockerhub release

Hi!

do you plan to release your exporter on dockerhub?

Cheers,
Jan

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.