summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikita Koshikov <nkoshikov@mirantis.com>2015-02-09 17:19:28 +0200
committerNikita Koshikov <nkoshikov@mirantis.com>2015-04-08 15:51:26 +0300
commit8c8eb4bb440b78cdbba1144a8f265e2dc04717af (patch)
tree05e8072977588e50f11bcc282a8a4c4144aaaaa2
parentf2a512996064380b25b33960b3d618c89e80f093 (diff)
Basic plugin UI added
Notes
Notes (review): Verified+2: Jenkins Code-Review+2: Nikita Koshikov <nkoshikov@mirantis.com> Workflow+1: Nikita Koshikov <nkoshikov@mirantis.com> Submitted-by: Jenkins Submitted-at: Wed, 08 Apr 2015 12:55:31 +0000 Reviewed-on: https://review.openstack.org/171604 Project: stackforge/fuel-plugin-cisco-aci Branch: refs/heads/master
-rw-r--r--environment_config.yaml115
-rw-r--r--metadata.yaml21
-rwxr-xr-xpre_build_hook0
-rw-r--r--repositories/centos/.gitkeep0
-rw-r--r--repositories/ubuntu/.gitkeep0
-rw-r--r--tasks.yaml11
6 files changed, 147 insertions, 0 deletions
diff --git a/environment_config.yaml b/environment_config.yaml
new file mode 100644
index 0000000..0cfe1a9
--- /dev/null
+++ b/environment_config.yaml
@@ -0,0 +1,115 @@
1attributes:
2 install_type:
3 type: "radio"
4 weight: 20
5 value: "apic"
6 label: "Cisco SDN install type"
7 values:
8 - data: "apic"
9 label: "Generic APIC ML2 driver"
10 description: "Core Cisco ML2 Neutron plugin"
11 - data: "gbp"
12 label: "GBP module and Mapping driver"
13 description: "Description ...."
14 - data: "apic_with_gbp"
15 label: "GBP module and APIC driver"
16 description: "Description ..."
17 apic_hosts:
18 value: '10.0.0.100'
19 label: 'APIC Host'
20 description: 'Comma­separated list of Cisco APIC IP addresses'
21 weight: 31
22 type: "text"
23 apic_username:
24 value: 'admin'
25 label: 'APIC Username'
26 description: 'Username for Cisco APIC; usually admin is used to allow configuration for multiple tenants'
27 weight: 32
28 type: "text"
29 regex:
30 source: '\S'
31 error: "Error field cannot be empty"
32 apic_password:
33 value: 'password'
34 label: 'APIC Password'
35 description: 'Password for the Cisco APIC user identified by the username'
36 weight: 33
37 type: "password"
38 regex:
39 source: '\S'
40 error: "Error field cannot be empty"
41 use_lldp:
42 type: "checkbox"
43 weight: 40
44 value: true
45 label: "Use lldp"
46 description: "Try to automatically discover hosts"
47 restrictions:
48 #- condition: "settings:cisco_aci.install_type.value != \"apic\""
49 # action: disable
50 static_config:
51 type: "textarea"
52 weight: 41
53 value: ""
54 label: "Static config"
55 description: "Example:\n[apic_switch:201]\ncompute11,compute21=1/10\ncompute12=1/11\n"
56 restrictions:
57 - condition: "settings:cisco_aci.use_lldp.value != false"
58 action: disable
59 additional_config:
60 type: "textarea"
61 weight: 42
62 value: ""
63 label: "Additional config"
64 description: "Example:\n[DEFAULT]\napic_vpc_pairs=201:202,203:204"
65 create_ext_net:
66 type: "checkbox"
67 weight: 70
68 value: false
69 label: "Configure external network"
70 description: "Create external neutron network"
71 ext_net_name:
72 type: "text"
73 weight: 71
74 value: "myextnet"
75 label: "Network name:"
76 description: "External network name"
77 restrictions:
78 - condition: "settings:cisco_aci.create_ext_net.value == false"
79 action: hide
80 ext_net_subnet:
81 type: "text"
82 weight: 72
83 value: "10.0.0.0/24"
84 label: "Subnet range:"
85 description: "CIDR for external network"
86 restrictions:
87 - condition: "settings:cisco_aci.create_ext_net.value == false"
88 action: hide
89 ext_net_gateway:
90 type: "text"
91 weight: 73
92 value: "10.0.0.1"
93 label: "Gateway IP:"
94 description: "IP address of the external gateway"
95 restrictions:
96 - condition: "settings:cisco_aci.create_ext_net.value == false"
97 action: hide
98 ext_net_switch:
99 type: "text"
100 weight: 74
101 value: "203"
102 label: "Switch ID:"
103 description: "Switch ID from Cisco APIC"
104 restrictions:
105 - condition: "settings:cisco_aci.create_ext_net.value == false"
106 action: hide
107 ext_net_port:
108 type: "text"
109 weight: 75
110 value: "1/34"
111 label: "Port ID:"
112 description: "Switch port to which the external router is connected"
113 restrictions:
114 - condition: "settings:cisco_aci.create_ext_net.value == false"
115 action: hide
diff --git a/metadata.yaml b/metadata.yaml
new file mode 100644
index 0000000..7d4134c
--- /dev/null
+++ b/metadata.yaml
@@ -0,0 +1,21 @@
1# Plugin name
2name: cisco_aci
3# Human-readable name for your plugin
4title: Cisco APIC Plugin support
5# Plugin version
6version: 1.0.0
7# Description
8description: Enable to use Cisco SDN solutions for Neutron
9# Required fuel version
10fuel_version: ['6.0']
11
12# The plugin is compatible with releases in the list
13releases:
14 - os: ubuntu
15 version: 2014.2-6.0
16 mode: ['ha', 'multinode']
17 deployment_scripts_path: deployment_scripts/
18 repository_path: repositories/ubuntu
19
20# Version of plugin package
21package_version: '1.0.0'
diff --git a/pre_build_hook b/pre_build_hook
new file mode 100755
index 0000000..e69de29
--- /dev/null
+++ b/pre_build_hook
diff --git a/repositories/centos/.gitkeep b/repositories/centos/.gitkeep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/repositories/centos/.gitkeep
diff --git a/repositories/ubuntu/.gitkeep b/repositories/ubuntu/.gitkeep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/repositories/ubuntu/.gitkeep
diff --git a/tasks.yaml b/tasks.yaml
new file mode 100644
index 0000000..685f1c3
--- /dev/null
+++ b/tasks.yaml
@@ -0,0 +1,11 @@
1# This tasks will be applied on controller nodes,
2# here you can also specify several roles, for example
3# ['cinder', 'compute'] will be applied only on
4# cinder and compute nodes
5- role: ['controller','compute']
6 stage: post_deployment
7 type: puppet
8 parameters:
9 puppet_manifest: puppet/site.pp
10 puppet_modules: puppet/modules/
11 timeout: 42