fix sdn-plugin package instalation 19/8819/1 feature7184
authortierno <alfonso.tiernosepulveda@telefonica.com>
Fri, 24 Apr 2020 08:55:39 +0000 (08:55 +0000)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Fri, 24 Apr 2020 10:45:56 +0000 (10:45 +0000)
Remove non-existing python3-cvprac package dependency
Install cvprac with post installation

Change-Id: I610fa54a580c8ca2a829e2cc0803740644125c12
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
RO-SDN-arista/Makefile
RO-SDN-arista/debian/python3-osm-rosdn-arista.postinst [new file with mode: 0755]
RO-SDN-arista/stdeb.cfg
RO/osm_ro/openmanod.py

index 6117980..1606bb3 100644 (file)
@@ -20,5 +20,6 @@ clean:
 
 package:
        python3 setup.py --command-packages=stdeb.command sdist_dsc
 
 package:
        python3 setup.py --command-packages=stdeb.command sdist_dsc
+       cp debian/python3-osm-rosdn-arista.postinst deb_dist/osm-rosdn-arista*/debian/
        cd deb_dist/osm-rosdn-arista*/ && dpkg-buildpackage -rfakeroot -uc -us
 
        cd deb_dist/osm-rosdn-arista*/ && dpkg-buildpackage -rfakeroot -uc -us
 
diff --git a/RO-SDN-arista/debian/python3-osm-rosdn-arista.postinst b/RO-SDN-arista/debian/python3-osm-rosdn-arista.postinst
new file mode 100755 (executable)
index 0000000..d87fa26
--- /dev/null
@@ -0,0 +1,23 @@
+#!/bin/bash
+
+##
+# 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. See the
+# License for the specific language governing permissions and limitations
+# under the License.
+#
+# For those usages not covered by the Apache License, Version 2.0 please
+# contact with: OSM_TECH@list.etsi.org
+##
+
+echo "POST INSTALL OSM-ROSDN-ARISTA"
+
+#Pip packages required for openstack connector
+python3 -m pip install cvprac
index 71b1615..d5d358a 100644 (file)
@@ -15,5 +15,5 @@
 
 [DEFAULT]
 X-Python3-Version : >= 3.5
 
 [DEFAULT]
 X-Python3-Version : >= 3.5
-Depends3: python3-requests, python3-osm-ro, python3-jsonrpclib-pelix, python3-cvprac
+Depends3: python3-requests, python3-osm-ro, python3-jsonrpclib-pelix
 
 
index d64d331..93aca89 100755 (executable)
@@ -53,8 +53,8 @@ import osm_ro
 
 __author__ = "Alfonso Tierno, Gerardo Garcia, Pablo Montes"
 __date__ = "$26-aug-2014 11:09:29$"
 
 __author__ = "Alfonso Tierno, Gerardo Garcia, Pablo Montes"
 __date__ = "$26-aug-2014 11:09:29$"
-__version__ = "7.0.1.post18"
-version_date = "Apr 2020"
+__version__ = "7.0.1.post26"
+version_date = "May 2020"
 database_version = 40      # expected database schema version
 
 global global_config
 database_version = 40      # expected database schema version
 
 global global_config