def _path(self):
    if hasattr(self, '_parent'):
        return (self._parent._path() + [self._yang_name])
    else:
        return ['interfaces', 'interface', 'subinterfaces', 'subinterface', 'ipv4', 'unnumbered', 'interface-ref', 'config']
def _path(self):
    if hasattr(self, '_parent'):
        return (self._parent._path() + [self._yang_name])
    else:
        return ['interfaces', 'interface', 'subinterfaces', 'subinterface', 'ipv4', 'unnumbered', 'interface-ref', 'config']