2 # -*- coding: utf-8 -*-
6 INTERFACE = "interface"
8 APPLICATION = "application"
11 PPP = "point-to-point"
16 ALLOW_ADDRESSES = "allow_addresses"
17 ALLOW_ROUTES = "allow_routes"
18 HAS_ADDRESSES = "has_addresses"
19 HAS_ROUTES = "has_routes"
21 class Taggable(object):
23 super(Taggable, self).__init__()
30 def add_tag(self, tag_id):
31 self._tags.append(tag_id)
33 def has_tag(self, tag_id):
34 return tag_id in self._tags