diff --git a/opennsa/backends/junoscsd.py b/opennsa/backends/junoscsd.py index 9ae4c6a2c27b8c020fae7d38fd9a76e09cabc2d6..3994052fbdf11993c0dd4b0ef94c4f64d1ce7e69 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>