Patch Set 1:

> Actually, if we kept the 'a5' part out of the value, we wouldn't
 > have the problem in this instance; we'd just store and render plain
 > integers. I'm not aware of an alternative to 'a5', the vty command
 > 'encryption' only ever has 'a5' and nothing else so far.
 > 
In any case, this is just avoiding the general issue you mention (I don't think 
it's really an issue) bu pushing it into the future. I mean, we (or someone 
else) will have the same issue at some point: having some config option which 
needs some "complex" parsing before outputing it to a config template. In this 
case, I think it's fine to have some extra code enclosed inside the same class 
which uses the template to fix it.

 > Consider this and if you will +2 yourself to merge.

-- 
To view, visit https://gerrit.osmocom.org/3815
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I5265cc9990dd5e99dba1f6262b3a8c597a3e958d
Gerrit-PatchSet: 1
Gerrit-Project: osmo-gsm-tester
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Neels Hofmeyr <[email protected]>
Gerrit-Reviewer: Pau Espin Pedrol <[email protected]>
Gerrit-HasComments: No

Reply via email to