Skip to Content.

rare-dev - Re: [rare-dev] capability and platform info from the dataplanes...

Subject: Rare project developers

List archive


Re: [rare-dev] capability and platform info from the dataplanes...


Chronological Thread 
  • From: mc36 <>
  • To: Frédéric LOUI <>, Alexander Gall <>
  • Cc: "" <>
  • Subject: Re: [rare-dev] capability and platform info from the dataplanes...
  • Date: Thu, 3 Feb 2022 16:59:18 +0100

hi,
after a bit of preparation refactoring (i moved the log buffer functionality
to a new class to be able to reuse it):
https://github.com/mc36/freeRouter/commit/27eaa686d83c13008d952a39a5a09173f8914bd4
it was straightforward to have the local collections for everything:
https://github.com/mc36/freeRouter/commit/c8a924f95902507b6953edcf94fe7fa1171562d9
so once it's configured, one can issue "sho logg proc p4emu" to see the last
some lines...
regards,
cs



sid(cfg-scrpt)#show config-differences
script logger
log-collect 123
sequence 1 puts "im here"
exit

sid(cfg-scrpt)#
sid(cfg-scrpt)#runnow
info userTest.doer:userTest.java:410 someone from %noVar:remote% hit the
script
sid(cfg-scrpt)#runnow
info userTest.doer:userTest.java:410 someone from %noVar:remote% hit the
script
sid(cfg-scrpt)#runnow
info userTest.doer:userTest.java:410 someone from %noVar:remote% hit the
script
sid(cfg-scrpt)#show logging script logger
im here
im here
im here

sid(cfg-scrpt)#


On 2/3/22 15:51, mc36 wrote:
not a bad idea, i'll add something asap... :)

On 2/3/22 15:48, Fr d ric LOUI wrote:
Maybe a: display proc <1234> can be useful ?



Archive powered by MHonArc 2.6.19.

Top of Page