// getAllElineCollection() export const ELINE_GETALL_INPUT = { "result": true, "faultCode": 0, "faultCause": null, "returnValue": [ { "vpnId": "1", "serviceName": "service-1", "serviceTypeID": "", "protectionMode": 0, "reversion": 1, "wtr": 2, "oamInfo": 1, "ccmInterval": 1, "encapsulationType": 1, "l2AccessType": 1, "startDeviceId": "of:0000001e080e1802", "startDevicePort": 1, "end1DeviceId": "of:0000001e080e180b", "end1DevicePort": 1, "isDualHomed": 1, "end2DeviceId": "", "end2DevicePort": 0, "vlanAccess": 0, "vlanRangeStart": 3, "vlanRangeEnd": 4, "vlanSet": "", "cosId": 3, "limitedBandwidth": 1000, "qosProfile": "switch_profile", "startTime": "", "elineStatus": "SUCCESS", "serviceSubnetID": "" } ] } export const ELINE_GETALL_OUTPUT = [ { "vpnId": "1", "serviceName": "service-1", "serviceTypeID": "", "protectionMode": 0, "reversion": 1, "wtr": 2, "oamInfo": 1, "ccmInterval": 1, "encapsulationType": 1, "l2AccessType": 1, "startDeviceId": "of:0000001e080e1802", "startDevicePort": 1, "end1DeviceId": "of:0000001e080e180b", "end1DevicePort": 1, "isDualHomed": 1, "end2DeviceId": "", "end2DevicePort": 0, "vlanAccess": 0, "vlanRangeStart": 3, "vlanRangeEnd": 4, "vlanSet": "", "cosId": 3, "limitedBandwidth": 1000, "qosProfile": "switch_profile", "startTime": "", "elineStatus": "SUCCESS", "serviceSubnetID": "" } ]; // addEline(eline) export const ELINE_ADD_CLIENT = { "vpnId": "2", "serviceName": "service-2", "serviceTypeID": "", "protectionMode": 0, "reversion": 1, "wtr": 2, "oamInfo": 1, "ccmInterval": 1, "encapsulationType": 1, "l2AccessType": 1, "startDeviceId": "of:0000001e080e1802", "startDevicePort": 1, "end1DeviceId": "of:0000001e080e180b", "end1DevicePort": 1, "isDualHomed": 1, "end2DeviceId": "", "end2DevicePort": 0, "vlanAccess": 0, "vlanRangeStart": 3, "vlanRangeEnd": 4, "vlanSet": "", "cosId": 3, "limitedBandwidth": 1000, "qosProfile": "switch_profile", "startTime": "", "elineStatus": "SUCCESS", "serviceSubnetID": "" } export const ELINE_ADD_INPUT = { "result": true, "faultCode": 0, "faultCause": null, "returnValue": { "vpnId": "2", "serviceName": "service-2", "serviceTypeID": "", "protectionMode": 0, "reversion": 1, "wtr": 2, "oamInfo": 1, "ccmInterval": 1, "encapsulationType": 1, "l2AccessType": 1, "startDeviceId": "of:0000001e080e1802", "startDevicePort": 1, "end1DeviceId": "of:0000001e080e180b", "end1DevicePort": 1, "isDualHomed": 1, "end2DeviceId": "", "end2DevicePort": 0, "vlanAccess": 0, "vlanRangeStart": 3, "vlanRangeEnd": 4, "vlanSet": "", "cosId": 3, "limitedBandwidth": 1000, "qosProfile": "switch_profile", "startTime": "", "elineStatus": "SUCCESS", "serviceSubnetID": "" } } export const ELINE_ADD_OUTPUT = null; // deleteElines(elineKeyList) export const ELINE_DELETE_CLIENT = [2] export const ELINE_DELETE_INPUT = { "result": true, "faultCode": 0, "faultCause": null, "returnValue": 26 } export const ELINE_DELETE_OUTPUT = null; // modifyEline(eline) export const ELINE_MODDIFY_CLIENT = { "vpnId": "2", "serviceName": "service-3", "serviceTypeID": "", "protectionMode": 0, "reversion": 1, "wtr": 2, "oamInfo": 1, "ccmInterval": 1, "encapsulationType": 1, "l2AccessType": 1, "startDeviceId": "of:0000001e080e1802", "startDevicePort": 1, "end1DeviceId": "of:0000001e080e180b", "end1DevicePort": 1, "isDualHomed": 1, "end2DeviceId": "", "end2DevicePort": 0, "vlanAccess": 0, "vlanRangeStart": 3, "vlanRangeEnd": 4, "vlanSet": "", "cosId": 3, "limitedBandwidth": 1000, "qosProfile": "switch_profile", "startTime": "", "elineStatus": "SUCCESS", "serviceSubnetID": "" } export const ELINE_MODDIFY_INPUT = { "result": true, "faultCode": 0, "faultCause": null, "returnValue": { "vpnId": "2", "serviceName": "service-3", "serviceTypeID": "", "protectionMode": 0, "reversion": 1, "wtr": 2, "oamInfo": 1, "ccmInterval": 1, "encapsulationType": 1, "l2AccessType": 1, "startDeviceId": "of:0000001e080e1802", "startDevicePort": 1, "end1DeviceId": "of:0000001e080e180b", "end1DevicePort": 1, "isDualHomed": 1, "end2DeviceId": "", "end2DevicePort": 0, "vlanAccess": 0, "vlanRangeStart": 3, "vlanRangeEnd": 4, "vlanSet": "", "cosId": 3, "limitedBandwidth": 1000, "qosProfile": "switch_profile", "startTime": "", "elineStatus": "SUCCESS", "serviceSubnetID": "" } } export const ELINE_MODDIFY_OUTPUT = null; // conditionQueryEline(conditionSet) export const ELINE_QUERY_CLIENT = [{ "quaryAttribute": 'serviceName', "compareSymbol": "like", "compareValue": 'service-2'}]; export const ELINE_QUERY_INPUT = { "result": true, "faultCode": 0, "faultCause": null, "returnValue": [ { "vpnId": "2", "serviceName": "service-2", "serviceTypeID": "", "protectionMode": 0, "reversion": 1, "wtr": 2, "oamInfo": 1, "ccmInterval": 1, "encapsulationType": 1, "l2AccessType": 1, "startDeviceId": "of:0000001e080e1802", "startDevicePort": 1, "end1DeviceId": "of:0000001e080e180b", "end1DevicePort": 1, "isDualHomed": 1, "end2DeviceId": "", "end2DevicePort": 0, "vlanAccess": 0, "vlanRangeStart": 3, "vlanRangeEnd": 4, "vlanSet": "", "cosId": 3, "limitedBandwidth": 1000, "qosProfile": "switch_profile", "startTime": "", "elineStatus": "SUCCESS", "serviceSubnetID": "" } ] }; export const ELINE_QUERY_OUTPUT = [ { "vpnId": "2", "serviceName": "service-2", "serviceTypeID": "", "protectionMode": 0, "reversion": 1, "wtr": 2, "oamInfo": 1, "ccmInterval": 1, "encapsulationType": 1, "l2AccessType": 1, "startDeviceId": "of:0000001e080e1802", "startDevicePort": 1, "end1DeviceId": "of:0000001e080e180b", "end1DevicePort": 1, "isDualHomed": 1, "end2DeviceId": "", "end2DevicePort": 0, "vlanAccess": 0, "vlanRangeStart": 3, "vlanRangeEnd": 4, "vlanSet": "", "cosId": 3, "limitedBandwidth": 1000, "qosProfile": "switch_profile", "startTime": "", "elineStatus": "SUCCESS", "serviceSubnetID": "" } ]; // getAllTunnelCollection() export const TUNNEL_GETALL_INPUT = { "result": true, "faultCode": 0, "faultCause": null, "returnValue": [ { "vpnId": "service-1", "limitedBandwidth": 1000, "pathList": [ { "pathKey": "15554802748720006", "vpnId": "service-1", "srcDeviceId": "of:0000001e080e180b", "srcDevicePortNumber": "41", "dstDeviceId": "of:0000001e080c5708", "dstDevicePortNumber": "41", "pathType": "work" }, { "pathKey": "15554802748720007", "vpnId": "service-1", "srcDeviceId": "of:0000001e080c5708", "srcDevicePortNumber": "42", "dstDeviceId": "of:0000001e080d4a06", "dstDevicePortNumber": "42", "pathType": "work" }] } ] } export const TUNNEL_GETALL_OUTPUT = [ { "vpnId": "service-1", "limitedBandwidth": 1000, "pathList": [ { "pathKey": "15554802748720006", "vpnId": "service-1", "srcDeviceId": "of:0000001e080e180b", "srcDevicePortNumber": "41", "dstDeviceId": "of:0000001e080c5708", "dstDevicePortNumber": "41", "pathType": "work" }, { "pathKey": "15554802748720007", "vpnId": "service-1", "srcDeviceId": "of:0000001e080c5708", "srcDevicePortNumber": "42", "dstDeviceId": "of:0000001e080d4a06", "dstDevicePortNumber": "42", "pathType": "work" }] } ]; // getAllServiceTunnelCollection() export const SERVICETUNNEL_QUERY_CLIENT = "service-1"; export const SERVICETUNNEL_GETALL_INPUT = { "result": true, "faultCode": 0, "faultCause": null, "returnValue": [ { "vpnId": "service-1", "limitedBandwidth": 1000, "pathList": [ { "pathKey": "15554802748720006", "vpnId": "service-1", "srcDeviceId": "of:0000001e080e180b", "srcDevicePortNumber": "41", "dstDeviceId": "of:0000001e080c5708", "dstDevicePortNumber": "41", "pathType": "work" }] } ] } export const SERVICETUNNEL_GETALL_OUTPUT = [ { "vpnId": "service-1", "limitedBandwidth": 1000, "pathList": [ { "pathKey": "15554802748720006", "vpnId": "service-1", "srcDeviceId": "of:0000001e080e180b", "srcDevicePortNumber": "41", "dstDeviceId": "of:0000001e080c5708", "dstDevicePortNumber": "41", "pathType": "work" }] } ];