Skip to content

Commit

Permalink
Add post_create to the set_network_filter_parameters
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Nečas <necas.marty@gmail.com>
  • Loading branch information
mnecas committed Nov 15, 2022
1 parent 677b80b commit b834a7d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugins/modules/ovirt_nic.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,9 @@ def vnic_id(self):
def vnic_id(self, vnic_id):
self._vnic_id = vnic_id

def post_create(self, entity):
self._set_network_filter_parameters(entity.id)

def post_update(self, entity):
self._set_network_filter_parameters(entity.id)

Expand Down

0 comments on commit b834a7d

Please sign in to comment.