components/openstack/cinder/files/cinder-api.xml
branchs11u2-sru
changeset 4156 4b1def16fe9b
parent 3178 77584387a894
child 4476 230dcd277ef6
--- a/components/openstack/cinder/files/cinder-api.xml	Thu Apr 16 01:36:32 2015 -0700
+++ b/components/openstack/cinder/files/cinder-api.xml	Mon Apr 20 12:35:51 2015 -0700
@@ -1,7 +1,7 @@
 <?xml version="1.0" ?>
 <!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
 <!--
- Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
+ Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
 
  Licensed under the Apache License, Version 2.0 (the "License"); you may
  not use this file except in compliance with the License. You may obtain
@@ -30,6 +30,12 @@
       <service_fmri value='svc:/milestone/multi-user:default' />
     </dependency>
 
+    <dependency name='upgrade' grouping='require_all' restart_on='none'
+      type='service'>
+      <service_fmri
+        value='svc:/application/openstack/cinder/cinder-upgrade' />
+    </dependency>
+
     <!-- create a dependency on the cinder_db service so the cinder
          services do not collide when creating the database -->
     <dependency name='cinder_db' grouping='optional_all' restart_on='error'
@@ -42,6 +48,11 @@
       <service_fmri value='svc:/network/ntp'/>
     </dependency>
 
+    <dependency name='rabbitmq' grouping='optional_all' restart_on='none'
+      type='service'>
+      <service_fmri value='svc:/network/amqp/rabbitmq'/>
+    </dependency>
+
     <logfile_attributes permissions='600'/>
 
     <exec_method timeout_seconds="60" type="method" name="start"
@@ -72,7 +83,7 @@
       <description>
         <loctext xml:lang="C">
           cinder-api is a server daemon that provides the Cinder API service in
-          order to provide volume management for the OpenStack Compute service. 
+          order to provide volume management for the OpenStack Compute service.
         </loctext>
       </description>
     </template>