import { Component } from '@angular/core';
import { DetailsBase } from '@objects-view/details-base';
import { ILoadBalancerModel } from '@fleio-api/openstack/load-balancing/model/load-balancer.model';
import { ActivatedRoute } from '@angular/router';
import { LoadBalancerListUiService } from '../load-balancer-list-ui.service';

@Component({
  selector: 'app-load-balancer-associate-floating-ip',
  templateUrl: './load-balancer-associate-floating-ip.component.html',
  styleUrls: ['./load-balancer-associate-floating-ip.component.scss']
})
export class LoadBalancerAssociateFloatingIpComponent extends DetailsBase<ILoadBalancerModel> {
  constructor(route: ActivatedRoute, loadBalancerListUiService: LoadBalancerListUiService) {
    super(
      route, loadBalancerListUiService, 'associate-floating-ip', 'loadBalancer',
      ['associateFloatingIpOptions'],
    );
  }
}
