X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=tools%2Ffastbgp%2Fplay.py;h=5dc84a1ba399116f5e0535ec5ba059a57508f7c7;hb=b151662e97fd32fcd3336f947e7d2f22de58380e;hp=dfc4f0ef98af5b17ecd6520a326f68885d9131a0;hpb=a473861252b9dab99490c21259d2eddefaea447e;p=integration%2Ftest.git diff --git a/tools/fastbgp/play.py b/tools/fastbgp/play.py index dfc4f0ef98..5dc84a1ba3 100755 --- a/tools/fastbgp/play.py +++ b/tools/fastbgp/play.py @@ -936,6 +936,12 @@ class MessageGenerator(object): path_attributes_hex += ( next_hop_hex # IP address of the next hop (4 bytes) ) + path_attributes_hex += ( + "\x40" # Flags ("Well-Known") + "\x05" # Type (LOCAL_PREF) + "\x04" # Length (4) + "\x00\x00\x00\x64" # (100) + ) if originator_id is not None: path_attributes_hex += ( "\x80" # Flags ("Optional, non-transitive")