Browse Source

Update for Fuel10 - onos upgrade to 1.8.2

Change-Id: Iba828b9ade4c5199d2aa88edc68211eff94e069e
Signed-off-by: sathishkumar_murugesan <sathishcold@gmail.com>
sathishkumar_murugesan 2 years ago
parent
commit
6d40002d60

+ 1
- 1
deployment_scripts/puppet/modules/onos/manifests/init.pp View File

@@ -8,6 +8,6 @@ class onos{
8 8
   $onos_names = filter_hash(  $onos_hash, 'name')
9 9
   $onos_home = '/opt/onos'
10 10
   $karaf_dist = 'apache-karaf-3.0.5'
11
-  $onos_pkg_name = 'onos-1.6.0.tar.gz'
11
+  $onos_pkg_name = 'onos-1.8.2.tar.gz'
12 12
   $jdk8_pkg_name = 'jdk-8u51-linux-x64.tar.gz'
13 13
 }

+ 5
- 5
deployment_scripts/puppet/modules/onos/manifests/service.pp View File

@@ -31,24 +31,24 @@ class onos::service{
31 31
   }->
32 32
 
33 33
   exec { 'install feature openflow':
34
-    command => "/opt/onos/bin/onos 'feature:install onos-openflow-base';
35
-    /opt/onos/bin/onos 'feature:install onos-openflow'",
34
+    command => "/opt/onos/bin/onos 'feature:install onos-providers-openflow-base';
35
+    /opt/onos/bin/onos 'feature:install onos-providers-openflow-message'",
36 36
     tries     => 3,
37 37
     try_sleep => 5,
38 38
   }->
39 39
 
40 40
   exec { 'install feature ovs':
41 41
     command => "/opt/onos/bin/onos 'feature:install onos-ovsdatabase';
42
-    /opt/onos/bin/onos 'feature:install onos-ovsdb-base';
42
+    /opt/onos/bin/onos 'feature:install onos-providers-ovsdb-base';
43 43
     /opt/onos/bin/onos 'feature:install onos-drivers-ovsdb';
44
-    /opt/onos/bin/onos 'feature:install onos-ovsdb-provider-host';",
44
+    /opt/onos/bin/onos 'feature:install onos-providers-ovsdb-host';",
45 45
     tries     => 3,
46 46
     try_sleep => 2,
47 47
   }->
48 48
 
49 49
 
50 50
   exec { 'install feature onosfw':
51
-    command => "/opt/onos/bin/onos 'feature:install onos-app-vtn-onosfw';
51
+    command => "/opt/onos/bin/onos 'feature:install onos-apps-vtn';
52 52
     /opt/onos/bin/onos 'externalportname-set -n onos_port2';",
53 53
     tries     => 3,
54 54
     try_sleep => 2,

+ 3
- 3
metadata.yaml View File

@@ -3,11 +3,11 @@ name: onos
3 3
 # Human-readable name for your plugin
4 4
 title: onos plugin
5 5
 # Plugin version
6
-version: '0.9.0'
6
+version: '0.10.0'
7 7
 # Description
8 8
 description: 'Open Network Operating System (ONOS) is a typical SDN controller. Web-ui: http://horizon_ip:8181/onos/ui'
9 9
 # Required fuel version
10
-fuel_version: ['9.0']
10
+fuel_version: ['10.0']
11 11
 # Specify license of your plugin
12 12
 licenses: ['Apache License Version 2.0']
13 13
 # Specify author or company name
@@ -24,7 +24,7 @@ is_hotpluggable: false
24 24
 # The plugin is compatible with releases in the list
25 25
 releases:
26 26
   - os: ubuntu
27
-    version: mitaka-9.0
27
+    version: newton-10.0
28 28
     mode: ['ha']
29 29
     deployment_scripts_path: deployment_scripts/
30 30
     repository_path: repositories/ubuntu

+ 2
- 2
pre_build_hook View File

@@ -4,7 +4,7 @@ DIR="$(dirname `readlink -f $0`)"
4 4
 TARGET="${DIR}/deployment_scripts/puppet/modules/onos/files"
5 5
 base_url=http://205.177.226.237:9999/onosfw
6 6
 repo_target="${DIR}/repositories/ubuntu"
7
-onos=onos-1.6.0.tar.gz
7
+onos=https://downloads.onosproject.org/release//onos-1.8.2.tar.gz
8 8
 package=package_ovs_debian.tar.gz
9 9
 jdk=jdk-8u51-linux-x64.tar.gz
10 10
 repo=repository.tar
@@ -12,7 +12,7 @@ img=firewall_block_image.img
12 12
 
13 13
 cd $TARGET
14 14
 if [ ! -f $onos ]; then
15
-  wget  $base_url/$onos -P $TARGET
15
+  wget  $onos -P $TARGET
16 16
 fi
17 17
 
18 18
 if [ ! -f $jdk ]; then

Loading…
Cancel
Save