1 # -*- coding: utf-8 -*-
5 INTERFACE = "interface"
7 APPLICATION = "application"
10 PPP = "point-to-point"
15 ALLOW_ADDRESSES = "allow_addresses"
16 ALLOW_ROUTES = "allow_routes"
17 HAS_ADDRESSES = "has_addresses"
18 HAS_ROUTES = "has_routes"
20 class Taggable(object):
22 super(Taggable, self).__init__()
29 def add_tag(self, tag_id):
30 self._tags.append(tag_id)
32 def has_tag(self, tag_id):
33 return tag_id in self._tags