Statistics
| Branch: | Tag: | Revision:

one / src / onedb / local / 5.3.80_to_5.4.0.rb @ f93e2be0

History | View | Annotate | Download (1.46 KB)

1
# -------------------------------------------------------------------------- #
2
# Copyright 2002-2017, OpenNebula Project, OpenNebula Systems                #
3
#                                                                            #
4
# Licensed under the Apache License, Version 2.0 (the "License"); you may    #
5
# not use this file except in compliance with the License. You may obtain    #
6
# a copy of the License at                                                   #
7
#                                                                            #
8
# http://www.apache.org/licenses/LICENSE-2.0                                 #
9
#                                                                            #
10
# Unless required by applicable law or agreed to in writing, software        #
11
# distributed under the License is distributed on an "AS IS" BASIS,          #
12
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   #
13
# See the License for the specific language governing permissions and        #
14
# limitations under the License.                                             #
15
#--------------------------------------------------------------------------- #
16

    
17

    
18
require 'set'
19
require 'base64'
20
require 'zlib'
21
require 'pathname'
22
require 'yaml'
23
require 'opennebula'
24

    
25
$: << File.dirname(__FILE__)
26

    
27
include OpenNebula
28

    
29
module Migrator
30
    def db_version
31
        "5.4.0"
32
    end
33

    
34
    def one_version
35
        "OpenNebula 5.4.0"
36
    end
37

    
38
    def up
39
        return true
40
    end
41
end