code: def delete(self):
          
          if self in self._parent.vlan_interface:
              self._parent.data['vlanInterfaces'] = [
                  v for v in self._parent.vlan_interface
                  if v != self]
              self.update()
              for route in self._parent._engine.routing:
                  if route.to_delete:
                      route.delete()
docs: Delete this Vlan interface from the parent interface.
          This will also remove stale routes if the interface has
          networks associated with it.
          
          :return: None