Skip to content

Commit a25c983

Browse files
authored
Fix example inventory-item to fix asset-id usage for #1023 (#145)
In XML/JSON/YAML serializations, the asset ID for an inventory item is a prop, not a flag. This error in documentation was noticed during final review of #1056.
1 parent 1733a58 commit a25c983

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

content/documentation/ssp/5-attachments.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,9 @@ For example, if the same Linux operating system is used as the platform for all
105105
<system-implementation>
106106
<!-- interconnection -->
107107
<system-inventory>
108-
<inventory-item uuid="uuid-value" asset-id="unique-asset-id">
108+
<inventory-item uuid="uuid-value">
109109
<description><p>Flat-File Example (No implemented-component).</p></description>
110+
<prop name="asset-id" value="unique-asset-id"/>
110111
<prop name="ipv4-address" value="0.0.0.0"/>
111112
<prop name="ipv6-address" value="0000:0000:0000:0000"/>
112113
<prop name="virtual" value="no"/>
@@ -189,8 +190,9 @@ asset-administrator is managing a system or an application. Currently, any FedRA
189190
</component>
190191
<!-- service, interconnection -->
191192
<system-inventory>
192-
<inventory-item uuid="uuid-value" asset-id="unique-asset-id">
193+
<inventory-item uuid="uuid-value">
193194
<description><p>If needed, describe this instance.</p></description>
195+
<prop name="asset-id" value="unique-asset-id"/>
194196
<prop name="ipv4-address" value="0.0.0.0"/>
195197
<prop name="public" value="no"/>
196198
<prop name="fqdn" value="example.com"/>

0 commit comments

Comments
 (0)