commit | 01695205524d0caae80b13697d15321290b4d8de | [log] [tgz] |
---|---|---|
author | Andrea Campanella <andrea@opennetworking.org> | Tue Mar 19 13:03:42 2019 -0700 |
committer | Andrea Campanella <andrea@opennetworking.org> | Tue Mar 19 20:42:05 2019 +0000 |
tree | 227ffd250f1ce71d637e987c388fc296467e9125 | |
parent | 95308287cf713896edc00f83c840d5058d3e14b5 [diff] |
Change in pattern for port recognition in Cassini Driver Change-Id: I7651856e0fdf60db9e335ccff98d6f9f04b7613f
diff --git a/drivers/odtn-driver/src/main/java/org/onosproject/drivers/odtn/CassiniTerminalDeviceDiscovery.java b/drivers/odtn-driver/src/main/java/org/onosproject/drivers/odtn/CassiniTerminalDeviceDiscovery.java index 0f08e9c..eeb885f 100644 --- a/drivers/odtn-driver/src/main/java/org/onosproject/drivers/odtn/CassiniTerminalDeviceDiscovery.java +++ b/drivers/odtn-driver/src/main/java/org/onosproject/drivers/odtn/CassiniTerminalDeviceDiscovery.java
@@ -259,8 +259,8 @@ // Store all properties as port properties - Pattern clientPattern = Pattern.compile("ce(\\d*)/1"); // e.g. ce1/1 - Pattern linePattern = Pattern.compile("oc(\\d*)/(\\d*)"); // e.g. oe1 + Pattern clientPattern = Pattern.compile("xe(\\d*)/1"); // e.g. xe1/1 + Pattern linePattern = Pattern.compile("oe(\\d*)/(\\d*)"); // e.g. oe1 Matcher clientMatch = clientPattern.matcher(description); Matcher lineMatch = linePattern.matcher(description);