def _get_ip_version(self):
return self.__ip_version<EOL>
Getter method for ip_version, mapped from YANG variable /network_instances/network_instance/policy_forwarding/policies/policy/rules/rule/ip/state/ip_version (inet:ip-version)

YANG Description: IP version of the header.