Rename opendaylight service to opendaylight_api
authorSteven Hardy <shardy@redhat.com>
Sat, 27 Aug 2016 08:52:43 +0000 (09:52 +0100)
committerSteven Hardy <shardy@redhat.com>
Sat, 27 Aug 2016 13:15:48 +0000 (14:15 +0100)
For compatibility with the custom-roles patches which convert
hard-coded hiera mappings (such as opendaylight_api_node_ips) to
data generated based on the service_name, we need to either change
this name to match the hiera (node_ips and vip) keys, or change the
hiera keys to match the service.  I took the former approach because
it involves less juggling patch dependencies between t-h-t and p-t.

Change-Id: Ic179550027f37946097afe0e5b9f504ea19fa7bc
Partially-Implements: blueprint custom-roles

environments/neutron-opendaylight-l3.yaml
environments/neutron-opendaylight.yaml
puppet/services/opendaylight-api.yaml [moved from puppet/services/opendaylight.yaml with 98% similarity]

index 92f02a4..d61270b 100644 (file)
@@ -2,7 +2,7 @@
 resource_registry:
   OS::TripleO::Services::NeutronOvsAgent: OS::Heat::None
   OS::TripleO::Services::ComputeNeutronOvsAgent: OS::Heat::None
-  OS::TripleO::Services::OpenDaylight: puppet/services/opendaylight.yaml
+  OS::TripleO::Services::OpenDaylight: puppet/services/opendaylight-api.yaml
   OS::TripleO::Services::OpenDaylightOvs: puppet/services/opendaylight-ovs.yaml
   OS::TripleO::Services::NeutronL3Agent: OS::Heat::None
 
index afc2ef9..8fa2e54 100644 (file)
@@ -2,7 +2,7 @@
 resource_registry:
   OS::TripleO::Services::NeutronOvsAgent: OS::Heat::None
   OS::TripleO::Services::ComputeNeutronOvsAgent: OS::Heat::None
-  OS::TripleO::Services::OpenDaylight: puppet/services/opendaylight.yaml
+  OS::TripleO::Services::OpenDaylight: puppet/services/opendaylight-api.yaml
   OS::TripleO::Services::OpenDaylightOvs: puppet/services/opendaylight-ovs.yaml
 
 parameter_defaults:
similarity index 98%
rename from puppet/services/opendaylight.yaml
rename to puppet/services/opendaylight-api.yaml
index c8da701..64dd766 100644 (file)
@@ -63,7 +63,7 @@ outputs:
   role_data:
     description: Role data for the OpenDaylight service.
     value:
-      service_name: opendaylight
+      service_name: opendaylight_api
       config_settings:
         opendaylight::odl_rest_port: {get_param: OpenDaylightPort}
         odl_on_controller: {get_param: EnableOpenDaylightOnController}