Merge "Fix ssl cert upload path"
[fuel.git] / deploy / config / plugins / fuel-odl_1.0.0.yaml
1 ##############################################################################
2 # Copyright (c) 2015,2016 Ericsson AB and others.
3 # jonas.bjurel@ericsson.com
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
9
10 plugin-config-metadata:
11   title: OpenDaylight fuel Plugin configuration template
12   version: 0.5
13   created: 07.12.2016
14   comment: Fuel 10 support
15 opendaylight:
16   metadata:
17     #chosen_id: Assigned during installation
18     class: plugin
19     default: false
20     enabled: true
21     label: OpenDaylight plugin
22     toggleable: true
23     versions:
24     - enable_l3_odl:
25         weight: 10
26         type: "checkbox"
27         value: false
28         label: "Use ODL to manage L3 traffic"
29         restrictions:
30           - networking_parameters:segmentation_type == 'vlan': Use tunneling segmentation type.
31           - settings:public_network_assignment.assign_to_all_nodes.value == false: Assign public network to all nodes
32       enable_sfc:
33         weight: 20
34         type: "checkbox"
35         value: false
36         label: "SFC features"
37       sfc_class:
38         weight: 21
39         type: "select"
40         value: "ncr"
41         label: "Classifier used by SFC"
42         values:
43           - data: "ncr"
44             label: "NetVirt"
45           - data: "gcr"
46             label: "GBP"
47         description:
48           >
49            Classifier determines what traffic needs to be chained based on policy based on yang model.
50            The OpenDayLight actually supports the OVSDB NetVirt and the GBP classifier in case of SFC.
51         restrictions:
52           - condition: "settings:opendaylight.enable_sfc.value == false"
53             action: "hide"
54       enable_bgpvpn:
55         weight: 40
56         type: "checkbox"
57         value: false
58         label: "BGPVPN extensions"
59         description:
60           >
61             This enables the bgpvpn extension of neutron together with the
62             corresponding sdnvpn features in odl. This feature will disable
63             the standard ovsdb feature from ODL.
64         restrictions:
65           - condition: "settings:bgpvpn == null or settings:bgpvpn.metadata.enabled == false"
66             strict: false
67             message: "BGPVPN (fuel-plugin-bgpvpn) plugin must be installed and enabled."
68           - networking_parameters:segmentation_type == 'vlan': This feature works only with segmentation_type != vlan
69           - condition: "settings:opendaylight.enable_l3_odl.value == false"
70             strict: false
71             message: "OpenDaylight must be acting as the L3 controller for the bgpvpn features to be enabled."
72           - condition: "settings:opendaylight.deb_version.value != '5.2.0-1'"
73             strict: false
74             message: "The BGPVPN features only support OpenDaylight 5.2.0-1. The OpenDaylight package version field must be set to that value."
75       odl_v2:
76         weight: 60
77         type: "checkbox"
78         value: false
79         label: "Use V2 ML2 driver"
80         description: "V2 version is considered as experimental"
81       rest_api_port:
82         value: '8282'
83         label: 'Port number'
84         description: 'Port on which ODL REST API will be available.'
85         weight: 70
86         type: "text"
87         regex:
88           source: ^([1-9][0-9]{0,3}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])$
89           error: 'Invalid port number'
90       java_min_mem:
91         value: '1g'
92         label: 'Java -Xms option'
93         description: 'Initial memory allocation pool.'
94         weight: 80
95         type: "text"
96       java_max_mem:
97         value: '2g'
98         label: 'Java -Xmx option'
99         description: 'Maximum memory allocation pool.'
100         weight: 81
101         type: "text"
102       java_extra_opts:
103         value: '-XX:+UseG1GC'
104         label: 'Java extra options'
105         description: 'Additional options.'
106         weight: 82
107         type: "text"
108       deb_version:
109         value: '5.0.0-1'
110         label: 'OpenDaylight package version'
111         description: 'Plugin can be build with more than one version of ODL.'
112         weight: 90
113         type: "text"
114       metadata:
115         restrictions:
116           - "cluster:net_provider != 'neutron'": "Only neutron is supported by OpenDaylight"
117         odl_features:
118           default:
119             - config
120             - standard
121             - region
122             - package
123             - kar
124             - ssh
125             - management
126           odl-default:
127             - odl-restconf-all
128             - odl-aaa-authn
129             - odl-dlux-all
130           gcr:
131             - odl-groupbasedpolicy-ovssfc
132           ncr:
133             - odl-ovsdb-sfc
134             - odl-ovsdb-sfc-rest
135           ovsdb:
136             - odl-ovsdb-openstack
137           netvirt:
138             - odl-netvirt-openstack
139           sfc:
140             - odl-sfc-model
141             - odl-sfc-provider
142             - odl-sfc-provider-rest
143             - odl-sfc-ovs
144             - odl-sfc-openflow-renderer
145         default_credentials:
146           user: admin
147           password: admin
148         jetty_port: 8181
149         #plugin_id: Assigned during installation
150         plugin_version: 1.0.0
151     weight: 70