GithubHelp home page GithubHelp logo

opx-sai-vm's Introduction

opx-sai-vm

This repository contains the SAI implementation for the OpenSwitch simulator/virtual machine.

Package

  • libopx-sai-vm1_version_arch.deb — Configuration files and utility libraries  

See Architecture for more information on the SAI VM module.

© 2018 OpenSwitch project. All information is contributed to and made available by OPX under the Creative Commons Attribution 4.0 International License (available at http://creativecommons.org/licenses/by/4.0/).

opx-sai-vm's People

Contributors

amybuck avatar atanu-mandal avatar garrickhe avatar heucke avatar hpersh-dell avatar jghalam avatar johntconklin avatar mikelazar avatar tejaswi-goel avatar

Stargazers

 avatar  avatar

Watchers

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

opx-sai-vm's Issues

The script vm_dn_rules.sh is not copied to the target (thus not executed)

This prevents the L2 packet forwarding to properly happen in a VM environment (and possibly other data traffic functions in OPX VM).

The sai_vm_dn_rules.sh is in the "cfg" directory.

Issue discovered in OPX 2.3.1

Workaround:

  1. Download the file sai_vm_dn_rules.sh from https://github.com/open-switch/opx-sai-vm/blob/master/cfg/vm_dn_rules.sh
  2. Copy the file to the OPX VM, and overwrite the contents of the file /usr/bin/dn_rules.sh
  3. Execute /usr/bin/dn_rules.sh
    Note. /usr/bin/dn_rules.sh is automatically executed at each restart

Annoying messages in logs

The VM port initialization presently does not implement port speed as well as requests several other attributes which are requested by the upper layers.

As a result the log fills up with messages like this:

Mar 15 14:29:13 uml-switch opx_nas_daemon[2480]: [ev_log_t_SAI_PORT:Switch Id: 0], Attr get for port id 0x1000000000004's attr index 0 attr id 8 failed with err -65536
Mar 15 14:29:13 uml-switch opx_nas_daemon[2480]: [ev_log_t_SAI_PORT:Switch Id: 0], Attr get for port id 0x1000000000005's attr index 0 attr id 8 failed with err -65536
Mar 15 14:29:13 uml-switch opx_nas_daemon[2480]: [ev_log_t_SAI_PORT:Switch Id: 0], Attr get for port id 0x1000000000006's attr index 0 attr id 8 failed with err -65536
Mar 15 14:29:13 uml-switch opx_nas_daemon[2480]: [ev_log_t_SAI_PORT:Switch Id: 0], Attr get for
port id 0x1000000000007's attr index 0 attr id 8 failed with err -65536

While these are harmless, they create a considerable amount of background noise making it difficult to follow and trace out any real problems. There seems to be some level of support for obtaining speed and other attributes via ethtool in the python scripts so it looks like some work on this has been done already.

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.