aboutsummaryrefslogtreecommitdiffstats
path: root/adapters/mso-openstack-adapters/src/main
diff options
context:
space:
mode:
authorSmokowski, Steven <steve.smokowski@att.com>2020-10-23 16:03:33 -0400
committerBenjamin, Max (mb388a) <mb388a@att.com>2020-10-23 16:03:33 -0400
commitfe9c94057eab46cb6a6329e268378fab232e9af7 (patch)
tree5c3e9df292c956345347dc02f6a39bfa939ee3be /adapters/mso-openstack-adapters/src/main
parenta8aaf6fdd4b45a1c497743030d25724b96c39518 (diff)
Use correct DSL query on property name
Use correct DSL query on property name Use correct DSL query on property name Issue-ID: SO-3340 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Iee72cc6cab1ac7f4d663601384560ac493078256
Diffstat (limited to 'adapters/mso-openstack-adapters/src/main')
-rw-r--r--adapters/mso-openstack-adapters/src/main/java/org/onap/so/heatbridge/HeatBridgeImpl.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/adapters/mso-openstack-adapters/src/main/java/org/onap/so/heatbridge/HeatBridgeImpl.java b/adapters/mso-openstack-adapters/src/main/java/org/onap/so/heatbridge/HeatBridgeImpl.java
index c8cb8d9731..0f404f81dd 100644
--- a/adapters/mso-openstack-adapters/src/main/java/org/onap/so/heatbridge/HeatBridgeImpl.java
+++ b/adapters/mso-openstack-adapters/src/main/java/org/onap/so/heatbridge/HeatBridgeImpl.java
@@ -623,9 +623,7 @@ public class HeatBridgeImpl implements HeatBridgeApi {
DSLQueryBuilder<Start, Node> builder = TraversalBuilder
.fragment(new DSLStartNode(Types.PSERVER, __.key("hostname", pserverHostName)))
.to(__.node(Types.P_INTERFACE)
- .to(__.node(Types.SRIOV_PF,
- __.key(HeatBridgeConstants.OS_PF_PCI_SLOT_KEY.toString(), pfPciId))
- .output()));
+ .to(__.node(Types.SRIOV_PF, __.key("pf-pci-id", pfPciId)).output()));
List<Pathed> results = getAAIDSLClient().queryPathed(new DSLQuery(builder.build()));