When a dot is not a dot

aka. when your F5 is merging config or upgrading itself.

Regex specials of any kind outside of quotes are a bad idea. But it’s annoying that the configuration system will allow objects with .’s to be created. But fail badly when parsing it in other situations. This still occurs up to 10.2.2 HF1. Yet to see if it’s a problem on 11.0.

[user@bigip:Active] ~ # bp profile clientssl AprofileWITHa.INit defaults from clientssl<br></br>
[user@bigip:Active] ~ # bp profile clientssl AprofileWITHa.INit list<br></br>
profile clientssl AprofileWITHa.INit {<br></br>
defaults from clientssl<br></br>
}<br></br>
[user@bigip:Active] ~ # bp profile clientssl AprofileWITHa.INit key "172.16.0.1.key" cert "172.16.0.1.crt"<br></br>
[user@bigip:Active] ~ # bp profile clientssl AprofileWITHa.INit list<br></br>
profile clientssl AprofileWITHa.INit {<br></br>
defaults from clientssl<br></br>
key "172.16.0.1.key"<br></br>
cert "172.16.0.1.crt"<br></br>
}<br></br>
[user@bigip:Active] ~ #```

[user@bigip:Active] ~ # bp merge test.txt  
 Reading configuration from test.txt.  
 BIGpipe parsing error (test.txt Line 1):  
 012e0020:3: The requested item (AprofileWITHa.INit {) is invalid ( | show | list | edit | delete | stats reset) for 'profile'.  
 [user@bigip:Active] ~ # cat test.txt  
 profile clientssl AprofileWITHa.INit {  
 defaults from clientssl  
 key "172.16.0.1.key"  
 cert "172.16.0.1.crt"  
 }

[user@bigip:Active] ~ # vim test.txt  
 [user@bigip:Active] ~ # cat test.txt  
 profile clientssl F5NOLIKEYDOTS {  
 defaults from clientssl  
 key "172.16.0.1.key"  
 cert "172.16.0.1.crt"  
 }

[user@bigip:Active] ~ # bp merge test.txt


Reading configuration from test.txt.


Loading the configuration ...


[user@bigip:Active] ~ # bp profile clientssl F5NOLIKEYDOTS list


profile clientssl F5NOLIKEYDOTS {


defaults from clientssl


key "172.16.0.1.key"


cert "172.16.0.1.crt"


}


[user@bigip:Active] ~ #

```

Author image
About colin-stubbs