commit | ff691b7f63656ea6d8f5ea318066c64a91db1ab7 | [log] [tgz] |
---|---|---|
author | Andreas Pantelopoulos <andreas@opennetworking.org> | Mon Mar 12 16:30:20 2018 -0700 |
committer | Andrea Campanella <andrea@opennetworking.org> | Wed Mar 14 00:55:56 2018 +0000 |
tree | 57884f9ae16a38e588dd3b049a5280cadfe66f2d | |
parent | 03121dc4d14bb83d6e20d9f199eca8b71d63a766 [diff] [blame] |
Implemented the following PW features and fixes: - PW support for H-AGG topologies. Support for leaf-spine-spine leaf-spine-spine-leaf pseudowires. - Renamed pw commands with sr-pw-* pattern and also removed redundant output from them. - Enabled bulk addition / removal of pws from the rest api. - Modified diagnostics tool with the updated command name. Change-Id: I708db9281d0082b160cbd713910b420ef7df9da3
diff --git a/apps/segmentrouting/web/src/main/java/org/onosproject/segmentrouting/web/PseudowireCodec.java b/apps/segmentrouting/web/src/main/java/org/onosproject/segmentrouting/web/PseudowireCodec.java index f2fe786..fba6ff9 100644 --- a/apps/segmentrouting/web/src/main/java/org/onosproject/segmentrouting/web/PseudowireCodec.java +++ b/apps/segmentrouting/web/src/main/java/org/onosproject/segmentrouting/web/PseudowireCodec.java
@@ -78,7 +78,7 @@ * @param json Json to decode. * @return The pseudowire id. */ - public Integer decodeId(ObjectNode json) { + public static Integer decodeId(ObjectNode json) { Integer id = parsePwId(json.path(PW_ID).asText()); if (id == null) {