import { Component } from '@angular/core';
import { ListBase } from '@objects-view/list-base';
import { ActivatedRoute } from '@angular/router';
import { RefreshService } from '@shared/ui-api/refresh.service';
import { IHypervisorModel } from '@fleio-api/openstack/model/hypervisor.model';
import { HypervisorsListUiService } from '../hypervisors-list-ui.service';

@Component({
  selector: 'app-hypervisors-list',
  templateUrl: './hypervisors-list.component.html',
  styleUrls: ['./hypervisors-list.component.scss']
})
export class HypervisorsListComponent extends ListBase<IHypervisorModel> {

  constructor(
    private route: ActivatedRoute, private hypervisorsListUiService: HypervisorsListUiService,
    private refreshService: RefreshService,
  ) {
    super(route, hypervisorsListUiService, refreshService, 'hypervisors');
  }
}
