kammoh / llconf

Automatically exported from code.google.com/p/llconf
0 stars 0 forks source link

conserver parser not extracting data. #2

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. try to extract data from conserver.cf file
2. dump works OK, but get, find, list don't
3.

What is the expected output? 
Any of the following commands should output data.

What do you see instead?
No matches found

eg:

dump is OK:

0 %> llconf conserver -i /import/tonic/bedge/llconf/conserver.cf -s dump | tail

               console ssp8400-b596 { master localhost; type exec; exec
telnet labsuns 9043; }
               console ssp8400-b029 { master localhost; type exec; exec
telnet labsuns 9044; }
               console q29 { master localhost; type exec; exec telnet
labsuns 9029; }

                access * {
                        # trusted localhost
                        #trusted localhost build1 saaz fastbuild melomel
lumpling wave walia tach1 build2;
                        #allow
                        device = ' 10.4.2.0 12.31.172.0 12.31.174.0
12.42.120.0'
                }

I can't get any data back from these commands.
(maybe I'm just blowing it, but similar commands worked with the ifupdown
parser)

0 %> llconf conserver -i /import/tonic/bedge/llconf/conserver.cf list
server/console

1 %> llconf conserver -i /import/tonic/bedge/llconf/conserver.cf list
server/console/q29

0 %> llconf conserver -i /import/tonic/bedge/llconf/conserver.cf find
server/console/q29

0 %> llconf conserver -i /import/tonic/bedge/llconf/conserver.cf find  q29

What version of the product are you using? On what operating system?
ubuntu 7.10

Please provide any additional information below.

onserver.cf is attached

Original issue reported on code.google.com by bruce.e...@gmail.com on 23 Jul 2008 at 11:18

Attachments: