Hi ,
Let's say I create a brand new Network 'NetA'. It contains the default rule base :
{"rules":[{"comment":"Default rule","policy":"allow","protocol":"Any","srcPort":"Any","srcCidr":"Any","destPort":"Any","destCidr":"Any","syslogEnabled":false}]}
Now If I create a new network 'NetB' and I PUT the firewall rules that I got from 'NetA' , I will end up with 2 default rules ...
That's annoying... I have to modify the payload received by the API ( once again ) before doing a PUT to other networks...
@sungod Have I missed something ?
Support says this is expected since there are no checks to prevent duplicate rules.
So depending where you source your 'GET' , you could end up with a tons of dupplicate default rules.. Eg : Get NetA , Put NetB , Get NetB , Put NetC , Get NetC Put NetD [...]