- if self.interface.lower() == 'aggregate':
- if hasattr(self.config, 'SFA_AM_API_VERSION') and \
- self.config.SFA_AM_API_VERSION == "2":
+ if self.interface.lower() in ['aggregate', 'slicemgr']:
+ if hasattr(self.config, 'SFA_AGGREGATE_API_VERSION') and \
+ self.config.SFA_AGGREGATE_API_VERSION == 2: