Added quantum + rhel pips+pkgs.

This commit is contained in:
Joshua Harlow 2012-02-29 16:56:16 -08:00
parent 2eafcb8072
commit 8d6ef88df1
5 changed files with 69 additions and 9 deletions

View File

@ -13,7 +13,6 @@
"Routes": {
"version": "1.12.3"
},
#the base is 2.0, need to upgrade
"pycrypto": {
"version": "2.5",

30
conf/pips/quantum.json Normal file
View File

@ -0,0 +1,30 @@
# This is a extended json package definition file
# We allow simple comments (lines starting with a hash symbol)
{
"ubuntu-oneiric": {
},
"rhel-6": {
"SQLAlchemy": {
"version": "0.7.5"
},
"sqlalchemy-migrate": {
"version": "0.7.2"
},
#the newest we can get is 1.3.3 from epel/rhel
#this causes issues like the following
#https://answers.launchpad.net/nova/+question/174160
#https://answers.launchpad.net/nova/+question/185116
"PasteDeploy": {
"version": "1.5"
},
"PasteScript": {
"version": "1.7.5"
},
"Paste": {
"version": "1.7.5.1"
},
"Routes": {
"version": "1.12.3"
}
}
}

View File

@ -24,14 +24,15 @@
}
},
"rhel-6": {
#TBD
"MySQL-python": {
"version": "1.2*",
"removable": true
},
"SQLAlchemy": {
"version": "0.7.5"
}
},
"fedora-16": {
# Not available yet
# "openvswitch": {
# "version": "1.4*",
# "removable": true
# },
# Seems needed for ovs_quantum_agent.py
"python-sqlalchemy": {
"version": "0.7*",

View File

@ -35,9 +35,33 @@
}
},
"rhel-6": {
#TBD
"python-greenlet": {
"version": "0.3.1*",
"removable": true,
"meta": {
"epel" : true
}
},
"python-eventlet": {
"version": "0.9*",
"removable": true,
"meta": {
"epel" : true
}
},
"python-gflags": {
"version": "1.4*",
"removable": true,
"meta": {
"epel" : true
}
},
"libxml2-python": {
"version": "2.7*",
"removable": false
}
},
"fedoara-16": {
"fedora-16": {
"python-eventlet": {
"version": "0.9*",
"removable": true

View File

@ -70,6 +70,9 @@ APP_OPTIONS = {
#the pkg json files quantum requires for installation
REQ_PKGS = ['general.json', 'quantum.json']
#pip files that nova requires
REQ_PIPS = ['quantum.json']
class QuantumUninstaller(comp.PkgUninstallComponent):
def __init__(self, *args, **kargs):
@ -102,6 +105,9 @@ class QuantumInstaller(comp.PkgInstallComponent):
})
return places
def _get_pips(self):
return list(REQ_PIPS)
def get_dependencies(self):
common_deps = comp.PkgInstallComponent.get_dependencies(self)
add_deps = list()