Skip to content

Instantly share code, notes, and snippets.

Lucas Ces Santos lucasces

Block or report user

Report or block lucasces

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View mysql_dump.py
import mysql.connector as myconn
import csv
import gzip
import math
cnx = myconn.connect(user='root',
host='127.0.0.1',
database='adapta_aps')
blacklist = [u'DATABASECHANGELOG', u'DATABASECHANGELOGLOCK', u'QRTZ_BLOB_TRIGGERS', u'QRTZ_CALENDARS', u'QRTZ_CRON_TRIGGERS', u'QRTZ_FIRED_TRIGGERS', u'QRTZ_JOB_DETAILS', u'QRTZ_LOCKS', u'QRTZ_PAUSED_TRIGGER_GRPS', u'QRTZ_SIMPLE_TRIGGERS', u'QRTZ_SIMPROP_TRIGGERS', u'QRTZ_TRIGGERS']
View gist:f1acf1e99b0494d3d2ed
[ml2]
# (ListOpt) List of network type driver entrypoints to be loaded from
# the neutron.ml2.type_drivers namespace.
#
# type_drivers = local,flat,vlan,gre,vxlan,geneve
type_drivers = local,flat,vlan,gre,vxlan
# Example: type_drivers = flat,vlan,gre,vxlan,geneve
# (ListOpt) Ordered list of network_types to allocate as tenant
# networks. The default value 'local' is useful for single-box testing
View gist:9dff5175dad68e29f57a
[DEFAULT]
verbose=true
debug=true
control_exchange=neutron
policy_file=C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\etc\policy.json
rpc_backend=rabbit
logdir=C:\OpenStack\Log\
logfile=neutron-hyperv-agent.log
[AGENT]
polling_interval=2
View gist:539d23e5700cd27b4317
[DEFAULT]
auth_strategy=keystone
image_service=nova.image.glance.GlanceImageService
compute_driver=hyperv.nova.driver.HyperVDriver
volume_api_class=nova.volume.cinder.API
instances_path=C:\OpenStack\Instances
use_cow_images=true
flat_injected=true
policy_file=C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\etc\policy.json
mkisofs_cmd=C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\bin\mkisofs.exe
View gist:69da8df5853fa3016345
2016-01-11 16:02:23.586 1632 INFO oslo_service.periodic_task [-] Skipping periodic task _periodic_update_dns because its interval is negative
2016-01-11 16:02:23.868 1632 INFO nova.virt.driver [-] Loading compute driver 'hyperv.nova.driver.HyperVDriver'
2016-01-11 16:02:50.951 1632 INFO oslo.messaging._drivers.impl_rabbit [req-070b85b4-e232-46c4-8f65-28b4208fdd6d - - - - -] Connecting to AMQP server on 192.168.16.210:5672
2016-01-11 16:02:50.967 1632 INFO oslo.messaging._drivers.impl_rabbit [req-070b85b4-e232-46c4-8f65-28b4208fdd6d - - - - -] Connected to AMQP server on 192.168.16.210:5672
2016-01-11 16:02:50.967 1632 INFO oslo.messaging._drivers.impl_rabbit [req-070b85b4-e232-46c4-8f65-28b4208fdd6d - - - - -] Connecting to AMQP server on 192.168.16.210:5672
2016-01-11 16:02:50.999 1632 INFO oslo.messaging._drivers.impl_rabbit [req-070b85b4-e232-46c4-8f65-28b4208fdd6d - - - - -] Connected to AMQP server on 192.168.16.210:5672
2016-01-11 16:02:51.029 1632 WARNING oslo_config.cfg [req-070b85b4-e232-46c4-8f65-28
View gist:a76ccc3ed65ed2f46342
2016-01-11 16:02:19.427 2784 INFO neutron.common.config [-] Logging enabled!
2016-01-11 16:02:19.427 2784 INFO neutron.common.config [-] C:\Program Files (x86)\Cloudbase Solutions\OpenStack\Nova\Python27\Scripts\neutron-hyperv-agent-script.py version 7.0.0
2016-01-11 16:02:22.772 2784 INFO oslo.messaging._drivers.impl_rabbit [req-97d29d52-e5fd-4b98-83d6-b0b120ddf155 - - - - -] Connecting to AMQP server on 192.168.16.210:5672
2016-01-11 16:02:23.055 2784 INFO oslo.messaging._drivers.impl_rabbit [req-97d29d52-e5fd-4b98-83d6-b0b120ddf155 - - - - -] Connected to AMQP server on 192.168.16.210:5672
2016-01-11 16:02:23.086 2784 INFO oslo.messaging._drivers.impl_rabbit [req-97d29d52-e5fd-4b98-83d6-b0b120ddf155 - - - - -] Connecting to AMQP server on 192.168.16.210:5672
2016-01-11 16:02:23.102 2784 INFO oslo.messaging._drivers.impl_rabbit [req-97d29d52-e5fd-4b98-83d6-b0b120ddf155 - - - - -] Connected to AMQP server on 192.168.16.210:5672
2016-01-11 16:02:23.118 2784 INFO oslo.messaging._drivers.impl_rabbit [req-97d29d
You can’t perform that action at this time.