[Nml-wg] nmwgt -> nml

Roman Łapacz romradz at man.poznan.pl
Thu Jul 12 09:58:33 EDT 2012


Hi,

I'm thinking how NML could be used in existing pS services, especially
in RRD MA.

See below. Any suggestions/comments how this could be done?


metadata piece valid for RRD MA:

     <nmwg:metadata id="meta1">
         <netutil:subject id="subj1">
             <nmwgt:interface>
                 <nmwgt:hostName>test-hostName</nmwgt:hostName>
                 <nmwgt:ifAddress type="ipv4">10.1.2.3</nmwgt:ifAddress>
                 <nmwgt:ifName>test-0</nmwgt:ifName>
                 <nmwgt:ifDescription>test descripyion</nmwgt:ifDescription>
                 <nmwgt:direction>in</nmwgt:direction>
                 <nmwgt:capacity>1000BaseT</nmwgt:capacity>
             </nmwgt:interface>
         </netutil:subject>
         <nmwg:eventType>http://ggf.org/ns/nmwg/characteristic/utilization/2.0</nmwg:eventType>
         <nmwg:eventType>http://ggf.org/ns/nmwg/tools/snmp/2.0</nmwg:eventType>
         <nmwg:parameters id="params1">
             <nmwg:parameter name="keyword">project:geant2</nmwg:parameter>
         </nmwg:parameters>
     </nmwg:metadata>



a quick proposal using NML's Port that looks strange to me:


     <nmwg:metadata id="meta1">
         <netutil:subject id="subj1">
             <nml:Port>
                 <nml:label labelType="http://schemas.ogf.org/nml/ip/ipv4/if/address/2013/10/">193.10.252.66</nml:label>
                 <nml:label labelType="http://schemas.ogf.org/nml/ip/ipv4/if/hostNames/2013/10/">test-hostName</nml:label>
                  ...
                  ...
                  ...
             </nml:Port>
         </netutil:subject>
         <nmwg:eventType>http://ggf.org/ns/nmwg/characteristic/utilization/2.0</nmwg:eventType>
         <nmwg:eventType>http://ggf.org/ns/nmwg/tools/snmp/2.0</nmwg:eventType>
         <nmwg:parameters id="params1">
             <nmwg:parameter name="keyword">project:geant2</nmwg:parameter>
         </nmwg:parameters>
     </nmwg:metadata>



or use of set of labels with different parameter attributes would be fine?

<nml:label parameter="http://schemas.ogf.org/nml/ip/ipv4/if/address/2013/10/">193.10.252.66</nml:label>
<nml:label parameter="http://schemas.ogf.org/nml/ip/ipv4/if/hostName/2013/10/">test-hostName</nml:label>
<nml:label parameter="http://schemas.ogf.org/nml/ip/ipv4/if/ifName/2013/10/">test-0</nml:label>
  ...


or

new elements (ifAddress, hostName,...) of nml-ipv4 namespace inside Port?


Roman




More information about the nml-wg mailing list