Andy Bavier | f80542f | 2017-03-31 11:57:48 -0400 | [diff] [blame] | 1 | from xosresource import XOSResource |
| 2 | from service import XOSService |
| 3 | from services.vtr.models import SampleService |
| 4 | |
| 5 | |
| 6 | class ToscaSampleService(XOSService): |
| 7 | provides = "tosca.nodes.Service" |
| 8 | xos_model = SampleService |
| 9 | copyin_props = [ |
| 10 | "description", |
| 11 | "kind", |
| 12 | "versionNumber", |
| 13 | "public_key", |
| 14 | "private_key_fn", |
| 15 | "service_specific_id" |
| 16 | ] |
| 17 | |
| 18 | |
| 19 | class ToscaSampleTenant(XOSResource): |
| 20 | provides = "tosca.nodes.Tenant" |
| 21 | xos_model = SampleTenant |