Skip to content

Proposal for OpenHarmony Adaptation of [ iprange ] #35

Description

@techvision0628

Background

OpenHarmony is an open-source operating system and community that is widely used in the field of intelligent terminals.

Iprange is a command-line tool for handling IP address ranges, it supports both IPv4 and IPv6 addresses, and this tool is mainly used for firewall and management tasks. In order to enable iprange to support the OpenHarmony system, we have modified some of the code of iprange. We plan to submit the modified code to the iprange community. The purpose of creating this Issue is to initiate discussions with the community. We sincerely welcome you to put forward your valuable suggestions.

Adaptation Proposal

We have completed the adaptation of iprange on OpenHarmony. The specific content is as follows:

  • The construction/packaging of iprange was realized based on the OpenHarmony environment and development tools.
  • Provide sample examples of using iprange in OpenHarmony application development.

We'll submit the adaptation code through a Pull Request (PR) promptly.

Testing Results

Based on the OpenHarmony system, we conducted unit tests on iprange using the original library test cases and passed the tests in the following versions:

DevEco Studio 5.0.3 Release-5.0.9.221, SDK: API15(OpenHarmony 5.0.3.135)
DevEco Studio 5.0.4 Beta1-5.0.9.320, SDK: API16 (OpenHarmony 5.0.4.150)
DevEco Studio 5.0.3 Release-5.0.9.300, SDK: API15(OH_SDK 5.0.3.135(SP1))
DevEco Studio 5.0.4 Beta1 5.0.9.320, SDK: API16(OH SDK 5.0.4.150)

If necessary, we can provide detailed test reports at any time.

Labels

enhancement, compatibility, cross-platform

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions