[Nsi-wg] NSI Topology extensions document
John MacAuley
john.macauley at surfnet.nl
Wed Jan 8 09:41:45 EST 2014
I will have a look at the changes tomorrow. Packed full today :-)
On 2014-01-08, at 9:15 AM, Jeroen van der Ham <vdham at uva.nl> wrote:
> Hi,
>
> On 8 Jan 2014, at 11:19, Henrik Thostrup Jensen <htj at nordu.net> wrote:
>>>> Since we added the labelType in the SwitchingService, I think it should be in the example.
>>>
>>> Good point, do you have an example?
>>
>> Possibly:
>>
>> <nml:Topology id="urn:ogf:network:....">
>> ...
>> <nml:SwitchingService id="urn:ogf:network:example.net:2012:nodeA:switchingService"
>> labelSwapping="true"
>> labelType="http://schemas.ogf.org/nml/2012/10/ethernet#vlan">
>> ...
>>
>> I hope this is right.
>
> It is, I’ve included it in the XML example.
> I have also updated the OWL example so that it matches the document again.
>
>>>> One more thing. I think we discussed - and perhaps decided - to an NSI extension for capacity on the ports. AFAICT that isn't it currently; I think we should consider adding it.
>>>
>>> Iirc that depended on adding an attribute to a Port, which I’m not sure how to do in an extension schema.
>>
>> Well, you cannot really define a new type, as the would make something is not longer an NML port. I think the way is to define an attribute in nsi-ext.xsd , like this:
>>
>> +
>> + <!-- capacity of a port, attribute for Port and PortGroup -->
>> + <xs:attribute name="capacity" />
>> +
>>
>
> I’m leaving the XML schema things open until I get confirmation from another XML expert that this does what is intended :)
>
> Jeroen.
>
>
> _______________________________________________
> nsi-wg mailing list
> nsi-wg at ogf.org
> https://www.ogf.org/mailman/listinfo/nsi-wg
More information about the nsi-wg
mailing list