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.

[[email protected]:Active] ~ # bp profile clientssl AprofileWITHa.INit defaults from clientssl<br></br>
[[email protected]:Active] ~ # bp profile clientssl AprofileWITHa.INit list<br></br>
profile clientssl AprofileWITHa.INit {<br></br>
defaults from clientssl<br></br>
}<br></br>
[[email protected]:Active] ~ # bp profile clientssl AprofileWITHa.INit key "172.16.0.1.key" cert "172.16.0.1.crt"<br></br>
[[email protected]: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>
[[email protected]:Active] ~ #```

[[email protected]: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'.  
 [[email protected]:Active] ~ # cat test.txt  
 profile clientssl AprofileWITHa.INit {  
 defaults from clientssl  
 key "172.16.0.1.key"  
 cert "172.16.0.1.crt"  
 }

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

[[email protected]:Active] ~ # bp merge test.txt


Reading configuration from test.txt.


Loading the configuration ...


[[email protected]:Active] ~ # bp profile clientssl F5NOLIKEYDOTS list


profile clientssl F5NOLIKEYDOTS {


defaults from clientssl


key "172.16.0.1.key"


cert "172.16.0.1.crt"


}


[[email protected]:Active] ~ #

```

Author image
About colin-stubbs