1.root@controller2:~#novaservice-list+----+------------------+-------------+----------+---------+-------+------------+-----------------+|Id|Binary|Host|Zone|Status|State|Updated_at|DisabledReason|+----+------------------+-------------+----------+---------+-..
分类:
系统相关 时间:
2014-11-16 01:58:12
阅读次数:
295
在openstack的I版本中,Heat中添加了对于AutoScaling资源的支持,github上也提供了对应的AutoScaling的模板,同时也支持使用ceilometer的alarm来触发Scaling
Policy。
AutoScaling定义的流程
首先定义一个Auto Scaling Group,该Group 定义了可以持有资源的类型以及的最大、最小资源数
...
分类:
其他好文 时间:
2014-11-13 00:37:32
阅读次数:
283
敲到n皇后,map一下算法
class Solution {
public:
vector > res;
void helper(vector &nums, int index, int n) {
if(index == n) {
bool flag = true;
for(int i = 0; i < n && flag; i++)...
分类:
其他好文 时间:
2014-11-12 16:27:33
阅读次数:
185
The n-queens puzzle is the problem of placing n queens on an n×n chessboard such that no two queens attack each other.
Given an integer n, return all distinct solutions to the n-queens puzzle.
E...
分类:
其他好文 时间:
2014-11-10 20:00:33
阅读次数:
193
Follow up for N-Queens problem.
Now, instead outputting board configurations, return the total number of distinct solutions.
思路1:打表
public class Solution {
public int totalNQ...
分类:
其他好文 时间:
2014-11-10 19:58:54
阅读次数:
220
CentOS6.4部署OpenStackHavana(Nova-Network版)一基本设备介绍测试环境CentOS6.4x64OpenStack服务介绍计算(Compute)-Nova;网络和地址管理-Neutron;对象存储(Object)-Swift;块存储(Block)-Cinder;身份(Identity)-keystone;镜像(Image)-Glance;UI界面(Dashboard)-Horizon;..
分类:
Web程序 时间:
2014-11-10 15:47:43
阅读次数:
356
tripleo如何使用openstack部署openstack的Juno版本源代码流程分析...
分类:
其他好文 时间:
2014-11-10 13:56:52
阅读次数:
274
ThenovaclientPython APIUsageFirst create a client instance with your credentials:>>> from novaclient.client import Client>>> nova = Client(VERSION, US...
分类:
编程语言 时间:
2014-11-09 08:38:02
阅读次数:
281
OpenStack实战指南
跳转至:
导航、
搜索
目录
1
OpenStack简介2
OpenStack安装3
OpenStack组织结构一览4
OpenStack API的介绍和开发5
Keystone认证组件6
Glance镜像组件7
Nova计算组件8
Neutron网络组件9
Cinder块存储组件10
OpenS...
分类:
其他好文 时间:
2014-11-07 17:04:30
阅读次数:
515
最近弄了一段时间的ironic,终于把它给调通,可以正常使用了。这两天有时间可以把ironic的api发布流程学习一下,ironic-api发布并不像nova-api那样--自己实现api发布流程,而是采用了轻量级框架pecan。所以就学习下pecan,没想到pecan文档网页被墙了,打不开,只好看源码了。这里并非想阐述pecan框架的实现结构,而只是想探讨下Pecan类的继承和实例化,及引出对__new__调用的实验。...
分类:
其他好文 时间:
2014-11-06 13:04:40
阅读次数:
426