[Nsi-wg] CS 2.1 cannot send only the parameters to be modifed

John MacAuley jmacauley at gmail.com
Wed Nov 23 10:44:13 EST 2016


I will read the section again since it must not be clear.  Here is what a modify message looks like for capacity:

<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
        xmlns:headers="http://schemas.ogf.org/nsi/2013/12/framework/headers" 
        xmlns:p2p="http://schemas.ogf.org/nsi/2013/12/services/point2point" 
        xmlns:nsi="http://schemas.ogf.org/nsi/2013/12/connection/types"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="
        http://schemas.xmlsoap.org/soap/envelope/ file:../envelope.xsd
        http://schemas.ogf.org/nsi/2013/12/connection/types file:../ogf_nsi_connection_types_v2_0.xsd
        http://schemas.ogf.org/nsi/2013/12/framework/types file:../ogf_nsi_framework_types_v2_0.xsd">
    <soapenv:Header>
        <headers:nsiHeader>
            <protocolVersion>application/vnd.ogf.nsi.cs.v2.provider+soap</protocolVersion>
            <correlationId>urn:uuid:390be79e-5b49-4688-9280-e49b139595e2</correlationId>
            <requesterNSA>urn:ogf:network:es.net:2013:nsa:nsi-requester</requesterNSA>
            <providerNSA>urn:ogf:network:es.net:2013:nsa:nsi-aggr-west</providerNSA>
            <replyTo>https://nsi-aggr-west.es.net/requester/reply</replyTo>
        </headers:nsiHeader>
    </soapenv:Header>
    <soapenv:Body>
        <nsi:reserve>
            <connectionId>urn:uuid:4b4a71d0-3c71-47cf-a646-beacb14a4c72</connectionId>
            <criteria version="2">
                <p2p:capacity>500</p2p:capacity>
            </criteria>
        </nsi:reserve>
    </soapenv:Body>
</soapenv:Envelope>

This is include only the capacity element that is defined in the p2p schema as a standalone element for the purposed of modification.  This is not including the full <p2ps> element and using optionality.  It is including the <capacity> element.  If you look at the p2p service schema this is parameter defined as modifiable in the p2p service (startTime and endTime are in the CS schema itself).

You may ask why it was done this way… It allowed us to have the original reservation request have mandatory elements for the service, but the modify to only contain those elements being changed.

Does this make it any clearer?

John

On 2016-11-23, at 8:49 AM, Hans Trompert <Hans.Trompert at SURFnet.nl> wrote:

> Dear NSI WG members,
> 
> The CS 2.1 document states in section 15.7 that only the elements to be modified are included in a modify request. However, in the schema the p2p parameters directionality,  capacity, sourceSTP and destSTP are not optional. As a result the example modify requests in figure 154 and 155 will not pass schema validation. 
> 
> If the four parameters are made optional in the schema it will also be possible to leave them out in the initial reserve request, which will cause problems because all four of them belong to the minimum set of parameters in this stage. Or the schema is left as is making it mandatory to always send the minimum set of parameters in every modify request, in this case section 15.7 should be updated to reflect this.
> 
> Please advise how to proceed.
> 
> Cheers,
>     HansT.
> _______________________________________________
> nsi-wg mailing list
> nsi-wg at ogf.org
> https://www.ogf.org/mailman/listinfo/nsi-wg

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ogf.org/pipermail/nsi-wg/attachments/20161123/a5982d56/attachment-0001.html>


More information about the nsi-wg mailing list