Last active
May 14, 2020 20:04
-
-
Save ccamacho/42a5978ff36d5b8b78e7ffefd000010e to your computer and use it in GitHub Desktop.
prereq commands
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
# If the src or dst project belongs to the src or dst with the admin member it will be able to see all resources from all tenants :( | |
Before | |
[ccamacho@ibm-p8-kvm-03-guest-02 openstack]$ openstack --os-cloud dst13 router list | |
+--------------------------------------+--------------------+--------+-------+----------------------------------+-------------+-------+ | |
| ID | Name | Status | State | Project | Distributed | HA | | |
+--------------------------------------+--------------------+--------+-------+----------------------------------+-------------+-------+ | |
| 278a3639-5c72-44a7-a51e-bb171e86d4d5 | osm_uch_dst_router | ACTIVE | UP | e6be611bd3064d8d827b037d32cfb68c | False | False | | |
| 55ae42c4-6778-49e3-8c73-bcbad6eb8c7c | osm_router | ACTIVE | UP | f0954830265b4570bc3a928df3a07b3a | False | False | | |
| c28cf00d-5b17-4b54-ab12-775bde5e64a1 | osm_uch_src_router | ACTIVE | UP | f0954830265b4570bc3a928df3a07b3a | False | False | | |
+--------------------------------------+--------------------+--------+-------+----------------------------------+-------------+-------+ | |
After | |
[ccamacho@ibm-p8-kvm-03-guest-02 openstack]$ openstack --os-cloud dst13 network list | |
+--------------------------------------+-----------------+--------------------------------------+ | |
| ID | Name | Subnets | | |
+--------------------------------------+-----------------+--------------------------------------+ | |
| 184efd33-530d-41e5-b709-f86a268eb5ce | public | 1c4db976-b959-4e09-8b00-cd386f1164c9 | | |
| efcb973d-6e9c-4e63-8c9c-a701575c7b8c | osm_uch_dst_net | b30f08f0-a969-4d2c-92c8-6e6632625cf0 | | |
+--------------------------------------+-----------------+--------------------------------------+ | |
[ccamacho@ibm-p8-kvm-03-guest-02 openstack]$ openstack --os-cloud src13 network list | |
+--------------------------------------+-----------------+--------------------------------------+ | |
| ID | Name | Subnets | | |
+--------------------------------------+-----------------+--------------------------------------+ | |
| 03c7d20f-bc6b-4acc-8ec6-3dbf2c366125 | osm_uch_src_net | c565382a-9183-410d-874f-6fb8993595c3 | | |
| 184efd33-530d-41e5-b709-f86a268eb5ce | public | 1c4db976-b959-4e09-8b00-cd386f1164c9 | | |
| 4905ba59-4c97-4866-aa04-a76dac962b05 | osm_net | d2d1b77e-8426-4161-9077-2791a9895f42 | | |
+--------------------------------------+-----------------+--------------------------------------+ | |
openstack --os-cloud dst13 role add --project src --user src _member_ | |
openstack --os-cloud src13 \ | |
flavor create --public m1.xtiny --id auto \ | |
--ram 256 --disk 5 --vcpus 1 --rxtx-factor 1 | |
openstack --os-cloud src13 \ | |
flavor create --public m1.tiny --id auto \ | |
--ram 512 --disk 30 --vcpus 2 --rxtx-factor 1 | |
openstack --os-cloud src13 \ | |
flavor create --public m1.small --id auto \ | |
--ram 2048 --disk 30 --vcpus 2 --rxtx-factor 1 | |
openstack --os-cloud src13 \ | |
flavor create --public m1.medium --id auto \ | |
--ram 4096 --disk 30 --vcpus 2 --rxtx-factor 1 | |
openstack --os-cloud src13 \ | |
flavor create --public m1.large --id auto \ | |
--ram 8192 --disk 50 --vcpus 4 --rxtx-factor 1 | |
openstack --os-cloud src13 \ | |
flavor create --public m1.xlarge --id auto \ | |
--ram 16384 --disk 50 --vcpus 8 --rxtx-factor 1 | |
# Two FIPs for the uch machines | |
openstack --os-cloud src13 \ | |
floating ip create public | |
openstack --os-cloud dst13 \ | |
floating ip create public | |
# Two FIPs for the osm_server | |
openstack --os-cloud src13 \ | |
floating ip create public | |
openstack --os-cloud dst13 \ | |
floating ip create public | |
wget --no-check-certificate https://releases.manageiq.org/v2v-conversion-host-appliance-devel.qc2 | |
openstack --os-cloud src13 \ | |
image create \ | |
--disk-format qcow2 \ | |
--container-format bare \ | |
--public \ | |
--file ./v2v-conversion-host-appliance-devel.qc2 \ | |
v2v-conversion-host-appliance-devel.qc2 | |
wget https://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img | |
openstack --os-cloud src13 \ | |
image create \ | |
--disk-format qcow2 \ | |
--container-format bare \ | |
--public \ | |
--file ./cirros-0.4.0-x86_64-disk.img \ | |
cirros-0.4.0-x86_64-disk.img | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment