{"id":580,"date":"2016-04-16T01:36:00","date_gmt":"2016-04-15T16:36:00","guid":{"rendered":"https:\/\/wp.zassoul.com\/?p=580"},"modified":"2016-04-16T01:36:00","modified_gmt":"2016-04-15T16:36:00","slug":"packstack-liberty-%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab-%e7%b6%9a%e3%81%8d","status":"publish","type":"post","link":"https:\/\/wp.zassoul.com\/?p=580","title":{"rendered":"packstack Liberty \u30a4\u30f3\u30b9\u30c8\u30fc\u30eb (\u7d9a\u304d)"},"content":{"rendered":"<p>\u3055\u3066, \u7d9a\u304d\u3002<\/p>\n<p>\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u4f5c\u6210\u3060\u3051\u3069, \u3068\u308a\u3042\u3048\u305a\u73fe\u72b6\u3092\u30c1\u30a7\u30c3\u30af\u3002<br \/><span style=\"font-size: xx-small;\"><br \/><\/span><span style=\"font-size: xx-small;\"><\/span><span style=\"font-size: xx-small;\"><\/span><\/p>\n<table cellpadding=\"20\" style=\"width: 100%;\">\n<tbody>\n<tr bgcolor=\"DDDDDD\">\n<td height=\"20\">\n<pre><code><span style=\"font-size: xx-small;\">+--------------------------------------+---------+------------------------------------------------------+<br \/>| id                                   | name    | subnets                                              |<br \/>+--------------------------------------+---------+------------------------------------------------------+<br \/>| 72973f3f-d8e9-42ec-9124-8cb9cdaf76bb | public  | 284bfb53-6317-4659-a63a-80bc6f93eef4 172.24.4.224\/28 |<br \/>| 8c962f73-821c-4608-8e1d-4fe58f095ddb | private | 9060eb48-5020-448d-bd0e-ac57bd031e85 10.0.0.0\/24     |<br \/>+--------------------------------------+---------+------------------------------------------------------+<\/span><br \/><\/code><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u30a2\u30c9\u30ec\u30b9\u3092\u4fee\u6b63\u3059\u308b\u306e\u3082\u3044\u3044\u3051\u3069, \u3068\u308a\u3042\u3048\u305a\u307e\u3063\u3055\u3089\u306b\u3057\u3066\u4f4d\u7f6e\u304b\u3089\u4f5c\u3063\u3066\u307f\u308b\u3002<\/p>\n<p>public\u306f 192.168.1.0\/24<br \/>private\u306f 172.16.10.0\/24<\/p>\n<p>\u3068\u3059\u308b\u3002<\/p>\n<p>\u57fa\u672c\u306f<a href=\"https:\/\/www.rdoproject.org\/networking\/neutron-with-existing-external-network\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u3053\u3053<\/a>\u306b\u306a\u3089\u3063\u3066\u30b3\u30de\u30f3\u30c9\u3092\u305f\u305f\u3044\u3066\u3044\u304f\u3002<\/p>\n<table cellpadding=\"20\" style=\"width: 100%;\">\n<tbody>\n<tr bgcolor=\"DDDDDD\">\n<td height=\"20\">\n<pre><code><span style=\"font-size: x-small;\">\u25a0 \u30eb\u30fc\u30bf\u4f5c\u6210<\/span><\/code><\/pre>\n<pre><code><span style=\"font-size: x-small;\"># neutron router-create Ext-Router<\/span><\/code><\/pre>\n<pre><code><span style=\"font-size: x-small;\"><br \/><\/span><\/code><\/pre>\n<pre><code><span style=\"font-size: x-small;\">\u25a0 \u5916\u90e8\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u4f5c\u6210<\/span><\/code><\/pre>\n<pre><code><span style=\"font-size: x-small;\"># neutron net-create Ext-Net  --router:external --shared   --provider:network_type flat <\/span><\/code><\/pre>\n<pre><code><span style=\"font-size: x-small;\"><span style=\"font-size: xx-small;\">  --provider:physical_network enp4s0<\/span><br \/><\/span><\/code><\/pre>\n<pre><code><span style=\"font-size: x-small;\"># neutron subnet-create Ext-Net 192.168.1.0\/24 --name Ext-Subnet --gateway 192.168.1.1 <\/span><\/code><\/pre>\n<pre><code><span style=\"font-size: x-small;\"> --allocation-pool start=192.168.1.200,end=192.168.1.210 --disable-dhcp<\/span><\/code><\/pre>\n<pre><code><span style=\"font-size: x-small;\"># neutron router-gateway-set Ext-Router Ext-Net<\/span><\/code><\/pre>\n<pre><code><span style=\"font-size: x-small;\"><br \/><\/span><\/code><\/pre>\n<pre><code><span style=\"font-size: x-small;\">\u25a0 \u5185\u90e8\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u4f5c\u6210<\/span><\/code><\/pre>\n<pre><code><span style=\"font-size: x-small;\"># neutron net-create home-net<\/span><\/code><\/pre>\n<pre><span style=\"font-size: x-small;\"><code><span style=\"font-size: xx-small;\"># <\/span><\/code><span style=\"background-color: transparent;\">neutron subnet-create --name home-subnet --gateway 172.16.10.1 <\/span><\/span><\/pre>\n<pre><span style=\"background-color: transparent; font-size: x-small;\"> --dns-nameserver 192.168.1.1&nbsp;<\/span><\/pre>\n<pre><span style=\"background-color: transparent; font-size: x-small;\"> --allocation-pool start=172.16.10.100,end=172.16.10.120 home-net 172.16.10.0\/24<\/span><\/pre>\n<pre><span style=\"font-size: x-small;\"><span style=\"background-color: transparent;\"># <\/span><span style=\"background-color: transparent;\">neutron router-interface-add Ext-Router home-subnet<\/span><\/span><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><\/p>\n<div><\/div>\n<div><\/div>\n<div>\u3072\u3068\u307e\u305a\u5b8c\u4e86\u3002<\/p>\n<p>\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30c8\u30dd\u30ed\u30b8\u306e\u8868\u793a\u304c\u5909\u308f\u3063\u305f\u306e\u306d\u30fb\u30fb\u30fb\u3002<\/p>\n<div style=\"clear: both; text-align: center;\"><a href=\"https:\/\/3.bp.blogspot.com\/-RkvhpelvCnE\/VxHk8k8UE1I\/AAAAAAAAAJk\/kLeVCllknGQA7zT3luF3Q8YDv49jYKypQCLcB\/s1600\/networktopo.PNG\" style=\"margin-left: 1em; margin-right: 1em;\"><img loading=\"lazy\" decoding=\"async\" border=\"0\" height=\"211\" src=\"https:\/\/3.bp.blogspot.com\/-RkvhpelvCnE\/VxHk8k8UE1I\/AAAAAAAAAJk\/kLeVCllknGQA7zT3luF3Q8YDv49jYKypQCLcB\/s320\/networktopo.PNG\" width=\"320\" \/><\/a><\/div>\n<p>\u524d\u306e\u65b9\u304c\u3088\u304b\u3063\u305f\u306a\u3041\u30fc\u3002\u30a6\u30cb\u30e7\u30a6\u30cb\u30e7\u52d5\u304f\u306e\u306f\u9762\u767d\u3044\u3093\u3060\u3051\u3069\uff0c \u307e\u3068\u307e\u308a\u304c\u60aa\u3044\u3002<\/p>\n<p>\u30a4\u30e1\u30fc\u30b8\u306bCentOS\u3068Fedora\u3092\u767b\u9332\u3057\u305f\u3051\u3069\uff0c\u30c6\u30b9\u30c8\u7528\u306bCirros\u3082\u5165\u308c\u3068\u304f\u3002<br \/>\u53c2\u8003\u306f<a href=\"http:\/\/docs.openstack.org\/liberty\/ja\/install-guide-rdo\/glance-verify.html\" target=\"_blank\" rel=\"noopener noreferrer\">\u30aa\u30d5\u30a3\u30b7\u30e3\u30ebDoc<\/a>\u3002<\/p>\n<table cellpadding=\"20\" style=\"width:100%;\">\n<tbody>\n<tr bgcolor=\"DDDDDD\">\n<td height=\"20\">\n<pre><code><span style=\"font-size: xx-small;\">\u25a0 \u30a4\u30e1\u30fc\u30b8\u30b2\u30c3\u30c4<\/span><\/code><\/pre>\n<pre><code><span style=\"font-size: xx-small;\"><br \/><\/span><\/code><\/pre>\n<pre><span style=\"font-size: xx-small;\"># wget <\/span><span style=\"background-color: transparent;\"><span style=\"font-size: xx-small;\">http:\/\/download.cirros-cloud.net\/0.3.4\/cirros-0.3.4-x86_64-disk.img<\/span><\/span><\/pre>\n<pre><span style=\"background-color: transparent;\"><span style=\"font-size: xx-small;\"># <\/span><\/span><span style=\"background-color: transparent;\"><span style=\"font-size: xx-small;\"># glance image-create --name \"cirros\" <br \/>&gt;   --file cirros-0.3.4-x86_64-disk.img <br \/>&gt;   --disk-format qcow2 --container-format bare <br \/>&gt;   --visibility public --progress<br \/>[=============================&gt;] 100%<br \/>+------------------+--------------------------------------+<br \/>| Property         | Value                                |<br \/>+------------------+--------------------------------------+<br \/>| checksum         | ee1eca47dc88f4879d8a229cc70a07c6     |<br \/>| container_format | bare                                 |<br \/>| created_at       | 2016-04-16T07:17:53Z                 |<br \/>| disk_format      | qcow2                                |<br \/>| id               | 75b3a669-20c4-498a-9685-a80d6acd3c81 |<br \/>| min_disk         | 0                                    |<br \/>| min_ram          | 0                                    |<br \/>| name             | cirros                               |<br \/>| owner            | ac31029ab4af4d06a027529077595a4d     |<br \/>| protected        | False                                |<br \/>| size             | 13287936                             |<br \/>| status           | active                               |<br \/>| tags             | []                                   |<br \/>| updated_at       | 2016-04-16T07:17:53Z                 |<br \/>| virtual_size     | None                                 |<br \/>| visibility       | public                               |<br \/>+------------------+--------------------------------------+<\/span><\/span><\/pre>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><\/p>\n<table align=\"center\" cellpadding=\"0\" cellspacing=\"0\" style=\"margin-left: auto; margin-right: auto; text-align: center;\">\n<tbody>\n<tr>\n<td style=\"text-align: center;\"><a href=\"https:\/\/4.bp.blogspot.com\/-Uru-EM51o7c\/VxHnZ5okI_I\/AAAAAAAAAJw\/17yAd_slE1kSr3OiSSLBCrBvYoTPoIZAQCLcB\/s1600\/image.PNG\" style=\"margin-left: auto; margin-right: auto;\"><img loading=\"lazy\" decoding=\"async\" border=\"0\" height=\"96\" src=\"https:\/\/4.bp.blogspot.com\/-Uru-EM51o7c\/VxHnZ5okI_I\/AAAAAAAAAJw\/17yAd_slE1kSr3OiSSLBCrBvYoTPoIZAQCLcB\/s400\/image.PNG\" width=\"400\" \/><\/a><\/td>\n<\/tr>\n<tr>\n<td style=\"text-align: center;\">\u767b\u9332\u3055\u308c\u305f<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u8d77\u52d5<br \/>Floating IP\u5272\u5f53<br \/>Security Group\u8a2d\u5b9a<br \/>\u3067SSH\u3067\u63a5\u7d9a\u3057\u3066\u63a5\u7d9a\u5b8c\u4e86\u3002<\/p>\n<p>\u30aa\u30c3\u30b1\u3002<\/p>\n<p>\u3055\u3066\uff0c\u6b21\u306fESX\u306eVM\u3092\u3053\u3063\u3061\u306b\u79fb\u3059\u304b\u306a\u3002<\/p>\n<p>\u3068\u601d\u3063\u305f\u3051\u3069\uff0c \u672c\u5f53\u306fVLAN\u3092\u8907\u6570\u5f15\u304d\u8fbc\u3093\u3067\u305d\u308c\u305e\u308c\u306b\u5272\u308a\u5f53\u3066\u308bFloatingIP\u3092\u5206\u3051\u305f\u3044\u3093\u3060\u3051\u3069\u3055\u3066\u3055\u3066\u30fb\u30fb\u30fb\u3002\u3069\u306a\u3044\u3057\u3087\u3002<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u3055\u3066, \u7d9a\u304d\u3002 \u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u4f5c\u6210\u3060\u3051\u3069, \u3068\u308a\u3042\u3048\u305a\u73fe\u72b6\u3092\u30c1\u30a7\u30c3\u30af\u3002 +&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;+&#8212;&#8212;&#8212;+&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;\u2026 <span class=\"read-more\"><a href=\"https:\/\/wp.zassoul.com\/?p=580\">\u7d9a\u304d\u3092\u8aad\u3080 &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,45,8],"tags":[],"class_list":["post-580","post","type-post","status-publish","format-standard","hentry","category-it","category-openstack","category-8"],"_links":{"self":[{"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=\/wp\/v2\/posts\/580","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=580"}],"version-history":[{"count":0,"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=\/wp\/v2\/posts\/580\/revisions"}],"wp:attachment":[{"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=580"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=580"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=580"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}