GithubHelp home page GithubHelp logo

ofnet's People

Contributors

abhi avatar dseevr avatar dvavili avatar gaurav-dalvi avatar gkvijay avatar jojimt avatar kahou82 avatar melanietom avatar nbartos avatar rchirakk avatar shaleman avatar tiewei avatar unclejack avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ofnet's Issues

Vagrant rsync never work

Vagrant mount the path successfully but when I do vagrant rsync-auto, it returns the following error:

There are no paths to watch! This is either because you have no synced folders using rsync, or any rsync synced folders you have have specified rsync_auto to be false.

ofnetagent single point of failer

When ovs switch attached to controller (ofnetagent), once controller failed, new flow entry will not send to ovs, and arp request will not go up to controller. How can we do for that?

Need to remove uplink port.

If there is a mode change - we will need to remove the uplink - uplink related go routines continue to run without this.

vxlan bridge mode doesn't handle ovs restart gracefully

When I use vxlan bridge mode, docker run seems stuck when ovs get restart.

Steps to reproduce:

  1. make demo
  2. netctl global set --fwd-mode bridge
  3. netctl network create -s 10.0.0.0/24 -g 10.0.0.1 -e vxlan -pkt-tag 100 net1
  4. docker run -itd --name c1 --net net1 debian /bin/bash
  5. restart ovs-switchd
  6. docker run -itd --name c2 --net net1 debian /bin/bash

step #6 will stuck

proposal: add ovs patch port type option.

currently, ofnet only uses Veth_Pair to link containers to bridge, Is_use_veth_pair is set true by default and there is no other option in fact. We think ovs patch has a better performance over linux veth pair type and want to add it as an option.
Besides, when delete the veth pair, we should also delete the corresponding ovs interface, ovs-vsctl del-port XXX vvport17...

    Port "vvport17"
        tag: 101
        Interface "vvport17"
            error: "could not open network device vvport17 (No such device)"
    Port "eth2"
        Interface "eth2"
    Port "vvport21"
        tag: 101
        Interface "vvport21"
            error: "could not open network device vvport21 (No such device)"
    Port "vvport14"
        tag: 101
        Interface "vvport14"
            error: "could not open network device vvport14 (No such device)"
    Port "vvport15"
        tag: 101
        Interface "vvport15"
            error: "could not open network device vvport15 (No such device)"
    Port "vvport38"
        tag: 101
        Interface "vvport38"

TestPolicyAddDelete fails with Go 1.7

TestPolicyAddDelete is failing with Go 1.7. This needs more investigation to figure out what's going on.

--- FAIL: TestPolicyAddDelete (2.29s)
ofnetPolicy_test.go:161: Could not find the flow priority=110,tcp,metadata=0x640190/0x7ffffffe,nw_src=10.10.10.0/24,nw_dst=10.1.1.0/24,tp_src=200,tp_dst=100 on ovs ovsbr60

Error: go get github.com/contiv/ofnet

➜  netplugin git:(network_inspect) go get github.com/contiv/ofnet
# github.com/contiv/ofnet
../ofnet/ofnetBgp.go:172: bgpGlobalCfg.GlobalConfig undefined (type *config.Global has no field or method GlobalConfig)
../ofnet/ofnetBgp.go:173: bgpGlobalCfg.GlobalConfig undefined (type *config.Global has no field or method GlobalConfig)
../ofnet/ofnetBgp.go:220: cannot use net.ParseIP(peer.Conf.NeighborAddress) (type net.IP) as type string in assignment
../ofnet/ofnetBgp.go:221: p.NeighborConfig undefined (type config.Neighbor has no field or method NeighborConfig)
../ofnet/ofnetBgp.go:222: p.NeighborConfig undefined (type config.Neighbor has no field or method NeighborConfig)
../ofnet/ofnetBgp.go:224: p.AfiSafis.AfiSafiList undefined (type []config.AfiSafi has no field or method AfiSafiList)
../ofnet/ofnetBgp.go:226: self.bgpServer.SetBmpConfig undefined (type *server.BgpServer has no field or method SetBmpConfig)
../ofnet/ofnetBgp.go:226: undefined: config.BmpServers
../ofnet/ofnetBgp.go:266: cannot use net.ParseIP(neighborInfo.NeighborIP) (type net.IP) as type string in assignment
../ofnet/ofnetBgp.go:267: p.NeighborConfig undefined (type *config.Neighbor has no field or method NeighborConfig)
../ofnet/ofnetBgp.go:267: too many errors
➜  netplugin git:(network_inspect)

Support Nicira Openflow extensions

Hi,

I found that current flow matchfield and actions only support parts of standard Openflow messages. Do you have a plan to support Nicira extensions in flow entries?

I also found that controller only supports listen on TCP connections. Will it support Unix Domain Socket in the future?

same datapath_id

if getSwitch(dpid) == nil {

If the switches have the same datapath_id, it can lead to issues. In OVS, if two bridges are attached to the same physical interface, their datapath_id will be the same.

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.