aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/main/resources/schema/genericcluster.rnc
blob: 9afe92928c673ab09dccf2593c7091623e5d4746 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
# Generic, application-specific service cluster
# 
include "genericmodule.rnc"

GenericCluster = element service {
  attribute version { "1.0" } &
  attribute id { xsd:NCName }? &
  attribute name { text } &
  attribute command { text } &
  attribute hostservice { text }? &
  attribute num-hosts { text }? &
  GenericConfig* &
  GenericModule* &
  element node {
    service.attlist &
    attribute name { text }? &
    GenericModule* &
    GenericConfig*
  }*
}