Comments (3)
@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.
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.
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)
- Statistics values always return / show 0 HOT 8
- How to apply low-level switch configuration via CPS API HOT 1
- Can't generate opx cps document HOT 5
- C SDK example HOT 7
- an example (CPS application )of configuring the MAC address forwarding database HOT 1
- CPS Get OID Call On S4000 Platform Running Out Of Memory Before Listing 16K Routes HOT 3
- Improve cps_get_oid.py script
- Simple ACL fails
- can't save L2 configuration with cps_set_oid.py HOT 7
- Query interface configuration by type broken HOT 8
- Server (untagged) unable to ping SVI gateway hosted of ToR HOT 7
- Setting physical address on LAG interface doesn't always stick HOT 14
- Result pollution in latest CPS HOT 2
- Packet with TTL=1 is not handled properly in S4248FB-ON HOT 1
- Object registration in python succeeds, but handlers are never invoked HOT 3
- Not able to remove registration added with cps_api_event_thread_reg HOT 1
- Development packages do not point to correct binary packages HOT 1
- opx-base-model fails to build due to problem in yin_utils.py HOT 1
- get cps python callback never returns any data HOT 2
- opx-cps service must be of type "Notify"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opx-cps.