blob: 54a0474f9e15455c6d199f248f0d605ee37e3b2e [file] [log] [blame]
Andy Bavier03df22b2017-08-30 14:46:02 -07001option name = "volt";
2
3message VOLTService (Service){
Matteo Scandolo43473812018-03-02 10:55:54 -08004 option verbose_name = "vOLT Service";
5 option kind = "vOLT";
Andy Bavier03df22b2017-08-30 14:46:02 -07006}
7
Matteo Scandolod2458012018-03-01 13:40:36 -08008message VOLTServiceInstance (ServiceInstance){
Matteo Scandolo43473812018-03-02 10:55:54 -08009 option kind = "vOLT";
10 option owner_class_name = "VOLTService";
11 option verbose_name = "vOLT Service Instance";
Andy Bavier03df22b2017-08-30 14:46:02 -070012
Matteo Scandolo43473812018-03-02 10:55:54 -080013 required string onu_type = 2 [help_text = "ONU Type", default = "v-ontani", null = False, db_index = False, blank = False];
14 optional string description = 3 [max_length = 254, null = True, db_index = False, blank = True];
Andy Bavier03df22b2017-08-30 14:46:02 -070015}
16
17message VOLTDevice (XOSBase){
Matteo Scandolo43473812018-03-02 10:55:54 -080018 option verbose_name = "vOLT Device";
Andy Bavier03df22b2017-08-30 14:46:02 -070019
Matteo Scandolo43473812018-03-02 10:55:54 -080020 required manytoone volt_service->VOLTService:volt_devices = 1 [db_index = True, null = False, blank = False];
21 required string name = 2 [help_text = "name of device", max_length = 254, null = False, db_index = False, blank = False];
22 required string device_id = 3 [help_text = "Device ID", max_length = 254, null = False, db_index = False, blank = False];
23 required string device_type = 4 [help_text = "Device Type", default = "asfvolt16_olt", max_length = 254, null = False, db_index = False, blank = False];
24 required string host = 5 [help_text = "Host", max_length = 254, null = False, db_index = False, blank = False];
25 required int32 port = 6 [help_text = "Fabric port", null = False, db_index = False, blank = False];
Andy Bavier03df22b2017-08-30 14:46:02 -070026}
27
Matteo Scandolo43473812018-03-02 10:55:54 -080028message VOLTDevicePort (XOSBase){
29 option verbose_name = "vOLT Device Port";
Andy Bavier03df22b2017-08-30 14:46:02 -070030
Matteo Scandolo43473812018-03-02 10:55:54 -080031 required manytoone volt_device->VOLTDevice:ports = 1 [db_index = True, null = False, blank = False];
32 required string port_id = 2 [help_text = "Port ID", max_length = 254, null = False, db_index = False, blank = False, tosca_key = True];
33 required int32 s_tag = 3 [help_text = "S Tag", null = False, db_index = False, blank = False];
Andy Bavier03df22b2017-08-30 14:46:02 -070034}