def _get_ethertype(self):
return self.__ethertype<EOL>
Getter method for ethertype, mapped from YANG variable /network_instances/network_instance/policy_forwarding/policies/policy/rules/rule/l2/config/ethertype (oc-pkt-match-types:ethertype-type)

YANG Description: Ethertype field to match in Ethernet packets