From 48972b280cabb6f7ce3ebd22a0f10c38b63fe54c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Martin=20=C4=8Cuchran?= <396462@mail.muni.cz>
Date: Wed, 1 Feb 2017 15:22:17 +0100
Subject: [PATCH] Update instances.yaml

---
 Openstack/instances.yaml | 60 +++++++++++++++++++++++++++++++++++++++-
 1 file changed, 59 insertions(+), 1 deletion(-)

diff --git a/Openstack/instances.yaml b/Openstack/instances.yaml
index c517de1..999e9c6 100644
--- a/Openstack/instances.yaml
+++ b/Openstack/instances.yaml
@@ -27,4 +27,62 @@
       floating_ip: { get_resource: floating_ip_1 }
       server_id: { get_resource: Server_1 }
       
-     
\ No newline at end of file
+
+
+
+  instance_port_2:
+    type: OS::Neutron::Port
+    properties:
+      network: {get_resource: internal_net}
+      security_groups:
+        - default
+        - { get_resource: full_access_secgroup }
+
+  floating_ip_2:
+    type: OS::Nova::FloatingIP
+    properties:
+      pool: public-float-21      
+
+  Server_2:
+    type: OS::Nova::Server
+    properties:
+      flavor: m1.medium
+      image: 7c24d54a-0ec9-47d3-902c-c263c81b48b4
+      networks:
+        - port: { get_resource: instance_port_2 }
+                
+  association_1:
+    type: OS::Nova::FloatingIPAssociation
+    properties:
+      floating_ip: { get_resource: floating_ip_2 }
+      server_id: { get_resource: Server_2 }
+      
+      
+      
+  instance_port_3:
+    type: OS::Neutron::Port
+    properties:
+      network: {get_resource: internal_net}
+      security_groups:
+        - default
+        - { get_resource: full_access_secgroup }
+
+  floating_ip_3:
+    type: OS::Nova::FloatingIP
+    properties:
+      pool: public-float-21      
+
+  Server_3:
+    type: OS::Nova::Server
+    properties:
+      flavor: m1.medium
+      image: 7c24d54a-0ec9-47d3-902c-c263c81b48b4
+      networks:
+        - port: { get_resource: instance_port_3 }
+                
+  association_3:
+    type: OS::Nova::FloatingIPAssociation
+    properties:
+      floating_ip: { get_resource: floating_ip_3 }
+      server_id: { get_resource: Server_3 }
+      
\ No newline at end of file
-- 
GitLab