JianHao | adbe03c | 2017-10-06 00:52:44 +0800 | [diff] [blame] | 1 | # Copyright 2017-present Open Networking Foundation |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | option name = "vSGWC"; |
| 16 | option verbose_name = "Virtual Serving Gateway -- Control Plane"; |
| 17 | option app_label = "vsgwc"; |
| 18 | option kind = "vEPC"; |
| 19 | option legacy = "True"; |
| 20 | |
| 21 | message VSGWCService (Service){ |
| 22 | option name = "vsgwcservice"; |
| 23 | option verbose_name = "Virtual Serving Gateway -- Control Plane Service"; |
| 24 | } |
| 25 | |
| 26 | message VSGWCVendor (XOSBase){ |
| 27 | option name = "vsgwcvendor"; |
| 28 | option verbose_name = "Virtual Serving Gateway -- Control Plane Vendor"; |
| 29 | required string name = 1 [help_text = "vendor name", max_length = 32, null = False, db_index = False, blank = False]; |
| 30 | required manytoone image->Image:+ = 2 [help_text = "select image for this vendor", db_index = True, null = False, blank = False]; |
| 31 | required manytoone flavor->Flavor:+ = 3 [help_text = "select openstack flavor for vendor image", db_index = True, null = False, blank = False]; |
| 32 | } |
| 33 | |
| 34 | message VSGWCTenant (TenantWithContainer){ |
| 35 | option name = "vsgwcserviceinstance"; |
| 36 | option verbose_name = "Virtual Serving Gateway -- Control Plane ServiceInstance"; |
| 37 | optional manytoone vsgwc_vendor->VSGWCVendor:vendor_tenants = 1 [help_text = "select vendor of choice, leave blank for slice default", db_index = True, null = True, blank = True]; |
| 38 | } |