Commit 709ccc73 authored by Takumaru Sekine's avatar Takumaru Sekine Committed by Yas Naoi
Browse files

Issue #3255752 by sekinet, yas, Ryo Yamashita: Add a detailed view to SPA (AWS Cloud Elastic IP)

parent 916dad88
Loading
Loading
Loading
Loading
+33 −0
Original line number Diff line number Diff line
import EntityInfoTemplate from 'model/EntityInfoTemplate';

const AWS_CLOUD_ELASTIC_IP_TEMPLATE: EntityInfoTemplate = {
  cloudServiceProvider: 'aws_cloud',
  entityName: 'elastic_ip',
  entityRecords: [
    {
      panelName: 'IP Address',
      tableRecordList: [],
      keyValueRecords: [
        { labelName: 'Type', name: 'elastic_ip_type', type: 'default' },
        { labelName: 'Elastic IP', name: 'public_ip', type: 'default' },
        { labelName: 'Private IP Address', name: 'private_ip_address', type: 'default' },
        { labelName: 'Created', name: 'created', type: 'default' },
      ]
    },
    {
      panelName: 'Assign',
      tableRecordList: [],
      keyValueRecords: [
        { labelName: 'Instance ID', name: 'instance_id', type: 'default' },
        { labelName: 'Network interface ID', name: 'network_interface_id', type: 'default' },
        { labelName: 'Allocation ID', name: 'allocation_id', type: 'default' },
        { labelName: 'Association ID', name: 'association_id', type: 'default' },
        { labelName: 'Domain (Standard | VPC)', name: 'domain', type: 'default' },
        { labelName: 'Network interface owner', name: 'network_interface_owner', type: 'default' },
        { labelName: 'Network border group', name: 'network_border_group', type: 'default' },
      ]
    },
  ]
};

export default AWS_CLOUD_ELASTIC_IP_TEMPLATE;
+2 −0
Original line number Diff line number Diff line
import AWS_CLOUD_INSTANCE_TEMPLATE from 'constant/entity_info_template/aws_cloud/instance';
import AWS_CLOUD_IMAGE_TEMPLATE from "constant/entity_info_template/aws_cloud/image";
import AWS_CLOUD_SECURITY_GROUP_TEMPLATE from "constant/entity_info_template/aws_cloud/security_group";
import AWS_CLOUD_ELASTIC_IP_TEMPLATE from "constant/entity_info_template/aws_cloud/elastic_ip";
import AWS_CLOUD_KEY_PAIR_TEMPLATE from 'constant/entity_info_template/aws_cloud/key_pair';
import AWS_CLOUD_VPC_TEMPLATE from 'constant/entity_info_template/aws_cloud/vpc';
import K8S_POD_TEMPLATE from 'constant/entity_info_template/k8s/pod';
@@ -9,6 +10,7 @@ const ENTITY_INFO_LIST = [
  AWS_CLOUD_INSTANCE_TEMPLATE,
  AWS_CLOUD_IMAGE_TEMPLATE,
  AWS_CLOUD_SECURITY_GROUP_TEMPLATE,
  AWS_CLOUD_ELASTIC_IP_TEMPLATE,
  AWS_CLOUD_KEY_PAIR_TEMPLATE,
  AWS_CLOUD_VPC_TEMPLATE,
  K8S_POD_TEMPLATE,
+1 −0
Original line number Diff line number Diff line
@@ -55,6 +55,7 @@ const AWS_MENU_LIST: MenuTemplate[] = [
    cloudServiceProvider: 'aws_cloud',
    labelName: 'Elastic IP',
    entityName: 'elastic_ip',
    detailInfoColumn: 'name',
    entityColumn: [
      { labelName: 'Name', name: 'name', type: 'default' },
      { labelName: 'Allocation ID', name: 'allocation_id', type: 'default' },