Git Product home page Git Product logo

accelerated-bridge-cni's People

Contributors

adrianchiris avatar ahalimx86 avatar almaslennikov avatar ashish-billore avatar booxter avatar carmark avatar dependabot[bot] avatar dmytrolinkin avatar etowah avatar hustcat avatar ipuustin avatar jellonek avatar killianmuldoon avatar lgtm-migrator avatar martinkennelly avatar michalguzieniuk avatar mmduh-483 avatar moshe010 avatar nvity avatar pmossakx avatar przemeklal avatar rkamudhan avatar rollandf avatar samcandy avatar vpickard avatar ykulazhenkov avatar zshi-redhat avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

accelerated-bridge-cni's Issues

Add Makefile target to generate mocks

What would you like to be added?

Add Makefile target to generate mocks

What is the use case for this feature / enhancement?

Extending unit tests when adding new functionality

Add support for logging into a file

Currently, accelerated-bridge-cni logs to Stderr and this can't be changed, as result, all logs go to the container runtime log (for example, to the containerd log).

It will be useful to support logging into a file to simplify debugging.

Accelerated bridge CNI release

we have added a few CVE fixes to accelerated bridge CNI, lets do a release so folks enjoy latest fixes.

perhaps we want to have #57 as well

Split plugin config

What would you like to be added?

Split plugin configuration and cache only significant one.

What is the use case for this feature / enhancement?

Currently the whole configuration is cached by the plugin, but not whole information used during deletion.

Wrong MAC address in returned Result

What happened?

Wrong MAC address value returned in Result on CmdAdd when MAC address passed in cni config

What did you expect to happen?

Expected MAC address equal to the one in conf

What are the minimal steps needed to reproduce the bug?

Run cnitool utility with config, which include MAC address field, for ex:

$ export CNI_PATH=/opt/cni/bin
$ export NETCONFPATH=<config file location>
$ ./cnitool add accelerated-bridge-cni /var/run/netns/ns1
{
    "cniVersion": "0.4.0",
    "interfaces": [
        {
            "name": "eth0",
            "mac": "56:0a:69:b3:a6:5b",
            "sandbox": "/var/run/netns/ns1"
        }
    ],
    "ips": [
        {
            "version": "4",
            "interface": 0,
            "address": "10.56.217.2/24",
            "gateway": "10.56.217.1"
        }
    ],
    "routes": [
        {
            "dst": "0.0.0.0/0"
        }
    ],
    "dns": {}
}

Anything else we need to know?

Nope

Component Versions

Please fill in the below table with the version numbers of applicable components used.

Component Version
Accelerated Bridge CNI Plugin Latest
Multus
SR-IOV Network Device Plugin
Kubernetes v1.19.2
OS CentOS 7.8

Config Files

$ cat /swgwork/dmitrolin/go-src/configs/10-accelerated-bridge.conf
{
  "cniVersion":"0.4.0",
  "name":"accelerated-bridge-cni",
  "type":"accelerated-bridge",
  "deviceID":"0000:82:00.3",
  },
  "runtimeConfig":{
    "mac":"e4:22:33:44:55:66",
  },
  "ipam":{
    "type":"host-local",
    "subnet":"10.56.217.0/24",
    "routes":[{"dst":"0.0.0.0/0"}],
    "gateway": "10.56.217.1"
  }
}

Release v0.2.0

We would like to release a new version of accelerated bridge CNI.

Content:
PR#38 - add support for vfio interface

Code refactoring + enable linters

What would you like to be added?

funlen and gocognit linters disabled because main.go:cmdAdd(), manager.go:ApplyVFConfig() and config.go:LoadConf() produce errors. Need to refactor this part of code.

What is the use case for this feature / enhancement?

Cleaner code

Bump to go 1.18

What would you like to be added?

Bump golang version to 1.18 to align with other projects in the org

What is the use case for this feature / enhancement?

following best practices to keep things up 2 date and enjoy latest golang features

release v0.4.0

We would like to release a new version of accelerated bridge CNI.

Content:
Add support for MTU #47
Bump go 1.18 and general maintenance #51
Add support for multiple Linux bridges #52

move to github image registry

If/when/once this project moves to networkplumbingwg org we should push docker images to github container registry
(which avoids the docker image pull limits)

Release v0.5.0

Several features were added since we last released.

  • add vlans on uplink
  • bump to go 1.19
  • implement device info spec 1.1 (add representor-device field)

It would be great to do a release so that users can use a tagged version of accelerated-bridge-cni with latest features.

Do we want additional content to be added for release ?

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.