Net::BGP::Refresh(3)
NAME π
okay so bestie, welcome to the Net::BGP::Refresh(3) page from the User Contributed Perl Documentation zone. The class is Net::BGP::Refresh, and its whole NAME-section moment is literally: Class encapsulating BGP-4 REFRESH message. Slay.
SYNOPSIS π
Here's the group-chat cheat sheet, no cap:
use Net::BGP::Refresh;
$refresh = Net::BGP::Refresh->new(
AFI => $address_family_identifier,
SAFI => $subsequent_address_family_identifier
);
$address_family_identifier = $refresh->afi();
$subsequent_address_family_identifier = $refresh->safi();
$peer->refresh($refresh);
DESCRIPTION β¨
This module encapsulates the data contained in a BGP-4 REFRESH message as specified by RFC 2918. It provides a constructor, and accessor methods for each of the fields, AFI and SAFI, of a REFRESH message. To refresh the route table for a given address family, call the peer object's refresh() function with a Net::BGP::Refresh object as argument. π
METHODS π οΈ
new() - create a new Net::BGP::Refresh object
$refresh = Net::BGP::Refresh->new(
AFI => $address_family_identifier,
SAFI => $subsequent_address_family_identifier
);
This is the constructor for Net::BGP::Refresh objects. It returns a reference to the newly created object. The following named parameters may be passed to the constructor.
AFI π°οΈ
This parameter corresponds to the Address Family Identifier field of a REFRESH message. Default is AFI_IP4.
SAFI π°οΈ
This parameter corresponds to the Subsequent Address Family Identifier field of a REFRESH message. Default is SAFI_BOTH.
afi() - retrieve the value of the Address Family Identifier field
$address_family_identifier = $refresh->afi();
safi() - retrieve the value of the Subsequent Address Family Identifier field
$subsequent_address_family_identifier = $refresh->safi();
SEE ALSO π
Net::BGPNet::BGP::ProcessNet::BGP::PeerNet::BGP::UpdateNet::BGP::ASPathNet::BGP::NLRINet::BGP::Notification
AUTHOR π
Stephen J. Scheck <sscheck@cpan.org> β iconic.
π cute sign-off: this page is from perl v5.32.1, dated 2021-12-02, and it's literally Net::BGP::Refresh(3). Periodt. π«Ά
π¦ where this page comes from
- epel 9: perl-Net-BGP 0.18-1.el9 Β· GPL+ or Artistic
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms