Scott Baker | 5c45b04 | 2015-09-01 21:53:49 -0700 | [diff] [blame] | 1 | import os |
| 2 | import pdb |
| 3 | import sys |
| 4 | import tempfile |
| 5 | sys.path.append("/opt/tosca") |
| 6 | from translator.toscalib.tosca_template import ToscaTemplate |
| 7 | import pdb |
| 8 | |
| 9 | from core.models import Subscriber,User |
| 10 | |
| 11 | from xosresource import XOSResource |
| 12 | |
| 13 | class XOSSubscriber(XOSResource): |
| 14 | provides = "tosca.nodes.Subscriber" |
| 15 | xos_model = Subscriber |
Scott Baker | 11c0111 | 2015-09-01 23:45:54 -0700 | [diff] [blame] | 16 | copyin_props = ["service_specific_id"] |
Scott Baker | 5c45b04 | 2015-09-01 21:53:49 -0700 | [diff] [blame] | 17 | |
| 18 | def postprocess(self, obj): |
| 19 | pass |
| 20 | |
| 21 | def can_delete(self, obj): |
| 22 | return super(XOSService, self).can_delete(obj) |
| 23 | |