Public bug reported:

NOTE: I'm opening this bug in Neutron because python-openstackclient
does not accept bugs and because is related to a network command. This
is just a cosmetic bug, does not affect to the functionality.


Command "network segment range show" present the used segmentation IDs in an 
random order and not grouped. E.g.:

stack@osdev18:/opt/stack$ openstack network segment range show vlan_160_70
+------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field            | Value                                                      
                                                                                
                     |
+------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------+
| available        | []                                                         
                                                                                
                     |
| default          | False                                                      
                                                                                
                     |
| id               | 59d024e3-da22-4147-9280-5b5a3151b5a9                       
                                                                                
                     |
| location         | cloud='', project.domain_id='default', 
project.domain_name=, project.id='829953fe0f4f463b8dfa84cb3dcb38f7', 
project.name='demo', region_name='RegionOne', zone= |
| maximum          | 170                                                        
                                                                                
                     |
| minimum          | 160                                                        
                                                                                
                     |
| name             | vlan_160_70                                                
                                                                                
                     |
| network_type     | vlan                                                       
                                                                                
                     |
| physical_network | default                                                    
                                                                                
                     |
| project_id       | 829953fe0f4f463b8dfa84cb3dcb38f7                           
                                                                                
                     |
| shared           | False                                                      
                                                                                
                     |
| used             | {'829953fe0f4f463b8dfa84cb3dcb38f7': ['169', '160', '162', 
'167', '161', '163', '165-166', '164', '170', '168']}                           
                     |
+------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------+


The field "used" should present the used segmentation IDs ordered and grouped. 
In this case:
used   | {'829953fe0f4f463b8dfa84cb3dcb38f7': ['160-170']}

** Affects: neutron
     Importance: Undecided
     Assignee: Rodolfo Alonso (rodolfo-alonso-hernandez)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Rodolfo Alonso (rodolfo-alonso-hernandez)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1864837

Title:
  [python-openstackclient] "network segment range show" should group
  used segment IDs

Status in neutron:
  New

Bug description:
  NOTE: I'm opening this bug in Neutron because python-openstackclient
  does not accept bugs and because is related to a network command. This
  is just a cosmetic bug, does not affect to the functionality.

  
  Command "network segment range show" present the used segmentation IDs in an 
random order and not grouped. E.g.:

  stack@osdev18:/opt/stack$ openstack network segment range show vlan_160_70
  
+------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------+
  | Field            | Value                                                    
                                                                                
                       |
  
+------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------+
  | available        | []                                                       
                                                                                
                       |
  | default          | False                                                    
                                                                                
                       |
  | id               | 59d024e3-da22-4147-9280-5b5a3151b5a9                     
                                                                                
                       |
  | location         | cloud='', project.domain_id='default', 
project.domain_name=, project.id='829953fe0f4f463b8dfa84cb3dcb38f7', 
project.name='demo', region_name='RegionOne', zone= |
  | maximum          | 170                                                      
                                                                                
                       |
  | minimum          | 160                                                      
                                                                                
                       |
  | name             | vlan_160_70                                              
                                                                                
                       |
  | network_type     | vlan                                                     
                                                                                
                       |
  | physical_network | default                                                  
                                                                                
                       |
  | project_id       | 829953fe0f4f463b8dfa84cb3dcb38f7                         
                                                                                
                       |
  | shared           | False                                                    
                                                                                
                       |
  | used             | {'829953fe0f4f463b8dfa84cb3dcb38f7': ['169', '160', 
'162', '167', '161', '163', '165-166', '164', '170', '168']}                    
                            |
  
+------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------+


  The field "used" should present the used segmentation IDs ordered and 
grouped. In this case:
  used   | {'829953fe0f4f463b8dfa84cb3dcb38f7': ['160-170']}

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1864837/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to