#NEWLINE# def _vip_get( request , vip_id , expand_resource = False ) : #NEWLINE# #INDENT# vip = neutronclient ( request ) . show_vip ( vip_id ) . get ( 'vip' ) #NEWLINE# if expand_resource : #NEWLINE# #INDENT# vip [ 'subnet' ] = neutron . subnet_get ( request , vip [ 'subnet_id' ] ) #NEWLINE# vip [ 'port' ] = neutron . port_get ( request , vip [ 'port_id' ] ) #NEWLINE# vip [ 'pool' ] = _pool_get ( request , vip [ 'pool_id' ] ) #NEWLINE# #UNINDENT# return Vip ( vip )