xref: /illumos-gate/usr/src/lib/fm/topo/maps/common/digraph-topology.dtd.1 (revision 45ede40b2394db7967e59f19288fae9b62efd4aa)
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 This file and its contents are supplied under the terms of the
4 Common Development and Distribution License ("CDDL"), version 1.0.
5 You may only use this file in accordance with the terms of version
6 1.0 of the CDDL.
7
8 A full copy of the text of the CDDL should have accompanied this
9 source.  A copy of the CDDL is also available via the Internet at
10 http://www.illumos.org/license/CDDL.
11
12 Copyright 2020 Joyent, Inc.
13-->
14
15<!--
16 DTD for Directed Graph based topologies
17-->
18
19<!ELEMENT topo-digraph (vertices) >
20
21<!ATTLIST topo-digraph
22	scheme		CDATA #REQUIRED
23>
24
25<!ELEMENT vertices>
26
27<!ATTLIST vertices
28        nelem           CDATA #REQUIRED
29>
30
31<!ELEMENT vertex (nvpair*, outgoing-edges?) >
32
33<!ELEMENT nvlist (nvpair*) >
34
35<!ELEMENT nvpair (nvlist?) >
36
37<!ATTLIST nvpair
38	name		CDATA #REQUIRED
39	type		( int8 | uint8 | int16 | uint16 | int32 | uint32 |
40			  int64 | uint64 | string | nvlist | int32-array |
41			  uint32-array | int64-array | uint64-array |
42			  string-array | nvlist-array | "")
43	value		CDATA ""
44>
45
46<!ELEMENT outgoing-edges (edge*) >
47
48<!ELEMENT edge (edge*) >
49
50<!ATTLIST edge
51        fmri		CDATA #REQUIRED
52>
53