open-switch / opx-cps

https://openswitch.net
6 stars 15 forks source link

Improve cps_get_oid.py script #112

Open GarrickHe opened 5 years ago

GarrickHe commented 5 years ago

Improve this script so we don't run into a memory issue. Currently we pack/format all output information into memory before printing it out. This is very inefficient and won't work for large outputs. This improvement will stream the output instead of packing it into memory.