[Nsi-wg] NSI Topology extensions document

Henrik Thostrup Jensen htj at nordu.net
Thu Dec 19 06:26:09 EST 2013


Hi

Had a look at the updates.

On Wed, 18 Dec 2013, Jeroen van der Ham wrote:

> The NSI Topology extensions document is in a separate Redmine project:
>
> https://redmine.ogf.org/projects/nsi-wg-topology
>
> Join that project, and then you can use this page to check out/explore the git repository:
> https://redmine.ogf.org/projects/nsi-wg-topology/repository

nsi:Service -> nsi:Interface rename. I cannot recall dicussing this on the 
call. It doesn't really matter, but it is difficult to see why this had to 
be renamed. Both terms are overloaded anyway, but usually I associate 
interface with something slightly more abstract.

The schemas/test2.xml is (very) outdated. I suggest removing it.

I would - very much - like to have xs:any under the nsi:NSA (I was 
actually under the impression that it was there already). It is also a bit 
weird of us to complain about NML not having them, and not adding them 
ourselves. Here is a patch:

--- a/schemas/nsi-ext.xsd
+++ b/schemas/nsi-ext.xsd
@@ -47,6 +47,9 @@
            <xs:element  ref="nsi:Interface" minOccurs="0"  maxOccurs="unbounded"/>
            <xs:element  ref="nsi:Relation"  minOccurs="0"  maxOccurs="unbounded"/>
            <xs:element  ref="nml:Topology"  minOccurs="0"  maxOccurs="unbounded"/>
+          <!-- the local one is needed for xmllint to not complain about determinism -->
+          <xs:any      namespace="##local"  processContents="lax"  minOccurs="0"  maxOccurs="unbounded"/>
+          <xs:any      namespace="##other"  processContents="lax"  minOccurs="0"  maxOccurs="unbounded"/>
          </xs:sequence>
        </xs:extension>
      </xs:complexContent>

There is a bug in libxml2 that will complain about the model not being 
deterministic when not having the local there. It is actually, but since a 
lot of people use libxml2, I've added the local element.

Since we added the labelType in the SwitchingService, I think it should be 
in the example.

Will the namespaces by updated?


     Best regards, Henrik

  Henrik Thostrup Jensen <htj at nordu.net>
  Software Developer, NORDUnet



More information about the nsi-wg mailing list