Add IPv6 address support

Description

Currently, we assume that the addresses in tracking log are always IPv4 or IPv6 in pipeline. However, in a dual-stack configuration, both IPv4 and IPv6 addresses may occur in the tracking log.
This PR adds support for both IPv4 and IPv6 address by using the "IPv4-Mapped IPv6 Address" feature. An IPv4 address is always converted into its equivalent IPv6 version, so that we can just use the single IPv6 database for processing.
This PR also adds support for specifying country code & name for private addresses (such as "192.168.0.0/16", "172.16.0.0/12" and "10.0.0.0/8").

Acceptance:

  • Review and provide feedback

  • If needed, create story to validate results

Status

Assignee

Gabe Mulley

Reporter

Edx Admin [Administrator]

Labels

Contributor Name

Yihua Lou

Repo

edx/edx-analytics-pipeline

PR Number

177

Customer

None

Course

None

OSCM Assignee

None

Github Latest Action

None

Github Latest Action by edX

None

Github PR Last Updated At

None

Github PR Last Updated By

None

Impacted Users (OSPR)

None

Impacted Environments (OSPR)

None

Feature Control (OSPR)

None

Story Points

1

Sprint

None

Priority

Unset
Configure