commit | fc913dd2f79929b39eda74445fe980ed02291b00 | [log] [tgz] |
---|---|---|
author | Marc De Leenheer <marc@onlab.us> | Thu Jul 30 16:04:55 2015 -0700 |
committer | Gerrit Code Review <gerrit@onlab.us> | Fri Jul 31 15:30:04 2015 +0000 |
tree | 49a209874f235a3cfb12a09d8bf78ba2130254f3 | |
parent | c791179ca29c63e975b9ef2c7f57fd211afddb7b [diff] |
LINC driver and OF device provider report correct optical port types Change-Id: I501ce5f6f53136254024ad7122a4fec0d17504e0
diff --git a/web/api/src/main/java/org/onosproject/rest/resources/ConfigProvider.java b/web/api/src/main/java/org/onosproject/rest/resources/ConfigProvider.java index cc05bff..dbd80cc 100644 --- a/web/api/src/main/java/org/onosproject/rest/resources/ConfigProvider.java +++ b/web/api/src/main/java/org/onosproject/rest/resources/ConfigProvider.java
@@ -254,6 +254,7 @@ annotations); case FIBER: // Currently, assume OMS when FIBER. Provide sane defaults. + annotations = annotations(node.get("annotations")); return new OmsPortDescription(port, node.path("enabled").asBoolean(true), CENTER, CENTER.add(TOTAL), Frequency.ofGHz(100), annotations);