GithubHelp home page GithubHelp logo

Comments (3)

rakeshdatta avatar rakeshdatta commented on June 26, 2024

@kot-begemot-uk Hi Anton,
can you please help me with the information mentioned in: https://github.com/open-switch/opx-docs/wiki/Report-bugs

from opx-cps.

kot-begemot-uk avatar kot-begemot-uk commented on June 26, 2024

RFC8040 and the netconf RFCs specify that ENUMs are represented by their named values and boolean is represnted by true and false. The yang RFCs (both yang 1.0 and 1.1) are also fairly specific that the numeric values for enum are purely "implementer's business" and should not be used for interchange.
CPS violates every single one of these.

from opx-cps.

kot-begemot-uk avatar kot-begemot-uk commented on June 26, 2024

Example violations:
base-if-phy/if/interfaces/interface/npu-id = 0
dell-base-if-cmn/if/interfaces/interface/if-index = 5
dell-if/if/interfaces/interface/phys-address = 90:b1:1c:f4:ef:a0
dell-if/if/interfaces/interface/speed = 8 <<<VIOLATES RFCs
if/interfaces/interface/enabled = 0<<<VIOLATES RFCs
base-if-phy/if/interfaces/interface/learn-mode = 3<<<VIOLATES RFCs
if/interfaces/interface/name = e101-001-0
dell-if/if/interfaces/interface/duplex = 1<<<VIOLATES RFCs
dell-if/if/interfaces/interface/auto-negotiation = 0<<<VIOLATES RFCs
if/interfaces/interface/type = ianaift:ethernetCsmacd
dell-if/if/interfaces/interface/tx-idle-time = 768
dell-if/if/interfaces/interface/oui = 6976381
dell-if/if/interfaces/interface/tx-wake-time = 768
dell-if/if/interfaces/interface/mtu = 1532
dell-if/if/interfaces/interface/mode = 1<<<VIOLATES RFCs
base-if-phy/if/interfaces/interface/port-id = 1
dell-base-if-cmn/if/interfaces/interface/vlan-filter = 2<<<VIOLATES RFCs
base-if-phy/if/interfaces/interface/phy-media = 1<<<VIOLATES RFCs
dell-if/if/interfaces/interface/fec = 2<<<VIOLATES RFCs
base-if-phy/if/interfaces/interface/tagging-mode = 3<<<VIOLATES RFCs
dell-if/if/interfaces/interface/eee = 0<<<VIOLATES RFCs

Out of reported data 75% are in violation of the RFCs to start off with and unacceptable to any RFC compliant implementation.

from opx-cps.

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.