Browse Source

Update cfg registrations based on changes made to shims.

Added choices to transport and ostype as these were
updated in the shims.

Change-Id: I438e7ee682b6ad21af382d98586af059f4255e3c
Angela Smith 4 years ago
parent
commit
5281dd5ba7
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      networking_brocade/mlx/ml2/fi_ni/brcd_config.py

+ 3
- 2
networking_brocade/mlx/ml2/fi_ni/brcd_config.py View File

@@ -37,9 +37,10 @@ ML2_BROCADE = [cfg.StrOpt('address', default='',
37 37
                cfg.StrOpt('ports', default='',
38 38
                           help=('Ports')),
39 39
                cfg.StrOpt('transport', default='SSH',
40
+                          choices=('SSH', 'TELNET'),
40 41
                           help=('Protocol used to communicate with Switch')),
41
-               cfg.StrOpt('ostype', default=None,
42
-                          help=('OS type of the device. NI or FI')),
42
+               cfg.StrOpt('ostype', default='NI', choices=('NI', 'FI'),
43
+                          help=('OS type of the device.')),
43 44
                ]
44 45
 
45 46
 

Loading…
Cancel
Save