From c4aff381c1e715e0bb0ce09297b503cc9bbf0a00 Mon Sep 17 00:00:00 2001 From: "guillaume.lambert" Date: Fri, 7 Jun 2019 11:55:13 +0200 Subject: [PATCH] automate lighty.io build process in the lighty folder - create a patch file to remove deviations from ordm 4.1 network models: org-openroadm-otn-network-topology@2018-11-30.yang org-openroadm-network-topology@2018-11-30.yang org-openroadm-network@2018-11-30.yang - script the lighty.io build process described in the README file - patch ordm 4.1 network models mentionned above - build transportPCE with karaf - download and build lighty-core 10.x.x - build transportPCE with lighty.io - comment out patch and lighty-core folder clean-up - mention the script in the README file JIRA: TRNSPRTPCE-126 Change-Id: I6bfedb2f9424304d4f86f8ede8bc49521c3cb185 Signed-off-by: guillaume.lambert --- lighty/README.md | 1 + lighty/build.sh | 16 ++++ lighty/patch_ordm41_deviations.diff | 141 ++++++++++++++++++++++++++++ 3 files changed, 158 insertions(+) create mode 100755 lighty/build.sh create mode 100644 lighty/patch_ordm41_deviations.diff diff --git a/lighty/README.md b/lighty/README.md index e1c5d475d..5ecfd64f6 100644 --- a/lighty/README.md +++ b/lighty/README.md @@ -44,6 +44,7 @@ unzip lighty-transportpce-10.0.1-SNAPSHOT-bin.zip cd lighty-transportpce-10.0.1-SNAPSHOT ./start-controller.sh ``` +* The whole build process described here and in the previous section can be performed automatically by launching the script build.sh from lighty folder. ## TransportPCE lighty.io - karaf comparison diff --git a/lighty/build.sh b/lighty/build.sh new file mode 100755 index 000000000..86d2781ba --- /dev/null +++ b/lighty/build.sh @@ -0,0 +1,16 @@ +#!/bin/bash + +cd .. +patch -p0