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