draft #49
nml:parameter
Status: | submitted | Start date: | 11/30/2012 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% |
|
Category: | - | |||
Target version: | - |
Description
Taken from: https://forge.ogf.org/sf/go/artf6585?nav=1
In earlier examples we used the nml:parameter to denote minor parameters which may slightly affect behaviour of logic of
NML. These are:
• noReturnTraffic for links. A value of "True" means that there is no traffic from a source to a sink if the source and
sink are grouped in a BidirectionalPort. See artf6542
• labelSwapping for SwitchingService. A value of "True" means that it is possible to create a NML Link from a Port with
Label A to a Port with Label B, even if A ≠ B. See artf6513
• isReference for Network Objects. A value of "True" means that the object is defined elsewhere and is augmented here.
See artf6583.
Proposal: Use the following syntax.
XML:
<nml:parameter name="http://schemas.ogf.org/nml/2013/10/params#labelSwapping">false</nml:parameter>
<nml:parameter name="http://schemas.ogf.org/nml/2013/10/params#noReturnTraffic">true</nml:parameter>
RDF:
@prefix nmlparam: <http://schemas.ogf.org/nml/2013/10/params#>; .
urn:ogf:network:example.net:2012:mynetworkobject nmlparam:labelSwapping "false" .
urn:ogf:network:example.net:2012:mynetworkobject nmlparam:noReturnTraffic "true" .
(Other formats not available in this archive.