Comments (4)
Looks like you are using older version of OPX (e.g. 2.1.0) installer. With latest 2.2.0 this should be working fine. Please refer the output below.
root@OPX:~# cps_set_oid.py -oper create base-acl/table id=7 name="test" stage=1 allowed-match-fields=1 priority=7
Success
Key: 1.47.3080336.3080284.
base-acl/table/id = 7
base-acl/table/id = 7
cps/object-group/return-code = 0
base-acl/table/stage = 1
base-acl/table/priority = 7
base-acl/table/allowed-match-fields = 1
base-acl/table/name = test =====> Expected value
root@OPX:~# cps_get_oid.py base-acl/table id=7
============1.47.3080336.3080284.==========
base-acl/table/npu-id-list = 0
base-acl/table/id = 7
base-acl/table/stage = 1
base-acl/table/priority = 7
base-acl/table/allowed-match-fields = 1
base-acl/table/name = test =====> Expected value
base-acl/table/size = 0
from opx-cps.
Thanks Atanu. I am running some kind of 2.2 VM, but it might well be an early dev-candidate rather than the final version. I will try upgrading and retest.
from opx-cps.
FYI, I thought I was running the 2.2 VM in the first place because I got the installer from https://archive.openswitch.net/vm-tools/2.2.0/lvm as suggested by https://github.com/open-switch/opx-docs/wiki/Run-virtual-machine.
Despite the URL, it installed VM 2.1. Who should I raise this problem with? An issue on the opx-docs project?
from opx-cps.
Yes, please go ahead. I am closing the current one.
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.