[Nsi-wg] NSI Topology extensions document

Jeroen van der Ham vdham at uva.nl
Wed Jan 8 09:15:05 EST 2014


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.




More information about the nsi-wg mailing list