From c0e7c7cc6a3f12924942ce4b63da493878916d6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Ha=C5=BElinsk=C3=BD?= <hazlinsky@cesnet.cz> Date: Tue, 15 Feb 2022 11:01:31 +0100 Subject: [PATCH] new XML --- opennsa/backends/junoscsd.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/opennsa/backends/junoscsd.py b/opennsa/backends/junoscsd.py index 9ae4c6a2..3994052f 100644 --- a/opennsa/backends/junoscsd.py +++ b/opennsa/backends/junoscsd.py @@ -60,8 +60,7 @@ ORDER_PAYLOAD = """ <InterfaceName>%(interface_a)s</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType"> <EndPointCategory>PTP</EndPointCategory> - <TrafficType>DOT1Q Transport single vlan</TrafficType> - <EthernetOption>dot1q</EthernetOption> + <UNIDescription>%(description)s</UNIDescription> <UnitId>%(vlan_a)s</UnitId> <VlanId>%(vlan_a)s</VlanId> </ServiceEndpointConfiguration> @@ -78,12 +77,12 @@ ORDER_PAYLOAD = """ <InterfaceName>%(interface_b)s</InterfaceName> <ServiceEndpointConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPElineLDPEndPointConfigParameterOrderType"> <EndPointCategory>PTP</EndPointCategory> - <TrafficType>DOT1Q Transport single vlan</TrafficType> - <EthernetOption>dot1q</EthernetOption> + <UNIDescription>%(description)s</UNIDescription> <UnitId>%(vlan_a)s</UnitId> <VlanId>%(vlan_b)s</VlanId> </ServiceEndpointConfiguration> </ServiceEndPoint> + <DonotApplyDefaultTemplatesOfSD>true</DonotApplyDefaultTemplatesOfSD> </ServiceEndPointGroup> <ServiceOrderParameter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="PTPConfigParameterOrderType"> </ServiceOrderParameter> @@ -94,6 +93,8 @@ ORDER_PAYLOAD = """ </ServiceDefinition> </Reference> </ServiceOrder> + <Service key="undefined"/> + </ServiceResource> <CustomAction xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ServiceOrderCustomActionType"> <Action>SaveAndDeployNow</Action> -- GitLab