Merge "Fix merge_dicts logic for the case of two nonempty lists"
[fuel.git] / deploy / config / plugins / fuel-odl_0.0.3.yaml
1 ##############################################################################
2 # Copyright (c) 2015 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.3
13   created: 04.03.2016
14   comment: Added bgpvpn feature
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_gbp:
25         label: GBP features
26         type: checkbox
27         value: false
28         weight: 14
29       enable_l3_odl:
30         label: Use ODL to manage L3 traffic
31         restrictions:
32         - networking_parameters:segmentation_type == 'vlan': Use tunneling segmentation
33             type.
34         - settings:public_network_assignment.assign_to_all_nodes.value == false: Assign
35             public network to all nodes
36         type: checkbox
37         value: false
38         weight: 12
39       enable_sfc:
40         label: SFC features
41         type: checkbox
42         value: false
43         weight: 13
44       enable_bgpvpn:
45         weight: 13
46         type: "checkbox"
47         value: false
48         label: "BGPVPN extensions"
49         description:
50           >
51             This enables the bgpvpn extension of neutron togethere with the
52             corresponding sdnvpn features in odl. This feature will disable
53             the standart ovsdb feature from ODL.
54         restrictions:
55           - condition: "settings:bgpvpn == null or settings:bgpvpn.metadata.enabled == false"
56             strict: false
57             message: "BGPVPN (fuel-plugin-bgpvpn) plugin must be installed and enabled."
58           - networking_parameters:segmentation_type == 'vlan': This feature works only with segmentation_type != vlan
59           - condition: "settings:fuel-plugin-ovs == null or settings:fuel-plugin-ovs.metadata.enabled == false"
60             strict: false
61             message: "Openvswitch with NSH support (fuel-plugin-ovs) must be installed and enabled."
62       bgpvpn_gateway:
63         weight: 13
64         type: "text"
65         value: "0.0.0.0"
66         description: "Define the default gateway for BGPVPN"
67         label: "Default Gateway"
68         restrictions:
69             - settings:opendaylight.enable_bgpvpn.value == false: Only needed if BGPVPN is enabled.
70         regex:
71           source: ^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
72           error: 'Invalid ip number'
73       metadata:
74         always_editable: false
75         restrictions:
76         - cluster:net_provider != 'neutron': Only neutron is supported by OpenDaylight
77         odl_features:
78           default:
79             - config
80             - standard
81             - region
82             - package
83             - kar
84             - ssh
85             - management
86           odl-default:
87             - odl-restconf-all
88             - odl-aaa-authn
89             - odl-dlux-all
90           gbp:
91             - odl-groupbasedpolicy-neutronmapper
92             - odl-groupbasedpolicy-ofoverlay
93           ovs:
94             - odl-ovsdb-openstack
95           sfc:
96             - odl-sfc-model
97             - odl-sfc-provider
98             - odl-sfc-provider-rest
99             - odl-sfc-sb-rest
100             - odl-sfc-ui
101             - odl-sfc-netconf
102             - odl-sfc-ovs
103             - odl-sfcofl2
104           vpn:
105             - odl-vpnservice-openstack
106         # plugin_id: Assigned during installation
107         plugin_version: 0.8.1
108       rest_api_port:
109         value: '8282'
110         label: 'Port number'
111         description: 'Port on which ODL REST API will be available.'
112         weight: 40
113         type: "text"
114         regex:
115           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])$
116           error: 'Invalid port number'
117     weight: 70