#!/usr/bin/python
# create by xuekun
# date 2013-6-2
#import json
#import os,inspect
import os
#import random
#import re
#import tempfile
#
#from nova import exception
#from nova import flags
#from nova import log as logging
#from nova.openstack.common import cfg
from nova import utils
#
import MySQLdb
try:
conn=MySQLdb.connect(host='localhost',user='root',passwd='cdyanfa',port=3306)
cur=conn.cursor()
conn.select_db('nova')
count=cur.execute('select *