I’m working on writing a Ruby script to SSH into one of our VMware
Servers
and do a little command line work for me. The challenge is that some of
the
output is in some kind of data definition language I don’t recognize.
Anyone recognize it off the top of their heads? If it all comes down to
it I can parse out the information I need the hard way, but I’m hoping
that
I can find a library to do the painful stuff for me.
I’m working on writing a Ruby script to SSH into one of our VMware
Servers
and do a little command line work for me. The challenge is that some of
the
output is in some kind of data definition language I don’t recognize.
Anyone recognize it off the top of their heads? If it all comes down to
it I can parse out the information I need the hard way, but I’m hoping
that
I can find a library to do the painful stuff for me.
Thanks in advance!
This has nothing to do with Ruby, and might be better asked on a VMWare
support forum. The output almost looks like JSON with types…
Ohhh! Thank you! That looks like it will make writing a parser much
easier. I had thought
about trying to do this with Bison/Flex, but I really didn’t want to
write this in C.