File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -25,11 +25,11 @@ def cli(env, identifier):
2525 table .align ['name' ] = 'r'
2626 table .align ['value' ] = 'l'
2727
28- table .add_row (['id' , result [ 'id' ] ])
29- table .add_row (['primaryIpAddress' , result [ 'primaryIpAddress' ] ])
30- table .add_row (['datacenter' , result [ 'datacenter' ][ 'longName' ] ])
31- table .add_row (['networkVlan' , result [ 'networkVlan' ][ 'name' ] ])
32- table .add_row (['networkVlaniD' , result [ 'networkVlan' ][ 'id' ] ])
28+ table .add_row (['id' , utils . lookup ( result , 'id' ) ])
29+ table .add_row (['primaryIpAddress' , utils . lookup ( result , 'primaryIpAddress' ) ])
30+ table .add_row (['datacenter' , utils . lookup ( result , 'datacenter' , 'longName' ) ])
31+ table .add_row (['networkVlan' , utils . lookup ( result , 'networkVlan' , 'name' ) ])
32+ table .add_row (['networkVlaniD' , utils . lookup ( result , 'networkVlan' , 'id' ) ])
3333
3434 if firewall_type == 'vlan' :
3535 rules = mgr .get_dedicated_fwl_rules (firewall_id )
You can’t perform that action at this time.
0 commit comments