Martin Bjorklund writes:
The XSD in RFC 4741 allows <startup> as <target> in an <edit-config>.
It is not clear if this a bug in the XSD or a feature. Section
8.7.5.1 lists the operations the server MUST support for the :startup
capability, but it doesn't say that the server MAY support others. So
is this intentional or not? (if the intention was that the server MAY
support this, how would a manager know?)
This is definitely a bug. The intention was to not allow editing
of the startup config, since it was really just a chunk of flash
memory and isn't loaded into a real database.
Another related bug (or feature) is that the XSD supports <startup> as
<target> in <delete-config>. In section 7.4 there is actually an
example where this is used. But is this really supposed to be
supported? It is not listed in 8.7.5.1.
My initial reaction here is that this is a bug. Startup represents
a section of flash memory, and deleting it IIRC isn't possible. My
memory is fuzzy, but I don't think we intended to allow this. The
fact that it's in an example conflicts this, so maybe my memory's off.