import { Component, OnInit } from '@angular/core';
import { ListBase } from '@objects-view/list-base';
import { ActivatedRoute } from '@angular/router';
import { RefreshService } from '@shared/ui-api/refresh.service';
import { ILoadBalancerModel } from '@fleio-api/openstack/load-balancing/model/load-balancer.model';
import { LoadBalancerListUiService } from '../load-balancer-list-ui.service';

@Component({
  selector: 'app-load-balancer-list',
  templateUrl: './load-balancer-list.component.html',
  styleUrls: ['./load-balancer-list.component.scss']
})
export class LoadBalancerListComponent extends ListBase<ILoadBalancerModel> implements OnInit {

  constructor(
    private route: ActivatedRoute, private loadBalancerListUiService: LoadBalancerListUiService,
    private refreshService: RefreshService,
  ) {
    super(route, loadBalancerListUiService, refreshService, 'loadBalancers');
  }
}
