These are chat archives for Exa-Networks/exabgp

25th
Oct 2016
steiler
@steiler
Oct 25 2016 06:45
@thomas-mangin thanks a lot, it's working so far, however I get json output like the following...
{ "exabgp": "3.5.0", "time": 1477377707.83, "host" : "xan10", "pid" : 11662, "ppid" : 19109, "counter": 23, "type": "update", "neighbor": { "address": { "local": "10.252.198.210", "peer": "10.166.22.44" }, "asn": { "local": "65000", "peer": "65000" }, "direction": "receive", "message": { "update": { "attribute": { "origin": "igp", "local-preference": 100, "extended-community": [ 842122827662412, 842122827662413, 842122827662414, 842122827662422, 842122827662423, 842122827662424, 842122827662425, 842122827662426, 842122827662427, 842122827662428, 432627039204579808 ] }, "announce": { "l2vpn evpn": { "10.166.22.44": [ { "code": 1, "parsed": false, "raw": "011900010AC7002A000000000400000000300000FFFFFFFF000001" } ] } } } } } }
does the parsed false indicate that there is some parser functionality missing?
Thomas Mangin
@thomas-mangin
Oct 25 2016 07:26
Parsed false means we did not know the evpn
steiler
@steiler
Oct 25 2016 07:35
Think I've found it .... update/nlri/evpn/ethernetad.py it's not implemented
Thomas Mangin
@thomas-mangin
Oct 25 2016 08:48
I used the parsed keyword so you know if there is more keys that the raw, code and parsed ones
I will probaby add “name” at some point :wink:
my goal last night was to simply get the code working
steiler
@steiler
Oct 25 2016 08:49
and that worked great... thanks
Thomas Mangin
@thomas-mangin
Oct 25 2016 08:50
If you send me a packet dump (from the exabgp logs) I can surely implement it quickly
It looks like an easy encapsulation
dump: update
Thomas Mangin
@thomas-mangin
Oct 25 2016 09:28
As it was already part of the data you sent me - here it is - Exa-Networks/exabgp@e1a05e5
steiler
@steiler
Oct 25 2016 11:13
thanks thomas, will check that later...
an additional question I have is, are the extended communities supposed to be represented as ints? or is there a quick way of displaying them as for instance target:x:y
as an example just have a look at the sample output above from this morining
Thomas Mangin
@thomas-mangin
Oct 25 2016 11:25
in json, I represent them as int, but I could add a textual representation … but it may not always be present !
Thomas Mangin
@thomas-mangin
Oct 25 2016 13:41
@steiler the name you have (just git pull)
Thomas Mangin
@thomas-mangin
Oct 25 2016 14:02
Added support for segment but could not test it ...