|
23 | 23 | from neutronclient.openstack.common.gettextutils import _
|
24 | 24 |
|
25 | 25 | RESOURCE = 'network_profile'
|
26 |
| -SEGMENT_TYPE_CHOICES = ['vlan', 'vxlan', 'multi-segment', 'trunk'] |
27 |
| -SEGMENT_SUBTYPE_CHOICES = ['vlan', 'vxlan'] |
| 26 | +SEGMENT_TYPE_CHOICES = ['vlan', 'overlay', 'multi-segment', 'trunk'] |
28 | 27 |
|
29 | 28 |
|
30 | 29 | class ListNetworkProfile(neutronV20.ListCommand):
|
@@ -58,9 +57,11 @@ def add_known_arguments(self, parser):
|
58 | 57 | parser.add_argument('segment_type',
|
59 | 58 | choices=SEGMENT_TYPE_CHOICES,
|
60 | 59 | help='Segment type')
|
| 60 | + # TODO(Abhishek): Check on sub-type choices depending on segment_type |
61 | 61 | parser.add_argument('--sub_type',
|
62 |
| - choices=SEGMENT_SUBTYPE_CHOICES, |
63 |
| - help='Sub-type for the Segment') |
| 62 | + help='Sub-type for the segment. Available sub-' |
| 63 | + 'types for overlay segments: native, enhanced; ' |
| 64 | + 'For trunk segments: vlan, overlay.') |
64 | 65 | parser.add_argument('--segment_range',
|
65 | 66 | help='Range for the Segment')
|
66 | 67 | parser.add_argument('--physical_network',
|
|
0 commit comments