Committed by
Gerrit Code Review
[ONOS-4166] Add the capabilities for links and devices in the resource manager. …
…Also update the resource information from BGP-LS update. Change-Id: I3ac50941c2841c104393fc543107496bffe92bbc
Showing
6 changed files
with
8 additions
and
2 deletions
... | @@ -106,7 +106,7 @@ public class LinkStateAttributes implements BgpValueType { | ... | @@ -106,7 +106,7 @@ public class LinkStateAttributes implements BgpValueType { |
106 | * | 106 | * |
107 | * @param linkStateAttribList Linked list of Link, Node and Prefix TLVs | 107 | * @param linkStateAttribList Linked list of Link, Node and Prefix TLVs |
108 | */ | 108 | */ |
109 | - LinkStateAttributes(List<BgpValueType> linkStateAttribList) { | 109 | + public LinkStateAttributes(List<BgpValueType> linkStateAttribList) { |
110 | this.linkStateAttribList = linkStateAttribList; | 110 | this.linkStateAttribList = linkStateAttribList; |
111 | this.isLinkStateAttribute = true; | 111 | this.isLinkStateAttribute = true; |
112 | } | 112 | } | ... | ... |
... | @@ -96,7 +96,7 @@ public final class BgpLinkAttrMaxLinkBandwidth implements BgpValueType { | ... | @@ -96,7 +96,7 @@ public final class BgpLinkAttrMaxLinkBandwidth implements BgpValueType { |
96 | * | 96 | * |
97 | * @return Maximum link bandwidth | 97 | * @return Maximum link bandwidth |
98 | */ | 98 | */ |
99 | - float linkAttrMaxLinkBandwidth() { | 99 | + public float linkAttrMaxLinkBandwidth() { |
100 | return maxBandwidth; | 100 | return maxBandwidth; |
101 | } | 101 | } |
102 | 102 | ... | ... |
providers/bgp/pom.xml
100755 → 100644
... | @@ -41,6 +41,11 @@ | ... | @@ -41,6 +41,11 @@ |
41 | </dependency> | 41 | </dependency> |
42 | <dependency> | 42 | <dependency> |
43 | <groupId>org.onosproject</groupId> | 43 | <groupId>org.onosproject</groupId> |
44 | + <artifactId>onos-incubator-api</artifactId> | ||
45 | + <version>${project.version}</version> | ||
46 | + </dependency> | ||
47 | + <dependency> | ||
48 | + <groupId>org.onosproject</groupId> | ||
44 | <artifactId>onos-api</artifactId> | 49 | <artifactId>onos-api</artifactId> |
45 | <classifier>tests</classifier> | 50 | <classifier>tests</classifier> |
46 | <scope>test</scope> | 51 | <scope>test</scope> | ... | ... |
... | @@ -3,6 +3,7 @@ COMPILE_DEPS = [ | ... | @@ -3,6 +3,7 @@ COMPILE_DEPS = [ |
3 | '//protocols/bgp/api:onos-protocols-bgp-api', | 3 | '//protocols/bgp/api:onos-protocols-bgp-api', |
4 | '//protocols/bgp/bgpio:onos-protocols-bgp-bgpio', | 4 | '//protocols/bgp/bgpio:onos-protocols-bgp-bgpio', |
5 | '//incubator/store:onos-incubator-store', | 5 | '//incubator/store:onos-incubator-store', |
6 | + '//incubator/api:onos-incubator-api', | ||
6 | ] | 7 | ] |
7 | 8 | ||
8 | TEST_DEPS = [ | 9 | TEST_DEPS = [ | ... | ... |
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
-
Please register or login to post a comment