sapcc / asr1k-neutron-l3

Cisco ASR 1000 Neutron L3 driver
Apache License 2.0
4 stars 1 forks source link

Register Neutron cache options #108

Closed sebageek closed 7 months ago

sebageek commented 8 months ago

We currently seem to rely on someone else registering the cache options. In the rare cases that nobody else registers these options we run into a NoSuchOptError exception. So, to make sure we have the opts and can use the cache we now register this ourselves. As I am not sure if we only need this in the l3 part vs if we need it in the ml2 part either now or later I decided to just register the ops for everyone in register_common_opts(). This problem only appears in the agent code so far.