19 Commits

Author SHA1 Message Date
Andreas Jaeger
7a6da6a936 Update for OpenDev
Update URLs for recent OpenDev change.

Change-Id: I0f7e48f054da0eeb12593c5756e5f5f47a577f4f
2019-04-21 16:35:33 +02:00
yanghc
a9348c2bd4 Use https instead of http
Change-Id: Ic85883c4d0458e9e81d6d8c9d11ad248afd19d4f
Signed-off-by: yanghc <yanghc@fiberhome.com>
2017-07-14 08:48:52 +08:00
Luong Anh Tuan
6adc31d841 Remove import unused
Trivial

Change-Id: I5c875ccb605b67f8e385c64fb5e05a3be3b451ff
2016-10-12 09:52:44 +07:00
Marcela Bonell
0a55852448 Fix public IP variable
Change the variable to print the correct public IP value.
Closes-Bug: #1529511

Change-Id: Ife89f0bfa20c30d716dfff0cbe902127362289c3
2016-01-04 14:53:58 -06:00
Tom Fifield
bd3b00a532 firstapp - move libcloud sec5 to sample file
The Block Storage Section, originally written for libcloud
now has support for other SDKs. libcloud should be treated
the same as other SDKs, so this patch simply moves the
code samples into a dedicated file, as per the per all
other sections.

Change-Id: Ide9e8f29aec37b0410d133549679406ecdc0cce2
2015-11-23 16:14:41 +08:00
Martin Paulo
fceaa341af Support for private IP addresses
The getting started sample will now run successfully on clouds that
use the private IP addresses as the public IP address.

Change-Id: I64680e96d7c05ea5e12bed4127eb0a48b6a66975
2015-11-19 15:06:34 +11:00
Jenkins
1f708a8ff7 Merge "faafo repository moved from stackforge to openstack namespace" 2015-10-21 15:43:03 +00:00
Christian Berendt
7dbdd966fb faafo repository moved from stackforge to openstack namespace
The python-openstacksdk repository also moved from stackforge to
openstack namespace.

Change-Id: I62fc8fd975eec8588d7be60f5527932d33dd8e75
2015-10-20 12:54:47 +02:00
Jenkins
48f0151733 Merge "Switch from MySQL-python to PyMySQL" 2015-09-23 12:30:26 +00:00
Caleb Boylan
d03bf3f50f Add a missing "not" in the Python libcloud tutorial.
The point of the script is to create an instance, give it networking
and deploy an app, if the project has an IP that is in use it will try
to assign that IP to the instance and fail(silently) so the instance
won't get an IP.

Change-Id: I7b9ff513c4eac5e2830e57f12e09840159980e07
2015-08-25 18:39:31 +00:00
Stanislaw Szydlo
1713281304 Inconsistent flavor type fix in 'Getting started' chapter for firstapp.
In 'Flavors and images' section, different flavor was suggested in text
and different used in command. Bug fixed for libcloud, dotnet and pkgcloud SDKs.

Change-Id: I69cb5e92eee56190f32a11f75325daf05d37462c
Closes-Bug: #1463546
2015-08-21 15:51:44 -05:00
Donovan Jones
c7c9d0d003 make getting_started script idempotent and add consistent messages
This patch does the following:

* ensures that the script is somewhat idempotent so if it is run more than once
  it will not create duplicate instances
* adds consistent messages at each step, ensuring that all steps have
  consistent output

Change-Id: Ifb3a67604dbe65a27096ad01a0aa8ef7e34338be
2015-08-11 10:57:38 +12:00
Jenkins
e937f2a354 Merge "fix typo in intro script" 2015-08-08 02:31:46 +00:00
Donovan Jones
ce969aba26 fix typo in intro script
Change-Id: Ice988c8cffb6a81d833b2ad1d2a86adad17bcd20
2015-08-07 09:10:49 -05:00
Donovan Jones
c84f0a6024 complete remove extra blank todo: fixes missing floating ip docs
Note that this line was stopping code execution for the libcloud version so
that step 14 was not being displayed. This meant that there was no description
of how to attach a floating ip to an instance.

Change-Id: Ia9d6ef7486ff14bcc94f74ae6b593b7265da9d33
2015-08-07 16:35:40 +12:00
sonu.kumar
e9e5b4287f Replacing print with print() to provide py 2/3 compatibility
This patch replaces print operator in python 2 with print() to provide py 2/3
compatibility.

Change-Id: Ic8854e5518834e2894e003bab80d6be525ac0be8
2015-08-03 17:37:37 +05:30
Jeremy Stanley
64e656909a Switch from MySQL-python to PyMySQL
As discussed in the Liberty Design Summit "Moving apps to Python 3"
cross-project workshop, the way forward in the near future is to
switch to the pure-python PyMySQL library as a default.

https://etherpad.openstack.org/p/liberty-cross-project-python3

Change-Id: I4fd721d6f27bc0125144d960ee5028ce842a60f8
2015-05-20 01:03:58 +00:00
Christian Berendt
61b94863ba [firstapp] use meaningful filennames instead of sectionX.rst
Change-Id: I33e506e3e26d7e55287cb48a348b1b9de5f32231
2015-05-04 13:48:12 +02:00
Andreas Jaeger
f58477ef61 FirstApp: Move source directory up, rename top-level dir
For the RST guides, we do not need doc/source, since doc is always
empty. Use source directly.

This syncs the setup used here with openstack-manuals.

Rename top-level from openstack-firstapp to firstapp, there's no need
for the long name in this repo.

Change-Id: If4e11a4f90d580876865348e0d88b92cec4b6659
2015-05-01 17:22:46 +02:00