[SEBA-262] Images unique by name and tag
Change-Id: Ibfee26ba1838cf0eb310c130a2774ef116d717e9
diff --git a/VERSION b/VERSION
index cd57a8b..399088b 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-2.1.5
+2.1.6
diff --git a/containers/xos/Dockerfile.client b/containers/xos/Dockerfile.client
index 27c5d21..8cb27ef 100644
--- a/containers/xos/Dockerfile.client
+++ b/containers/xos/Dockerfile.client
@@ -13,7 +13,7 @@
# limitations under the License.
# xosproject/xos-client
-FROM xosproject/xos-libraries:2.1.5
+FROM xosproject/xos-libraries:2.1.6
# Install XOS client
COPY xos/xos_client /tmp/xos_client
diff --git a/containers/xos/Dockerfile.libraries b/containers/xos/Dockerfile.libraries
index ff99c9a..0308298 100644
--- a/containers/xos/Dockerfile.libraries
+++ b/containers/xos/Dockerfile.libraries
@@ -12,7 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-FROM xosproject/xos-base:2.1.5
+FROM xosproject/xos-base:2.1.6
# Add libraries
COPY lib /opt/xos/lib
diff --git a/containers/xos/Dockerfile.synchronizer-base b/containers/xos/Dockerfile.synchronizer-base
index fc3d417..7490a10 100644
--- a/containers/xos/Dockerfile.synchronizer-base
+++ b/containers/xos/Dockerfile.synchronizer-base
@@ -13,7 +13,7 @@
# limitations under the License.
# xosproject/xos-synchronizer-base
-FROM xosproject/xos-client:2.1.5
+FROM xosproject/xos-client:2.1.6
COPY xos/synchronizers/new_base /opt/xos/synchronizers/new_base
COPY xos/xos/logger.py /opt/xos/xos/logger.py
diff --git a/containers/xos/Dockerfile.xos-core b/containers/xos/Dockerfile.xos-core
index c7df46a..621c35d 100644
--- a/containers/xos/Dockerfile.xos-core
+++ b/containers/xos/Dockerfile.xos-core
@@ -13,7 +13,7 @@
# limitations under the License.
# xosproject/xos-core
-FROM xosproject/xos-libraries:2.1.5
+FROM xosproject/xos-libraries:2.1.6
# Install XOS
ADD xos /opt/xos
diff --git a/xos/core/models/core.xproto b/xos/core/models/core.xproto
index b68d3dc..7ede452 100644
--- a/xos/core/models/core.xproto
+++ b/xos/core/models/core.xproto
@@ -268,7 +268,7 @@
message Image (XOSBase) {
- required string name = 1 [db_index = False, max_length = 256, null = False, content_type = "stripped", blank = False, unique = True];
+ required string name = 1 [db_index = False, max_length = 256, null = False, content_type = "stripped", blank = False, unique_with = "tag"];
required string kind = 2 [default = "vm", choices = "(('vm', 'Virtual Machine'), ('container', 'Container'))", max_length = 30, blank = False, null = False, db_index = False];
optional string disk_format = 3 [db_index = False, max_length = 256, null = True, content_type = "stripped", blank = True];
optional string container_format = 4 [db_index = False, max_length = 256, null = True, content_type = "stripped", blank = True];