Skip to content

BGP 4 connector that can be used for network analysis

License

Notifications You must be signed in to change notification settings

LUMASERV/bgp-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bgp-java

BGP 4 Connector that can be used for network analysis.

Usage

BGPServer server = new BGPServer();
server.getSessionConfigurations().add(new BGPSessionConfiguration(
        "demosession",
        1234,
        ip("1.2.3.4"),
        4321,
        ip("4.3.2.1"),
        new BGPListener() {
            public void onOpen(BGPSession session) {
                // DO WHAT YOU WANT
            }
            public void onUpdate(BGPSession session, BGPUpdate update) {
                // DO WHAT YOU WANT
            }
            public void onClose(BGPSession session) {
                // NOT YET IMPLEMENTED
            }
        }
));
server.run();

Maven

<repository>
    <id>lumaserv</id>
    <url>https://maven.lumaserv.cloud</url>
</repository>
<dependency>
    <groupId>com.lumaserv</groupId>
    <artifactId>bgp-java</artifactId>
    <version>1.0-SNAPSHOT</version>
</dependency>

About

BGP 4 connector that can be used for network analysis

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages