This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
LINE="" | |
DIR=`dirname $0` | |
/bin/grep -Ev '^#' $DIR/nova_list > /tmp/list2 | |
while read i ; do | |
if [ -n "$LINE" ]; then | |
LINE=$LINE,$i:nova.ct.ct | |
else |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nova-api-140029996071664 entering nova.api.openstack.compute.images.Controller.index | |
nova-api-140029996071664 |entering nova.image.api.API.get_all | |
nova-api-140029996071664 ||entering nova.image.glance.get_default_image_service | |
nova-api-140029996071664 |||entering nova.image.glance.GlanceImageService.__init__ | |
nova-api-140029996071664 ||||entering nova.image.glance.GlanceClientWrapper.__init__ | |
nova-api-140029996071664 ||||exiting nova.image.glance.GlanceClientWrapper.__init__ | |
nova-api-140029996071664 ||||entering nova.image.download.file.get_schemes | |
nova-api-140029996071664 ||||exiting nova.image.download.file.get_schemes | |
nova-api-140029996071664 |||exiting nova.image.glance.GlanceImageService.__init__ | |
nova-api-140029996071664 ||exiting nova.image.glance.get_default_image_service |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import re | |
import sys | |
import shlex | |
inputfile = sys.argv[1] | |
outputfile = sys.argv[2] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nova-conductor-140567688091120 entering nova.conductor.manager.ConductorManager._object_dispatch | |
nova-conductor-140567688091120 exiting nova.conductor.manager.ConductorManager._object_dispatch | |
nova-api-139774599882064 entering nova.api.openstack.compute.images.Controller.show | |
nova-api-139774599882064 |entering nova.image.api.API.get | |
nova-api-139774599882064 ||entering nova.image.glance.get_remote_image_service | |
nova-api-139774599882064 |||entering nova.image.glance.GlanceImageService.__init__ | |
nova-api-139774599882064 ||||entering nova.image.glance.GlanceClientWrapper.__init__ | |
nova-api-139774599882064 ||||exiting nova.image.glance.GlanceClientWrapper.__init__ | |
nova-api-139774599882064 ||||entering nova.image.download.file.get_schemes | |
nova-api-139774599882064 ||||exiting nova.image.download.file.get_schemes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:14.04 | |
MAINTAINER Akira Yoshiyama <[email protected]> | |
ENV DEBIAN_FRONTEND noninteractive | |
RUN mkdir -p /etc/apt /var/run | |
ADD sources.list /etc/apt/sources.list | |
RUN rm /etc/apt/sources.list.d/* | |
RUN apt-get update | |
RUN apt-get install --reinstall -y openssh-server python-apt upstart sysvinit-utils | |
RUN mv /sbin/initctl.distrib /sbin/initctl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
seqdiag { | |
client; nova-api; glance-api; nova-conductor; nova-scheduler; nova-compute; nova-compute_2; nova-compute_3; neutron-server; | |
client => nova-api [label ="3-40;イメージ情報取得"]{ | |
nova-api => glance-api [label ="19-34;glance.api.v1.images.Controller.meta"]; | |
} | |
client => nova-api [label ="43-46;フレーバ情報取得"]; | |
client -> nova-api [label ="57-254;VM作成"]; | |
nova-api => glance-api [label ="89-104;glance.api.v1.images.Controller.meta"]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from scapy.all import DHCP_am | |
from scapy.base_classes import Net | |
dhcp_server = DHCP_am(iface='eth1', domain='example.com', | |
pool=Net('192.168.10.0/24'), | |
network='192.168.10.0/24', | |
gw='192.168.10.254', | |
renewal_time=600, lease_time=3600) | |
dhcp_server() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Sample ``local.conf`` for user-configurable variables in ``stack.sh`` | |
# NOTE: Copy this file to the root ``devstack`` directory for it to | |
# work properly. | |
# ``local.conf`` is a user-maintained setings file that is sourced from ``stackrc``. | |
# This gives it the ability to override any variables set in ``stackrc``. | |
# Also, most of the settings in ``stack.sh`` are written to only be set if no | |
# value has already been set; this lets ``local.conf`` effectively override the | |
# default values. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2010 United States Government as represented by the | |
# Administrator of the National Aeronautics and Space Administration. | |
# Copyright 2011 Justin Santa Barbara | |
# All Rights Reserved. | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); you may | |
# not use this file except in compliance with the License. You may obtain | |
# a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nova-api-139738565434096 entering nova.api.openstack.compute.images.Controller.index | |
nova-api-139738565434096 |entering nova.image.api.API.get_all | |
nova-api-139738565434096 ||entering nova.image.glance.get_default_image_service | |
nova-api-139738565434096 |||entering nova.image.download.file.get_schemes | |
nova-api-139738565434096 |||exiting nova.image.download.file.get_schemes | |
nova-api-139738565434096 ||exiting nova.image.glance.get_default_image_service | |
nova-api-139738565434096 ||entering nova.image.glance.GlanceImageService.detail | |
nova-api-139738565434096 |||entering nova.image.glance._extract_query_params | |
nova-api-139738565434096 |||exiting nova.image.glance._extract_query_params | |
nova-api-139738565434096 |||entering nova.image.glance.GlanceClientWrapper.call |