Giter Club home page Giter Club logo

pathcompute's Introduction

published

PathCompute

PathCompute is developed on top of OpenDaylight (ODL) to represent topology in UI based on information from Link-State database. It can be used for calculating constraints based LSPs for RSVP-TE and pushing those tunnels to Path Computation Client. It also exposes REST APIs for calculating IGP path between a pair of src and dest.

PreRequisites:

The app is developed using python and requires following additional packages to work.

apt-get install python-pip
pip install flask requests

ODL Setup:

This repo requires additional plugins for BGP, PCEP and RESTCONF in OpenDaylight. The repo is tested with OpenDaylight 0.7.3(Nitrogen) and 0.9.2(Fluorine-SR2) releases.

cd karaf**
./bin/karaf
feature:install odl-restconf odl-bgpcep-bgp odl-bgpcep-bgp-openconfig-state odl-bgpcep-pcep
^d
./bin/start

Enter ODL details in odl_details.py

ODL_IP = "xx.xx.xx.xx"
ODL_PORT = "8181"
ODL_USER = "admin"
ODL_PASS = "admin"

Run pce_server.py

python pce_server.py

Open in Browser:

http://xx.xx.xx.xx:9521/pce/

PathCompute

To get started, add a BGFP instance with link-state address-family in OpenDaylight by clicking "Add Instance". Specify the local router-id (which has to be an interface IP address on the linux machine on which OpenDaylight is installed) and AS number. Once BGP instance is added, add at least one BGP-LS peer by clicking "Add Peer". A BGP-LS peer is a router which is enabled with link-state address family and is part of IGP. The BGP session between OpenDaylight and router (Peer) comes up after BGP protocol negotiation and status can be seen in UI. OpenDaylight router-id should be reachable to router's BGP router-id.

Once LS-peer state is "Established" and Linkstate is "Active", IGP topology can be seen in right half. Topology captures point-to-point and broadcast network-type by highlighting with grey and blue color respectively. To have topology view in UI, LS-peer should distribute IGP in BGP link-state.

Tunnel Manager section manages RSVP-TE for the nodes in network that are configured as Path Computation Clients (PCCs). List of PCCs can be seen from "Get PCCs" and their established tunnels. A new tunnel can be pushed to any PCC by using "Create Tunnel". It lists all possible LSPs with given constraints and corresponding IGP and TE metrics. One of them can be pushed to PCC by clicking "Push LSP".

The app considers only the interfaces that are enabled with traffic engineering for path calculation.

pathcompute's People

Contributors

eckelcu avatar vaibhgupta157 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

tubbz-alt

pathcompute's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.