summaryrefslogtreecommitdiffstats
path: root/resource-assignment
diff options
context:
space:
mode:
Diffstat (limited to 'resource-assignment')
-rwxr-xr-xresource-assignment/provider/src/main/resources/org/opendaylight/blueprint/resource-assignment.xml16
1 files changed, 14 insertions, 2 deletions
diff --git a/resource-assignment/provider/src/main/resources/org/opendaylight/blueprint/resource-assignment.xml b/resource-assignment/provider/src/main/resources/org/opendaylight/blueprint/resource-assignment.xml
index 9d3f3e99..6e11c664 100755
--- a/resource-assignment/provider/src/main/resources/org/opendaylight/blueprint/resource-assignment.xml
+++ b/resource-assignment/provider/src/main/resources/org/opendaylight/blueprint/resource-assignment.xml
@@ -105,17 +105,29 @@
<bean id="endPointAllocator" class="org.onap.ccsdk.sli.adaptors.ra.comp.EndPointAllocatorImpl">
<property name="resourceManager" ref="resourceManager" />
- <property name="allocationRuleMap">
+ <property name="endPointAllocationDefinitionMap">
<map>
<entry key="DEFAULT">
<list>
- <ref component-id="dbAllocationRule" />
+ <bean class="org.onap.ccsdk.sli.adaptors.ra.comp.EndPointAllocationDefinition">
+ <property name="serviceModel" value="DEFAULT" />
+ <property name="endPointPosition" value="DEFAULT" />
+ <property name="equipmentReader" ref="vnfReader" />
+ <property name="allocationRuleList">
+ <list>
+ <ref component-id="dbAllocationRule" />
+ </list>
+ </property>
+ </bean>
</list>
</entry>
</map>
</property>
</bean>
+ <bean id="vnfReader" class="org.onap.ccsdk.sli.adaptors.ra.reader.VnfReader">
+ </bean>
+
<!-- Resource Allocation Rule Configuration -->
<bean id="dbAllocationRule" class="org.onap.ccsdk.sli.adaptors.ra.alloc.DbAllocationRule">