blob: a8a88a9c7687fa72125e8ec896b8e9714fff0282 [file] [log] [blame]
Sapan Bhatiadc6a0c52017-05-02 21:27:53 +02001option name = "vnodlocal";
Matteo Scandolo6137a252017-09-07 09:51:01 -07002option app_label = "vnodlocal";
Sapan Bhatiadc6a0c52017-05-02 21:27:53 +02003
4message VnodLocalSystem (PlCoreBase){
5 option verbose_name = "VNOD Local System";
6
7 required string name = 1 [db_index = False, max_length = 256, null = False, blank = False];
8 required string description = 2 [db_index = False, max_length = 1024, null = False, blank = False];
9 required string restUrl = 3 [db_index = False, max_length = 256, null = False, blank = False];
10 required string username = 4 [db_index = False, max_length = 32, null = False, blank = True];
11 required string password = 5 [db_index = False, max_length = 32, null = False, blank = True];
12 required string administrativeState = 6 [default = "enabled", choices = "(('enabled', 'Enabled'), ('disabled', 'Disabled'))", max_length = 16, blank = False, null = False, db_index = False];
13 required string pseudowireprovider = 7 [default = "none", max_length = 256, null = False, db_index = False, blank = False];
14 required string networkControllerUrl = 8 [db_index = False, max_length = 256, null = False, blank = True];
15}
16
17message VnodLocalService (Service){
18 option verbose_name = "Virtual Network On Demand Local Service";
19
20 required string portid = 1 [db_index = False, max_length = 256, null = False, blank = True];
21 required string vlanid = 2 [db_index = False, max_length = 256, null = False, blank = True];
22 required string servicehandle = 3 [db_index = False, max_length = 256, null = False, blank = False];
23 required bool autoattached = 4 [default = False, null = False, db_index = False, blank = True];
24 required string administrativeState = 5 [default = "disabled", choices = "(('disabled', 'Disabled'), ('configurationrequested', 'ConfigurationRequested'), ('configurationfailed', 'ConfigurationFailed'), ('configured', 'Configured'), ('activationrequested', 'ActivationRequested'), ('activationfailed', 'ActivationFailed'), ('enabled', 'Enabled'), ('deactivationrequested', 'DeactivationRequested'))", max_length = 64, blank = False, null = False, db_index = False];
25 required string operstate = 6 [default = "inactive", choices = "(('active', 'Active'), ('inactivereported', 'InactiveReported'), ('inactive', 'Inactive'), ('activereported', 'ActiveReported'))", max_length = 64, blank = False, null = False, db_index = False];
26}
27
28message VnodLocalPseudowireConnectorService (Service){
29 option verbose_name = "Virtual Network On Demand Local Pseudo-wire Connector Service";
30
31 required string servicehandle = 1 [db_index = False, max_length = 256, null = False, blank = False];
32 required string pseudowirehandle = 2 [db_index = False, max_length = 256, null = False, blank = True];
33 required string internalport = 3 [db_index = False, max_length = 256, null = False, blank = False];
34 optional manytoone vnodlocal->VnodLocalService:VnodLocalService = 4 [db_index = True, null = True, blank = False];
35 required string administrativeState = 5 [default = "disabled", choices = "(('disabled', 'Disabled'), ('activationrequested', 'ActivationRequested'), ('enabled', 'Enabled'), ('deactivationrequested', 'DeactivationRequested'))", max_length = 64, blank = False, null = False, db_index = False];
36 required string operstate = 6 [default = "inactive", choices = "(('active', 'Active'), ('inactive', 'Inactive'))", max_length = 64, blank = False, null = False, db_index = False];
37}
38
39
40
41
42