Open
NAME
Net::BGP::Message::Open - BGP OPEN Message
SYNOPSIS
# We create generic messages using the parent class.
use Net::BGP::Message;
my $msg = Net::BGP::Message.from-raw( $raw ); # Might return a child crash
DESCRIPTION
OPEN BGP message type
Constructors
from-raw
Constructs a new object for a given raw binary buffer.
from-hash
This simply throws an exception, since the hash format of a generic message is not designed.
Methods
message-name
Returns a string that describes what message type the command represents.
Currently understood types include OPEN
.
message-code
Contains an integer that corresponds to the message-code.
version
Version field of the BGP message (currently this only supports version 4).
asn
The ASN field of the source of the OPEN message
asn32-support
Returns true if the peer has 32 bit ASN support.
ipv4-support
Returns true if the peer supports the IPv4 unicast address family.
ipv6-support
Returns true if the peer supports the IPv6 unicast address family.
capabilities
A list of all individual capabilities in this open message.
hold-time
The hold time in seconds provided by the sender of the OPEN message
identifier
The BGP identifier of the sender.
parameters
A list of all individual parameters in this open message.
raw
Returns the raw (wire format) data for this message.
AUTHOR
Joelle Maslak <[email protected]>
COPYRIGHT AND LICENSE
Copyright © 2018-2019 Joelle Maslak
This library is free software; you can redistribute it and/or modify it under the Artistic License 2.0.