- if self.xs_version == "5.5.0":
- key = "vSwitchController"
- session.xenapi.pool.remove_from_other_config(pools[0], key)
- if value != None:
- session.xenapi.pool.add_to_other_config(pools[0], key, value)
- else:
- session.xenapi.pool.set_vswitch_controller(value)