lxiaopei 40e2d134c0 Add version check to use POST API when restore vif
Since the new POST API to restore vif only exists
on NSX version >=4.1.0, add version check before
invoking the new POST API. Otherwise, still use
the old patch API.

Change-Id: Ic0047cba6ccaf275830b3c24a73f59ca28883de6
2023-02-15 10:00:14 +00:00
..