Details
-
Bug
-
Status: Resolved
-
Resolution: Done
-
Helium
-
None
-
None
-
Operating System: Mac OS
Platform: PC
-
1818
Description
For example fetching the TTP XML from RESTCONF starts like this:
GET http://localhost:8181/restconf/config/onf-ttp:opendaylight-ttps/onf-ttp:table-type-patterns/
Header: "Accept: application/xml"
<zdef-178745529:table-type-patterns xmlns:zdef-178745529="urn:onf:ttp">
<zdef-178745529:table-type-pattern>
<zdef-178745529:identifiers>
<zdef-178745529:var><subnet_VID></zdef-178745529:var>
<zdef-178745529:doc>The VLAN ID of a locally attached L2 subnet on a Router. </zdef-178745529:doc>
</zdef-178745529:identifiers>
<zdef-178745529:identifiers>
<zdef-178745529:var><group_entry_types/name></zdef-178745529:var>
<zdef-178745529:doc>of the type indicated by the variable name</zdef-178745529:doc>
<zdef-178745529:doc>An OpenFlow group identifier (integer) identifying a group table entry</zdef-178745529:doc>
</zdef-178745529:identifiers>
</zdef-178745529:table-type-pattern>
</zdef-178745529:table-type-patterns>
After posting this:
PUT: http://localhost:8181/restconf/config/onf-ttp:opendaylight-ttps/onf-ttp:table-type-patterns/
Headers: "Content-Type: application/json"
{
"table-type-patterns": {
"table-type-pattern": [
{
"identifiers": [
,
{ "var": "<group_entry_types/name>", "doc": [ "An OpenFlow group identifier (integer) identifying a group table entry", "of the type indicated by the variable name" ] } ]
}
]
}
}
The number after zdef appears to be random and changes on every request making simple comparisons impossible in addition to very user unfriendly.
Attachments
Issue Links
- is duplicated by
-
YANGTOOLS-297 XML namespaces are not preserved for emitted instanceidentifiers
- Resolved