aboutsummaryrefslogtreecommitdiffstats
path: root/puppet/services/opendaylight.yaml
blob: c8da7014d9d350963a2a611ba645d19b5b137658 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
heat_template_version: 2016-04-08

description: >
  OpenDaylight SDN Controller.

parameters:
  OpenDaylightPort:
    default: 8081
    description: Set opendaylight service port
    type: number
  EnableOpenDaylightOnController:
    default: false
    description: Whether to install OpenDaylight on control nodes.
    type: boolean
  OpenDaylightUsername:
    default: 'admin'
    description: The username for the opendaylight server.
    type: string
  OpenDaylightPassword:
    default: 'admin'
    type: string
    description: The password for the opendaylight server.
    hidden: true
  OpenDaylightEnableL3:
    description: Knob to enable/disable ODL L3
    type: string
    default: 'no'
  OpenDaylightEnableDHCP:
    description: Knob to enable/disable ODL DHCP Server
    type: boolean
    default: false
  OpenDaylightFeatures:
    description: List of features to install with ODL
    type: comma_delimited_list
    default: ["odl-netvirt-openstack","odl-netvirt-ui"]
  OpenDaylightConnectionProtocol:
    description: L7 protocol used for REST access
    type: string
    default: 'http'
  OpenDaylightCheckURL:
    description: URL postfix to verify ODL has finished starting up
    type: string
    default: 'restconf/operational/network-topology:network-topology/topology/netvirt:1'
  OpenDaylightApiVirtualIP:
    type: string
    default: ''
  EndpointMap:
    default: {}
    description: Mapping of service endpoint -> protocol. Typically set
                 via parameter_defaults in the resource registry.
    type: json
  ServiceNetMap:
    default: {}
    description: Mapping of service_name -> network name. Typically set
                 via parameter_defaults in the resource registry.  This
                 mapping overrides those in ServiceNetMapDefaults.
    type: json
  DefaultPasswords:
    default: {}
    type: json

outputs:
  role_data:
    description: Role data for the OpenDaylight service.
    value:
      service_name: opendaylight
      config_settings:
        opendaylight::odl_rest_port: {get_param: OpenDaylightPort}
        odl_on_controller: {get_param: EnableOpenDaylightOnController}
        opendaylight_check_url: {get_param: OpenDaylightCheckURL}
        opendaylight::username: {get_param: OpenDaylightUsername}
        opendaylight::password: {get_param: OpenDaylightPassword}
        opendaylight::enable_l3: {get_param: OpenDaylightEnableL3}
        opendaylight::extra_features: {get_param: OpenDaylightFeatures}
        opendaylight::enable_dhcp: {get_param: OpenDaylightEnableDHCP}
        opendaylight::nb_connection_protocol: {get_param: OpenDaylightConnectionProtocol}
        opendaylight::odl_bind_ip: {get_param: [ServiceNetMap, OpenDaylightApiNetwork]}
        tripleo::haproxy::opendaylight: true
      step_config: |
        include tripleo::profile::base::neutron::opendaylight
        include tripleo::profile::base::neutron::plugins::ovs::opendaylight