[racktables-users] Re: Extract Hostname and IP

  • From: Alexey Andriyanov <alan@xxxxxxxxxx>
  • To: racktables-users@xxxxxxxxxxxxx
  • Date: Fri, 27 Mar 2015 09:34:03 +0300


26.03.2015 19:35, itsme2501@xxxxxxxxxxx пишет:
> 
> But it will extract only server objects, i am trying to edit it to extract 
> everything without testing the name, i want servers, routers, switch, i 
> dont't care about the name.
> 
> I know it is a really basic questions but i am not able to edit it properlly 
> to match everything.
> 
Just use empty filter in scanRealmByText: 
foreach (scanRealmByText ('object', '') as $object)

listCells ('object') would suffice too.

-- 
Best regards,
Alexey 

Other related posts: