summaryrefslogtreecommitdiffstats
path: root/mso-catalog-db/src/main/resources/NetworkResource.hbm.xml
diff options
context:
space:
mode:
Diffstat (limited to 'mso-catalog-db/src/main/resources/NetworkResource.hbm.xml')
-rw-r--r--mso-catalog-db/src/main/resources/NetworkResource.hbm.xml16
1 files changed, 9 insertions, 7 deletions
diff --git a/mso-catalog-db/src/main/resources/NetworkResource.hbm.xml b/mso-catalog-db/src/main/resources/NetworkResource.hbm.xml
index b3b657aa9f..931db68406 100644
--- a/mso-catalog-db/src/main/resources/NetworkResource.hbm.xml
+++ b/mso-catalog-db/src/main/resources/NetworkResource.hbm.xml
@@ -8,9 +8,9 @@
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
-
+
http://www.apache.org/licenses/LICENSE-2.0
-
+
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -26,7 +26,7 @@
<meta attribute="class-description">
This class describes a Network Resource
</meta>
-
+
<id name="id" type="int" column="id"/>
<properties name="uk_network_resource" unique="true">
@@ -40,16 +40,18 @@
<property name="orchestrationMode" column="ORCHESTRATION_MODE" type="string" length="20"/>
<property name="description" column="DESCRIPTION" type="string" length="1200"/>
<property name="templateId" column="TEMPLATE_ID" type="int"/>
+ <property name="neutronNetworkType" type="string" >
+ <column name="NEUTRON_NETWORK_TYPE" not-null="false" default="null" length="20" />
+ </property>
<property name="created" type="timestamp" generated="insert" update="false" insert="false" >
<column name="CREATION_TIMESTAMP" not-null="true"/>
</property>
<property name="aicVersionMin" type="string" >
- <column name="AIC_VERSION_MIN" not-null="false" default="2.5" length="20" />
+ <column name="AIC_VERSION_MIN" not-null="true" length="20" />
</property>
<property name="aicVersionMax" type="string">
- <column name="AIC_VERSION_MAX" not-null="false" default="2.5" length="20"/>
+ <column name="AIC_VERSION_MAX" not-null="false" default="null" length="20"/>
</property>
- <property name="neutronNetworkType" column="NEUTRON_NETWORK_TYPE" type="string" length="20"/>
</class>
-
+
</hibernate-mapping>