Hi Community
I want to explore the option to verify a piece of configuration which depends on 2 devices using the vnmsh with the help of perl. My goal is to verify the following condition. An interface ip of device 1 should be present as an access-list entry in device 2. I don't worry about where the output goes, I'm happy with text to screen at this stage.
Momentarily I'm stuck on many levels... first challenge is to read the actual configuration as I think this is the only method to see the access-list. So I went into the database looking for a config;
./show children mh=0x123465 gives a number of child HostConfiguration models, one with the relation HANS_LAST_KNOWN_CONFIG. This must be the one I want. I run a show attributes for that model handle and I'm sure attribute 0x82002b HasConfigFile contains the data. The problem is that it is not humanly readable 12.35.0.e3.b9.2a.67.0.b.65.2.35 etcetera.... I was once told that configurations are stored in gzipped format but it was too long ago to know for sure
Eitherway, It would be nice to make some readable text from this HostConfiguration model.