File: ra-api-1.dtd

package info (click to toggle)
resource-agents 1%3A4.0.0~rc1-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,644 kB
  • ctags: 2,191
  • sloc: sh: 47,713; ansic: 4,074; perl: 3,457; makefile: 663; xml: 89
file content (40 lines) | stat: -rw-r--r-- 1,176 bytes parent folder | download | duplicates (9)
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
<?xml version="1.0" encoding="UTF-8"?>

<!ELEMENT resource-agent (version,longdesc,shortdesc,parameters?,actions) >
<!ATTLIST resource-agent
        name    CDATA   #REQUIRED
        version CDATA   #IMPLIED>

<!ELEMENT version (#PCDATA)>

<!ELEMENT parameters (parameter*)>

<!ELEMENT actions (action*)>

<!ELEMENT parameter (longdesc+,shortdesc+,content)>
<!ATTLIST parameter
        name    CDATA   #REQUIRED
        required  (1|0)   "0"
        unique  (1|0)   "0">

<!ELEMENT longdesc ANY>
<!ATTLIST longdesc
        lang    NMTOKEN #IMPLIED>

<!ELEMENT shortdesc ANY>
<!ATTLIST shortdesc
        lang    NMTOKEN #IMPLIED>

<!ELEMENT content EMPTY>
<!ATTLIST content
        type    (string|integer|boolean|time)        #REQUIRED
        default CDATA   #IMPLIED>

<!ELEMENT action EMPTY>
<!ATTLIST action
        name (start|stop|recover|monitor|restart|migrate_to|migrate_from|promote|demote|notify|status|reload|meta-data|usage|methods|validate-all) #REQUIRED
        timeout         CDATA   #REQUIRED
        interval        CDATA   #IMPLIED
        start-delay     CDATA   #IMPLIED
        role            CDATA   #IMPLIED
        depth           CDATA   #IMPLIED>