commit | bf21290302b746617b9661b3261804dd33709c68 | [log] [tgz] |
---|---|---|
author | harjak <jharbaczewski@advaoptical.com> | Tue May 30 15:56:00 2023 +0200 |
committer | harjak <jharbaczewski@advaoptical.com> | Wed May 31 14:57:20 2023 +0200 |
tree | 2284b8b95e813026f41e998e62db494090cf5e82 | |
parent | bc5ea1ef6cbc018996843919faf2ce76ece168f9 [diff] |
[odtn] fix for getting target power Change-Id: Ieb28ae49bf288d5af04148ab81b563dd6e3158c7
diff --git a/drivers/odtn-driver/src/main/java/org/onosproject/drivers/odtn/openconfig/TerminalDevicePowerConfig.java b/drivers/odtn-driver/src/main/java/org/onosproject/drivers/odtn/openconfig/TerminalDevicePowerConfig.java index 5715a4b..b1b49d0 100644 --- a/drivers/odtn-driver/src/main/java/org/onosproject/drivers/odtn/openconfig/TerminalDevicePowerConfig.java +++ b/drivers/odtn-driver/src/main/java/org/onosproject/drivers/odtn/openconfig/TerminalDevicePowerConfig.java
@@ -546,6 +546,7 @@ // This is an edit-config operation. sb.append(pc.parsePortRequestRpc(power, name)); } + sb.append("<component>").append("<name>").append(name).append("</name>"); sb.append("</component>").append("</components>"); return sb.toString(); } else {