| Summary: | IPv6 Support | ||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Kent D Siefkes <kdsiefke> | ||||||||||||||||||||||||
| Component: | TPTP | Assignee: | Stanislav Polevic <stanislav.v.polevic> | ||||||||||||||||||||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||||||||||||||||||||
| Severity: | enhancement | ||||||||||||||||||||||||||
| Priority: | P1 | CC: | analexee, chris.l.elford, dkhodges, igor.alelekov, jcayne, jgwest, jkubasta, jptoomey, Mikhail.Voronin, paulslau, samwai, tdarman | ||||||||||||||||||||||||
| Version: | unspecified | Keywords: | plan | ||||||||||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||||||||||
| Hardware: | PC | ||||||||||||||||||||||||||
| OS: | All | ||||||||||||||||||||||||||
| URL: | http://www.eclipse.org/tptp/groups/Architecture/documents/features/hf_165409.html | ||||||||||||||||||||||||||
| Whiteboard: | closed460 | ||||||||||||||||||||||||||
| Bug Depends on: | 107432 | ||||||||||||||||||||||||||
| Bug Blocks: | |||||||||||||||||||||||||||
| Deadline: | 2007-06-30 | ||||||||||||||||||||||||||
| Attachments: |
|
||||||||||||||||||||||||||
|
Description
Kent D Siefkes
*** Bug 168772 has been marked as a duplicate of this bug. *** Samson, sometime next week, would you please add a sizing and list of specific changes needed for this support? Thanks. Created attachment 80048 [details]
Feature design description
Approved by the AG for TPTP 4.5 with the following comments: -This feature should include the effort required for the Test Project as well (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=107432). -This feature will require a significant test effort (configuring a network, executing TPTP test bucket on IPv4 and IPv6 networks). The sizing should be increased to 2 - 2.5 PW. -The sizing does not include documentation, which is required due to UI changes. -What UI changes are required to support the display and input of IPv6 addresses? -Sizings total 4 PW (not 5 PW). Retargeting this feature to i6 since since a additional effort required to configure IPv6 network. Estimation sizing for Agent controller server sockets and TPTP Execution framework implementation are 3-3.5 weeks. Currently, I do not have enough expertise in Hyades component to estimate the required effort. Hi Stanislav, a few questions: Can you note the code for which the estimate applies? For example, can you confirm that the estimate includes the backward compatibility layer (CCTL), and the Java/native TPTP execution framework code? Also, which Hyades components are not included in the estimate? And does the estimate include changes to the Eclipse TPTP workbench and UI, where required? Thanks. (In reply to comment #7) > Hi Stanislav, a few questions: > Can you note the code for which the estimate applies? For example, can you > confirm that the estimate includes the backward compatibility layer (CCTL), and > the Java/native TPTP execution framework code? This estimate includes AC server sockets implementation (native part) and Execution Framework client sockets (Java part) > Also, which Hyades components are not included in the estimate? No Hyades components are estimated. > And does the estimate include changes to the Eclipse TPTP workbench and UI, > where required? Do not estimate it too. Created attachment 91219 [details]
IPv6 Implementation
In order to ensure that everyone is thinking along the same lines for a feature that will involve separate teams working on different interconnected components, I've posted a draft of the steps I'd suggest in this transition of our socket code to IPv6.
I'd recommend taking a look and we can discuss any changes we'd like to make.
Also included is a list of Microsoft's recommendations for IPv6 native code changes, the division of tasks between IBM and Intel for C/C++ and Java, the MS IPv6 Tool scan output, sample code for IPv6, and some excellent reference URLs on the subject of IPv6 porting for both Linux and Windows.
Created attachment 91220 [details]
IPv6 - MS Scan + Linux/Windows Samples
I've ported the Windows IPv6 Client/Server sample code to Linux. The same code now compiles and runs on both Linux and Windows. I've also rewritten the server code to be more in line with what we use in the AC (IE no select() calls). I've tested with IPv4 and IPv6 (on both systems) and they work fine. I'll post the code tomorrow (Monday). Created attachment 92067 [details]
Cross Platform IPv6 Sample Code
I'd recommend using this code as a reference for the IPv4/IPv6 work that will need to be done on the native side. The creation and listening on a server socket of Server.c, and the connection creation code of Client.c, for both Windows/Linux, is general enough that it can be adapted to serve as the basis for our native code changes. I've rewritten a few of the functions to that end.
I've included the build environment for both platforms: a VS2k3 project (/IPv6 in the ZIP file), and a simple Linux build script (build.sh in linux-ipv6.tar.gz of the ZIP file). While the two platforms are packaged separately in the ZIP file, the C code in each is exactly the same.
Finally, typing Server /? or Client /? on either OS will give you the available command line parameters for the sample code.
Created attachment 96037 [details]
IPv6 Report + Code
Because Intel's mail system doesn't allow me to attach ZIP or HTML files (and who knows why), I've attached this here. Contents are currently in draft, and will be updated shortly when completed.
You can attach a zip file with password set. Created attachment 96378 [details]
IPv6 - New Socket Code.zip
IPv4/IPv6 cross-platform client/server socket library. See IPv6 design review for details.
Created attachment 96379 [details]
IPv6 Design Review
Blueprint for the remaining work to be completed on the agent controller, based on AC design review.
Created attachment 99618 [details]
Org.eclipse.hyades.execution - IPv6 Patch
Created attachment 99619 [details]
Org.eclipse.tptp.platform.agentcontroller - IPv6 patch
Created attachment 99622 [details]
Stanislav's Build Patch to TPTPClientCompTL
Stanislav, Igor, or Alex: Can you review the code ASAP, so that we can check this patch in on Monday? Thanks! Created attachment 99735 [details]
Fix broken compilation with Platform SDK headers
This patch fixes broken compilation of RASharedMemory component when Microsoft Platform SDK is used to build AC as required for IPv6 support.
Jonathan, please, review it.
Jonathan's patches look good. Stanislav, your patch is good. Approved by PMC. Patch checked into HEAD. As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open. As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open. |