question

asavas avatar image
asavas asked asavas posted

Need help on show version response map

Hi all,

 

I have to extract 2 values from show version output that is attached.

 

I tried with pattern match and it doesn't work since I couldn't make the tokens variable.

 

Almost everything changes in the output, date and HW options...

 

The only thing that stays the same is this format:

 

Configuration register on node *

Boot device on node * is *:

Package active on node 0/RSP0/CPU0:

*   

Built on *   

By * in * for pie <---I only care about the two variables in this line.

 

I created this in table response map and didn't work out since there are bunch of other output before and after this container.

 

Your help is appreciated.

 

Thanks,

 

Alper

 

iTestresponse map
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
sandeepreddynv avatar image
sandeepreddynv answered sandeepreddynv posted

Hi Alper,

 

I think you missed the attachment.

 

Could you please add the attachments to work on this... :smileyhappy:

 

Thanks,

Venkata

2 comments
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

asavas avatar image asavas commented ·

Sorry... I forgot to click on Add attachement after choosing.

 

I have put two samples.

 

show_version.txt

all I need is: 

build_location: iox-bld8

build_folder: /scratch2/nightly/ci-42-bugfix_all_11.09.11A

 

show_versoin1.txt

all I need is:

build_location: iox-bld3

build_folder: /scratch2/production/4.2.0.17I.SIT_IMAGE/all/workspace

 

I have 2 ffrm, one with pattern and one with table both of them are not working for both outputs. The pattern one is working with one output but not with the other one.

 

Thanks a lot...

 

Alper

0 Likes 0 ·
show_version.txt (16.5 KiB)
show_version1.txt (17.4 KiB)
Show_version.ffrm (20.0 KiB)
show_version1.ffrm (27.4 KiB)
asavas avatar image asavas asavas commented ·

Thanks to Jeff Johnson, he has send me this ffrm to fix all the issues.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.