From 41ac4c4e9a6112d8c98472a1be60e4869814f549 Mon Sep 17 00:00:00 2001 From: Koren Lev Date: Sun, 15 Oct 2017 01:38:44 +0300 Subject: added schemes to support new ui link options + fix api per new schemes Change-Id: I768233f13749d01d436c24c764cb903ca19d3d2a Signed-off-by: Koren Lev --- app/install/db/attributes_for_hover_on_data.json | 66 +++++++++++++++++++----- app/install/db/constants.json | 4 ++ app/install/db/supported_environments.json | 13 +++++ 3 files changed, 70 insertions(+), 13 deletions(-) (limited to 'app/install') diff --git a/app/install/db/attributes_for_hover_on_data.json b/app/install/db/attributes_for_hover_on_data.json index aadcbe8..d1fbe04 100644 --- a/app/install/db/attributes_for_hover_on_data.json +++ b/app/install/db/attributes_for_hover_on_data.json @@ -3,9 +3,12 @@ "attributes" : [ "object_name", "model", - "mac_address", - "type", - "koren" + "mac_address", + "vnic_type", + "data", + "status", + "status_timestamp", + "status_text" ], "type" : "vnic" }, @@ -14,7 +17,10 @@ "object_name", "connector_type", "type", - "interfaces" + "interfaces", + "status", + "status_timestamp", + "status_text" ], "type" : "vconnector" }, @@ -23,7 +29,10 @@ "object_name", "host", "service_type", - "type" + "type", + "status_text", + "status", + "status_timestamp" ], "type" : "vservice" }, @@ -32,8 +41,13 @@ "object_name", "host", "agent_type", - "binary", - "type" + "binary", + "started_at", + "heartbeat_timestamp", + "type", + "status", + "status_timestamp", + "status_text" ], "type" : "vedge" }, @@ -44,7 +58,13 @@ "mac_address", "Speed", "Link detected", - "type" + "type", + "Bonding Mode", + "Ethernet Channel Bonding Driver", + "members", + "status", + "status_timestamp", + "status_text" ], "type" : "host_pnic" }, @@ -53,7 +73,11 @@ "object_name", "provider:segmentation_id", "provider:network_type", - "type" + "type", + "status", + "port_security_enabled", + "availability_zones", + "mtu" ], "type" : "network" }, @@ -61,18 +85,25 @@ "attributes" : [ "object_name", "host_type", - "parent_id", - "type" + "services", + "type", + "status", + "status_timestamp", + "status_text" ], "type" : "host" }, { "attributes" : [ - "object_name", + "object_name", + "local_name", "host", "project", "type", - "name_path" + "name_path", + "status", + "status_timestamp", + "status_text" ], "type" : "instance" }, @@ -93,5 +124,14 @@ "parent_id", "role" ] +}, +{ + "attributes" : [ + "link_type", + "status", + "status_timestamp", + "status_text" + ], + "type" : "link" } ] diff --git a/app/install/db/constants.json b/app/install/db/constants.json index 15522b7..6912eeb 100644 --- a/app/install/db/constants.json +++ b/app/install/db/constants.json @@ -532,6 +532,10 @@ { "value" : "10918", "label" : "10918" + }, + { + "label" : "11190", + "value" : "11190" } ] }, diff --git a/app/install/db/supported_environments.json b/app/install/db/supported_environments.json index 0d507c3..c2c376b 100644 --- a/app/install/db/supported_environments.json +++ b/app/install/db/supported_environments.json @@ -51,6 +51,19 @@ "monitoring" : false } }, + { + "features" : { + "listening" : true, + "scanning" : true, + "monitoring" : true + }, + "environment" : { + "type_drivers" : "vlan", + "mechanism_drivers" : "OVS", + "distribution" : "Mercury", + "distribution_version" : ["11190"] + } + }, { "features" : { "listening" : true, -- cgit 1.2.3-korg