class ydk.models.ietf.ietf_inet_types.IpVersion

IpVersion (Enum Class)

This value represents the version of the IP protocol.

In the value set and its semantics, this type is equivalent

to the InetVersion textual convention of the SMIv2.

unknown = 0

An unknown or unspecified version of the Internet


ipv4 = 1

The IPv4 protocol as defined in RFC 791.

ipv6 = 2

The IPv6 protocol as defined in RFC 2460.