Subject: Rare project developers
List archive
- From: mc36 <>
- To: , Frédéric LOUI <>
- Subject: Re: [rare-dev] Capability detection added
- Date: Fri, 4 Feb 2022 12:43:04 +0100
hi,
On 2/4/22 12:36, Fr d ric LOUI wrote:
good!
adding additional logic to keep trackNo additional logic is planned.
of the already programmed entries is obviously falls to the additional
complexity category, and does not pays
off, as if you try to add an entry to an already full table, it'll fail and
you'll get a grpc response accordingly.
Just get the GRPC response and notify the control plane the entry fails to be
programmed.
yesss, in freerouter, it is there....we have the dataplane_say message that bfrt should emit in this case....
This is what I planned to use for freeRtr notification. For now this is not
implemented, is it ?
> Could you send me the expected dataplane says message format
> in case of entry programmation failure from the dataplane that I sent to
freeRtr ?
as you can see here:
https://github.com/mc36/freeRouter/blob/e24547fe9ec8057134c551ad23b312bb6bb8d993/src/net/freertr/serv/servP4lang.java#L2032
it's a free-text that logged as is, without any further processing...
one approach could be that in the exception catcher, you have the
prepared entry and the grpc response right at hand, you can send
out.println("dataplane-say entry "+entry.toString()+" failed to program with
"+exception.toString());
but it's completely up to you to choose the format...
regards,
cs
- [rare-dev] Capability detection added, Frédéric LOUI, 02/03/2022
- Re: [rare-dev] Capability detection added, mc36, 02/03/2022
- Re: [rare-dev] Capability detection added, Frederic LOUI, 02/03/2022
- Re: [rare-dev] Capability detection added, Frédéric LOUI, 02/04/2022
- Re: [rare-dev] Capability detection added, mc36, 02/04/2022
- Re: [rare-dev] Capability detection added, mc36, 02/04/2022
- Re: [rare-dev] Capability detection added, Frédéric LOUI, 02/04/2022
- Re: [rare-dev] Capability detection added, mc36, 02/04/2022
- Re: [rare-dev] Capability detection added, mc36, 02/04/2022
- Re: [rare-dev] Capability detection added, mc36, 02/04/2022
- Re: [rare-dev] Capability detection added, mc36, 02/03/2022
Archive powered by MHonArc 2.6.19.