Commit 4af08c1f authored by garciay's avatar garciay
Browse files

Add IPv6 monitoring port in FtpPort and HttpPort

Add new parameter in s_httpSendData signature to set huge packet support in HTTP requests
parent 4d91d954
Loading
Loading
Loading
Loading
+7 −4
Original line number Diff line number Diff line
@@ -48,17 +48,19 @@ module AtsCommon_Interfaces {
        }
        
        type port HttpPort mixed {
            out s_httpSendData; //initiate actions
            out s_httpSendDataV4, s_httpSendDataV6; //initiate actions
            in Ipv4Packet, Ipv6Packet; // Used to monitors traffic
            
        }
        
        type port FtpPort mixed {
            out s_ftpLoginV4, s_ftpLoginV6, s_ftpLogoutV4, s_ftpLogoutV6, s_ftpSendDataV4, s_ftpSendDataV6; //initiate actions
            in Ipv4Packet; //monitors traffic
            in Ipv4Packet; // Used to monitors traffic
        }
        
        type port SipPort mixed {
            out s_sipAuthenticate, s_sipSendPacket; //initiate actions
            in Ipv4Packet; //monitors traffic
            in Ipv4Packet; // Used to monitors traffic
        }
        
        type port RtspPort mixed {
@@ -153,7 +155,8 @@ module AtsCommon_Interfaces {
            type record InterCompDataMsg {
                Ipv6Address     ipv6Address,
                DomainName      aftrName optional,
                DomainNameList  domainSearchList optional
                DomainNameList  domainSearchList optional,
                Ipv6Packet      ipv6Packet optional
            } // End of type InterCompDataMsg
            
        } // End of group componentPorts
+14 −3
Original line number Diff line number Diff line
@@ -122,13 +122,24 @@
    group httpTypes {
        
        /**
         * @desc Send multiple HTTP requests to the specified HTTP server
         * @desc Send multiple HTTPv4 requests to the specified HTTP server
         * @param p_srcAddress          The host HTTP address
         * @param p_httpServerAddress   The HTTP server address
         * @param p_noOfDataRequests    The nimber of HTTP request to be sent
         * @param p_noOfDataRequests    The number of HTTP request to be sent
         * @param p_withHugePayload     Set to true if huge packet is required
         * @return true on success, false otherwise
         */
        signature s_httpSendData(in Ipv4Address p_srcAddress, in Ipv4Address p_httpServerAddress, in UInt p_noOfDataRequests) return boolean; // TODO To be continued
        signature s_httpSendDataV4(in Ipv4Address p_srcAddress, in Ipv4Address p_httpServerAddress, in UInt p_noOfDataRequests, in boolean p_withHugePayload) return boolean; // TODO To be continued
        
        /**
         * @desc Send multiple HTTPv6 requests to the specified HTTP server
         * @param p_srcAddress          The host HTTP address
         * @param p_httpServerAddress   The HTTP server address
         * @param p_noOfDataRequests    The number of HTTP request to be sent
         * @param p_withHugePayload     Set to true if huge packet is required
         * @return true on success, false otherwise
         */
        signature s_httpSendDataV6(in Ipv6Address p_srcAddress, in Ipv6Address p_httpServerAddress, in UInt p_noOfDataRequests, in boolean p_withHugePayload) return boolean; // TODO To be continued
        
    } // End of group httpTypes