faafo repository moved from stackforge to openstack namespace
The python-openstacksdk repository also moved from stackforge to openstack namespace. Change-Id: I62fc8fd975eec8588d7be60f5527932d33dd8e75
This commit is contained in:
parent
a97b508d99
commit
7dbdd966fb
@ -5,8 +5,9 @@ Writing Your First OpenStack Application
|
||||
This directory contains the "Writing Your First OpenStack Application"
|
||||
tutorial.
|
||||
|
||||
The tutorials work with an application that can be found at
|
||||
`https://github.com/stackforge/faafo <https://github.com/stackforge/faafo/>`_.
|
||||
The tutorials work with an application that can be found in the
|
||||
`openstack/faafo <http://git.openstack.org/cgit/openstack/faafo>`_
|
||||
repository.
|
||||
|
||||
Prerequisites
|
||||
-------------
|
||||
|
@ -88,7 +88,7 @@ for security_group in conn.ex_list_security_groups():
|
||||
|
||||
# step-11
|
||||
userdata = '''#!/usr/bin/env bash
|
||||
curl -L -s https://git.openstack.org/cgit/stackforge/faafo/plain/contrib/install.sh | bash -s -- \
|
||||
curl -L -s https://git.openstack.org/cgit/openstack/faafo/plain/contrib/install.sh | bash -s -- \
|
||||
-i faafo -i messaging -r api -r worker -r demo
|
||||
'''
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
# step-1
|
||||
userdata = '''#!/usr/bin/env bash
|
||||
curl -L -s https://git.openstack.org/cgit/stackforge/faafo/plain/contrib/install.sh | bash -s -- \
|
||||
curl -L -s https://git.openstack.org/cgit/openstack/faafo/plain/contrib/install.sh | bash -s -- \
|
||||
-i faafo -i messaging -r api -r worker -r demo
|
||||
'''
|
||||
|
||||
@ -14,7 +14,7 @@ testing_instance = conn.create_node(name=instance_name,
|
||||
|
||||
# step-2
|
||||
userdata = '''#!/usr/bin/env bash
|
||||
curl -L -s https://git.openstack.org/cgit/stackforge/faafo/plain/contrib/install.sh | bash -s -- \
|
||||
curl -L -s https://git.openstack.org/cgit/openstack/faafo/plain/contrib/install.sh | bash -s -- \
|
||||
-i messaging -i faafo -r api -r worker -r demo
|
||||
'''
|
||||
|
||||
@ -60,7 +60,7 @@ conn.ex_create_security_group_rule(controller_group, 'TCP', 80, 80)
|
||||
conn.ex_create_security_group_rule(controller_group, 'TCP', 5672, 5672, source_security_group=worker_group)
|
||||
|
||||
userdata = '''#!/usr/bin/env bash
|
||||
curl -L -s http://git.openstack.org/cgit/stackforge/faafo/plain/contrib/install.sh | bash -s -- \
|
||||
curl -L -s http://git.openstack.org/cgit/openstack/faafo/plain/contrib/install.sh | bash -s -- \
|
||||
-i messaging -i faafo -r api
|
||||
'''
|
||||
|
||||
@ -97,7 +97,7 @@ else:
|
||||
ip_controller = instance_controller_1.public_ips[0]
|
||||
|
||||
userdata = '''#!/usr/bin/env bash
|
||||
curl -L -s http://git.openstack.org/cgit/stackforge/faafo/plain/contrib/install.sh | bash -s -- \
|
||||
curl -L -s http://git.openstack.org/cgit/openstack/faafo/plain/contrib/install.sh | bash -s -- \
|
||||
-i faafo -r worker -e 'http://%(ip_controller)s' -m 'amqp://guest:guest@%(ip_controller)s:5672/'
|
||||
''' % {'ip_controller': ip_controller}
|
||||
instance_worker_1 = conn.create_node(name='app-worker-1',
|
||||
|
@ -44,7 +44,7 @@ def get_floating_ip(conn):
|
||||
|
||||
# step-4
|
||||
userdata = '''#!/usr/bin/env bash
|
||||
curl -L -s http://git.openstack.org/cgit/stackforge/faafo/plain/contrib/install.sh | bash -s -- \
|
||||
curl -L -s http://git.openstack.org/cgit/openstack/faafo/plain/contrib/install.sh | bash -s -- \
|
||||
-i database -i messaging
|
||||
'''
|
||||
|
||||
@ -60,7 +60,7 @@ services_ip = instance_services.private_ips[0]
|
||||
|
||||
# step-5
|
||||
userdata = '''#!/usr/bin/env bash
|
||||
curl -L -s http://git.openstack.org/cgit/stackforge/faafo/plain/contrib/install.sh | bash -s -- \
|
||||
curl -L -s http://git.openstack.org/cgit/openstack/faafo/plain/contrib/install.sh | bash -s -- \
|
||||
-i faafo -r api -m 'amqp://guest:guest@%(services_ip)s:5672/' \
|
||||
-d 'mysql://faafo:password@%(services_ip)s:3306/faafo'
|
||||
''' % { 'services_ip': services_ip }
|
||||
@ -88,7 +88,7 @@ for instance in [instance_api_1, instance_api_2]:
|
||||
|
||||
# step-6
|
||||
userdata = '''#!/usr/bin/env bash
|
||||
curl -L -s http://git.openstack.org/cgit/stackforge/faafo/plain/contrib/install.sh | bash -s -- \
|
||||
curl -L -s http://git.openstack.org/cgit/openstack/faafo/plain/contrib/install.sh | bash -s -- \
|
||||
-i faafo -r worker -e 'http://%(api_1_ip)s' -m 'amqp://guest:guest@%(services_ip)s:5672/'
|
||||
''' % {'api_1_ip': api_1_ip, 'services_ip': services_ip}
|
||||
instance_worker_1 = conn.create_node(name='app-worker-1',
|
||||
|
@ -140,7 +140,7 @@ if (security_group_exists) {
|
||||
|
||||
// step-11
|
||||
userdata = "#!/usr/bin/env bash\n" +
|
||||
"curl -L -s https://git.openstack.org/cgit/stackforge/faafo/plain/contrib/install.sh" +
|
||||
"curl -L -s https://git.openstack.org/cgit/openstack/faafo/plain/contrib/install.sh" +
|
||||
" | bash -s -- -i faafo -i messaging -r api -r worker -r demo";
|
||||
userdata = new Buffer(userdata).toString('base64')
|
||||
|
||||
|
@ -70,7 +70,7 @@ conn.search_security_groups(sec_group_name)
|
||||
#step-11
|
||||
ex_userdata = '''#!/usr/bin/env bash
|
||||
|
||||
curl -L -s https://git.openstack.org/cgit/stackforge/faafo/plain/contrib/install.sh | bash -s -- \
|
||||
curl -L -s https://git.openstack.org/cgit/openstack/faafo/plain/contrib/install.sh | bash -s -- \
|
||||
-i faafo -i messaging -r api -r worker -r demo
|
||||
'''
|
||||
|
||||
|
@ -55,8 +55,8 @@ Language Name Description
|
||||
============== ============= ================================================================= ====================================================
|
||||
Python Libcloud A Python-based library managed by the Apache Foundation.
|
||||
This library enables you to work with multiple types of clouds. https://libcloud.apache.org
|
||||
Python OpenStack SDK A Python-based library specifically developed for OpenStack. https://github.com/stackforge/python-openstacksdk
|
||||
Python Shade A Python-based library developed by OpenStack Infra team to https://github.com/openstack-infra/shade
|
||||
Python OpenStack SDK A Python-based library specifically developed for OpenStack. http://git.openstack.org/cgit/openstack/python-openstacksdk
|
||||
Python Shade A Python-based library developed by OpenStack Infra team to http://git.openstack.org/cgit/openstack-infra/shade
|
||||
operate multiple OpenStack clouds.
|
||||
Java jClouds A Java-based library. Like Libcloud, it's also managed by the https://jclouds.apache.org
|
||||
Apache Foundation and works with multiple types of clouds.
|
||||
|
Loading…
Reference in New Issue
Block a user