Skip to content

Commit d0c4b11

Browse files
committed
Merge pull request #100 from cne/develop
Develop
2 parents e381c3e + c447524 commit d0c4b11

24 files changed

Lines changed: 1669 additions & 166 deletions

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,3 +57,4 @@ local.properties
5757
.cproject
5858
# PDT-specific
5959
.buildpath
60+
network-protocols.iml

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
language: java
2+
jdk:
3+
- oraclejdk7
4+
- oraclejdk8
5+
script:
6+
- mvn package -X -f ./pom.xml
7+
- mvn install -X -f ./pom.xml

CHANGELOG

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
v.1.3.0
2+
- Checked implemenation supports RFC 7752 (previously it supported draft-ietf-idr-ls-distribution-13)
3+
- Implementation of draft-previdi-idr-bgpls-te-metric-extensions-01 using the suggested values in the draft
14
v1.2.3
25
- Version ready to be deployed in maven central
36
- All javadoc errors fixed

README.md

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,21 @@
1-
netphony-network-protocols v1.2.3
1+
netphony-network-protocols v1.3.0
22
=================================
3+
4+
Repository branch build status:
5+
6+
| **Master** | **Develop** |
7+
|:---:|:---:|
8+
| [![Build Status](https://travis-ci.org/telefonicaid/netphony-network-protocols.svg?branch=master)](https://travis-ci.org/telefonicaid/netphony-network-protocols) | [![Build Status](https://travis-ci.org/telefonicaid/netphony-network-protocols.svg?branch=develop)](https://travis-ci.org/telefonicaid/netphony-network-protocols) |
9+
10+
Latest Maven Central Release:
11+
12+
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/es.tid.netphony/network-protocols/badge.svg?style=flat-square)](https://maven-badges.herokuapp.com/maven-central/es.tid.netphony/network-protocols/)
13+
314
The netphony-network-protocols library is an implementation of four networking protocols:
4-
* **PCEP protocol**: Path Computation Element Protocol (PCEP) (RFC 5440).
15+
* **PCEP protocol**: Path Computation Element Protocol (PCEP) (RFC 5440 https://tools.ietf.org/html/rfc5440 ).
516
* **RSVP-TE protocol**: Resource reservation protocol (RSVP) with Traffic Engineering extensions.
617
* **OSPF-TE protocol**: OSPF Version 2 protocol with Traffic Engineering extensions.
7-
* **BGP-LS protocol**: North-Bound Distribution of Link-State and Traffic Engineering Information using BGP https://datatracker.ietf.org/doc/draft-ietf-idr-ls-distribution.
18+
* **BGP-LS protocol**: North-Bound Distribution of Link-State and Traffic Engineering Information using BGP https://tools.ietf.org/html/rfc7752. Support of BGP-LS Traffic Engineering (TE) Metric Extensions https://tools.ietf.org/html/draft-previdi-idr-bgpls-te-metric-extensions-01
819

920
The protocol library can be easily integrated in any software that needs to interact with other software/devices using these protoocols. The library provides the encoding and decoding from java objects to bit-level. Note that, the state machine and set up of sessions is provided by other components, also available in github.
1021

@@ -31,7 +42,7 @@ To build the .jar file and run the tests, clone the repository, go to the main d
3142
<dependency>
3243
<groupId>es.tid.netphony</groupId>
3344
<artifactId>network-protocols</artifactId>
34-
<version>1.2.3</version>
45+
<version>1.3.0</version>
3546
</dependency>
3647
```
3748
Authors keep also a copy of the artifact in maven central to facilitate the deployment. (*) In process
@@ -102,15 +113,15 @@ Detailed OSPF-TE Support [click here](doc/OSPF-TE_Support.md)
102113
OSPF-TE v2 LSA from RFC3630
103114
Inter-AS-TE-v2 LSA from RFC5392 http://tools.ietf.org/html/rfc5392
104115

105-
# BGP-LS Support
116+
## BGP-LS Support
106117

107118
It is used to exchange TE information between BGP-LS speakers.
108119

109120
Detailed BGP4 & BGP-LS Support [click here](doc/BGP-LS_Support.md)
110121

111-
http://tools.ietf.org/html/draft-ietf-idr-ls-distribution-03
112-
122+
* North-Bound Distribution of Link-State and Traffic Engineering Information using BGP https://tools.ietf.org/html/rfc7752.
113123

124+
* BGP-LS Traffic Engineering (TE) Metric Extensions https://tools.ietf.org/html/draft-previdi-idr-bgpls-te-metric-extensions-01
114125

115126

116127
(*) The BGLP-LS Speaker is available in https://github.com/telefonicaid/netphony-topology

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1.2.3
1+
v1.3.0

doc/BGP-LS_Support.md

Lines changed: 71 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Detailed BGP-4 & BGP-LS Implementation Support (v1.0.1)
1+
Detailed BGP-4 & BGP-LS Implementation Support (v1.3.0)
22
=======================================================
33

44
The BGP-4 and BGP-LS elements shown below are implemented in current version, unless **Not Implemented** is mentioned.
@@ -34,26 +34,80 @@ Fields in UPDATE Message
3434
* MP Reach (Type Code 14)
3535
* MP Unreach (Type Code 15)
3636

37-
TLVs
38-
----
39-
* Local Node Descriptors TLV (Type 256)
40-
* Remote Node Descriptors TLV (Type 257)
37+
### NLRI Types
38+
39+
| **Type** | **NLRI Type** | Class in the implementation |
40+
|:---:|:---:|:---:|
41+
| 1 | Node NLRI | http://telefonicaid.github.io/netphony-network-protocols/api/es/tid/bgp/bgp4/update/fields/LinkNLRI.html |
42+
| 2 | Link NLRI |http://telefonicaid.github.io/netphony-network-protocols/api/es/tid/bgp/bgp4/update/fields/NodeNLRI.html |
43+
| 3 | IPv4 Topology Prefix NLRI | http://telefonicaid.github.io/netphony-network-protocols/api/es/tid/bgp/bgp4/update/fields/PrefixNLRI.html |
44+
| 4 | IPv6 Topology Prefix NLRI | (**Not Implemented**)|
45+
46+
### Link State NLRI TLVs
47+
| **Type** | **NLRI Type** |
48+
|:---:|:---:|
49+
| (Type 256)|Local Node Descriptors TLV |
50+
|(Type 257) |Remote Node Descriptors TLV |
4151

4252
### Node Descriptor Sub-TLVs
43-
* Autonomous System
44-
* BGP-LS Identifier
45-
* OSPF Area-ID
46-
* IGP Router-ID
53+
| **Type** | **NLRI Type** |
54+
|:---:|:---:|
55+
| | Autonomous System|
56+
| |BGP-LS Identifier |
57+
| |OSPF Area-ID |
58+
| |IGP Router-ID|
59+
60+
### Link Descriptors TLVs
4761

48-
Link Descriptors TLVs
49-
----------------------
62+
| **TLV Code points** | **Name** |
63+
|:---:|:---:|
64+
| 258 | Link Local/Remote Identifiers |
65+
| 259 | IPv4 interface address |
66+
| 260 | IPv4 neighbor address |
67+
| 261 | IPv6 interface address |
68+
| 262 | IPv6 neighbor address |
69+
| 263 | Multi-Topology Identifier |
5070

71+
## BGP-LS Attribute TLVs
5172

52-
Link State Attribute TLVs
53-
-------------------------
54-
* Administrative Group
55-
* Link Local/Remote
56-
* IPv4 interface
57-
* IPv4 neighbor
73+
### Node Attribute TLVs
5874

75+
| **TLV Code points** | **Name** |
76+
|:---:|:---:|
77+
| 263 | Multi-Topology Identifier (**Not Implemented**) |
78+
| 1024 | Node Flag Bits |
79+
| 1025 | Opaque Node Attribute (**Not Implemented**) |
80+
| 1026 | Node Name |
81+
| 1027 | IS-IS Area Identifier |
82+
| 1028 | IPv4 Router-ID of Local Node |
83+
| 1029 | IPv6 Router-ID of Local Node |
84+
85+
### Link Attribute TLVs
86+
87+
| **TLV Code points** | **Name** |
88+
|:---:|:---:|
89+
| 1028 | IPv4 Router-ID of Local Node |
90+
| 1029 | IPv6 Router-ID of Local Node (**Not Implemented**) |
91+
| 1030 | IPv4 Router-ID of Remote Node |
92+
| 1031 | IPv6 Router-ID of Remote Node (**Not Implemented**) |
93+
| 1088 | Administrative group (color) |
94+
| 1089 | Maximum link bandwidth |
95+
| 1090 | Max. reservable link bandwidth |
96+
| 1091 | Unreserved bandwidth |
97+
| 1092 | TE Default Metric |
98+
| 1093 | Link Protection Type |
99+
| 1094 | MPLS Protocol Mask (**Not Implemented**) |
100+
| 1095 | IGP Metric |
101+
| 1096 | Shared Risk Link Group |
102+
| 1097 | Opaque Link Attribute (**Not Implemented**) |
103+
| 1098 | Link Name (**Not Implemented**) |
59104

105+
### Prefix Attribute TLVs
106+
| **TLV Code points** | **Name** |
107+
|:---:|:---:|
108+
| 1152 | IGP Flags |
109+
| 1153 | IGP Route Tag (**Not Implemented**) |
110+
| 1154 | IGP Extended Route Tag (**Not Implemented**) |
111+
| 1155 | Prefix Metric |
112+
| 1156 | OSPF Forwarding Address |
113+
| 1157 | Opaque Prefix Attribute (**Not Implemented**) |

0 commit comments

Comments
 (0)