components/openstack/cinder/files/cinder-api.xml
branchs11u2-sru
changeset 4156 4b1def16fe9b
parent 3178 77584387a894
child 4476 230dcd277ef6
equal deleted inserted replaced
4146:097063f324c0 4156:4b1def16fe9b
     1 <?xml version="1.0" ?>
     1 <?xml version="1.0" ?>
     2 <!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
     2 <!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
     3 <!--
     3 <!--
     4  Copyright (c) 2013, 2014, Oracle and/or its affiliates. All rights reserved.
     4  Copyright (c) 2013, 2015, Oracle and/or its affiliates. All rights reserved.
     5 
     5 
     6  Licensed under the Apache License, Version 2.0 (the "License"); you may
     6  Licensed under the Apache License, Version 2.0 (the "License"); you may
     7  not use this file except in compliance with the License. You may obtain
     7  not use this file except in compliance with the License. You may obtain
     8  a copy of the License at
     8  a copy of the License at
     9 
     9 
    28     <dependency name='multiuser' grouping='require_all' restart_on='error'
    28     <dependency name='multiuser' grouping='require_all' restart_on='error'
    29       type='service'>
    29       type='service'>
    30       <service_fmri value='svc:/milestone/multi-user:default' />
    30       <service_fmri value='svc:/milestone/multi-user:default' />
    31     </dependency>
    31     </dependency>
    32 
    32 
       
    33     <dependency name='upgrade' grouping='require_all' restart_on='none'
       
    34       type='service'>
       
    35       <service_fmri
       
    36         value='svc:/application/openstack/cinder/cinder-upgrade' />
       
    37     </dependency>
       
    38 
    33     <!-- create a dependency on the cinder_db service so the cinder
    39     <!-- create a dependency on the cinder_db service so the cinder
    34          services do not collide when creating the database -->
    40          services do not collide when creating the database -->
    35     <dependency name='cinder_db' grouping='optional_all' restart_on='error'
    41     <dependency name='cinder_db' grouping='optional_all' restart_on='error'
    36       type='service'>
    42       type='service'>
    37       <service_fmri value='svc:/application/openstack/cinder/cinder-db'/>
    43       <service_fmri value='svc:/application/openstack/cinder/cinder-db'/>
    38     </dependency>
    44     </dependency>
    39 
    45 
    40     <dependency name='ntp' grouping='optional_all' restart_on='none'
    46     <dependency name='ntp' grouping='optional_all' restart_on='none'
    41       type='service'>
    47       type='service'>
    42       <service_fmri value='svc:/network/ntp'/>
    48       <service_fmri value='svc:/network/ntp'/>
       
    49     </dependency>
       
    50 
       
    51     <dependency name='rabbitmq' grouping='optional_all' restart_on='none'
       
    52       type='service'>
       
    53       <service_fmri value='svc:/network/amqp/rabbitmq'/>
    43     </dependency>
    54     </dependency>
    44 
    55 
    45     <logfile_attributes permissions='600'/>
    56     <logfile_attributes permissions='600'/>
    46 
    57 
    47     <exec_method timeout_seconds="60" type="method" name="start"
    58     <exec_method timeout_seconds="60" type="method" name="start"
    70         </loctext>
    81         </loctext>
    71       </common_name>
    82       </common_name>
    72       <description>
    83       <description>
    73         <loctext xml:lang="C">
    84         <loctext xml:lang="C">
    74           cinder-api is a server daemon that provides the Cinder API service in
    85           cinder-api is a server daemon that provides the Cinder API service in
    75           order to provide volume management for the OpenStack Compute service. 
    86           order to provide volume management for the OpenStack Compute service.
    76         </loctext>
    87         </loctext>
    77       </description>
    88       </description>
    78     </template>
    89     </template>
    79   </service>
    90   </service>
    80 </service_bundle>
    91 </service_bundle>