From 452c6ccf06d333384c00a3b47b6d7809899a1dc1 Mon Sep 17 00:00:00 2001 From: Gor Poghosyan Date: Fri, 19 Jul 2024 23:23:00 -0700 Subject: [PATCH] Update-2024-07-20_06:22:59 --- charts/netris-controller/Chart.yaml | 6 +- charts/netris-controller/README.md | 12 +- .../templates/netris-controller-initdb.yaml | 599 +++++++++--------- .../templates/web-service-backend.yaml | 2 + charts/netris-controller/values.yaml | 16 +- 5 files changed, 312 insertions(+), 323 deletions(-) diff --git a/charts/netris-controller/Chart.yaml b/charts/netris-controller/Chart.yaml index c80ca8d..f85288a 100644 --- a/charts/netris-controller/Chart.yaml +++ b/charts/netris-controller/Chart.yaml @@ -15,13 +15,13 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 2.1.8 +version: 2.3.0-alpha.13 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: 4.1.1.7 +appVersion: 4.3.0-alpha.13 home: https://netris.ai icon: https://www.netris.ai/wp-content/uploads/2021/01/logo-300.png # [todo] Change url to permalink keywords: @@ -53,3 +53,5 @@ dependencies: - name: graphite version: 0.7.2 repository: https://kiwigrid.github.io +annotations: + artifacthub.io/prerelease: "true" diff --git a/charts/netris-controller/README.md b/charts/netris-controller/README.md index 9f3d391..f616c8e 100644 --- a/charts/netris-controller/README.md +++ b/charts/netris-controller/README.md @@ -89,7 +89,7 @@ The following table lists the configurable parameters of the netris-controller c | ------------------------------------------------------------------| --------------------------------------------------------------------------------------------------------- | --------------------------------- | | `web-service-backend.replicaCount` | Number of replicas in web-service-backend deployment | `1` | | `web-service-backend.image.repository` | Image repository | `netrisai/controller-web-service-backend` | -| `web-service-backend.image.tag` | Image tag. Overrides the image tag whose default is the chart appVersion | `"4.1.1-016"` | +| `web-service-backend.image.tag` | Image tag. Overrides the image tag whose default is the chart appVersion | `"4.3.0-044"` | | `web-service-backend.image.pullPolicy` | Image pull policy | `IfNotPresent` | | `web-service-backend.imagePullSecrets` | Reference to one or more secrets to be used when pulling images | `[]` | | `web-service-backend.service.type` | Kubernetes service type | `ClusterIP` | @@ -99,13 +99,15 @@ The following table lists the configurable parameters of the netris-controller c | `web-service-backend.autoscaling.minReplicas` | Default min replicas for autoscaling | `1` | | `web-service-backend.autoscaling.maxReplicas` | Default max replicas for autoscaling | `100` | | `web-service-backend.autoscaling.targetCPUUtilizationPercentage` | The desired target CPU utilization for autoscaling | `80` | +| `web-service-backend.nodeOptions` | A space-separated list of Node.js command-line options | `--max-old-space-size=8192` | + ### Netris-Controller web-service-frontend parameters | Parameter | Description | Default | | ------------------------------------------------------------------| --------------------------------------------------------------------------------------------------------- | --------------------------------- | | `web-service-frontend.replicaCount` | Number of replicas in web-service-frontend deployment | `1` | | `web-service-frontend.image.repository` | Image repository | `netrisai/controller-web-service-frontend` | -| `web-service-frontend.image.tag` | Image tag. Overrides the image tag whose default is the chart appVersion | `"4.1.1-007"` | +| `web-service-frontend.image.tag` | Image tag. Overrides the image tag whose default is the chart appVersion | `"4.3.0-049"` | | `web-service-frontend.image.pullPolicy` | Image pull policy | `IfNotPresent` | | `web-service-frontend.imagePullSecrets` | Reference to one or more secrets to be used when pulling images | `[]` | | `web-service-frontend.service.type` | Kubernetes service type | `ClusterIP` | @@ -122,7 +124,7 @@ The following table lists the configurable parameters of the netris-controller c | -------------------------------------- | --------------------------------------------------------------------------------------------------------- | -------------------------- | | `grpc.replicaCount` | Number of replicas in grpc deployment | `1` | | `grpc.image.repository` | Image repository | `netrisai/controller-grpc` | -| `grpc.image.tag` | Image tag. Overrides the image tag whose default is the chart appVersion | `"4.1.1.008"` | +| `grpc.image.tag` | Image tag. Overrides the image tag whose default is the chart appVersion | `"4.3.0.009"` | | `grpc.image.pullPolicy` | Image pull policy | `IfNotPresent` | | `grpc.imagePullSecrets` | Reference to one or more secrets to be used when pulling images | `[]` | | `grpc.service.type` | Kubernetes service type | `ClusterIP` | @@ -139,7 +141,7 @@ The following table lists the configurable parameters of the netris-controller c | ------------------------------------- | --------------------------------------------------------------------------------------------------------- | -------------------------- | | `telescope.replicaCount` | Number of replicas in telescope deployment | `1` | | `telescope.image.repository` | Image repository | `netrisai/controller-telescope` | -| `telescope.image.tag` | Image tag. Overrides the image tag whose default is the chart appVersion | `"4.1.0.001"` | +| `telescope.image.tag` | Image tag. Overrides the image tag whose default is the chart appVersion | `"4.3.0.002"` | | `telescope.image.pullPolicy` | Image pull policy | `IfNotPresent` | | `telescope.imagePullSecrets` | Reference to one or more secrets to be used when pulling images | `[]` | | `telescope.service.type` | Kubernetes service type | `ClusterIP` | @@ -208,7 +210,7 @@ The following table lists the configurable parameters of the netris-controller c | Parameter | Description | Default | | ---------------------------------| ----------------------------------------------------------------------------- | ------------------------------------------- | | `migration.image.repository` | Image repository | `netrisai/controller-web-service-migration` | -| `migration.image.tag` | Image tag. Overrides the image tag whose default is the chart appVersion | `"4.1.2"` | +| `migration.image.tag` | Image tag. Overrides the image tag whose default is the chart appVersion | `"4.3.0"` | | `migration.image.pullPolicy` | Image pull policy | `IfNotPresent` | | `migration.imagePullSecrets` | Reference to one or more secrets to be used when pulling images | `[]` | diff --git a/charts/netris-controller/templates/netris-controller-initdb.yaml b/charts/netris-controller/templates/netris-controller-initdb.yaml index 87ff39d..78c20f2 100644 --- a/charts/netris-controller/templates/netris-controller-initdb.yaml +++ b/charts/netris-controller/templates/netris-controller-initdb.yaml @@ -14,15 +14,15 @@ data: Table structure for table `users`\n--\n\nDROP TABLE IF EXISTS `users`;\n/*!40101 SET @saved_cs_client = @@character_set_client */;\n/*!40101 SET character_set_client = utf8 */;\nCREATE TABLE `users` (\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n - \ `login` varchar(50) NOT NULL,\n `password` varchar(255) DEFAULT NULL,\n `name` - varchar(255) DEFAULT NULL,\n `email` varchar(255) DEFAULT NULL,\n `email_cc` - varchar(255) DEFAULT NULL,\n `role_id` bigint(20) unsigned DEFAULT NULL,\n `master` - int(11) NOT NULL DEFAULT 0,\n `phone` varchar(255) DEFAULT NULL,\n `position` - varchar(255) DEFAULT NULL,\n `company` varchar(255) DEFAULT NULL,\n `ims` varchar(255) - DEFAULT NULL,\n `perm_id` bigint(20) unsigned DEFAULT NULL,\n `auth_scheme_id` - bigint(20) NOT NULL DEFAULT 1,\n `email_notification` enum('enabled','disabled') - NOT NULL DEFAULT 'enabled',\n `options` text NOT NULL DEFAULT '{}',\n `notification_subscription` - varchar(512) NOT NULL DEFAULT '{\"approvals\":\"true\",\"telescope\":\"true\"}',\n + \ `login` varchar(50) NOT NULL,\n `password` varchar(255) DEFAULT NULL,\n `salt` + varchar(255) DEFAULT NULL,\n `name` varchar(255) DEFAULT NULL,\n `email` varchar(255) + DEFAULT NULL,\n `email_cc` varchar(255) DEFAULT NULL,\n `role_id` bigint(20) + unsigned DEFAULT NULL,\n `master` int(11) NOT NULL DEFAULT 0,\n `phone` varchar(255) + DEFAULT NULL,\n `position` varchar(255) DEFAULT NULL,\n `company` varchar(255) + DEFAULT NULL,\n `ims` varchar(255) DEFAULT NULL,\n `perm_id` bigint(20) unsigned + DEFAULT NULL,\n `auth_scheme_id` bigint(20) NOT NULL DEFAULT 1,\n `email_notification` + enum('enabled','disabled') NOT NULL DEFAULT 'enabled',\n `options` text NOT NULL + DEFAULT '{}',\n `notification_subscription` varchar(512) NOT NULL DEFAULT '{\"approvals\":\"true\",\"telescope\":\"true\"}',\n \ `create_date` timestamp NOT NULL DEFAULT current_timestamp(),\n `modified_date` timestamp NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),\n PRIMARY KEY (`id`),\n UNIQUE KEY `login` (`login`),\n KEY `role_id` (`role_id`)\n) ENGINE=InnoDB @@ -594,17 +594,17 @@ data: NULL AUTO_INCREMENT,\n `name` varchar(255) NOT NULL,\n `description` varchar(255) DEFAULT NULL,\n `ipv4_ssh` text DEFAULT NULL,\n `ipv6_ssh` text DEFAULT NULL,\n \ `timezone` varchar(255) DEFAULT NULL,\n `ntp_servers` text DEFAULT NULL,\n - \ `dns_servers` text DEFAULT NULL,\n `created_date` timestamp /* mariadb-5.3 - */ NULL DEFAULT current_timestamp(),\n `modified_date` timestamp /* mariadb-5.3 - */ NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),\n PRIMARY - KEY (`id`),\n UNIQUE KEY `inv_prof_name_uniq` (`name`)\n) ENGINE=InnoDB DEFAULT - CHARSET=utf8mb4;\n/*!40101 SET character_set_client = @saved_cs_client */;\n\n--\n-- - Table structure for table `ip`\n--\n\nDROP TABLE IF EXISTS `ip`;\n/*!40101 SET - @saved_cs_client = @@character_set_client */;\n/*!40101 SET character_set_client - = utf8 */;\nCREATE TABLE `ip` (\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n - \ `parent_id` bigint(20) NOT NULL DEFAULT 0,\n `tenant_id` bigint(20) unsigned - NOT NULL,\n `name` varchar(255) DEFAULT NULL,\n `description` text DEFAULT NULL,\n - \ `prefix` varchar(100) NOT NULL,\n `length` int(10) unsigned NOT NULL,\n `ip_version` + \ `dns_servers` text DEFAULT NULL,\n `meta` JSON NOT NULL DEFAULT '{}',\n `created_date` + timestamp NOT NULL DEFAULT current_timestamp(),\n `modified_date` timestamp NOT + NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),\n PRIMARY KEY + (`id`),\n UNIQUE KEY `inv_prof_name_uniq` (`name`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n/*!40101 + SET character_set_client = @saved_cs_client */;\n\n--\n-- Table structure for + table `ip`\n--\n\nDROP TABLE IF EXISTS `ip`;\n/*!40101 SET @saved_cs_client = + @@character_set_client */;\n/*!40101 SET character_set_client = utf8 */;\nCREATE + TABLE `ip` (\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n `parent_id` + bigint(20) NOT NULL DEFAULT 0,\n `tenant_id` bigint(20) unsigned NOT NULL,\n + \ `name` varchar(255) DEFAULT NULL,\n `description` text DEFAULT NULL,\n `prefix` + varchar(100) NOT NULL,\n `length` int(10) unsigned NOT NULL,\n `ip_version` enum('ipv4','ipv6') NOT NULL DEFAULT 'ipv4',\n `purpose` enum('common','load-balancer','loopback','mgmt','nat','bgp','endpoint') NOT NULL DEFAULT 'common',\n PRIMARY KEY (`id`),\n KEY `parent_idx` (`parent_id`),\n \ KEY `tenant_idx` (`tenant_id`),\n KEY `purpose_idx` (`purpose`),\n KEY `ipv_idx` @@ -664,116 +664,117 @@ data: unsigned NOT NULL,\n `consumer_id` bigint(20) unsigned DEFAULT NULL,\n `consumer_type` enum('l4lb','vnet','roh','sys','hw','nat') DEFAULT NULL,\n `meta` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin DEFAULT NULL CHECK (json_valid(`meta`)),\n PRIMARY - KEY (`id`),\n KEY `pairs_idx` (`host_id`,`consumer_id`) USING BTREE\n) ENGINE=InnoDB - DEFAULT CHARSET=utf8mb4;\n/*!40101 SET character_set_client = @saved_cs_client - */;\n\n--\n-- Table structure for table `ip_subnet`\n--\n\nDROP TABLE IF EXISTS - `ip_subnet`;\n/*!40101 SET @saved_cs_client = @@character_set_client */;\n/*!40101 - SET character_set_client = utf8 */;\nCREATE TABLE `ip_subnet` (\n `id` bigint(20) - unsigned NOT NULL AUTO_INCREMENT,\n `parent_id` bigint(20) NOT NULL DEFAULT 0,\n - \ `allocation_id` bigint(20) unsigned NOT NULL DEFAULT 0,\n `name` varchar(255) - DEFAULT '',\n `description` text DEFAULT NULL,\n `tenant_id` bigint(20) unsigned - NOT NULL,\n `ip_version` enum('ipv4','ipv6') NOT NULL DEFAULT 'ipv4',\n `purpose` - enum('common','load-balancer','loopback','mgmt','nat','bgp','inactive') NOT NULL - DEFAULT 'common',\n `readonly` enum('yes','no') NOT NULL DEFAULT 'no',\n `prefix` - varchar(255) NOT NULL,\n `length` int(10) unsigned NOT NULL,\n `meta` JSON NULL - DEFAULT '{}',\n PRIMARY KEY (`id`),\n KEY `parent_idx` (`parent_id`),\n KEY - `allocation_idx` (`allocation_id`),\n KEY `tenant_idx` (`tenant_id`),\n KEY - `purposex` (`purpose`),\n KEY `ipv_idx` (`ip_version`),\n KEY `prefix_idx` (`prefix`),\n - \ KEY `length_idx` (`length`),\n CONSTRAINT `allocation_id` FOREIGN KEY (`allocation_id`) - REFERENCES `ip_allocation` (`id`) ON DELETE CASCADE ON UPDATE CASCADE\n) ENGINE=InnoDB + KEY (`id`),\n KEY `consumer_id_idx` (`consumer_id`),\n KEY `consumer_type_idx` + (`consumer_type`),\n KEY `consumer_id_type_idx` (`consumer_id`, `consumer_type`),\n + \ KEY `pairs_idx` (`host_id`,`consumer_id`) USING BTREE\n) ENGINE=InnoDB DEFAULT + CHARSET=utf8mb4;\n/*!40101 SET character_set_client = @saved_cs_client */;\n\n--\n-- + Table structure for table `ip_subnet`\n--\n\nDROP TABLE IF EXISTS `ip_subnet`;\n/*!40101 + SET @saved_cs_client = @@character_set_client */;\n/*!40101 SET character_set_client + = utf8 */;\nCREATE TABLE `ip_subnet` (\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n + \ `parent_id` bigint(20) NOT NULL DEFAULT 0,\n `allocation_id` bigint(20) unsigned + NOT NULL DEFAULT 0,\n `name` varchar(255) DEFAULT '',\n `description` text DEFAULT + NULL,\n `tenant_id` bigint(20) unsigned NOT NULL,\n `ip_version` enum('ipv4','ipv6') + NOT NULL DEFAULT 'ipv4',\n `purpose` enum('common','load-balancer','loopback','mgmt','nat','bgp','inactive') + NOT NULL DEFAULT 'common',\n `readonly` enum('yes','no') NOT NULL DEFAULT 'no',\n + \ `prefix` varchar(255) NOT NULL,\n `length` int(10) unsigned NOT NULL,\n `meta` + JSON NULL DEFAULT '{}',\n PRIMARY KEY (`id`),\n KEY `parent_idx` (`parent_id`),\n + \ KEY `allocation_idx` (`allocation_id`),\n KEY `tenant_idx` (`tenant_id`),\n + \ KEY `purposex` (`purpose`),\n KEY `ipv_idx` (`ip_version`),\n KEY `prefix_idx` + (`prefix`),\n KEY `length_idx` (`length`),\n CONSTRAINT `allocation_id` FOREIGN + KEY (`allocation_id`) REFERENCES `ip_allocation` (`id`) ON DELETE CASCADE ON UPDATE + CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n/*!40101 SET character_set_client + = @saved_cs_client */;\n\n--\n-- Table structure for table `ips_to_l4_lb`\n--\n\nDROP + TABLE IF EXISTS `ips_to_l4_lb`;\n/*!40101 SET @saved_cs_client = @@character_set_client + */;\n/*!40101 SET character_set_client = utf8 */;\nCREATE TABLE `ips_to_l4_lb` + (\n `id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,\n `ip_id` BIGINT(20) UNSIGNED + NOT NULL,\n `l4_lb_id` BIGINT(20) UNSIGNED NOT NULL,\n PRIMARY KEY (`id`),\n + \ KEY `l4_load_balancer_ips` (`ip_id`),\n KEY `l4_load_balancer` (`l4_lb_id`),\n + \ CONSTRAINT `l4_load_balancer` FOREIGN KEY (`l4_lb_id`) REFERENCES `l4_load_balancer` + (`id`) ON DELETE CASCADE ON UPDATE CASCADE,\n CONSTRAINT `l4_load_balancer_ips` + FOREIGN KEY (`ip_id`) REFERENCES `l4_load_balancer_ips` (`id`) ON DELETE CASCADE + ON UPDATE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n/*!40101 SET character_set_client + = @saved_cs_client */;\n\n--\n-- Table structure for table `k8s_api`\n--\n\nDROP + TABLE IF EXISTS `k8s_api`;\n/*!40101 SET @saved_cs_client = @@character_set_client + */;\n/*!40101 SET character_set_client = utf8 */;\nCREATE TABLE `k8s_api` (\n + \ `id` bigint(22) NOT NULL AUTO_INCREMENT,\n `url` varchar(255) NOT NULL,\n `status` + enum('ok','failed') NOT NULL DEFAULT 'failed',\n `heartbeat` timestamp /* mariadb-5.3 + */ NOT NULL DEFAULT current_timestamp(),\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n/*!40101 SET character_set_client = @saved_cs_client - */;\n\n--\n-- Table structure for table `ips_to_l4_lb`\n--\n\nDROP TABLE IF EXISTS - `ips_to_l4_lb`;\n/*!40101 SET @saved_cs_client = @@character_set_client */;\n/*!40101 - SET character_set_client = utf8 */;\nCREATE TABLE `ips_to_l4_lb` (\n `id` BIGINT(20) - UNSIGNED NOT NULL AUTO_INCREMENT,\n `ip_id` BIGINT(20) UNSIGNED NOT NULL,\n `l4_lb_id` - BIGINT(20) UNSIGNED NOT NULL,\n PRIMARY KEY (`id`),\n KEY `l4_load_balancer_ips` - (`ip_id`),\n KEY `l4_load_balancer` (`l4_lb_id`),\n CONSTRAINT `l4_load_balancer` - FOREIGN KEY (`l4_lb_id`) REFERENCES `l4_load_balancer` (`id`) ON DELETE CASCADE - ON UPDATE CASCADE,\n CONSTRAINT `l4_load_balancer_ips` FOREIGN KEY (`ip_id`) - REFERENCES `l4_load_balancer_ips` (`id`) ON DELETE CASCADE ON UPDATE CASCADE\n) - ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n/*!40101 SET character_set_client = @saved_cs_client - */;\n\n--\n-- Table structure for table `k8s_api`\n--\n\nDROP TABLE IF EXISTS - `k8s_api`;\n/*!40101 SET @saved_cs_client = @@character_set_client */;\n/*!40101 - SET character_set_client = utf8 */;\nCREATE TABLE `k8s_api` (\n `id` bigint(22) - NOT NULL AUTO_INCREMENT,\n `url` varchar(255) NOT NULL,\n `status` enum('ok','failed') - NOT NULL DEFAULT 'failed',\n `heartbeat` timestamp /* mariadb-5.3 */ NOT NULL - DEFAULT current_timestamp(),\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n/*!40101 - SET character_set_client = @saved_cs_client */;\n\n--\n-- Table structure for - table `k8s_node`\n--\n\nDROP TABLE IF EXISTS `k8s_node`;\n/*!40101 SET @saved_cs_client - \ = @@character_set_client */;\n/*!40101 SET character_set_client = utf8 */;\nCREATE - TABLE `k8s_node` (\n `id` bigint(22) NOT NULL AUTO_INCREMENT,\n `uid` varchar(45) - DEFAULT NULL,\n `name` varchar(45) NOT NULL,\n `ip` varchar(45) NOT NULL,\n - \ `role` varchar(100) DEFAULT NULL,\n `age` varchar(45) DEFAULT NULL,\n `version` - varchar(45) DEFAULT NULL,\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n/*!40101 - SET character_set_client = @saved_cs_client */;\n\n--\n-- Table structure for - table `k8s_node_to_ebgp`\n--\n\nDROP TABLE IF EXISTS `k8s_node_to_ebgp`;\n/*!40101 + */;\n\n--\n-- Table structure for table `k8s_node`\n--\n\nDROP TABLE IF EXISTS + `k8s_node`;\n/*!40101 SET @saved_cs_client = @@character_set_client */;\n/*!40101 + SET character_set_client = utf8 */;\nCREATE TABLE `k8s_node` (\n `id` bigint(22) + NOT NULL AUTO_INCREMENT,\n `uid` varchar(45) DEFAULT NULL,\n `name` varchar(45) + NOT NULL,\n `ip` varchar(45) NOT NULL,\n `role` varchar(100) DEFAULT NULL,\n + \ `age` varchar(45) DEFAULT NULL,\n `version` varchar(45) DEFAULT NULL,\n PRIMARY + KEY (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n/*!40101 SET character_set_client + = @saved_cs_client */;\n\n--\n-- Table structure for table `k8s_node_to_ebgp`\n--\n\nDROP + TABLE IF EXISTS `k8s_node_to_ebgp`;\n/*!40101 SET @saved_cs_client = @@character_set_client + */;\n/*!40101 SET character_set_client = utf8 */;\nCREATE TABLE `k8s_node_to_ebgp` + (\n `id` bigint(22) NOT NULL AUTO_INCREMENT,\n `node_id` bigint(22) NOT NULL,\n + \ `netpeer_id` bigint(22) unsigned NOT NULL,\n `bgp_error_msg` varchar(255) DEFAULT + NULL,\n PRIMARY KEY (`id`),\n KEY `fk_node_idx` (`node_id`),\n CONSTRAINT `fk_node` + FOREIGN KEY (`node_id`) REFERENCES `k8s_node` (`id`) ON DELETE CASCADE ON UPDATE + CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n/*!40101 SET character_set_client + = @saved_cs_client */;\n\n--\n-- Table structure for table `k8s_service`\n--\n\nDROP + TABLE IF EXISTS `k8s_service`;\n/*!40101 SET @saved_cs_client = @@character_set_client + */;\n/*!40101 SET character_set_client = utf8 */;\nCREATE TABLE `k8s_service` + (\n `id` bigint(22) NOT NULL AUTO_INCREMENT,\n `name` varchar(100) NOT NULL,\n + \ `state` enum('enabled','disabled') NOT NULL DEFAULT 'enabled',\n `kubeconfig` + text DEFAULT NULL,\n `cluster_info` text DEFAULT NULL,\n `tenant_id` bigint(22) + NOT NULL,\n `site_id` bigint(22) NOT NULL,\n `circuit_id` bigint(22) unsigned + NOT NULL,\n `created_date` timestamp /* mariadb-5.3 */ NOT NULL DEFAULT current_timestamp(),\n + \ `modified_date` timestamp /* mariadb-5.3 */ NOT NULL DEFAULT current_timestamp() + ON UPDATE current_timestamp(),\n PRIMARY KEY (`id`),\n UNIQUE KEY `name_UNIQUE` + (`name`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n/*!40101 SET character_set_client + = @saved_cs_client */;\n\n--\n-- Table structure for table `k8s_to_api`\n--\n\nDROP + TABLE IF EXISTS `k8s_to_api`;\n/*!40101 SET @saved_cs_client = @@character_set_client + */;\n/*!40101 SET character_set_client = utf8 */;\nCREATE TABLE `k8s_to_api` (\n + \ `id` bigint(22) NOT NULL AUTO_INCREMENT,\n `k8s_service_id` bigint(22) NOT + NULL,\n `k8s_api_id` bigint(22) NOT NULL,\n PRIMARY KEY (`id`),\n KEY `fk_k8_idx` + (`k8s_service_id`),\n KEY `fk_k8api_idx` (`k8s_api_id`),\n CONSTRAINT `fk_k8` + FOREIGN KEY (`k8s_service_id`) REFERENCES `k8s_service` (`id`) ON DELETE CASCADE + ON UPDATE CASCADE,\n CONSTRAINT `fk_k8api` FOREIGN KEY (`k8s_api_id`) REFERENCES + `k8s_api` (`id`) ON DELETE CASCADE ON UPDATE CASCADE\n) ENGINE=InnoDB DEFAULT + CHARSET=utf8mb4;\n/*!40101 SET character_set_client = @saved_cs_client */;\n\n--\n-- + Table structure for table `k8s_to_lb4`\n--\n\nDROP TABLE IF EXISTS `k8s_to_lb4`;\n/*!40101 SET @saved_cs_client = @@character_set_client */;\n/*!40101 SET character_set_client - = utf8 */;\nCREATE TABLE `k8s_node_to_ebgp` (\n `id` bigint(22) NOT NULL AUTO_INCREMENT,\n - \ `node_id` bigint(22) NOT NULL,\n `netpeer_id` bigint(22) unsigned NOT NULL,\n - \ `bgp_error_msg` varchar(255) DEFAULT NULL,\n PRIMARY KEY (`id`),\n KEY `fk_node_idx` - (`node_id`),\n CONSTRAINT `fk_node` FOREIGN KEY (`node_id`) REFERENCES `k8s_node` + = utf8 */;\nCREATE TABLE `k8s_to_lb4` (\n `id` bigint(22) NOT NULL AUTO_INCREMENT,\n + \ `k8s_id` bigint(22) NOT NULL,\n `lb4_id` int(11) NOT NULL,\n `uid` varchar(100) + NOT NULL,\n `service_name` varchar(255) DEFAULT NULL,\n `namespace` varchar(255) + NOT NULL,\n `api_error_msg` varchar(255) DEFAULT NULL,\n PRIMARY KEY (`id`),\n + \ UNIQUE KEY `unique_uid` (`uid`),\n KEY `fk_k8_idx` (`k8s_id`),\n KEY `fk_l4lb_idx` + (`lb4_id`),\n CONSTRAINT `fkk_k8` FOREIGN KEY (`k8s_id`) REFERENCES `k8s_service` (`id`) ON DELETE CASCADE ON UPDATE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n/*!40101 SET character_set_client = @saved_cs_client */;\n\n--\n-- Table structure for - table `k8s_service`\n--\n\nDROP TABLE IF EXISTS `k8s_service`;\n/*!40101 SET @saved_cs_client - \ = @@character_set_client */;\n/*!40101 SET character_set_client = utf8 */;\nCREATE - TABLE `k8s_service` (\n `id` bigint(22) NOT NULL AUTO_INCREMENT,\n `name` varchar(100) - NOT NULL,\n `state` enum('enabled','disabled') NOT NULL DEFAULT 'enabled',\n - \ `kubeconfig` text DEFAULT NULL,\n `cluster_info` text DEFAULT NULL,\n `tenant_id` - bigint(22) NOT NULL,\n `site_id` bigint(22) NOT NULL,\n `circuit_id` bigint(22) - unsigned NOT NULL,\n `created_date` timestamp /* mariadb-5.3 */ NOT NULL DEFAULT - current_timestamp(),\n `modified_date` timestamp /* mariadb-5.3 */ NOT NULL DEFAULT - current_timestamp() ON UPDATE current_timestamp(),\n PRIMARY KEY (`id`),\n UNIQUE - KEY `name_UNIQUE` (`name`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n/*!40101 - SET character_set_client = @saved_cs_client */;\n\n--\n-- Table structure for - table `k8s_to_api`\n--\n\nDROP TABLE IF EXISTS `k8s_to_api`;\n/*!40101 SET @saved_cs_client + table `k8s_to_node`\n--\n\nDROP TABLE IF EXISTS `k8s_to_node`;\n/*!40101 SET @saved_cs_client \ = @@character_set_client */;\n/*!40101 SET character_set_client = utf8 */;\nCREATE - TABLE `k8s_to_api` (\n `id` bigint(22) NOT NULL AUTO_INCREMENT,\n `k8s_service_id` - bigint(22) NOT NULL,\n `k8s_api_id` bigint(22) NOT NULL,\n PRIMARY KEY (`id`),\n - \ KEY `fk_k8_idx` (`k8s_service_id`),\n KEY `fk_k8api_idx` (`k8s_api_id`),\n - \ CONSTRAINT `fk_k8` FOREIGN KEY (`k8s_service_id`) REFERENCES `k8s_service` (`id`) - ON DELETE CASCADE ON UPDATE CASCADE,\n CONSTRAINT `fk_k8api` FOREIGN KEY (`k8s_api_id`) - REFERENCES `k8s_api` (`id`) ON DELETE CASCADE ON UPDATE CASCADE\n) ENGINE=InnoDB + TABLE `k8s_to_node` (\n `id` bigint(22) NOT NULL AUTO_INCREMENT,\n `k8s_service_id` + bigint(22) NOT NULL,\n `k8s_node_id` bigint(22) NOT NULL,\n PRIMARY KEY (`id`),\n + \ KEY `fk_ks_idx` (`k8s_service_id`),\n KEY `fk_k8node_idx` (`k8s_node_id`),\n + \ CONSTRAINT `fk_k8node` FOREIGN KEY (`k8s_node_id`) REFERENCES `k8s_node` (`id`) + ON DELETE CASCADE ON UPDATE CASCADE,\n CONSTRAINT `fk_ks` FOREIGN KEY (`k8s_service_id`) + REFERENCES `k8s_service` (`id`) ON DELETE CASCADE ON UPDATE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n/*!40101 SET character_set_client = @saved_cs_client - */;\n\n--\n-- Table structure for table `k8s_to_lb4`\n--\n\nDROP TABLE IF EXISTS - `k8s_to_lb4`;\n/*!40101 SET @saved_cs_client = @@character_set_client */;\n/*!40101 - SET character_set_client = utf8 */;\nCREATE TABLE `k8s_to_lb4` (\n `id` bigint(22) - NOT NULL AUTO_INCREMENT,\n `k8s_id` bigint(22) NOT NULL,\n `lb4_id` int(11) - NOT NULL,\n `uid` varchar(100) NOT NULL,\n `service_name` varchar(255) DEFAULT - NULL,\n `namespace` varchar(255) NOT NULL,\n `api_error_msg` varchar(255) DEFAULT - NULL,\n PRIMARY KEY (`id`),\n UNIQUE KEY `unique_uid` (`uid`),\n KEY `fk_k8_idx` - (`k8s_id`),\n KEY `fk_l4lb_idx` (`lb4_id`),\n CONSTRAINT `fkk_k8` FOREIGN KEY - (`k8s_id`) REFERENCES `k8s_service` (`id`) ON DELETE CASCADE ON UPDATE CASCADE\n) - ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n/*!40101 SET character_set_client = @saved_cs_client - */;\n\n--\n-- Table structure for table `k8s_to_node`\n--\n\nDROP TABLE IF EXISTS - `k8s_to_node`;\n/*!40101 SET @saved_cs_client = @@character_set_client */;\n/*!40101 - SET character_set_client = utf8 */;\nCREATE TABLE `k8s_to_node` (\n `id` bigint(22) - NOT NULL AUTO_INCREMENT,\n `k8s_service_id` bigint(22) NOT NULL,\n `k8s_node_id` - bigint(22) NOT NULL,\n PRIMARY KEY (`id`),\n KEY `fk_ks_idx` (`k8s_service_id`),\n - \ KEY `fk_k8node_idx` (`k8s_node_id`),\n CONSTRAINT `fk_k8node` FOREIGN KEY (`k8s_node_id`) - REFERENCES `k8s_node` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,\n CONSTRAINT - `fk_ks` FOREIGN KEY (`k8s_service_id`) REFERENCES `k8s_service` (`id`) ON DELETE - CASCADE ON UPDATE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n/*!40101 - SET character_set_client = @saved_cs_client */;\n\n--\n-- Table structure for - table `l4_load_balancer`\n--\n\nDROP TABLE IF EXISTS `l4_load_balancer`;\n/*!40101 + */;\n\n--\n-- Table structure for table `l4_load_balancer`\n--\n\nDROP TABLE IF + EXISTS `l4_load_balancer`;\n/*!40101 SET @saved_cs_client = @@character_set_client + */;\n/*!40101 SET character_set_client = utf8 */;\nCREATE TABLE `l4_load_balancer` + (\n `id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,\n `name` varchar(255) + DEFAULT NULL,\n `tenant` BIGINT(20) UNSIGNED NOT NULL,\n `site` BIGINT(20) UNSIGNED + NOT NULL,\n `protocol` enum('TCP','UDP') DEFAULT 'TCP',\n `status` enum('enable','disable') + DEFAULT 'enable',\n `provisioning` enum('yes','no') NOT NULL DEFAULT 'yes',\n + \ `automatic` enum('true','false') DEFAULT 'false',\n `healthcheck` text DEFAULT + NULL,\n `internal` int(10) DEFAULT 0,\n `kubenet_info` text DEFAULT NULL,\n + \ `created_date` timestamp /* mariadb-5.3 */ NOT NULL DEFAULT current_timestamp(),\n + \ `modified_date` timestamp /* mariadb-5.3 */ NOT NULL DEFAULT current_timestamp() + ON UPDATE current_timestamp(),\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB DEFAULT + CHARSET=utf8mb4;\n/*!40101 SET character_set_client = @saved_cs_client */;\n\n--\n-- + Table structure for table `l4_load_balancer_ips`\n--\n\nDROP TABLE IF EXISTS `l4_load_balancer_ips`;\n/*!40101 SET @saved_cs_client = @@character_set_client */;\n/*!40101 SET character_set_client - = utf8 */;\nCREATE TABLE `l4_load_balancer` (\n `id` BIGINT(20) UNSIGNED NOT - NULL AUTO_INCREMENT,\n `name` varchar(255) DEFAULT NULL,\n `tenant` BIGINT(20) - UNSIGNED NOT NULL,\n `site` BIGINT(20) UNSIGNED NOT NULL,\n `protocol` enum('TCP','UDP') - DEFAULT 'TCP',\n `status` enum('enable','disable') DEFAULT 'enable',\n `provisioning` - enum('yes','no') NOT NULL DEFAULT 'yes',\n `automatic` enum('true','false') DEFAULT - 'false',\n `healthcheck` text DEFAULT NULL,\n `internal` int(10) DEFAULT 0,\n - \ `kubenet_info` text DEFAULT NULL,\n `created_date` timestamp /* mariadb-5.3 - */ NOT NULL DEFAULT current_timestamp(),\n `modified_date` timestamp /* mariadb-5.3 - */ NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),\n PRIMARY - KEY (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n/*!40101 SET character_set_client - = @saved_cs_client */;\n\n--\n-- Table structure for table `l4_load_balancer_ips`\n--\n\nDROP - TABLE IF EXISTS `l4_load_balancer_ips`;\n/*!40101 SET @saved_cs_client = @@character_set_client - */;\n/*!40101 SET character_set_client = utf8 */;\nCREATE TABLE `l4_load_balancer_ips` - (\n `id` BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,\n `ip` varchar(45) DEFAULT - NULL,\n `port` int(10) NOT NULL,\n `maintenance` enum('true','false') DEFAULT - 'false',\n `status` enum('ok','failed','maintenance','loading','unknown') DEFAULT - 'loading',\n `response` varchar(255) DEFAULT NULL,\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB - DEFAULT CHARSET=utf8mb4;\n/*!40101 SET character_set_client = @saved_cs_client + = utf8 */;\nCREATE TABLE `l4_load_balancer_ips` (\n `id` BIGINT(20) UNSIGNED + NOT NULL AUTO_INCREMENT,\n `ip` varchar(45) DEFAULT NULL,\n `port` int(10) NOT + NULL,\n `maintenance` enum('true','false') DEFAULT 'false',\n `status` enum('ok','failed','maintenance','loading','unknown') + DEFAULT 'loading',\n `response` varchar(255) DEFAULT NULL,\n PRIMARY KEY (`id`)\n) + ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n/*!40101 SET character_set_client = @saved_cs_client */;\n\n--\n-- Table structure for table `lb_check`\n--\n\nDROP TABLE IF EXISTS `lb_check`;\n/*!40101 SET @saved_cs_client = @@character_set_client */;\n/*!40101 SET character_set_client = utf8 */;\nCREATE TABLE `lb_check` (\n `id` bigint(20) @@ -896,8 +897,9 @@ data: enum('deny','permit') NOT NULL DEFAULT 'deny',\n `switch_fabric` enum('netris', 'equinix_metal', 'dot1q_trunk', 'phoenixnap_bmc') NOT NULL DEFAULT 'netris',\n \ `vlan_range` VARCHAR(100) NOT NULL DEFAULT '1-4094',\n `vlan_range_auto_assign` - varchar(100) NOT NULL DEFAULT '2-4094',\n `meta` JSON NULL DEFAULT '{}',\n PRIMARY - KEY (`id`),\n UNIQUE KEY `id_UNIQUE` (`id`),\n UNIQUE KEY `name_UNIQUE` (`name`)\n) + varchar(100) NOT NULL DEFAULT '2-4094',\n `vlan_range_sys_reserved` varchar(100) + NOT NULL DEFAULT '3600-4094',\n `meta` JSON NULL DEFAULT '{}',\n PRIMARY KEY + (`id`),\n UNIQUE KEY `id_UNIQUE` (`id`),\n UNIQUE KEY `name_UNIQUE` (`name`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8;\n/*!40101 SET character_set_client = @saved_cs_client */;\n\n--\n-- Table structure for table `net_vpn`\n--\n\nDROP TABLE IF EXISTS `net_vpn`;\n/*!40101 SET @saved_cs_client = @@character_set_client */;\n/*!40101 @@ -969,25 +971,26 @@ data: NOT NULL DEFAULT 0,\n `status` varchar(255) DEFAULT NULL,\n `speed` varchar(255) DEFAULT NULL,\n `speed_desired` enum('1000','10000','25000','40000','50000','100000','200000','400000','auto') NOT NULL DEFAULT 'auto',\n `transceiver` varchar(255) DEFAULT NULL,\n `mtu` - int(10) NOT NULL DEFAULT 9000,\n `lacp` enum('on','off') NOT NULL DEFAULT 'off',\n + int(10) NOT NULL DEFAULT 9216,\n `lacp` enum('on','off') NOT NULL DEFAULT 'off',\n \ `port_extension` bigint(20) unsigned NOT NULL DEFAULT 0,\n `parent_port` bigint(20) unsigned NOT NULL DEFAULT 0,\n `admin_down` enum('yes','no') DEFAULT 'no',\n \ `autoneg` enum('none','on','off') DEFAULT 'none',\n `duplex` enum('full','half','none') - DEFAULT 'none',\n `breakout` enum('off','manual','4x10','4x25','4x100') DEFAULT - 'off',\n `created_date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE - current_timestamp(),\n `modified_date` timestamp NULL DEFAULT current_timestamp() - ON UPDATE current_timestamp(),\n UNIQUE KEY `port_id_UNIQUE` (`port_id`),\n KEY - `port_switch_id_IDX` (`switch_id`) USING BTREE\n) ENGINE=InnoDB DEFAULT CHARSET=latin1;\n/*!40101 - SET character_set_client = @saved_cs_client */;\n\n--\n-- Table structure for - table `port_extensions`\n--\n\nDROP TABLE IF EXISTS `port_extensions`;\n/*!40101 - SET @saved_cs_client = @@character_set_client */;\n/*!40101 SET character_set_client - = utf8 */;\nCREATE TABLE `port_extensions` (\n `id` bigint(20) unsigned NOT NULL - AUTO_INCREMENT,\n `name` varchar(255) DEFAULT NULL,\n `vlan_from` smallint(5) - unsigned DEFAULT 0,\n `vlan_to` smallint(5) unsigned DEFAULT 0,\n `type` enum('hp_blade') - NOT NULL DEFAULT 'hp_blade',\n UNIQUE KEY `id` (`id`)\n) ENGINE=InnoDB DEFAULT - CHARSET=latin1;\n/*!40101 SET character_set_client = @saved_cs_client */;\n\n--\n-- - Table structure for table `port_reservation`\n--\n\nDROP TABLE IF EXISTS `port_reservation`;\n/*!40101 - SET @saved_cs_client = @@character_set_client */;\n/*!40101 SET character_set_client + DEFAULT 'none',\n `breakout` enum('off', 'disabled', '4x10', '4x25', '2x50', + '4x50', '2x100', '4x100', '2x200', '4x200', '2x400') DEFAULT 'off',\n `created_date` + timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),\n + \ `modified_date` timestamp NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),\n + \ UNIQUE KEY `port_id_UNIQUE` (`port_id`),\n KEY `port_switch_id_IDX` (`switch_id`) + USING BTREE\n) ENGINE=InnoDB DEFAULT CHARSET=latin1;\n/*!40101 SET character_set_client + = @saved_cs_client */;\n\n--\n-- Table structure for table `port_extensions`\n--\n\nDROP + TABLE IF EXISTS `port_extensions`;\n/*!40101 SET @saved_cs_client = @@character_set_client + */;\n/*!40101 SET character_set_client = utf8 */;\nCREATE TABLE `port_extensions` + (\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n `name` varchar(255) + DEFAULT NULL,\n `vlan_from` smallint(5) unsigned DEFAULT 0,\n `vlan_to` smallint(5) + unsigned DEFAULT 0,\n `type` enum('hp_blade') NOT NULL DEFAULT 'hp_blade',\n + \ UNIQUE KEY `id` (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=latin1;\n/*!40101 SET + character_set_client = @saved_cs_client */;\n\n--\n-- Table structure for table + `port_reservation`\n--\n\nDROP TABLE IF EXISTS `port_reservation`;\n/*!40101 SET + @saved_cs_client = @@character_set_client */;\n/*!40101 SET character_set_client = utf8 */;\nCREATE TABLE `port_reservation` (\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n `port_id` bigint(20) NOT NULL,\n PRIMARY KEY (`id`),\n UNIQUE KEY `port_id_unique` (`port_id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n\n/*!40101 @@ -1038,30 +1041,31 @@ data: int(10) unsigned NOT NULL DEFAULT 0,\n `state` enum('active','disabled','provisioning','hidden') NOT NULL DEFAULT 'active',\n `provisioning` int(10) unsigned NOT NULL DEFAULT 0,\n `internal` int(10) unsigned NOT NULL DEFAULT 0,\n `va_mode` int(10) unsigned - DEFAULT 0,\n `va_native_vlan` int(11) unsigned DEFAULT NULL,\n `va_vlans` text - DEFAULT NULL,\n `create_date` timestamp /* mariadb-5.3 */ NOT NULL DEFAULT current_timestamp(),\n - \ `modified_date` timestamp /* mariadb-5.3 */ NOT NULL DEFAULT current_timestamp() - ON UPDATE current_timestamp(),\n PRIMARY KEY (`id`),\n KEY `vpcid` (`vpc_id`),\n - \ CONSTRAINT `vnet_vpc_ibfk_1` FOREIGN KEY (`vpc_id`) REFERENCES `vpc` (`id`) - ON DELETE CASCADE ON UPDATE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n/*!40101 - SET character_set_client = @saved_cs_client */;\n\n--\n-- Table structure for - table `rcircuit2member`\n--\n\nDROP TABLE IF EXISTS `rcircuit2member`;\n/*!40101 - SET @saved_cs_client = @@character_set_client */;\n/*!40101 SET character_set_client - = utf8 */;\nCREATE TABLE `rcircuit2member` (\n `id` bigint(22) unsigned NOT NULL - AUTO_INCREMENT,\n `rcircuit_id` bigint(22) unsigned NOT NULL,\n `rcircuit_member_id` - bigint(22) unsigned NOT NULL,\n PRIMARY KEY (`id`),\n UNIQUE KEY `unique_c_m` - (`rcircuit_id`,`rcircuit_member_id`),\n KEY `fk_member_idx` (`rcircuit_member_id`),\n - \ KEY `fk_circuit_idx` (`rcircuit_id`),\n CONSTRAINT `fk_circuit` FOREIGN KEY - (`rcircuit_id`) REFERENCES `rcircuit` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,\n - \ CONSTRAINT `fk_member` FOREIGN KEY (`rcircuit_member_id`) REFERENCES `rcircuit_members` - (`id`) ON DELETE CASCADE ON UPDATE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n/*!40101 - SET character_set_client = @saved_cs_client */;\n\n--\n-- Table structure for - table `rcircuit_gw2reserved_ip`\n--\n\nDROP TABLE IF EXISTS `rcircuit_gw2reserved_ip`;\n/*!40101 - SET @saved_cs_client = @@character_set_client */;\n/*!40101 SET character_set_client - = utf8 */;\nCREATE TABLE `rcircuit_gw2reserved_ip` (\n `id` bigint(20) unsigned - NOT NULL AUTO_INCREMENT,\n `rcircuit_gw_id` bigint(22) unsigned NOT NULL,\n `ip_assignment_id` - bigint(20) unsigned NOT NULL,\n `switch_id` bigint(20) unsigned DEFAULT NULL,\n - \ PRIMARY KEY (`id`),\n UNIQUE KEY `id_UNIQUE` (`id`),\n KEY `fk_gw_idx` (`rcircuit_gw_id`),\n + DEFAULT 0,\n `l3vpn` int(10) unsigned DEFAULT 0,\n `va_native_vlan` int(11) + unsigned DEFAULT NULL,\n `va_vlans` text DEFAULT NULL,\n `create_date` timestamp + /* mariadb-5.3 */ NOT NULL DEFAULT current_timestamp(),\n `modified_date` timestamp + /* mariadb-5.3 */ NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),\n + \ PRIMARY KEY (`id`),\n KEY `vpcid` (`vpc_id`),\n CONSTRAINT `vnet_vpc_ibfk_1` + FOREIGN KEY (`vpc_id`) REFERENCES `vpc` (`id`) ON DELETE CASCADE ON UPDATE CASCADE\n) + ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n/*!40101 SET character_set_client = @saved_cs_client + */;\n\n--\n-- Table structure for table `rcircuit2member`\n--\n\nDROP TABLE IF + EXISTS `rcircuit2member`;\n/*!40101 SET @saved_cs_client = @@character_set_client + */;\n/*!40101 SET character_set_client = utf8 */;\nCREATE TABLE `rcircuit2member` + (\n `id` bigint(22) unsigned NOT NULL AUTO_INCREMENT,\n `rcircuit_id` bigint(22) + unsigned NOT NULL,\n `rcircuit_member_id` bigint(22) unsigned NOT NULL,\n PRIMARY + KEY (`id`),\n UNIQUE KEY `unique_c_m` (`rcircuit_id`,`rcircuit_member_id`),\n + \ KEY `fk_member_idx` (`rcircuit_member_id`),\n KEY `fk_circuit_idx` (`rcircuit_id`),\n + \ CONSTRAINT `fk_circuit` FOREIGN KEY (`rcircuit_id`) REFERENCES `rcircuit` (`id`) + ON DELETE CASCADE ON UPDATE CASCADE,\n CONSTRAINT `fk_member` FOREIGN KEY (`rcircuit_member_id`) + REFERENCES `rcircuit_members` (`id`) ON DELETE CASCADE ON UPDATE CASCADE\n) ENGINE=InnoDB + DEFAULT CHARSET=utf8mb4;\n/*!40101 SET character_set_client = @saved_cs_client + */;\n\n--\n-- Table structure for table `rcircuit_gw2reserved_ip`\n--\n\nDROP + TABLE IF EXISTS `rcircuit_gw2reserved_ip`;\n/*!40101 SET @saved_cs_client = + @@character_set_client */;\n/*!40101 SET character_set_client = utf8 */;\nCREATE + TABLE `rcircuit_gw2reserved_ip` (\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n + \ `rcircuit_gw_id` bigint(22) unsigned NOT NULL,\n `ip_assignment_id` bigint(20) + unsigned NOT NULL,\n `switch_id` bigint(20) unsigned DEFAULT NULL,\n PRIMARY + KEY (`id`),\n UNIQUE KEY `id_UNIQUE` (`id`),\n KEY `fk_gw_idx` (`rcircuit_gw_id`),\n \ KEY `fk_switch_idx` (`switch_id`),\n CONSTRAINT `fk_gw` FOREIGN KEY (`rcircuit_gw_id`) REFERENCES `circuit_gateways` (`id`) ON DELETE CASCADE ON UPDATE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n/*!40101 SET character_set_client = @saved_cs_client @@ -1280,29 +1284,29 @@ data: DEFAULT 0,\n `uptime` varchar(255) CHARACTER SET latin1 NOT NULL DEFAULT '',\n \ `sync_acl` enum('ok','ongoing','failed') CHARACTER SET latin1 NOT NULL DEFAULT 'ok',\n `type` enum('switch','proxmox','controller','offloader','equinix_metal_server', - 'phoenixnap_bmc_server') CHARACTER SET latin1 NOT NULL DEFAULT 'switch',\n `rangecut` - int(10) unsigned NOT NULL DEFAULT 0,\n `cumulus_version` varchar(100) CHARACTER - SET latin1 DEFAULT NULL,\n `proxmox_version` varchar(100) CHARACTER SET latin1 - DEFAULT NULL,\n `conductor_version` varchar(100) CHARACTER SET latin1 DEFAULT - NULL,\n `platform` varchar(255) CHARACTER SET latin1 DEFAULT NULL,\n `ntp` varchar(255) - CHARACTER SET latin1 DEFAULT NULL,\n `dns` varchar(255) CHARACTER SET latin1 - DEFAULT NULL,\n `mac_address` varchar(255) DEFAULT NULL,\n `ztp` int(10) unsigned - NOT NULL DEFAULT 0,\n `nos` varchar(45) DEFAULT NULL,\n `timezone` varchar(255) - CHARACTER SET latin1 DEFAULT NULL,\n `number_of_ports` smallint(5) unsigned DEFAULT - NULL,\n `owner_tenant_id` bigint(20) unsigned NOT NULL,\n `mac_addr_ubit` int(10) - unsigned NOT NULL DEFAULT 0,\n `meta` JSON NULL DEFAULT '{}',\n `created_date` - timestamp NOT NULL DEFAULT current_timestamp(),\n `modified_date` timestamp NOT - NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),\n PRIMARY KEY - (`switch_id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8;\n/*!40101 SET character_set_client - = @saved_cs_client */;\n\n--\n-- Table structure for table `topology`\n--\n\nDROP - TABLE IF EXISTS `topology`;\n/*!40101 SET @saved_cs_client = @@character_set_client - */;\n/*!40101 SET character_set_client = utf8 */;\nCREATE TABLE `topology` (\n - \ `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n `user_id` bigint(22) NOT - NULL,\n `site_id` bigint(22) NOT NULL,\n `positions` text DEFAULT NULL,\n `options` - text DEFAULT NULL,\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n/*!40101 - SET character_set_client = @saved_cs_client */;\n\n--\n-- Table structure for - table `topology_link`\n--\n\nDROP TABLE IF EXISTS `topology_link`;\n/*!40101 SET - @saved_cs_client = @@character_set_client */;\n/*!40101 SET character_set_client + 'phoenixnap_bmc_server', 'server') CHARACTER SET latin1 NOT NULL DEFAULT 'switch',\n + \ `rangecut` int(10) unsigned NOT NULL DEFAULT 0,\n `cumulus_version` varchar(100) + CHARACTER SET latin1 DEFAULT NULL,\n `proxmox_version` varchar(100) CHARACTER + SET latin1 DEFAULT NULL,\n `conductor_version` varchar(100) CHARACTER SET latin1 + DEFAULT NULL,\n `platform` varchar(255) CHARACTER SET latin1 DEFAULT NULL,\n + \ `ntp` varchar(255) CHARACTER SET latin1 DEFAULT NULL,\n `dns` varchar(255) + CHARACTER SET latin1 DEFAULT NULL,\n `mac_address` varchar(255) DEFAULT NULL,\n + \ `ztp` int(10) unsigned NOT NULL DEFAULT 0,\n `nos` varchar(45) DEFAULT NULL,\n + \ `timezone` varchar(255) CHARACTER SET latin1 DEFAULT NULL,\n `number_of_ports` + smallint(5) unsigned DEFAULT NULL,\n `owner_tenant_id` bigint(20) unsigned NOT + NULL,\n `mac_addr_ubit` int(10) unsigned NOT NULL DEFAULT 0,\n `meta` JSON NULL + DEFAULT '{}',\n `created_date` timestamp NOT NULL DEFAULT current_timestamp(),\n + \ `modified_date` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),\n + \ PRIMARY KEY (`switch_id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8;\n/*!40101 SET + character_set_client = @saved_cs_client */;\n\n--\n-- Table structure for table + `topology`\n--\n\nDROP TABLE IF EXISTS `topology`;\n/*!40101 SET @saved_cs_client + \ = @@character_set_client */;\n/*!40101 SET character_set_client = utf8 */;\nCREATE + TABLE `topology` (\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n `user_id` + bigint(22) NOT NULL,\n `site_id` bigint(22) NOT NULL,\n `positions` text DEFAULT + NULL,\n `options` text DEFAULT NULL,\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB DEFAULT + CHARSET=utf8mb4;\n/*!40101 SET character_set_client = @saved_cs_client */;\n\n--\n-- + Table structure for table `topology_link`\n--\n\nDROP TABLE IF EXISTS `topology_link`;\n/*!40101 + SET @saved_cs_client = @@character_set_client */;\n/*!40101 SET character_set_client = utf8 */;\nCREATE TABLE `topology_link` (\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n `origin` bigint(20) unsigned DEFAULT NULL,\n `dest` bigint(20) unsigned DEFAULT NULL,\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n/*!40101 @@ -1407,31 +1411,97 @@ data: SET @saved_cs_client = @@character_set_client */;\n/*!40101 SET character_set_client = utf8 */;\nCREATE TABLE `tag_reservation` (\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n `tag_id` bigint(20) unsigned NOT NULL,\n `resource_id` bigint(20) - unsigned NOT NULL,\n `resource_type` enum('hw','vnet','roh','bgp','vpc') DEFAULT - NULL,\n `meta` longtext NOT NULL DEFAULT '{}' CHECK (json_valid(`meta`)),\n PRIMARY - KEY (`id`),\n KEY `pairs_idx` (`tag_id`,`resource_id`) USING BTREE,\n CONSTRAINT - `fk1` FOREIGN KEY (`tag_id`) REFERENCES `tag` (`id`) ON DELETE RESTRICT ON UPDATE - CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n/*!40101 SET character_set_client - = @saved_cs_client */;\n\n\n\n--\n-- Table structure for table `mac_address`\n--\n\nDROP - TABLE IF EXISTS `mac_address`;\n/*!40101 SET @saved_cs_client = @@character_set_client - */;\n/*!40101 SET character_set_client = utf8 */;\nCREATE TABLE `mac_address` - (\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n `host_id` bigint(20) - unsigned NOT NULL,\n `mac` varchar(20) NOT NULL,\n `state` enum('active','deleted') - NOT NULL DEFAULT 'active',\n `source` enum('none','dhcp','arp') NOT NULL DEFAULT - 'none',\n `created_date` timestamp NOT NULL DEFAULT current_timestamp(),\n `modified_date` - timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),\n - \ PRIMARY KEY (`id`),\n KEY `host_id_idx` (`host_id`),\n KEY `mac_address_idx` - (`mac`),\n KEY `state_source_idx` (`state`,`source`),\n CONSTRAINT `host_id` - FOREIGN KEY (`host_id`) REFERENCES `ip_host` (`id`) ON DELETE CASCADE ON UPDATE - CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n/*!40101 SET character_set_client - = @saved_cs_client */;\n\n\nLOCK TABLES `mac_address` WRITE;\n/*!40000 ALTER TABLE - `mac_address` DISABLE KEYS */;\n/*!40000 ALTER TABLE `mac_address` ENABLE KEYS - */;\nUNLOCK TABLES;\n/*!50003 SET @saved_cs_client = @@character_set_client - */ ;\n/*!50003 SET @saved_cs_results = @@character_set_results */ ;\n/*!50003 - SET @saved_col_connection = @@collation_connection */ ;\n/*!50003 SET character_set_client - \ = utf8 */ ;\n/*!50003 SET character_set_results = utf8 */ ;\n/*!50003 SET collation_connection - \ = utf8_general_ci */ ;\n/*!50003 SET @saved_sql_mode = @@sql_mode */ ;\n/*!50003 - SET sql_mode = 'STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' + unsigned NOT NULL,\n `resource_type` enum('hw','vnet','roh','bgp','vpc','servercluster') + DEFAULT NULL,\n `meta` longtext NOT NULL DEFAULT '{}' CHECK (json_valid(`meta`)),\n + \ PRIMARY KEY (`id`),\n KEY `pairs_idx` (`tag_id`,`resource_id`) USING BTREE,\n + \ CONSTRAINT `fk1` FOREIGN KEY (`tag_id`) REFERENCES `tag` (`id`) ON DELETE RESTRICT + ON UPDATE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;\n/*!40101 SET character_set_client + = @saved_cs_client */;\n\n--\n-- Table structure for table `optimistic_locks`\n--\n\nDROP + TABLE IF EXISTS `optimistic_locks`;\n/*!40101 SET @saved_cs_client = @@character_set_client + */;\n/*!40101 SET character_set_client = utf8 */;\nCREATE TABLE `optimistic_locks` + (\n `name` varchar(100) DEFAULT NULL,\n `version` bigint(20) DEFAULT NULL,\n + \ KEY `version` (`name`)\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;\n/*!40101 + SET character_set_client = @saved_cs_client */;\n\n--\n-- Dumping data for table + `optimistic_locks`\n--\n\nLOCK TABLES `optimistic_locks` WRITE;\n/*!40000 ALTER + TABLE `optimistic_locks` DISABLE KEYS */;\nINSERT INTO `optimistic_locks` VALUES + ('port_reservation',0),('vlan_reservation',0),('vxlan_reservation',0),('asn_reservation',0);\n/*!40000 + ALTER TABLE `optimistic_locks` ENABLE KEYS */;\nUNLOCK TABLES;\n/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE + */;\n\n--\n-- Table structure for table `license`\n--\n\nDROP TABLE IF EXISTS + `license`;\n/*!40101 SET @saved_cs_client = @@character_set_client */;\n/*!40101 + SET character_set_client = utf8 */;\nCREATE TABLE `license` (\n `id` bigint(20) + unsigned NOT NULL AUTO_INCREMENT,\n `lkey` text NOT NULL,\n PRIMARY KEY (`id`)\n) + ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;\n/*!40101 SET + character_set_client = @saved_cs_client */;\n\n--\n-- Table structure for table + `srv_cluster_template`\n--\n\nDROP TABLE IF EXISTS `srv_cluster_template`;\n/*!40101 + SET @saved_cs_client = @@character_set_client */;\n/*!40101 SET character_set_client + = utf8 */;\nCREATE TABLE `srv_cluster_template` (\n `id` bigint(20) unsigned + NOT NULL AUTO_INCREMENT,\n `name` varchar(100) NOT NULL,\n `create_date` timestamp + NOT NULL DEFAULT current_timestamp(),\n `modified_date` timestamp NULL DEFAULT + current_timestamp() ON UPDATE current_timestamp(),\n PRIMARY KEY (`id`)\n) ENGINE=InnoDB + DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;\n/*!40101 SET character_set_client + = @saved_cs_client */;\n\n--\n-- Table structure for table `srv_cluster_template_rel`\n--\n\nDROP + TABLE IF EXISTS `srv_cluster_template_rel`;\n/*!40101 SET @saved_cs_client = + @@character_set_client */;\n/*!40101 SET character_set_client = utf8 */;\nCREATE + TABLE `srv_cluster_template_rel` (\n `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,\n + \ `template_id` bigint(20) unsigned NOT NULL,\n `template_props_id` bigint(20) + unsigned NOT NULL,\n PRIMARY KEY (`id`),\n KEY `srvcls_tid_idx` (`template_id`),\n + \ KEY `srvcls_oid_idx` (`template_props_id`),\n KEY `srvcls_tid_oid_idx` (`template_id`,`template_props_id`),\n + \ CONSTRAINT `srvcls_obj_id_fk` FOREIGN KEY (`template_props_id`) REFERENCES `srv_cluster_template_props` + (`id`) ON DELETE CASCADE ON UPDATE CASCADE,\n CONSTRAINT `srvcls_tmpl_id_fk` + FOREIGN KEY (`template_id`) REFERENCES `srv_cluster_template` (`id`) ON DELETE + CASCADE ON UPDATE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;\n/*!40101 + SET character_set_client = @saved_cs_client */;\n\n--\n-- Table structure for + table `srv_cluster_template_props`\n--\n\nDROP TABLE IF EXISTS `srv_cluster_template_props`;\n/*!40101 + SET @saved_cs_client = @@character_set_client */;\n/*!40101 SET character_set_client + = utf8 */;\nCREATE TABLE `srv_cluster_template_props` (\n `id` bigint(20) unsigned + NOT NULL AUTO_INCREMENT,\n `type` enum('vnet') NOT NULL,\n `props` longtext + CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NOT NULL DEFAULT '{}' CHECK (json_valid(`props`)),\n + \ PRIMARY KEY (`id`),\n KEY `srvcls_tmpl_obj_type_idx` (`type`)\n) ENGINE=InnoDB + DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;\n/*!40101 SET character_set_client + = @saved_cs_client */;\n/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;\n\n--\n-- Table + structure for table `srv_cluster_service_rel`\n--\n\nDROP TABLE IF EXISTS `srv_cluster_service_rel`;\n/*!40101 + SET @saved_cs_client = @@character_set_client */;\n/*!40101 SET character_set_client + = utf8 */;\nCREATE TABLE `srv_cluster_service_rel` (\n `id` bigint(20) unsigned + NOT NULL AUTO_INCREMENT,\n `cluster_id` bigint(20) unsigned NOT NULL,\n `cluster_svc_id` + bigint(20) unsigned NOT NULL,\n `srv_cls_templ_props_id` bigint(20) unsigned + DEFAULT NULL,\n `type` enum('vnet','hw','allocation','subnet') NOT NULL,\n PRIMARY + KEY (`id`),\n KEY `sctpid_idx` (`srv_cls_templ_props_id`),\n KEY `cid_svcid_idx` + (`cluster_id`,`cluster_svc_id`),\n CONSTRAINT `srvcls_id_fk` FOREIGN KEY (`cluster_id`) + REFERENCES `srv_cluster` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,\n CONSTRAINT + `srvcls_tmpl_props_id_fk` FOREIGN KEY (`srv_cls_templ_props_id`) REFERENCES `srv_cluster_template_props` + (`id`) ON DELETE CASCADE ON UPDATE CASCADE\n) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 + COLLATE=utf8mb4_general_ci;\n/*!40101 SET character_set_client = @saved_cs_client + */;\n\n--\n-- Table structure for table `srv_cluster`\n--\n\nDROP TABLE IF EXISTS + `srv_cluster`;\n/*!40101 SET @saved_cs_client = @@character_set_client */;\n/*!40101 + SET character_set_client = utf8 */;\nCREATE TABLE `srv_cluster` (\n `id` bigint(20) + unsigned NOT NULL AUTO_INCREMENT,\n `name` varchar(100) NOT NULL,\n `tenant_id` + bigint(20) unsigned NOT NULL,\n `site_id` bigint(20) unsigned NOT NULL,\n `vpc_id` + bigint(20) unsigned NOT NULL,\n `template_id` bigint(20) unsigned NOT NULL,\n + \ `create_date` timestamp NOT NULL DEFAULT current_timestamp(),\n `modified_date` + timestamp NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),\n PRIMARY + KEY (`id`),\n KEY `srv_cls_tmpl_id_fk` (`template_id`),\n CONSTRAINT `srv_cls_tmpl_id_fk` + FOREIGN KEY (`template_id`) REFERENCES `srv_cluster_template` (`id`)\n) ENGINE=InnoDB + DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;\n\n--\n-- Table structure + for table `mac_address`\n--\n\nDROP TABLE IF EXISTS `mac_address`;\n/*!40101 SET + @saved_cs_client = @@character_set_client */;\n/*!40101 SET character_set_client + = utf8 */;\nCREATE TABLE `mac_address` (\n `id` bigint(20) unsigned NOT NULL + AUTO_INCREMENT,\n `host_id` bigint(20) unsigned NOT NULL,\n `mac` varchar(20) + NOT NULL,\n `state` enum('active','deleted') NOT NULL DEFAULT 'active',\n `source` + enum('none','dhcp','arp') NOT NULL DEFAULT 'none',\n `created_date` timestamp + NOT NULL DEFAULT current_timestamp(),\n `modified_date` timestamp NOT NULL DEFAULT + current_timestamp() ON UPDATE current_timestamp(),\n PRIMARY KEY (`id`),\n KEY + `host_id_idx` (`host_id`),\n KEY `mac_address_idx` (`mac`),\n KEY `state_source_idx` + (`state`,`source`),\n CONSTRAINT `host_id` FOREIGN KEY (`host_id`) REFERENCES + `ip_host` (`id`) ON DELETE CASCADE ON UPDATE CASCADE\n) ENGINE=InnoDB DEFAULT + CHARSET=utf8mb4;\n/*!40101 SET character_set_client = @saved_cs_client */;\n\n\nLOCK + TABLES `mac_address` WRITE;\n/*!40000 ALTER TABLE `mac_address` DISABLE KEYS */;\n/*!40000 + ALTER TABLE `mac_address` ENABLE KEYS */;\nUNLOCK TABLES;\n/*!50003 SET @saved_cs_client + \ = @@character_set_client */ ;\n/*!50003 SET @saved_cs_results = @@character_set_results + */ ;\n/*!50003 SET @saved_col_connection = @@collation_connection */ ;\n/*!50003 + SET character_set_client = utf8 */ ;\n/*!50003 SET character_set_results = utf8 + */ ;\n/*!50003 SET collation_connection = utf8_general_ci */ ;\n/*!50003 SET + @saved_sql_mode = @@sql_mode */ ;\n/*!50003 SET sql_mode = + 'STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ;\nDELIMITER ;;\n/*!50003 CREATE TRIGGER `dhcp-lease-delete` AFTER DELETE ON `mac_address` \nFOR EACH ROW BEGIN\n SELECT count(id) INTO @UsedHostCount FROM `mac_address` WHERE `host_id` = OLD.host_id;\n IF @UsedHostCount = 0\n THEN\n @@ -1664,8 +1734,8 @@ data: INSERT INTO `tenants` VALUES (2,'DevOps',0,0,0,0,0,'region',1,10,0,'public','2019-01-15 09:37:34','2020-07-14 19:00:02','DevOps Resources'); 01-users.sql: | USE {{ .Values.mariadb.auth.database }}; - INSERT INTO `users` VALUES (1,'{{ .Values.netris.webLogin }}','{{ .Values.netris.webPassword | sha1sum }}','Netris','info@netris.local','',NULL,0,'','','Netris',NULL,0,1,'disabled','','{"approvals":"false","telescope":"false"}', NULL, NULL); - INSERT INTO `users` VALUES (2,'system',NULL,'System Generated','system@netris.local','',NULL,0,'','','Netris',NULL,0,1,'disabled','','{"approvals":"false","telescope":"false"}', NULL, NULL); + INSERT INTO `users` VALUES (1,'{{ .Values.netris.webLogin }}','{{ .Values.netris.webPassword | bcrypt }}','true','Netris','info@netris.local','',NULL,0,'','','Netris',NULL,0,1,'disabled','','{"approvals":"false","telescope":"false"}', NULL, NULL); + INSERT INTO `users` VALUES (2,'system',NULL,NULL,'System Generated','system@netris.local','',NULL,0,'','','Netris',NULL,0,1,'disabled','','{"approvals":"false","telescope":"false"}', NULL, NULL); INSERT INTO `user_to_tenant` VALUES (1,1,0,'w'); INSERT INTO `user_to_tenant` VALUES (2,2,0,'w'); @@ -1684,11 +1754,6 @@ data: INSERT INTO `port` VALUES (0,0,0,0,0,'not defined','NOPORT','NOIFACE',1,'N/A','N/A','auto','hh',9000,'off',0,0,'no','off','none','',NULL,NULL); INSERT INTO `port` VALUES (1,1,1,1,0,'swp1','swp1',NULL,1,'Unknown',NULL,'auto',NULL,9000,'off',0,0,'no','none','none','off',NULL,NULL); INSERT INTO `port` VALUES (2,2,1,1,0,'swp1','swp1',NULL,1,'Unknown',NULL,'auto',NULL,9000,'off',0,0,'no','none','none','off',NULL,NULL); - 02-sites.sql: "USE {{ .Values.mariadb.auth.database }};\nINSERT INTO `net_pops` - (`id`, `name`, `asn`, `physical_instance_asn`, `virtual_instance_asn`, `vpn`, - `rp_id`, `acl_policy`, `switch_fabric`, `vlan_range`, `vlan_range_auto_assign`) - \n VALUES (1, 'Default', 65000, 65500, 65501, 'disabled', 1, 'permit', - 'dot1q_trunk', '700-900', '700-900');\n" 02-vpc.sql: | USE {{ .Values.mariadb.auth.database }}; INSERT INTO `vpc` (id, name, tenant_id, is_system, is_default) VALUES (1, 'Default', 1, 'yes', 'yes'); @@ -1742,7 +1807,7 @@ data: INSERT INTO `global_settings` VALUES (36,'wireguard_port_range','59000-60999','VPN peers port range','true'); INSERT INTO `global_settings` VALUES (37,'k8s_lb_check_timeout','2000','K8s Layer 4 load-balancer timeout (ms)','true'); INSERT INTO `global_settings` VALUES (38,'vpn_measurement_wait_secs','30','Site Mesh measurement module wait interval (sec)','true'); - INSERT INTO `global_settings` VALUES (39,'migration_version', '4.1.1', 'Database scheme version', 'false'); + INSERT INTO `global_settings` VALUES (39,'migration_version', '4.3.0', 'Database scheme version', 'false'); INSERT INTO `global_settings` VALUES (40,'system_asn_range', '4200000000 - 4209999999', 'System ASN range', 'true'); INSERT INTO `global_settings` VALUES (41,'vpn_asn_range', '4210000000 - 4219999999', 'Site Mesh VPN ASN range', 'true'); INSERT INTO `global_settings` VALUES (42,'calico_asn_range', '4230000000 - 4239999999', 'Calico ASN range', 'true'); @@ -1754,7 +1819,8 @@ data: INSERT INTO `currency` VALUES (4,'BGN',0.511,'2016-11-26 05:17:49'); 04-whitelist.sql: | USE {{ .Values.mariadb.auth.database }}; - INSERT INTO `login_whitelists` VALUES (1,'0.0.0.0',0,'ANY'); + INSERT INTO `login_whitelists` VALUES (1,'0.0.0.0',0,'ANY_IPv4'); + INSERT INTO `login_whitelists` VALUES (2,'::',0,'ANY_IPv6'); 05-auth_schemes.sql: |+ USE {{ .Values.mariadb.auth.database }}; INSERT INTO `auth_schemes` VALUES (1,'local','conductor','','active','yes'); @@ -1798,6 +1864,7 @@ data: INSERT INTO `nos_list` VALUES (1,'Cumulus Linux','cumulus_linux'); INSERT INTO `nos_list` VALUES (2,'SONiC','sonic'); INSERT INTO `nos_list` VALUES (3,'Ubuntu SwitchDev','ubuntu_switch_dev'); + INSERT INTO `nos_list` VALUES (4,'Cumulus NVUE','cumulus_nvue'); 06-roh_profiles.sql: | USE {{ .Values.mariadb.auth.database }}; INSERT INTO `roh_profiles` VALUES (1,'Default','default'); @@ -1805,100 +1872,14 @@ data: INSERT INTO `roh_profiles` VALUES (3,'Full table','full_table'); 07-inventory_profiles.sql: | USE {{ .Values.mariadb.auth.database }}; - INSERT INTO `inventory_profiles` VALUES (1,'default-inventory-profile','Default inventory profile','0.0.0.0/0','','{\"offset\":\"-08:00\",\"label\":\"(GMT-08:00) Pacific Time\",\"tzCode\":\"America/Los_Angeles\"}','pool.ntp.org','1.1.1.1,8.8.8.8',NULL,NULL); - 07-subnets.sql: | - USE {{ .Values.mariadb.auth.database }}; - -- allocations (id, vpc_id, parent_id,allocation_id,name,description,tenant_id,ip_version,purpose,readonly,prefix,length,meta) - INSERT INTO `ip_allocation` VALUES(1, 1, "private-1", "", 1, "ipv4", "no", "10.0.0.0", 8); - INSERT INTO `ip_allocation` VALUES(2, 1, "private-2", "", 1, "ipv4", "no", "172.16.0.0", 12); - INSERT INTO `ip_allocation` VALUES(3, 1, "private-3", "", 1, "ipv4", "no", "192.168.0.0", 16); - - -- subnets (id,parent_id,allocation_id,name,description,tenant_id,ip_version,purpose,readonly,prefix,length,meta) - INSERT INTO `ip_subnet` VALUES(1, 0, 2, "private-ip-for-default-site", "", 1, "ipv4", "common", "no", "172.24.0.0", 16, '{}'); - INSERT INTO `ip_subnet` VALUES(2, 1, 2, "private-subnet-172.24.0.0/20", "", 2, "ipv4", "common", "no", "172.24.0.0", 20, '{}'); - INSERT INTO `ip_subnet` VALUES(3, 1, 2, "private-subnet-172.24.16.0/20", "", 2, "ipv4", "common", "no", "172.24.16.0", 20, '{}'); - INSERT INTO `ip_subnet` VALUES(4, 1, 2, "private-subnet-172.24.32.0/20", "", 2, "ipv4", "common", "no", "172.24.32.0", 20, '{}'); - INSERT INTO `ip_subnet` VALUES(5, 1, 2, "private-subnet-172.24.48.0/20", "", 2, "ipv4", "common", "no", "172.24.48.0", 20, '{}'); - INSERT INTO `ip_subnet` VALUES(6, 1, 2, "private-subnet-172.24.64.0/20", "", 2, "ipv4", "common", "no", "172.24.64.0", 20, '{}'); - INSERT INTO `ip_subnet` VALUES(7, 1, 2, "private-subnet-172.24.80.0/20", "", 2, "ipv4", "common", "no", "172.24.80.0", 20, '{}'); - INSERT INTO `ip_subnet` VALUES(8, 1, 2, "private-subnet-172.24.96.0/20", "", 2, "ipv4", "common", "no", "172.24.96.0", 20, '{}'); - INSERT INTO `ip_subnet` VALUES(9, 1, 2, "private-subnet-172.24.112.0/20", "", 2, "ipv4", "common", "no", "172.24.112.0", 20, '{}'); - INSERT INTO `ip_subnet` VALUES(10, 1, 2, "loopbacks-172.24.254.0/24", "", 1, "ipv4", "loopback", "no", "172.24.254.0", 24, '{}'); - INSERT INTO `ip_subnet` VALUES(11, 1, 2, "management-172.24.255.0/24", "", 1, "ipv4", "mgmt", "no", "172.24.255.0", 24, '{}'); - - - -- map subnets to site (id, site_id, subnet_id) - INSERT INTO `ip2site` VALUES(1, 1, 1); - INSERT INTO `ip2site` VALUES(2, 1, 2); - INSERT INTO `ip2site` VALUES(3, 1, 3); - INSERT INTO `ip2site` VALUES(4, 1, 4); - INSERT INTO `ip2site` VALUES(5, 1, 5); - INSERT INTO `ip2site` VALUES(6, 1, 6); - INSERT INTO `ip2site` VALUES(7, 1, 7); - INSERT INTO `ip2site` VALUES(8, 1, 8); - INSERT INTO `ip2site` VALUES(9, 1, 9); - INSERT INTO `ip2site` VALUES(10, 1, 10); - INSERT INTO `ip2site` VALUES(11, 1, 11); - - -- map hosts to subnet (id, subnet_id, name, desc, ip_version, readonly, address) - INSERT INTO `ip_host` VALUES(1, 11, "network", "", "ipv4", "no", "172.24.255.0", now(), now()); - INSERT INTO `ip_host` VALUES(2, 11, "broadcast", "", "ipv4", "no", "172.24.255.255", now(), now()); - - -- add host to ip_reservation (id, host_id, consumer_id, consumer_type, meta) - INSERT INTO `ip_reservation` VALUES(1, 1, NULL, 'sys', '{"tag":"network"}'); - INSERT INTO `ip_reservation` VALUES(2, 2, NULL, 'sys', '{"tag":"broadcast"}'); + INSERT INTO `inventory_profiles` VALUES (1,'default-inventory-profile','Default inventory profile','0.0.0.0/0','','{\"offset\":\"-08:00\",\"label\":\"(GMT-08:00) Pacific Time\",\"tzCode\":\"America/Los_Angeles\"}','pool.ntp.org','1.1.1.1,8.8.8.8','{}',NULL,NULL); 07-vpn_scores.sql: | USE {{ .Values.mariadb.auth.database }}; DELETE FROM `vpn_scores`; INSERT INTO `vpn_scores` VALUES (2,0,0,0.7088302373886108),(3,1,0,0.6966979503631592),(4,2,0,0.6845656633377075),(5,3,0,0.6724333763122559),(6,4,0,0.6603010892868042),(7,5,0,0.6481688022613525),(8,6,0,0.6360365152359009),(9,7,0,0.6239042282104492),(10,8,0,0.6117719411849976),(11,9,0,0.5996396541595459),(12,10,0,0.5875073671340942),(13,11,0,0.5753751397132874),(14,12,0,0.5632428526878357),(15,13,0,0.551110565662384),(16,14,0,0.5389782786369324),(17,15,0,0.5268459916114807),(18,16,0,0.514713704586029),(19,17,0,0.5025814175605774),(20,18,0,0.49044910073280334),(21,19,0,0.4783168137073517),(22,20,0,0.4661845564842224),(23,21,0,0.45405226945877075),(24,22,0,0.4419199824333191),(25,23,0,0.42978769540786743),(26,24,0,0.41765540838241577),(27,25,0,0.4055231213569641),(28,26,0,0.39339083433151245),(29,27,0,0.3812585473060608),(30,28,0,0.36912626028060913),(31,29,0,0.35699397325515747),(32,30,0,0.3448616862297058),(33,0,10,0.43277081847190857),(34,1,10,0.43497365713119507),(35,2,10,0.4371764659881592),(36,3,10,0.4393792748451233),(37,4,10,0.4415820837020874),(38,5,10,0.4437848925590515),(39,6,10,0.4459877014160156),(40,7,10,0.44819051027297974),(41,8,10,0.45039331912994385),(42,9,10,0.45259612798690796),(43,10,10,0.45479893684387207),(44,11,10,0.45700177550315857),(45,12,10,0.4592045843601227),(46,13,10,0.4614073932170868),(47,14,10,0.4636102020740509),(48,15,10,0.465813010931015),(49,16,10,0.4680158197879791),(50,17,10,0.47021862864494324),(51,18,10,0.47242143750190735),(52,19,10,0.47462424635887146),(53,20,10,0.47682705521583557),(54,21,10,0.4790298640727997),(55,22,10,0.4812327027320862),(56,23,10,0.4834355115890503),(57,24,10,0.4856383204460144),(58,25,10,0.4878411293029785),(59,26,10,0.4900439381599426),(60,27,10,0.49224674701690674),(61,28,10,0.49444955587387085),(62,29,10,0.49665236473083496),(63,30,10,0.4988551735877991),(64,0,20,0.3429061770439148),(65,1,20,0.3413091003894806),(66,2,20,0.3397120237350464),(67,3,20,0.3381149470806122),(68,4,20,0.336517870426178),(69,5,20,0.3349207937717438),(70,6,20,0.33332371711730957),(71,7,20,0.33172664046287537),(72,8,20,0.33012956380844116),(73,9,20,0.32853248715400696),(74,10,20,0.32693541049957275),(75,11,20,0.32533833384513855),(76,12,20,0.32374125719070435),(77,13,20,0.32214418053627014),(78,14,20,0.32054710388183594),(79,15,20,0.31895002722740173),(80,16,20,0.31735295057296753),(81,17,20,0.3157558739185333),(82,18,20,0.3141587972640991),(83,19,20,0.3125617206096649),(84,20,20,0.3109646439552307),(85,21,20,0.3093675673007965),(86,22,20,0.3077704906463623),(87,23,20,0.3061734139919281),(88,24,20,0.3045763373374939),(89,25,20,0.3029792606830597),(90,26,20,0.3013821840286255),(91,27,20,0.2997851073741913),(92,28,20,0.2981880307197571),(93,29,20,0.2965909540653229),(94,30,20,0.29499387741088867),(95,0,30,0.2779780328273773),(96,1,30,0.2753826975822449),(97,2,30,0.2727873623371124),(98,3,30,0.27019205689430237),(99,4,30,0.2675967216491699),(100,5,30,0.2650013864040375),(101,6,30,0.26240605115890503),(102,7,30,0.2598107159137726),(103,8,30,0.25721538066864014),(104,9,30,0.2546200454235077),(105,10,30,0.25202471017837524),(106,11,30,0.249429389834404),(107,12,30,0.24683405458927155),(108,13,30,0.2442387193441391),(109,14,30,0.24164339900016785),(110,15,30,0.2390480637550354),(111,16,30,0.23645272850990295),(112,17,30,0.2338573932647705),(113,18,30,0.23126205801963806),(114,19,30,0.2286667376756668),(115,20,30,0.22607140243053436),(116,21,30,0.22347606718540192),(117,22,30,0.22088073194026947),(118,23,30,0.21828541159629822),(119,24,30,0.21569007635116577),(120,25,30,0.21309474110603333),(121,26,30,0.21049940586090088),(122,27,30,0.20790408551692963),(123,28,30,0.20530875027179718),(124,29,30,0.20271341502666473),(125,30,30,0.2001180797815323),(126,0,40,0.2397545576095581),(127,1,40,0.2374880313873291),(128,2,40,0.2352215051651001),(129,3,40,0.2329549938440323),(130,4,40,0.23068846762180328),(131,5,40,0.22842194139957428),(132,6,40,0.22615541517734528),(133,7,40,0.22388888895511627),(134,8,40,0.22162236273288727),(135,9,40,0.21935583651065826),(136,10,40,0.21708931028842926),(137,11,40,0.21482278406620026),(138,12,40,0.21255627274513245),(139,13,40,0.21028974652290344),(140,14,40,0.20802322030067444),(141,15,40,0.20575669407844543),(142,16,40,0.20349016785621643),(143,17,40,0.20122364163398743),(144,18,40,0.19895711541175842),(145,19,40,0.19669058918952942),(146,20,40,0.19442406296730042),(147,21,40,0.1921575367450714),(148,22,40,0.1898910254240036),(149,23,40,0.1876244992017746),(150,24,40,0.1853579729795456),(151,25,40,0.1830914467573166),(152,26,40,0.18082492053508759),(153,27,40,0.17855839431285858),(154,28,40,0.17629186809062958),(155,29,40,0.17402534186840057),(156,30,40,0.17175881564617157),(157,0,50,0.19142574071884155),(158,1,50,0.18984028697013855),(159,2,50,0.18825484812259674),(160,3,50,0.18666940927505493),(161,4,50,0.18508397042751312),(162,5,50,0.1834985315799713),(163,6,50,0.1819130927324295),(164,7,50,0.1803276538848877),(165,8,50,0.1787422001361847),(166,9,50,0.17715676128864288),(167,10,50,0.17557132244110107),(168,11,50,0.17398588359355927),(169,12,50,0.17240044474601746),(170,13,50,0.17081500589847565),(171,14,50,0.16922955214977264),(172,15,50,0.16764411330223083),(173,16,50,0.16605867445468903),(174,17,50,0.16447323560714722),(175,18,50,0.1628877967596054),(176,19,50,0.1613023579120636),(177,20,50,0.1597169190645218),(178,21,50,0.1581314653158188),(179,22,50,0.15654602646827698),(180,23,50,0.15496058762073517),(181,24,50,0.15337514877319336),(182,25,50,0.15178970992565155),(183,26,50,0.15020427107810974),(184,27,50,0.14861883223056793),(185,28,50,0.14703337848186493),(186,29,50,0.14544793963432312),(187,30,50,0.1438625007867813),(188,0,60,0.15568090975284576),(189,1,60,0.1546451449394226),(190,2,60,0.15360936522483826),(191,3,60,0.1525736004114151),(192,4,60,0.15153783559799194),(193,5,60,0.1505020707845688),(194,6,60,0.14946629106998444),(195,7,60,0.14843052625656128),(196,8,60,0.14739476144313812),(197,9,60,0.14635898172855377),(198,10,60,0.14532321691513062),(199,11,60,0.14428745210170746),(200,12,60,0.1432516723871231),(201,13,60,0.14221590757369995),(202,14,60,0.1411801427602768),(203,15,60,0.14014436304569244),(204,16,60,0.1391085982322693),(205,17,60,0.13807283341884613),(206,18,60,0.13703706860542297),(207,19,60,0.13600128889083862),(208,20,60,0.13496552407741547),(209,21,60,0.1339297592639923),(210,22,60,0.13289397954940796),(211,23,60,0.1318582147359848),(212,24,60,0.13082244992256165),(213,25,60,0.1297866702079773),(214,26,60,0.12875090539455414),(215,27,60,0.12771514058113098),(216,28,60,0.12667936086654663),(217,29,60,0.12564359605312347),(218,30,60,0.12460783123970032),(219,0,70,0.1351398229598999),(220,1,70,0.1343613862991333),(221,2,70,0.1335829496383667),(222,3,70,0.1328044980764389),(223,4,70,0.1320260614156723),(224,5,70,0.1312476247549057),(225,6,70,0.1304691880941391),(226,7,70,0.1296907514333725),(227,8,70,0.1289122998714447),(228,9,70,0.1281338632106781),(229,10,70,0.1273554265499115),(230,11,70,0.1265769898891449),(231,12,70,0.1257985383272171),(232,13,70,0.1250201016664505),(233,14,70,0.1242416650056839),(234,15,70,0.1234632283449173),(235,16,70,0.1226847842335701),(236,17,70,0.1219063475728035),(237,18,70,0.1211279109120369),(238,19,70,0.1203494668006897),(239,20,70,0.1195710301399231),(240,21,70,0.1187925860285759),(241,22,70,0.1180141493678093),(242,23,70,0.1172357052564621),(243,24,70,0.1164572685956955),(244,25,70,0.1156788319349289),(245,26,70,0.1149003878235817),(246,27,70,0.1141219511628151),(247,28,70,0.1133435070514679),(248,29,70,0.1125650703907013),(249,30,70,0.11178663372993469),(250,0,80,0.11796385794878006),(251,1,80,0.11734774708747864),(252,2,80,0.11673163622617722),(253,3,80,0.1161155253648758),(254,4,80,0.11549941450357437),(255,5,80,0.11488330364227295),(256,6,80,0.11426719278097153),(257,7,80,0.1136510819196701),(258,8,80,0.11303497105836868),(259,9,80,0.11241886019706726),(260,10,80,0.11180274933576584),(261,11,80,0.11118663847446442),(262,12,80,0.110570527613163),(263,13,80,0.10995441675186157),(264,14,80,0.10933830589056015),(265,15,80,0.10872220247983932),(266,16,80,0.1081060916185379),(267,17,80,0.10748998075723648),(268,18,80,0.10687386989593506),(269,19,80,0.10625775903463364),(270,20,80,0.10564164817333221),(271,21,80,0.10502553731203079),(272,22,80,0.10440942645072937),(273,23,80,0.10379331558942795),(274,24,80,0.10317720472812653),(275,25,80,0.1025610938668251),(276,26,80,0.10194498300552368),(277,27,80,0.10132887214422226),(278,28,80,0.10071276128292084),(279,29,80,0.10009665042161942),(280,30,80,0.099480539560318),(281,0,90,0.1051548644900322),(282,1,90,0.104659803211689),(283,2,90,0.1041647419333458),(284,3,90,0.103669673204422),(285,4,90,0.1031746119260788),(286,5,90,0.1026795506477356),(287,6,90,0.1021844893693924),(288,7,90,0.1016894206404686),(289,8,90,0.1011943593621254),(290,9,90,0.1006992980837822),(291,10,90,0.1002042293548584),(292,11,90,0.0997091680765152),(293,12,90,0.099214106798172),(294,13,90,0.0987190380692482),(295,14,90,0.098223976790905),(296,15,90,0.0977289155125618),(297,16,90,0.097233846783638),(298,17,90,0.0967387855052948),(299,18,90,0.0962437242269516),(300,19,90,0.0957486554980278),(301,20,90,0.0952535942196846),(302,21,90,0.0947585329413414),(303,22,90,0.0942634642124176),(304,23,90,0.0937684029340744),(305,24,90,0.0932733416557312),(306,25,90,0.0927782729268074),(307,26,90,0.0922832116484642),(308,27,90,0.091788150370121),(309,28,90,0.0912930816411972),(310,29,90,0.090798020362854),(311,30,90,0.0903029590845108),(312,0,100,0.09771469235420227),(313,1,100,0.09735310822725296),(314,2,100,0.09699153155088425),(315,3,100,0.09662994742393494),(316,4,100,0.09626837074756622),(317,5,100,0.09590679407119751),(318,6,100,0.0955452099442482),(319,7,100,0.09518363326787949),(320,8,100,0.09482204914093018),(321,9,100,0.09446047246456146),(322,10,100,0.09409888833761215),(323,11,100,0.09373731166124344),(324,12,100,0.09337573498487473),(325,13,100,0.09301415085792542),(326,14,100,0.0926525741815567),(327,15,100,0.09229099005460739),(328,16,100,0.09192941337823868),(329,17,100,0.09156783670186996),(330,18,100,0.09120625257492065),(331,19,100,0.09084467589855194),(332,20,100,0.09048309177160263),(333,21,100,0.09012151509523392),(334,22,100,0.0897599309682846),(335,23,100,0.0893983542919159),(336,24,100,0.08903677761554718),(337,25,100,0.08867519348859787),(338,26,100,0.08831361681222916),(339,27,100,0.08795203268527985),(340,28,100,0.08759045600891113),(341,29,100,0.08722887933254242),(342,30,100,0.08686729520559311),(343,0,110,0.0934143140912056),(344,1,110,0.09317069500684738),(345,2,110,0.09292706847190857),(346,3,110,0.09268344938755035),(347,4,110,0.09243982285261154),(348,5,110,0.09219619631767273),(349,6,110,0.09195257723331451),(350,7,110,0.0917089506983757),(351,8,110,0.09146532416343689),(352,9,110,0.09122170507907867),(353,10,110,0.09097807854413986),(354,11,110,0.09073445945978165),(355,12,110,0.09049083292484283),(356,13,110,0.09024720638990402),(357,14,110,0.0900035873055458),(358,15,110,0.089759960770607),(359,16,110,0.08951634168624878),(360,17,110,0.08927271515130997),(361,18,110,0.08902908861637115),(362,19,110,0.08878546953201294),(363,20,110,0.08854184299707413),(364,21,110,0.08829821646213531),(365,22,110,0.0880545973777771),(366,23,110,0.08781097084283829),(367,24,110,0.08756735175848007),(368,25,110,0.08732372522354126),(369,26,110,0.08708009868860245),(370,27,110,0.08683647960424423),(371,28,110,0.08659285306930542),(372,29,110,0.08634922653436661),(373,30,110,0.08610560745000839),(374,0,120,0.08939522504806519),(375,1,120,0.08920370042324066),(376,2,120,0.08901218324899673),(377,3,120,0.08882065862417221),(378,4,120,0.08862913399934769),(379,5,120,0.08843760937452316),(380,6,120,0.08824609220027924),(381,7,120,0.08805456757545471),(382,8,120,0.08786304295063019),(383,9,120,0.08767151832580566),(384,10,120,0.08748000115156174),(385,11,120,0.08728847652673721),(386,12,120,0.08709695190191269),(387,13,120,0.08690543472766876),(388,14,120,0.08671391010284424),(389,15,120,0.08652238547801971),(390,16,120,0.08633086085319519),(391,17,120,0.08613934367895126),(392,18,120,0.08594781905412674),(393,19,120,0.08575629442930222),(394,20,120,0.08556476980447769),(395,21,120,0.08537325263023376),(396,22,120,0.08518172800540924),(397,23,120,0.08499020338058472),(398,24,120,0.08479868620634079),(399,25,120,0.08460716158151627),(400,26,120,0.08441563695669174),(401,27,120,0.08422411233186722),(402,28,120,0.08403259515762329),(403,29,120,0.08384107053279877),(404,30,120,0.08364954590797424),(405,0,130,0.08571498841047287),(406,1,130,0.0855298861861229),(407,2,130,0.08534478396177292),(408,3,130,0.08515968173742294),(409,4,130,0.08497457951307297),(410,5,130,0.08478947728872299),(411,6,130,0.08460437506437302),(412,7,130,0.08441927284002304),(413,8,130,0.08423417061567307),(414,9,130,0.08404906839132309),(415,10,130,0.08386396616697311),(416,11,130,0.08367886394262314),(417,12,130,0.08349376916885376),(418,13,130,0.08330866694450378),(419,14,130,0.08312356472015381),(420,15,130,0.08293846249580383),(421,16,130,0.08275336027145386),(422,17,130,0.08256825804710388),(423,18,130,0.0823831558227539),(424,19,130,0.08219805359840393),(425,20,130,0.08201295137405396),(426,21,130,0.08182784914970398),(427,22,130,0.081642746925354),(428,23,130,0.08145764470100403),(429,24,130,0.08127254247665405),(430,25,130,0.08108744025230408),(431,26,130,0.0809023380279541),(432,27,130,0.08071723580360413),(433,28,130,0.08053213357925415),(434,29,130,0.08034703135490417),(435,30,130,0.0801619365811348),(436,0,140,0.08243117481470108),(437,1,140,0.08222699165344238),(438,2,140,0.08202280104160309),(439,3,140,0.08181861788034439),(440,4,140,0.0816144272685051),(441,5,140,0.0814102441072464),(442,6,140,0.0812060609459877),(443,7,140,0.08100187033414841),(444,8,140,0.08079768717288971),(445,9,140,0.08059349656105042),(446,10,140,0.08038931339979172),(447,11,140,0.08018512278795242),(448,12,140,0.07998093962669373),(449,13,140,0.07977674901485443),(450,14,140,0.07957256585359573),(451,15,140,0.07936837524175644),(452,16,140,0.07916419208049774),(453,17,140,0.07896000146865845),(454,18,140,0.07875581830739975),(455,19,140,0.07855162769556046),(456,20,140,0.07834744453430176),(457,21,140,0.07814326137304306),(458,22,140,0.07793907076120377),(459,23,140,0.07773488759994507),(460,24,140,0.07753069698810577),(461,25,140,0.07732651382684708),(462,26,140,0.07712232321500778),(463,27,140,0.07691814005374908),(464,28,140,0.07671394944190979),(465,29,140,0.07650976628065109),(466,30,140,0.0763055756688118),(467,0,150,0.07960136979818344),(468,1,150,0.07937276363372803),(469,2,150,0.07914416491985321),(470,3,150,0.0789155587553978),(471,4,150,0.07868696004152298),(472,5,150,0.07845835387706757),(473,6,150,0.07822975516319275),(474,7,150,0.07800114899873734),(475,8,150,0.07777255028486252),(476,9,150,0.0775439441204071),(477,10,150,0.07731534540653229),(478,11,150,0.07708673924207687),(479,12,150,0.07685814052820206),(480,13,150,0.07662954181432724),(481,14,150,0.07640093564987183),(482,15,150,0.07617233693599701),(483,16,150,0.0759437307715416),(484,17,150,0.07571513205766678),(485,18,150,0.07548652589321136),(486,19,150,0.07525792717933655),(487,20,150,0.07502932101488113),(488,21,150,0.07480072230100632),(489,22,150,0.0745721161365509),(490,23,150,0.07434351742267609),(491,24,150,0.07411491125822067),(492,25,150,0.07388631254434586),(493,26,150,0.07365770637989044),(494,27,150,0.07342910766601562),(495,28,150,0.07320050150156021),(496,29,150,0.0729719027876854),(497,30,150,0.07274329662322998),(498,0,160,0.07639939337968826),(499,1,160,0.07610168308019638),(500,2,160,0.0758039727807045),(501,3,160,0.07550626248121262),(502,4,160,0.07520855218172073),(503,5,160,0.07491084188222885),(504,6,160,0.07461313158273697),(505,7,160,0.07431541383266449),(506,8,160,0.07401770353317261),(507,9,160,0.07371999323368073),(508,10,160,0.07342228293418884),(509,11,160,0.07312457263469696),(510,12,160,0.07282686233520508),(511,13,160,0.0725291520357132),(512,14,160,0.07223144173622131),(513,15,160,0.07193373143672943),(514,16,160,0.07163601368665695),(515,17,160,0.07133830338716507),(516,18,160,0.07104059308767319),(517,19,160,0.0707428827881813),(518,20,160,0.07044517248868942),(519,21,160,0.07014746218919754),(520,22,160,0.06984975188970566),(521,23,160,0.06955204159021378),(522,24,160,0.0692543312907219),(523,25,160,0.06895662099123001),(524,26,160,0.06865890324115753),(525,27,160,0.06836119294166565),(526,28,160,0.06806348264217377),(527,29,160,0.06776577234268188),(528,30,160,0.06746806204319),(529,0,170,0.07230120897293091),(530,1,170,0.07187428325414658),(531,2,170,0.07144735008478165),(532,3,170,0.07102042436599731),(533,4,170,0.07059349119663239),(534,5,170,0.07016656547784805),(535,6,170,0.06973963230848312),(536,7,170,0.06931270658969879),(537,8,170,0.06888577342033386),(538,9,170,0.06845884770154953),(539,10,170,0.0680319219827652),(540,11,170,0.06760498881340027),(541,12,170,0.06717806309461594),(542,13,170,0.06675112992525101),(543,14,170,0.06632420420646667),(544,15,170,0.06589727103710175),(545,16,170,0.06547034531831741),(546,17,170,0.06504341214895248),(547,18,170,0.06461648643016815),(548,19,170,0.06418955326080322),(549,20,170,0.06376262754201889),(550,21,170,0.06333570182323456),(551,22,170,0.06290876865386963),(552,23,170,0.062481839209795),(553,24,170,0.06205490976572037),(554,25,170,0.061627984046936035),(555,26,170,0.061201054602861404),(556,27,170,0.060774125158786774),(557,28,170,0.06034719571471214),(558,29,170,0.05992026627063751),(559,30,170,0.05949333682656288),(560,0,180,0.0678175687789917),(561,1,180,0.06725740432739258),(562,2,180,0.06669723987579346),(563,3,180,0.06613708287477493),(564,4,180,0.06557691842317581),(565,5,180,0.06501675397157669),(566,6,180,0.06445658951997757),(567,7,180,0.06389643251895905),(568,8,180,0.06333626806735992),(569,9,180,0.0627761036157608),(570,10,180,0.06221593916416168),(571,11,180,0.06165577843785286),(572,12,180,0.06109561398625374),(573,13,180,0.060535453259944916),(574,14,180,0.059975288808345795),(575,15,180,0.05941512808203697),(576,16,180,0.05885496363043785),(577,17,180,0.05829480290412903),(578,18,180,0.05773463845252991),(579,19,180,0.057174474000930786),(580,20,180,0.056614313274621964),(581,21,180,0.05605414882302284),(582,22,180,0.05549398809671402),(583,23,180,0.0549338236451149),(584,24,180,0.054373662918806076),(585,25,180,0.053813498467206955),(586,26,180,0.05325333774089813),(587,27,180,0.05269317328929901),(588,28,180,0.05213300883769989),(589,29,180,0.05157284811139107),(590,30,180,0.051012683659791946),(591,0,190,0.06345922499895096),(592,1,190,0.06281790882349014),(593,2,190,0.06217658892273903),(594,3,190,0.061535269021987915),(595,4,190,0.0608939528465271),(596,5,190,0.060252632945775986),(597,6,190,0.05961131304502487),(598,7,190,0.058969996869564056),(599,8,190,0.05832867696881294),(600,9,190,0.05768735706806183),(601,10,190,0.05704604089260101),(602,11,190,0.0564047209918499),(603,12,190,0.055763404816389084),(604,13,190,0.05512208491563797),(605,14,190,0.054480765014886856),(606,15,190,0.05383944883942604),(607,16,190,0.05319812893867493),(608,17,190,0.05255680903792381),(609,18,190,0.051915492862463),(610,19,190,0.051274172961711884),(611,20,190,0.05063285678625107),(612,21,190,0.049991536885499954),(613,22,190,0.04935021698474884),(614,23,190,0.048708900809288025),(615,24,190,0.04806758090853691),(616,25,190,0.0474262610077858),(617,26,190,0.04678494483232498),(618,27,190,0.04614362493157387),(619,28,190,0.045502305030822754),(620,29,190,0.04486098885536194),(621,30,190,0.044219668954610825),(622,0,200,0.059736933559179306),(623,1,200,0.059122633188962936),(624,2,200,0.05850832909345627),(625,3,200,0.0578940249979496),(626,4,200,0.05727972462773323),(627,5,200,0.05666542053222656),(628,6,200,0.056051116436719894),(629,7,200,0.055436816066503525),(630,8,200,0.05482251197099686),(631,9,200,0.05420821160078049),(632,10,200,0.05359390750527382),(633,11,200,0.05297960340976715),(634,12,200,0.05236530303955078),(635,13,200,0.05175099894404411),(636,14,200,0.051136694848537445),(637,15,200,0.050522394478321075),(638,16,200,0.04990809038281441),(639,17,200,0.04929379001259804),(640,18,200,0.04867948591709137),(641,19,200,0.0480651818215847),(642,20,200,0.04745088145136833),(643,21,200,0.046836577355861664),(644,22,200,0.046222276985645294),(645,23,200,0.045607972890138626),(646,24,200,0.04499366879463196),(647,25,200,0.04437936842441559),(648,26,200,0.04376506432890892),(649,27,200,0.04315076023340225),(650,28,200,0.04253645986318588),(651,29,200,0.041922155767679214),(652,30,200,0.041307855397462845),(653,0,210,0.05651329457759857),(654,1,210,0.056000225245952606),(655,2,210,0.05548715218901634),(656,3,210,0.05497408285737038),(657,4,210,0.05446100980043411),(658,5,210,0.05394794046878815),(659,6,210,0.05343486741185188),(660,7,210,0.05292179808020592),(661,8,210,0.05240872502326965),(662,9,210,0.05189565569162369),(663,10,210,0.051382582634687424),(664,11,210,0.05086951330304146),(665,12,210,0.050356440246105194),(666,13,210,0.04984337091445923),(667,14,210,0.049330297857522964),(668,15,210,0.048817228525877),(669,16,210,0.048304155468940735),(670,17,210,0.04779108613729477),(671,18,210,0.047278013080358505),(672,19,210,0.04676494374871254),(673,20,210,0.046251870691776276),(674,21,210,0.04573880136013031),(675,22,210,0.045225728303194046),(676,23,210,0.04471265897154808),(677,24,210,0.044199585914611816),(678,25,210,0.04368651658296585),(679,26,210,0.04317344352602959),(680,27,210,0.04266037419438362),(681,28,210,0.04214730113744736),(682,29,210,0.04163423180580139),(683,30,210,0.04112115874886513),(684,0,220,0.05333510413765907),(685,1,220,0.052924785763025284),(686,2,220,0.05251447111368179),(687,3,220,0.052104152739048004),(688,4,220,0.051693838089704514),(689,5,220,0.051283519715070724),(690,6,220,0.050873205065727234),(691,7,220,0.050462886691093445),(692,8,220,0.050052568316459656),(693,9,220,0.049642253667116165),(694,10,220,0.049231935292482376),(695,11,220,0.048821620643138885),(696,12,220,0.048411302268505096),(697,13,220,0.048000987619161606),(698,14,220,0.04759066924452782),(699,15,220,0.047180354595184326),(700,16,220,0.04677003622055054),(701,17,220,0.04635971784591675),(702,18,220,0.04594940319657326),(703,19,220,0.04553908482193947),(704,20,220,0.04512877017259598),(705,21,220,0.04471845179796219),(706,22,220,0.0443081371486187),(707,23,220,0.04389781877398491),(708,24,220,0.04348750412464142),(709,25,220,0.04307718575000763),(710,26,220,0.04266686737537384),(711,27,220,0.04225655272603035),(712,28,220,0.04184623435139656),(713,29,220,0.04143591970205307),(714,30,220,0.04102560132741928),(715,0,230,0.05023941025137901),(716,1,230,0.0499313585460186),(717,2,230,0.04962330684065819),(718,3,230,0.049315258860588074),(719,4,230,0.04900720715522766),(720,5,230,0.04869915544986725),(721,6,230,0.048391103744506836),(722,7,230,0.04808305576443672),(723,8,230,0.04777500405907631),(724,9,230,0.0474669523537159),(725,10,230,0.047158900648355484),(726,11,230,0.04685085266828537),(727,12,230,0.04654280096292496),(728,13,230,0.046234749257564545),(729,14,230,0.04592669755220413),(730,15,230,0.04561864957213402),(731,16,230,0.045310597866773605),(732,17,230,0.04500254616141319),(733,18,230,0.04469449445605278),(734,19,230,0.044386446475982666),(735,20,230,0.04407839477062225),(736,21,230,0.04377034306526184),(737,22,230,0.04346229135990143),(738,23,230,0.043154243379831314),(739,24,230,0.0428461916744709),(740,25,230,0.04253813996911049),(741,26,230,0.042230088263750076),(742,27,230,0.04192204028367996),(743,28,230,0.04161398857831955),(744,29,230,0.04130593687295914),(745,30,230,0.040997885167598724),(746,0,240,0.047263264656066895),(747,1,240,0.04705497622489929),(748,2,240,0.04684669151902199),(749,3,240,0.046638406813144684),(750,4,240,0.04643012210726738),(751,5,240,0.046221837401390076),(752,6,240,0.04601355269551277),(753,7,240,0.04580526798963547),(754,8,240,0.04559698328375816),(755,9,240,0.04538869857788086),(756,10,240,0.045180413872003555),(757,11,240,0.04497212916612625),(758,12,240,0.04476384446024895),(759,13,240,0.04455555975437164),(760,14,240,0.04434727504849434),(761,15,240,0.044138990342617035),(762,16,240,0.04393070191144943),(763,17,240,0.04372241720557213),(764,18,240,0.043514132499694824),(765,19,240,0.04330584779381752),(766,20,240,0.043097563087940216),(767,21,240,0.04288927838206291),(768,22,240,0.04268099367618561),(769,23,240,0.042472708970308304),(770,24,240,0.042264424264431),(771,25,240,0.042056139558553696),(772,26,240,0.04184785485267639),(773,27,240,0.04163957014679909),(774,28,240,0.04143128544092178),(775,29,240,0.04122300073504448),(776,30,240,0.04101471230387688),(777,0,250,0.04444371163845062),(778,1,250,0.04433068260550499),(779,2,250,0.04421764984726906),(780,3,250,0.044104620814323425),(781,4,250,0.043991588056087494),(782,5,250,0.04387855902314186),(783,6,250,0.04376552626490593),(784,7,250,0.0436524972319603),(785,8,250,0.043539464473724365),(786,9,250,0.04342643544077873),(787,10,250,0.0433134026825428),(788,11,250,0.04320037364959717),(789,12,250,0.04308734089136124),(790,13,250,0.042974311858415604),(791,14,250,0.04286128282546997),(792,15,250,0.04274825006723404),(793,16,250,0.042635221034288406),(794,17,250,0.042522188276052475),(795,18,250,0.04240915924310684),(796,19,250,0.04229612648487091),(797,20,250,0.04218309745192528),(798,21,250,0.042070064693689346),(799,22,250,0.04195703566074371),(800,23,250,0.04184400290250778),(801,24,250,0.04173097386956215),(802,25,250,0.041617944836616516),(803,26,250,0.041504912078380585),(804,27,250,0.04139188304543495),(805,28,250,0.04127885028719902),(806,29,250,0.04116582125425339),(807,30,250,0.041052788496017456),(808,0,260,0.041817806661129),(809,1,260,0.04179350659251213),(810,2,260,0.041769206523895264),(811,3,260,0.0417449064552784),(812,4,260,0.04172060638666153),(813,5,260,0.04169630631804466),(814,6,260,0.041672006249427795),(815,7,260,0.04164770618081093),(816,8,260,0.04162340983748436),(817,9,260,0.04159910976886749),(818,10,260,0.041574809700250626),(819,11,260,0.04155050963163376),(820,12,260,0.04152620956301689),(821,13,260,0.041501909494400024),(822,14,260,0.04147760942578316),(823,15,260,0.04145330935716629),(824,16,260,0.04142900928854942),(825,17,260,0.041404709219932556),(826,18,260,0.04138041287660599),(827,19,260,0.04135611280798912),(828,20,260,0.04133181273937225),(829,21,260,0.041307512670755386),(830,22,260,0.04128321260213852),(831,23,260,0.04125891253352165),(832,24,260,0.041234612464904785),(833,25,260,0.04121031239628792),(834,26,260,0.04118601232767105),(835,27,260,0.041161712259054184),(836,28,260,0.041137415915727615),(837,29,260,0.04111311584711075),(838,30,260,0.04108881577849388),(839,0,270,0.039422594010829926),(840,1,270,0.03947849199175835),(841,2,270,0.03953438624739647),(842,3,270,0.03959028422832489),(843,4,270,0.03964618220925331),(844,5,270,0.039702076464891434),(845,6,270,0.039757974445819855),(846,7,270,0.039813872426748276),(847,8,270,0.0398697666823864),(848,9,270,0.03992566466331482),(849,10,270,0.03998156264424324),(850,11,270,0.04003745689988136),(851,12,270,0.040093354880809784),(852,13,270,0.040149252861738205),(853,14,270,0.04020514711737633),(854,15,270,0.04026104509830475),(855,16,270,0.04031693935394287),(856,17,270,0.04037283733487129),(857,18,270,0.04042873531579971),(858,19,270,0.040484629571437836),(859,20,270,0.04054052755236626),(860,21,270,0.04059642553329468),(861,22,270,0.0406523197889328),(862,23,270,0.04070821776986122),(863,24,270,0.04076411575078964),(864,25,270,0.040820010006427765),(865,26,270,0.040875907987356186),(866,27,270,0.04093180596828461),(867,28,270,0.04098770022392273),(868,29,270,0.04104359820485115),(869,30,270,0.04109949618577957),(870,0,280,0.03729512542486191),(871,1,280,0.03742067515850067),(872,2,280,0.037546221166849136),(873,3,280,0.0376717671751976),(874,4,280,0.037797313183546066),(875,5,280,0.03792285919189453),(876,6,280,0.038048408925533295),(877,7,280,0.03817395493388176),(878,8,280,0.038299500942230225),(879,9,280,0.03842504695057869),(880,10,280,0.03855059668421745),(881,11,280,0.03867614269256592),(882,12,280,0.03880168870091438),(883,13,280,0.03892723470926285),(884,14,280,0.03905278071761131),(885,15,280,0.039178330451250076),(886,16,280,0.03930387645959854),(887,17,280,0.039429422467947006),(888,18,280,0.03955496847629547),(889,19,280,0.039680514484643936),(890,20,280,0.0398060642182827),(891,21,280,0.039931610226631165),(892,22,280,0.04005715623497963),(893,23,280,0.040182702243328094),(894,24,280,0.04030825197696686),(895,25,280,0.04043379798531532),(896,26,280,0.04055934399366379),(897,27,280,0.04068489000201225),(898,28,280,0.04081043601036072),(899,29,280,0.04093598574399948),(900,30,280,0.041061531752347946),(901,0,290,0.03547245264053345),(902,1,290,0.03565509244799614),(903,2,290,0.03583773225545883),(904,3,290,0.036020372062921524),(905,4,290,0.03620300814509392),(906,5,290,0.03638564795255661),(907,6,290,0.0365682877600193),(908,7,290,0.036750927567481995),(909,8,290,0.03693356737494469),(910,9,290,0.03711620345711708),(911,10,290,0.03729884326457977),(912,11,290,0.037481483072042465),(913,12,290,0.03766412287950516),(914,13,290,0.03784676268696785),(915,14,290,0.03802940249443054),(916,15,290,0.038212038576602936),(917,16,290,0.03839467838406563),(918,17,290,0.03857731819152832),(919,18,290,0.03875995799899101),(920,19,290,0.038942597806453705),(921,20,290,0.0391252376139164),(922,21,290,0.03930787369608879),(923,22,290,0.03949051350355148),(924,23,290,0.039673153311014175),(925,24,290,0.03985579311847687),(926,25,290,0.04003843292593956),(927,26,290,0.040221069008111954),(928,27,290,0.040403708815574646),(929,28,290,0.04058634862303734),(930,29,290,0.04076898843050003),(931,30,290,0.04095162823796272),(932,0,300,0.03399161994457245),(933,1,300,0.034216783940792084),(934,2,300,0.03444194421172142),(935,3,300,0.034667108207941055),(936,4,300,0.03489226847887039),(937,5,300,0.03511743247509003),(938,6,300,0.03534259647130966),(939,7,300,0.035567756742239),(940,8,300,0.03579292073845863),(941,9,300,0.03601808100938797),(942,10,300,0.036243245005607605),(943,11,300,0.03646840527653694),(944,12,300,0.03669356927275658),(945,13,300,0.03691872954368591),(946,14,300,0.03714389353990555),(947,15,300,0.037369053810834885),(948,16,300,0.03759421780705452),(949,17,300,0.037819378077983856),(950,18,300,0.03804454207420349),(951,19,300,0.03826970234513283),(952,20,300,0.03849486634135246),(953,21,300,0.0387200266122818),(954,22,300,0.038945190608501434),(955,23,300,0.03917035087943077),(956,24,300,0.039395514875650406),(957,25,300,0.03962067514657974),(958,26,300,0.03984583914279938),(959,27,300,0.040070999413728714),(960,28,300,0.04029616340994835),(961,29,300,0.040521323680877686),(962,30,300,0.04074648767709732),(963,0,310,0.032743073999881744),(964,1,310,0.032990582287311554),(965,2,310,0.033238090574741364),(966,3,310,0.03348559886217117),(967,4,310,0.03373310714960098),(968,5,310,0.03398061543703079),(969,6,310,0.0342281237244606),(970,7,310,0.03447563201189041),(971,8,310,0.03472313657402992),(972,9,310,0.03497064486145973),(973,10,310,0.03521815314888954),(974,11,310,0.03546566143631935),(975,12,310,0.03571316972374916),(976,13,310,0.03596067801117897),(977,14,310,0.03620818629860878),(978,15,310,0.03645569458603859),(979,16,310,0.0367031991481781),(980,17,310,0.03695070743560791),(981,18,310,0.03719821572303772),(982,19,310,0.03744572401046753),(983,20,310,0.03769323229789734),(984,21,310,0.03794074058532715),(985,22,310,0.03818824887275696),(986,23,310,0.03843575716018677),(987,24,310,0.03868326172232628),(988,25,310,0.03893077000975609),(989,26,310,0.0391782782971859),(990,27,310,0.03942578658461571),(991,28,310,0.03967329487204552),(992,29,310,0.03992080315947533),(993,30,310,0.040168311446905136),(994,0,320,0.03159061074256897),(995,1,320,0.03183884918689728),(996,2,320,0.032087091356515884),(997,3,320,0.03233533352613449),(998,4,320,0.0325835756957531),(999,5,320,0.032831817865371704),(1000,6,320,0.03308006003499031),(1001,7,320,0.03332830220460892),(1002,8,320,0.033576544374227524),(1003,9,320,0.03382478654384613),(1004,10,320,0.03407302498817444),(1005,11,320,0.034321267157793045),(1006,12,320,0.03456950932741165),(1007,13,320,0.03481775149703026),(1008,14,320,0.035065993666648865),(1009,15,320,0.03531423583626747),(1010,16,320,0.03556247800588608),(1011,17,320,0.035810720175504684),(1012,18,320,0.03605896234512329),(1013,19,320,0.0363072045147419),(1014,20,320,0.036555442959070206),(1015,21,320,0.03680368512868881),(1016,22,320,0.03705192729830742),(1017,23,320,0.037300169467926025),(1018,24,320,0.03754841163754463),(1019,25,320,0.03779665380716324),(1020,26,320,0.038044895976781845),(1021,27,320,0.03829313814640045),(1022,28,320,0.03854138031601906),(1023,29,320,0.038789622485637665),(1024,30,320,0.03903786092996597),(1025,0,330,0.030531296506524086),(1026,1,330,0.03076290898025036),(1027,2,330,0.03099452331662178),(1028,3,330,0.031226135790348053),(1029,4,330,0.031457748264074326),(1030,5,330,0.0316893644630909),(1031,6,330,0.03192097693681717),(1032,7,330,0.03215258941054344),(1033,8,330,0.032384201884269714),(1034,9,330,0.032615818083286285),(1035,10,330,0.03284743055701256),(1036,11,330,0.03307904303073883),(1037,12,330,0.0333106555044651),(1038,13,330,0.033542271703481674),(1039,14,330,0.03377388417720795),(1040,15,330,0.03400549665093422),(1041,16,330,0.03423710912466049),(1042,17,330,0.03446872532367706),(1043,18,330,0.034700337797403336),(1044,19,330,0.03493195027112961),(1045,20,330,0.03516356274485588),(1046,21,330,0.03539517894387245),(1047,22,330,0.035626791417598724),(1048,23,330,0.035858403891325),(1049,24,330,0.03609001636505127),(1050,25,330,0.03632163256406784),(1051,26,330,0.03655324503779411),(1052,27,330,0.036784857511520386),(1053,28,330,0.03701647371053696),(1054,29,330,0.03724808618426323),(1055,30,330,0.0374796986579895),(1056,0,340,0.0295622106641531),(1057,1,340,0.0297640822827816),(1058,2,340,0.029965953901410103),(1059,3,340,0.030167827382683754),(1060,4,340,0.030369699001312256),(1061,5,340,0.030571570619940758),(1062,6,340,0.03077344223856926),(1063,7,340,0.03097531571984291),(1064,8,340,0.031177187338471413),(1065,9,340,0.031379058957099915),(1066,10,340,0.031580932438373566),(1067,11,340,0.03178280219435692),(1068,12,340,0.03198467567563057),(1069,13,340,0.03218654915690422),(1070,14,340,0.03238841891288757),(1071,15,340,0.032590292394161224),(1072,16,340,0.03279216215014458),(1073,17,340,0.03299403563141823),(1074,18,340,0.03319590911269188),(1075,19,340,0.03339777886867523),(1076,20,340,0.03359965234994888),(1077,21,340,0.033801525831222534),(1078,22,340,0.03400339558720589),(1079,23,340,0.03420526906847954),(1080,24,340,0.03440713882446289),(1081,25,340,0.03460901230573654),(1082,26,340,0.03481088578701019),(1083,27,340,0.035012755542993546),(1084,28,340,0.0352146290242672),(1085,29,340,0.03541650250554085),(1086,30,340,0.0356183722615242),(1087,0,350,0.028680428862571716),(1088,1,350,0.028843695297837257),(1089,2,350,0.0290069617331028),(1090,3,350,0.02917023003101349),(1091,4,350,0.02933349646627903),(1092,5,350,0.02949676290154457),(1093,6,350,0.02966003119945526),(1094,7,350,0.029823297634720802),(1095,8,350,0.029986564069986343),(1096,9,350,0.030149830505251884),(1097,10,350,0.030313098803162575),(1098,11,350,0.030476365238428116),(1099,12,350,0.030639631673693657),(1100,13,350,0.030802899971604347),(1101,14,350,0.03096616640686989),(1102,15,350,0.03112943284213543),(1103,16,350,0.03129269927740097),(1104,17,350,0.03145596757531166),(1105,18,350,0.03161923587322235),(1106,19,350,0.03178250044584274),(1107,20,350,0.03194576874375343),(1108,21,350,0.032109037041664124),(1109,22,350,0.032272301614284515),(1110,23,350,0.032435569912195206),(1111,24,350,0.032598838210105896),(1112,25,350,0.03276210278272629),(1113,26,350,0.03292537108063698),(1114,27,350,0.03308863937854767),(1115,28,350,0.03325190395116806),(1116,29,350,0.03341517224907875),(1117,30,350,0.03357844054698944),(1118,0,360,0.027883023023605347),(1119,1,360,0.028003070503473282),(1120,2,360,0.028123117983341217),(1121,3,360,0.028243165463209152),(1122,4,360,0.028363212943077087),(1123,5,360,0.028483260422945023),(1124,6,360,0.028603307902812958),(1125,7,360,0.028723355382680893),(1126,8,360,0.028843402862548828),(1127,9,360,0.028963452205061913),(1128,10,360,0.029083499684929848),(1129,11,360,0.029203547164797783),(1130,12,360,0.029323594644665718),(1131,13,360,0.029443642124533653),(1132,14,360,0.02956368960440159),(1133,15,360,0.029683737084269524),(1134,16,360,0.02980378456413746),(1135,17,360,0.029923832044005394),(1136,18,360,0.03004387952387333),(1137,19,360,0.030163927003741264),(1138,20,360,0.0302839744836092),(1139,21,360,0.030404023826122284),(1140,22,360,0.03052407130599022),(1141,23,360,0.030644118785858154),(1142,24,360,0.03076416626572609),(1143,25,360,0.030884213745594025),(1144,26,360,0.03100426122546196),(1145,27,360,0.031124308705329895),(1146,28,360,0.03124435618519783),(1147,29,360,0.031364403665065765),(1148,30,360,0.0314844511449337),(1149,0,370,0.027167068794369698),(1150,1,370,0.027243532240390778),(1151,2,370,0.027319995686411858),(1152,3,370,0.027396459132432938),(1153,4,370,0.027472922578454018),(1154,5,370,0.02754938416182995),(1155,6,370,0.02762584760785103),(1156,7,370,0.02770231105387211),(1157,8,370,0.02777877449989319),(1158,9,370,0.02785523794591427),(1159,10,370,0.02793170139193535),(1160,11,370,0.02800816483795643),(1161,12,370,0.02808462642133236),(1162,13,370,0.02816108986735344),(1163,14,370,0.02823755331337452),(1164,15,370,0.0283140167593956),(1165,16,370,0.02839048020541668),(1166,17,370,0.02846694365143776),(1167,18,370,0.02854340709745884),(1168,19,370,0.02861986868083477),(1169,20,370,0.02869633212685585),(1170,21,370,0.02877279557287693),(1171,22,370,0.02884925901889801),(1172,23,370,0.02892572246491909),(1173,24,370,0.02900218591094017),(1174,25,370,0.02907864935696125),(1175,26,370,0.02915511094033718),(1176,27,370,0.02923157438635826),(1177,28,370,0.02930803783237934),(1178,29,370,0.02938450127840042),(1179,30,370,0.0294609647244215),(1180,0,380,0.026529641821980476),(1181,1,380,0.026566404849290848),(1182,2,380,0.02660316787660122),(1183,3,380,0.02663993090391159),(1184,4,380,0.026676693931221962),(1185,5,380,0.026713456958532333),(1186,6,380,0.026750219985842705),(1187,7,380,0.026786983013153076),(1188,8,380,0.026823746040463448),(1189,9,380,0.02686050906777382),(1190,10,380,0.02689727209508419),(1191,11,380,0.026934035122394562),(1192,12,380,0.026970798149704933),(1193,13,380,0.027007561177015305),(1194,14,380,0.027044324204325676),(1195,15,380,0.027081087231636047),(1196,16,380,0.02711785025894642),(1197,17,380,0.02715461328625679),(1198,18,380,0.02719137631356716),(1199,19,380,0.027228139340877533),(1200,20,380,0.027264902368187904),(1201,21,380,0.027301665395498276),(1202,22,380,0.027338428422808647),(1203,23,380,0.02737519145011902),(1204,24,380,0.02741195447742939),(1205,25,380,0.02744871750473976),(1206,26,380,0.027485480532050133),(1207,27,380,0.027522243559360504),(1208,28,380,0.027559006586670876),(1209,29,380,0.027595769613981247),(1210,30,380,0.02763253264129162),(1211,0,390,0.02596781589090824),(1212,1,390,0.025973010808229446),(1213,2,390,0.0259782075881958),(1214,3,390,0.025983404368162155),(1215,4,390,0.02598860114812851),(1216,5,390,0.025993797928094864),(1217,6,390,0.025998994708061218),(1218,7,390,0.026004189625382423),(1219,8,390,0.026009386405348778),(1220,9,390,0.026014583185315132),(1221,10,390,0.026019779965281487),(1222,11,390,0.02602497674524784),(1223,12,390,0.026030171662569046),(1224,13,390,0.0260353684425354),(1225,14,390,0.026040565222501755),(1226,15,390,0.02604576200246811),(1227,16,390,0.026050958782434464),(1228,17,390,0.026056155562400818),(1229,18,390,0.026061350479722023),(1230,19,390,0.026066547259688377),(1231,20,390,0.026071744039654732),(1232,21,390,0.026076940819621086),(1233,22,390,0.02608213759958744),(1234,23,390,0.026087332516908646),(1235,24,390,0.026092529296875),(1236,25,390,0.026097726076841354),(1237,26,390,0.02610292285680771),(1238,27,390,0.026108119636774063),(1239,28,390,0.026113316416740417),(1240,29,390,0.026118511334061623),(1241,30,390,0.026123708114027977),(1242,0,400,0.02547866478562355),(1243,1,400,0.025464676320552826),(1244,2,400,0.02545068971812725),(1245,3,400,0.025436703115701675),(1246,4,400,0.02542271465063095),(1247,5,400,0.025408728048205376),(1248,6,400,0.0253947414457798),(1249,7,400,0.025380752980709076),(1250,8,400,0.0253667663782835),(1251,9,400,0.025352779775857925),(1252,10,400,0.0253387913107872),(1253,11,400,0.025324804708361626),(1254,12,400,0.02531081810593605),(1255,13,400,0.025296829640865326),(1256,14,400,0.02528284303843975),(1257,15,400,0.025268856436014175),(1258,16,400,0.02525486797094345),(1259,17,400,0.025240881368517876),(1260,18,400,0.0252268947660923),(1261,19,400,0.025212906301021576),(1262,20,400,0.025198919698596),(1263,21,400,0.025184933096170425),(1264,22,400,0.0251709446310997),(1265,23,400,0.025156958028674126),(1266,24,400,0.02514297142624855),(1267,25,400,0.025128982961177826),(1268,26,400,0.02511499635875225),(1269,27,400,0.025101009756326675),(1270,28,400,0.02508702129125595),(1271,29,400,0.025073034688830376),(1272,30,400,0.0250590480864048),(1273,0,410,0.025059152394533157),(1274,1,410,0.025034219026565552),(1275,2,410,0.025009287521243095),(1276,3,410,0.02498435601592064),(1277,4,410,0.024959424510598183),(1278,5,410,0.024934493005275726),(1279,6,410,0.02490956149995327),(1280,7,410,0.024884629994630814),(1281,8,410,0.024859698489308357),(1282,9,410,0.0248347669839859),(1283,10,410,0.024809835478663445),(1284,11,410,0.024784903973340988),(1285,12,410,0.024759972468018532),(1286,13,410,0.024735040962696075),(1287,14,410,0.02471010945737362),(1288,15,410,0.024685177952051163),(1289,16,410,0.024660246446728706),(1290,17,410,0.02463531494140625),(1291,18,410,0.024610383436083794),(1292,19,410,0.024585451930761337),(1293,20,410,0.02456051856279373),(1294,21,410,0.024535587057471275),(1295,22,410,0.02451065555214882),(1296,23,410,0.024485724046826363),(1297,24,410,0.024460792541503906),(1298,25,410,0.02443586103618145),(1299,26,410,0.024410929530858994),(1300,27,410,0.024385998025536537),(1301,28,410,0.02436106652021408),(1302,29,410,0.024336135014891624),(1303,30,410,0.024311203509569168),(1304,0,420,0.024699382483959198),(1305,1,420,0.02466464787721634),(1306,2,420,0.02462991327047348),(1307,3,420,0.024595176801085472),(1308,4,420,0.024560442194342613),(1309,5,420,0.024525707587599754),(1310,6,420,0.024490971118211746),(1311,7,420,0.024456236511468887),(1312,8,420,0.02442150190472603),(1313,9,420,0.02438676543533802),(1314,10,420,0.02435203082859516),(1315,11,420,0.024317296221852303),(1316,12,420,0.024282561615109444),(1317,13,420,0.024247825145721436),(1318,14,420,0.024213090538978577),(1319,15,420,0.024178355932235718),(1320,16,420,0.02414361946284771),(1321,17,420,0.02410888485610485),(1322,18,420,0.024074150249361992),(1323,19,420,0.024039413779973984),(1324,20,420,0.024004679173231125),(1325,21,420,0.023969944566488266),(1326,22,420,0.023935208097100258),(1327,23,420,0.0239004734903574),(1328,24,420,0.02386573888361454),(1329,25,420,0.023831002414226532),(1330,26,420,0.023796267807483673),(1331,27,420,0.023761533200740814),(1332,28,420,0.023726798593997955),(1333,29,420,0.023692062124609947),(1334,30,420,0.02365732751786709),(1335,0,430,0.024386145174503326),(1336,1,430,0.02434256486594677),(1337,2,430,0.024298984557390213),(1338,3,430,0.024255404248833656),(1339,4,430,0.02421182207763195),(1340,5,430,0.024168241769075394),(1341,6,430,0.024124661460518837),(1342,7,430,0.02408108115196228),(1343,8,430,0.024037498980760574),(1344,9,430,0.023993918672204018),(1345,10,430,0.02395033836364746),(1346,11,430,0.023906758055090904),(1347,12,430,0.0238631758838892),(1348,13,430,0.02381959557533264),(1349,14,430,0.023776015266776085),(1350,15,430,0.023732434958219528),(1351,16,430,0.023688852787017822),(1352,17,430,0.023645272478461266),(1353,18,430,0.02360169216990471),(1354,19,430,0.023558109998703003),(1355,20,430,0.023514529690146446),(1356,21,430,0.02347094938158989),(1357,22,430,0.023427369073033333),(1358,23,430,0.023383786901831627),(1359,24,430,0.02334020659327507),(1360,25,430,0.023296626284718513),(1361,26,430,0.023253045976161957),(1362,27,430,0.02320946380496025),(1363,28,430,0.023165883496403694),(1364,29,430,0.023122303187847137),(1365,30,430,0.02307872287929058),(1366,0,440,0.024106228724122047),(1367,1,440,0.024054577574133873),(1368,2,440,0.0240029264241457),(1369,3,440,0.023951275274157524),(1370,4,440,0.0238996222615242),(1371,5,440,0.023847971111536026),(1372,6,440,0.02379631996154785),(1373,7,440,0.023744668811559677),(1374,8,440,0.023693017661571503),(1375,9,440,0.023641366511583328),(1376,10,440,0.023589715361595154),(1377,11,440,0.02353806421160698),(1378,12,440,0.023486413061618805),(1379,13,440,0.02343476191163063),(1380,14,440,0.023383110761642456),(1381,15,440,0.02333145961165428),(1382,16,440,0.023279808461666107),(1383,17,440,0.023228157311677933),(1384,18,440,0.02317650616168976),(1385,19,440,0.023124855011701584),(1386,20,440,0.02307320199906826),(1387,21,440,0.023021550849080086),(1388,22,440,0.02296989969909191),(1389,23,440,0.022918248549103737),(1390,24,440,0.022866597399115562),(1391,25,440,0.022814946249127388),(1392,26,440,0.022763295099139214),(1393,27,440,0.02271164394915104),(1394,28,440,0.022659992799162865),(1395,29,440,0.02260834164917469),(1396,30,440,0.022556690499186516),(1397,0,450,0.023846417665481567),(1398,1,450,0.02378728799521923),(1399,2,450,0.023728158324956894),(1400,3,450,0.023669028654694557),(1401,4,450,0.02360989898443222),(1402,5,450,0.023550769314169884),(1403,6,450,0.023491641506552696),(1404,7,450,0.02343251183629036),(1405,8,450,0.023373382166028023),(1406,9,450,0.023314252495765686),(1407,10,450,0.02325512282550335),(1408,11,450,0.023195993155241013),(1409,12,450,0.023136863484978676),(1410,13,450,0.02307773381471634),(1411,14,450,0.023018604144454002),(1412,15,450,0.022959476336836815),(1413,16,450,0.022900346666574478),(1414,17,450,0.02284121699631214),(1415,18,450,0.022782087326049805),(1416,19,450,0.022722957655787468),(1417,20,450,0.02266382798552513),(1418,21,450,0.022604698315262794),(1419,22,450,0.022545568645000458),(1420,23,450,0.02248644083738327),(1421,24,450,0.022427311167120934),(1422,25,450,0.022368181496858597),(1423,26,450,0.02230905182659626),(1424,27,450,0.022249922156333923),(1425,28,450,0.022190792486071587),(1426,29,450,0.02213166281580925),(1427,30,450,0.022072533145546913),(1428,0,460,0.02359350025653839),(1429,1,460,0.023527303710579872),(1430,2,460,0.023461105301976204),(1431,3,460,0.023394906893372536),(1432,4,460,0.023328708484768867),(1433,5,460,0.0232625100761652),(1434,6,460,0.02319631166756153),(1435,7,460,0.023130113258957863),(1436,8,460,0.023063914850354195),(1437,9,460,0.022997716441750526),(1438,10,460,0.022931519895792007),(1439,11,460,0.02286532148718834),(1440,12,460,0.02279912307858467),(1441,13,460,0.022732924669981003),(1442,14,460,0.022666726261377335),(1443,15,460,0.022600527852773666),(1444,16,460,0.022534329444169998),(1445,17,460,0.02246813103556633),(1446,18,460,0.022401932626962662),(1447,19,460,0.022335736081004143),(1448,20,460,0.022269537672400475),(1449,21,460,0.022203339263796806),(1450,22,460,0.022137140855193138),(1451,23,460,0.02207094244658947),(1452,24,460,0.0220047440379858),(1453,25,460,0.021938545629382133),(1454,26,460,0.021872347220778465),(1455,27,460,0.021806150674819946),(1456,28,460,0.021739952266216278),(1457,29,460,0.02167375385761261),(1458,30,460,0.02160755544900894),(1459,0,470,0.023334266617894173),(1460,1,470,0.02326122671365738),(1461,2,470,0.023188186809420586),(1462,3,470,0.023115145042538643),(1463,4,470,0.02304210513830185),(1464,5,470,0.022969065234065056),(1465,6,470,0.022896025329828262),(1466,7,470,0.02282298542559147),(1467,8,470,0.022749943658709526),(1468,9,470,0.022676903754472733),(1469,10,470,0.02260386385023594),(1470,11,470,0.022530823945999146),(1471,12,470,0.022457782179117203),(1472,13,470,0.02238474227488041),(1473,14,470,0.022311702370643616),(1474,15,470,0.022238662466406822),(1475,16,470,0.02216562069952488),(1476,17,470,0.022092580795288086),(1477,18,470,0.022019540891051292),(1478,19,470,0.0219465009868145),(1479,20,470,0.021873461082577705),(1480,21,470,0.021800419315695763),(1481,22,470,0.02172737941145897),(1482,23,470,0.021654339507222176),(1483,24,470,0.021581299602985382),(1484,25,470,0.02150825783610344),(1485,26,470,0.021435217931866646),(1486,27,470,0.021362178027629852),(1487,28,470,0.02128913812339306),(1488,29,470,0.021216096356511116),(1489,30,470,0.021143056452274323),(1490,0,480,0.023055503144860268),(1491,1,480,0.02297566458582878),(1492,2,480,0.022895826026797295),(1493,3,480,0.02281598560512066),(1494,4,480,0.022736147046089172),(1495,5,480,0.022656308487057686),(1496,6,480,0.0225764699280262),(1497,7,480,0.022496631368994713),(1498,8,480,0.022416792809963226),(1499,9,480,0.02233695425093174),(1500,10,480,0.022257115691900253),(1501,11,480,0.022177277132868767),(1502,12,480,0.02209743857383728),(1503,13,480,0.022017600014805794),(1504,14,480,0.021937761455774307),(1505,15,480,0.02185792103409767),(1506,16,480,0.021778082475066185),(1507,17,480,0.0216982439160347),(1508,18,480,0.021618405357003212),(1509,19,480,0.021538566797971725),(1510,20,480,0.02145872823894024),(1511,21,480,0.021378889679908752),(1512,22,480,0.021299051120877266),(1513,23,480,0.02121921256184578),(1514,24,480,0.021139374002814293),(1515,25,480,0.021059535443782806),(1516,26,480,0.02097969502210617),(1517,27,480,0.020899856463074684),(1518,28,480,0.020820017904043198),(1519,29,480,0.02074017934501171),(1520,30,480,0.020660340785980225),(1521,0,490,0.02274399623274803),(1522,1,490,0.02265721932053566),(1523,2,490,0.022570444270968437),(1524,3,490,0.022483667358756065),(1525,4,490,0.022396890446543694),(1526,5,490,0.02231011539697647),(1527,6,490,0.0222233384847641),(1528,7,490,0.022136563435196877),(1529,8,490,0.022049786522984505),(1530,9,490,0.021963009610772133),(1531,10,490,0.02187623456120491),(1532,11,490,0.02178945764899254),(1533,12,490,0.021702680736780167),(1534,13,490,0.021615905687212944),(1535,14,490,0.021529128775000572),(1536,15,490,0.02144235372543335),(1537,16,490,0.021355576813220978),(1538,17,490,0.021268799901008606),(1539,18,490,0.021182024851441383),(1540,19,490,0.02109524793922901),(1541,20,490,0.02100847288966179),(1542,21,490,0.020921695977449417),(1543,22,490,0.020834919065237045),(1544,23,490,0.020748144015669823),(1545,24,490,0.02066136710345745),(1546,25,490,0.02057459205389023),(1547,26,490,0.020487815141677856),(1548,27,490,0.020401038229465485),(1549,28,490,0.020314263179898262),(1550,29,490,0.02022748626768589),(1551,30,490,0.020140711218118668),(1552,0,500,0.02238653413951397),(1553,1,500,0.022292498499155045),(1554,2,500,0.02219846285879612),(1555,3,500,0.022104427218437195),(1556,4,500,0.02201039157807827),(1557,5,500,0.021916355937719345),(1558,6,500,0.02182232029736042),(1559,7,500,0.021728284657001495),(1560,8,500,0.02163424901664257),(1561,9,500,0.021540213376283646),(1562,10,500,0.02144617773592472),(1563,11,500,0.021352142095565796),(1564,12,500,0.02125810645520687),(1565,13,500,0.021164070814847946),(1566,14,500,0.02107003517448902),(1567,15,500,0.020975999534130096),(1568,16,500,0.02088196575641632),(1569,17,500,0.020787930116057396),(1570,18,500,0.02069389447569847),(1571,19,500,0.020599858835339546),(1572,20,500,0.02050582319498062),(1573,21,500,0.020411787554621696),(1574,22,500,0.02031775191426277),(1575,23,500,0.020223716273903847),(1576,24,500,0.020129680633544922),(1577,25,500,0.020035644993185997),(1578,26,500,0.019941609352827072),(1579,27,500,0.019847573712468147),(1580,28,500,0.019753538072109222),(1581,29,500,0.019659502431750298),(1582,30,500,0.019565466791391373),(1583,0,510,0.021952752023935318),(1584,1,510,0.021848052740097046),(1585,2,510,0.021743353456258774),(1586,3,510,0.0216386541724205),(1587,4,510,0.02153395488858223),(1588,5,510,0.021429255604743958),(1589,6,510,0.021324556320905685),(1590,7,510,0.021219857037067413),(1591,8,510,0.02111515775322914),(1592,9,510,0.02101045660674572),(1593,10,510,0.020905757322907448),(1594,11,510,0.020801058039069176),(1595,12,510,0.020696358755230904),(1596,13,510,0.02059165947139263),(1597,14,510,0.02048696018755436),(1598,15,510,0.020382260903716087),(1599,16,510,0.020277561619877815),(1600,17,510,0.020172862336039543),(1601,18,510,0.02006816305220127),(1602,19,510,0.01996346190571785),(1603,20,510,0.019858762621879578),(1604,21,510,0.019754063338041306),(1605,22,510,0.019649364054203033),(1606,23,510,0.01954466477036476),(1607,24,510,0.01943996548652649),(1608,25,510,0.019335266202688217),(1609,26,510,0.019230566918849945),(1610,27,510,0.019125867635011673),(1611,28,510,0.0190211683511734),(1612,29,510,0.01891646906733513),(1613,30,510,0.018811767920851707),(1614,0,520,0.02143724262714386),(1615,1,520,0.021316546946763992),(1616,2,520,0.021195851266384125),(1617,3,520,0.021075153723359108),(1618,4,520,0.02095445804297924),(1619,5,520,0.020833762362599373),(1620,6,520,0.020713066682219505),(1621,7,520,0.020592371001839638),(1622,8,520,0.02047167532145977),(1623,9,520,0.020350979641079903),(1624,10,520,0.020230282098054886),(1625,11,520,0.02010958641767502),(1626,12,520,0.01998889073729515),(1627,13,520,0.019868195056915283),(1628,14,520,0.019747499376535416),(1629,15,520,0.019626803696155548),(1630,16,520,0.01950610615313053),(1631,17,520,0.019385410472750664),(1632,18,520,0.019264714792370796),(1633,19,520,0.01914401911199093),(1634,20,520,0.01902332343161106),(1635,21,520,0.018902627751231194),(1636,22,520,0.018781930208206177),(1637,23,520,0.01866123452782631),(1638,24,520,0.01854053884744644),(1639,25,520,0.018419843167066574),(1640,26,520,0.018299147486686707),(1641,27,520,0.01817845180630684),(1642,28,520,0.018057754263281822),(1643,29,520,0.017937058582901955),(1644,30,520,0.017816362902522087),(1645,0,530,0.020864224061369896),(1646,1,530,0.020723748952150345),(1647,2,530,0.020583271980285645),(1648,3,530,0.020442796871066093),(1649,4,530,0.020302319899201393),(1650,5,530,0.020161842927336693),(1651,6,530,0.02002136781811714),(1652,7,530,0.01988089084625244),(1653,8,530,0.01974041573703289),(1654,9,530,0.01959993876516819),(1655,10,530,0.01945946179330349),(1656,11,530,0.01931898668408394),(1657,12,530,0.01917850971221924),(1658,13,530,0.019038032740354538),(1659,14,530,0.018897557631134987),(1660,15,530,0.018757080659270287),(1661,16,530,0.018616605550050735),(1662,17,530,0.018476128578186035),(1663,18,530,0.018335651606321335),(1664,19,530,0.018195176497101784),(1665,20,530,0.018054699525237083),(1666,21,530,0.017914222553372383),(1667,22,530,0.017773747444152832),(1668,23,530,0.01763327047228813),(1669,24,530,0.01749279536306858),(1670,25,530,0.01735231839120388),(1671,26,530,0.01721184141933918),(1672,27,530,0.01707136631011963),(1673,28,530,0.01693088933825493),(1674,29,530,0.01679041236639023),(1675,30,530,0.016649937257170677),(1676,0,540,0.020257921889424324),(1677,1,540,0.020095430314540863),(1678,2,540,0.019932938739657402),(1679,3,540,0.01977044716477394),(1680,4,540,0.01960795558989048),(1681,5,540,0.01944546401500702),(1682,6,540,0.019282972440123558),(1683,7,540,0.019120480865240097),(1684,8,540,0.018957989290356636),(1685,9,540,0.018795497715473175),(1686,10,540,0.018633006140589714),(1687,11,540,0.018470514565706253),(1688,12,540,0.018308022990822792),(1689,13,540,0.01814553141593933),(1690,14,540,0.01798303984105587),(1691,15,540,0.01782054826617241),(1692,16,540,0.017658056691288948),(1693,17,540,0.017495565116405487),(1694,18,540,0.017333073541522026),(1695,19,540,0.017170581966638565),(1696,20,540,0.017008090391755104),(1697,21,540,0.016845598816871643),(1698,22,540,0.016683107241988182),(1699,23,540,0.01652061752974987),(1700,24,540,0.01635812595486641),(1701,25,540,0.01619563437998295),(1702,26,540,0.016033142805099487),(1703,27,540,0.015870651230216026),(1704,28,540,0.015708159655332565),(1705,29,540,0.01554566714912653),(1706,30,540,0.015383176505565643),(1707,0,550,0.019642552360892296),(1708,1,550,0.019457358866930008),(1709,2,550,0.01927216723561287),(1710,3,550,0.01908697374165058),(1711,4,550,0.018901780247688293),(1712,5,550,0.018716588616371155),(1713,6,550,0.018531395122408867),(1714,7,550,0.018346203491091728),(1715,8,550,0.01816100999712944),(1716,9,550,0.017975816503167152),(1717,10,550,0.017790624871850014),(1718,11,550,0.017605431377887726),(1719,12,550,0.017420237883925438),(1720,13,550,0.0172350462526083),(1721,14,550,0.01704985275864601),(1722,15,550,0.016864659264683723),(1723,16,550,0.016679467633366585),(1724,17,550,0.016494274139404297),(1725,18,550,0.01630908064544201),(1726,19,550,0.01612388901412487),(1727,20,550,0.015938695520162582),(1728,21,550,0.015753502026200294),(1729,22,550,0.015568310394883156),(1730,23,550,0.015383116900920868),(1731,24,550,0.015197924338281155),(1732,25,550,0.015012731775641441),(1733,26,550,0.014827538281679153),(1734,27,550,0.01464234571903944),(1735,28,550,0.014457153156399727),(1736,29,550,0.014271959662437439),(1737,30,550,0.014086767099797726),(1738,0,560,0.01904233917593956),(1739,1,560,0.01883530803024769),(1740,2,560,0.018628276884555817),(1741,3,560,0.018421245738863945),(1742,4,560,0.018214214593172073),(1743,5,560,0.0180071834474802),(1744,6,560,0.01780015230178833),(1745,7,560,0.01759311929345131),(1746,8,560,0.017386088147759438),(1747,9,560,0.017179057002067566),(1748,10,560,0.016972025856375694),(1749,11,560,0.016764994710683823),(1750,12,560,0.01655796356499195),(1751,13,560,0.01635093055665493),(1752,14,560,0.01614389941096306),(1753,15,560,0.015936868265271187),(1754,16,560,0.015729837119579315),(1755,17,560,0.015522805973887444),(1756,18,560,0.015315773896872997),(1757,19,560,0.015108742751181126),(1758,20,560,0.014901711605489254),(1759,21,560,0.014694679528474808),(1760,22,560,0.014487648382782936),(1761,23,560,0.014280617237091064),(1762,24,560,0.014073585160076618),(1763,25,560,0.013866554014384747),(1764,26,560,0.013659522868692875),(1765,27,560,0.013452490791678429),(1766,28,560,0.013245459645986557),(1767,29,560,0.013038428500294685),(1768,30,560,0.012831397354602814),(1769,0,570,0.018481506034731865),(1770,1,570,0.018255047500133514),(1771,2,570,0.018028588965535164),(1772,3,570,0.017802130430936813),(1773,4,570,0.017575671896338463),(1774,5,570,0.017349213361740112),(1775,6,570,0.017122754827141762),(1776,7,570,0.01689629629254341),(1777,8,570,0.01666983775794506),(1778,9,570,0.01644337922334671),(1779,10,570,0.01621692068874836),(1780,11,570,0.01599046215415001),(1781,12,570,0.01576400361955166),(1782,13,570,0.015537545084953308),(1783,14,570,0.015311086550354958),(1784,15,570,0.015084628015756607),(1785,16,570,0.014858169481158257),(1786,17,570,0.014631710946559906),(1787,18,570,0.01440525334328413),(1788,19,570,0.01417879480868578),(1789,20,570,0.013952336274087429),(1790,21,570,0.013725877739489079),(1791,22,570,0.013499419204890728),(1792,23,570,0.013272960670292377),(1793,24,570,0.013046502135694027),(1794,25,570,0.012820043601095676),(1795,26,570,0.012593585066497326),(1796,27,570,0.012367126531898975),(1797,28,570,0.012140667997300625),(1798,29,570,0.011914209462702274),(1799,30,570,0.011687750928103924),(1800,0,580,0.017984269186854362),(1801,1,580,0.017742343246936798),(1802,2,580,0.017500419169664383),(1803,3,580,0.01725849322974682),(1804,4,580,0.017016569152474403),(1805,5,580,0.01677464321255684),(1806,6,580,0.016532719135284424),(1807,7,580,0.01629079319536686),(1808,8,580,0.016048869118094444),(1809,9,580,0.01580694317817688),(1810,10,580,0.01556501816958189),(1811,11,580,0.0153230931609869),(1812,12,580,0.01508116815239191),(1813,13,580,0.01483924314379692),(1814,14,580,0.014597318135201931),(1815,15,580,0.014355393126606941),(1816,16,580,0.014113468118011951),(1817,17,580,0.013871543109416962),(1818,18,580,0.013629618100821972),(1819,19,580,0.013387693092226982),(1820,20,580,0.013145768083631992),(1821,21,580,0.012903843075037003),(1822,22,580,0.012661918066442013),(1823,23,580,0.012419992126524448),(1824,24,580,0.012178067117929459),(1825,25,580,0.011936142109334469),(1826,26,580,0.011694217100739479),(1827,27,580,0.01145229209214449),(1828,28,580,0.0112103670835495),(1829,29,580,0.01096844207495451),(1830,30,580,0.01072651706635952),(1831,0,590,0.0175748523324728),(1832,1,590,0.017322970554232597),(1833,2,590,0.017071088775992393),(1834,3,590,0.01681920513510704),(1835,4,590,0.016567323356866837),(1836,5,590,0.016315441578626633),(1837,6,590,0.01606355793774128),(1838,7,590,0.015811676159501076),(1839,8,590,0.015559793449938297),(1840,9,590,0.015307911671698093),(1841,10,590,0.015056028962135315),(1842,11,590,0.014804146252572536),(1843,12,590,0.014552264474332333),(1844,13,590,0.014300381764769554),(1845,14,590,0.014048499055206776),(1846,15,590,0.013796617276966572),(1847,16,590,0.013544734567403793),(1848,17,590,0.013292851857841015),(1849,18,590,0.013040970079600811),(1850,19,590,0.012789087370038033),(1851,20,590,0.012537204660475254),(1852,21,590,0.012285321950912476),(1853,22,590,0.012033440172672272),(1854,23,590,0.011781557463109493),(1855,24,590,0.011529674753546715),(1856,25,590,0.011277792975306511),(1857,26,590,0.011025910265743732),(1858,27,590,0.010774027556180954),(1859,28,590,0.01052214577794075),(1860,29,590,0.010270263068377972),(1861,30,590,0.010018380358815193),(1862,0,600,0.01727747917175293),(1863,1,600,0.017022697255015373),(1864,2,600,0.016767915338277817),(1865,3,600,0.01651313342154026),(1866,4,600,0.016258351504802704),(1867,5,600,0.016003569588065147),(1868,6,600,0.01574878767132759),(1869,7,600,0.015494006685912609),(1870,8,600,0.015239224769175053),(1871,9,600,0.01498444378376007),(1872,10,600,0.014729661867022514),(1873,11,600,0.014474879950284958),(1874,12,600,0.014220098033547401),(1875,13,600,0.01396531704813242),(1876,14,600,0.013710535131394863),(1877,15,600,0.013455753214657307),(1878,16,600,0.013200972229242325),(1879,17,600,0.012946190312504768),(1880,18,600,0.012691408395767212),(1881,19,600,0.012436626479029655),(1882,20,600,0.012181845493614674),(1883,21,600,0.011927063576877117),(1884,22,600,0.01167228166013956),(1885,23,600,0.011417499743402004),(1886,24,600,0.011162718757987022),(1887,25,600,0.010907936841249466),(1888,26,600,0.01065315492451191),(1889,27,600,0.010398373007774353),(1890,28,600,0.010143592022359371),(1891,29,600,0.009888810105621815),(1892,30,600,0.009634028188884258),(1893,0,610,0.01704595983028412),(1894,1,610,0.016796447336673737),(1895,2,610,0.016546932980418205),(1896,3,610,0.016297420486807823),(1897,4,610,0.016047906130552292),(1898,5,610,0.01579839177429676),(1899,6,610,0.015548878349363804),(1900,7,610,0.015299364924430847),(1901,8,610,0.01504985149949789),(1902,9,610,0.014800338074564934),(1903,10,610,0.014550823718309402),(1904,11,610,0.014301310293376446),(1905,12,610,0.014051796868443489),(1906,13,610,0.013802282512187958),(1907,14,610,0.013552769087255001),(1908,15,610,0.013303255662322044),(1909,16,610,0.013053742237389088),(1910,17,610,0.012804227881133556),(1911,18,610,0.0125547144562006),(1912,19,610,0.012305201031267643),(1913,20,610,0.012055687606334686),(1914,21,610,0.011806173250079155),(1915,22,610,0.011556659825146198),(1916,23,610,0.011307146400213242),(1917,24,610,0.011057632975280285),(1918,25,610,0.010808118619024754),(1919,26,610,0.010558605194091797),(1920,27,610,0.01030909176915884),(1921,28,610,0.010059578344225883),(1922,29,610,0.009810063987970352),(1923,30,610,0.009560550563037395),(1924,0,620,0.01681867055594921),(1925,1,620,0.016581518575549126),(1926,2,620,0.01634436845779419),(1927,3,620,0.016107218340039253),(1928,4,620,0.015870066359639168),(1929,5,620,0.01563291624188423),(1930,6,620,0.015395766124129295),(1931,7,620,0.015158615075051785),(1932,8,620,0.014921464957296848),(1933,9,620,0.014684313908219337),(1934,10,620,0.014447162859141827),(1935,11,620,0.01421001274138689),(1936,12,620,0.01397286169230938),(1937,13,620,0.013735711574554443),(1938,14,620,0.013498560525476933),(1939,15,620,0.013261409476399422),(1940,16,620,0.013024259358644485),(1941,17,620,0.012787108309566975),(1942,18,620,0.012549958191812038),(1943,19,620,0.012312807142734528),(1944,20,620,0.012075656093657017),(1945,21,620,0.01183850597590208),(1946,22,620,0.01160135492682457),(1947,23,620,0.011364204809069633),(1948,24,620,0.011127053759992123),(1949,25,620,0.010889902710914612),(1950,26,620,0.010652752593159676),(1951,27,620,0.010415601544082165),(1952,28,620,0.010178451426327229),(1953,29,620,0.009941300377249718),(1954,30,620,0.009704149328172207),(1955,0,630,0.016596661880612373),(1956,1,630,0.016377244144678116),(1957,2,630,0.016157828271389008),(1958,3,630,0.0159384123980999),(1959,4,630,0.01571899652481079),(1960,5,630,0.015499580651521683),(1961,6,630,0.015280164778232574),(1962,7,630,0.015060748904943466),(1963,8,630,0.014841332100331783),(1964,9,630,0.014621916227042675),(1965,10,630,0.014402500353753567),(1966,11,630,0.014183084480464458),(1967,12,630,0.01396366860717535),(1968,13,630,0.013744251802563667),(1969,14,630,0.013524835929274559),(1970,15,630,0.01330542005598545),(1971,16,630,0.013086004182696342),(1972,17,630,0.012866588309407234),(1973,18,630,0.012647171504795551),(1974,19,630,0.012427755631506443),(1975,20,630,0.012208339758217335),(1976,21,630,0.011988923884928226),(1977,22,630,0.011769508011639118),(1978,23,630,0.011550091207027435),(1979,24,630,0.011330675333738327),(1980,25,630,0.011111259460449219),(1981,26,630,0.01089184358716011),(1982,27,630,0.010672427713871002),(1983,28,630,0.01045301090925932),(1984,29,630,0.010233595035970211),(1985,30,630,0.010014179162681103),(1986,0,640,0.01638098806142807),(1987,1,640,0.016182955354452133),(1988,2,640,0.015984922647476196),(1989,3,640,0.01578688994050026),(1990,4,640,0.015588856302201748),(1991,5,640,0.015390822663903236),(1992,6,640,0.0151927899569273),(1993,7,640,0.014994756318628788),(1994,8,640,0.014796722680330276),(1995,9,640,0.01459868997335434),(1996,10,640,0.014400656335055828),(1997,11,640,0.014202623628079891),(1998,12,640,0.01400458998978138),(1999,13,640,0.013806557282805443),(2000,14,640,0.013608523644506931),(2001,15,640,0.013410490937530994),(2002,16,640,0.013212457299232483),(2003,17,640,0.013014423660933971),(2004,18,640,0.012816390953958035),(2005,19,640,0.012618357315659523),(2006,20,640,0.012420324608683586),(2007,21,640,0.012222290970385075),(2008,22,640,0.012024258263409138),(2009,23,640,0.011826224625110626),(2010,24,640,0.01162819191813469),(2011,25,640,0.011430158279836178),(2012,26,640,0.011232124641537666),(2013,27,640,0.01103409193456173),(2014,28,640,0.010836058296263218),(2015,29,640,0.010638025589287281),(2016,30,640,0.01043999195098877),(2017,0,650,0.016172707080841064),(2018,1,650,0.015997981652617455),(2019,2,650,0.015823256224393845),(2020,3,650,0.015648530796170235),(2021,4,650,0.015473805367946625),(2022,5,650,0.015299079939723015),(2023,6,650,0.015124354511499405),(2024,7,650,0.014949629083275795),(2025,8,650,0.014774903655052185),(2026,9,650,0.014600178226828575),(2027,10,650,0.014425452798604965),(2028,11,650,0.014250727370381355),(2029,12,650,0.014076001942157745),(2030,13,650,0.013901276513934135),(2031,14,650,0.013726551085710526),(2032,15,650,0.013551824726164341),(2033,16,650,0.013377099297940731),(2034,17,650,0.013202373869717121),(2035,18,650,0.013027648441493511),(2036,19,650,0.012852923013269901),(2037,20,650,0.012678197585046291),(2038,21,650,0.012503472156822681),(2039,22,650,0.012328746728599072),(2040,23,650,0.012154021300375462),(2041,24,650,0.011979295872151852),(2042,25,650,0.011804570443928242),(2043,26,650,0.011629845015704632),(2044,27,650,0.011455118656158447),(2045,28,650,0.011280393227934837),(2046,29,650,0.011105667799711227),(2047,30,650,0.010930942371487617),(2048,0,660,0.01597287319600582),(2049,1,660,0.015821656212210655),(2050,2,660,0.01567043922841549),(2051,3,660,0.015519223175942898),(2052,4,660,0.015368007123470306),(2053,5,660,0.015216791070997715),(2054,6,660,0.015065575018525124),(2055,7,660,0.014914358034729958),(2056,8,660,0.014763141982257366),(2057,9,660,0.014611925929784775),(2058,10,660,0.014460709877312183),(2059,11,660,0.014309492893517017),(2060,12,660,0.014158276841044426),(2061,13,660,0.014007060788571835),(2062,14,660,0.013855844736099243),(2063,15,660,0.013704627752304077),(2064,16,660,0.013553411699831486),(2065,17,660,0.013402195647358894),(2066,18,660,0.013250979594886303),(2067,19,660,0.013099762611091137),(2068,20,660,0.012948546558618546),(2069,21,660,0.012797330506145954),(2070,22,660,0.012646114453673363),(2071,23,660,0.012494897469878197),(2072,24,660,0.012343681417405605),(2073,25,660,0.012192465364933014),(2074,26,660,0.012041249312460423),(2075,27,660,0.011890032328665257),(2076,28,660,0.011738816276192665),(2077,29,660,0.011587600223720074),(2078,30,660,0.011436383239924908),(2079,0,670,0.015782536938786507),(2080,1,670,0.015653308480978012),(2081,2,670,0.015524080023169518),(2082,3,670,0.015394850634038448),(2083,4,670,0.015265622176229954),(2084,5,670,0.015136392787098885),(2085,6,670,0.01500716432929039),(2086,7,670,0.01487793494015932),(2087,8,670,0.014748706482350826),(2088,9,670,0.014619477093219757),(2089,10,670,0.014490247704088688),(2090,11,670,0.014361019246280193),(2091,12,670,0.014231789857149124),(2092,13,670,0.01410256139934063),(2093,14,670,0.01397333201020956),(2094,15,670,0.013844103552401066),(2095,16,670,0.013714874163269997),(2096,17,670,0.013585645705461502),(2097,18,670,0.013456416316330433),(2098,19,670,0.013327187858521938),(2099,20,670,0.01319795846939087),(2100,21,670,0.013068730011582375),(2101,22,670,0.012939500622451305),(2102,23,670,0.01281027216464281),(2103,24,670,0.012681042775511742),(2104,25,670,0.012551814317703247),(2105,26,670,0.012422584928572178),(2106,27,670,0.012293355539441109),(2107,28,670,0.012164127081632614),(2108,29,670,0.012034897692501545),(2109,30,670,0.01190566923469305),(2110,0,680,0.015602758154273033),(2111,1,680,0.015492270700633526),(2112,2,680,0.015381784178316593),(2113,3,680,0.01527129765599966),(2114,4,680,0.015160810202360153),(2115,5,680,0.01505032368004322),(2116,6,680,0.014939837157726288),(2117,7,680,0.01482934970408678),(2118,8,680,0.014718863181769848),(2119,9,680,0.014608376659452915),(2120,10,680,0.014497889205813408),(2121,11,680,0.014387402683496475),(2122,12,680,0.014276915229856968),(2123,13,680,0.014166428707540035),(2124,14,680,0.014055942185223103),(2125,15,680,0.013945454731583595),(2126,16,680,0.013834968209266663),(2127,17,680,0.01372448168694973),(2128,18,680,0.013613994233310223),(2129,19,680,0.01350350771099329),(2130,20,680,0.013393021188676357),(2131,21,680,0.01328253373503685),(2132,22,680,0.013172047212719917),(2133,23,680,0.013061560690402985),(2134,24,680,0.012951073236763477),(2135,25,680,0.012840586714446545),(2136,26,680,0.012730100192129612),(2137,27,680,0.012619612738490105),(2138,28,680,0.012509126216173172),(2139,29,680,0.012398638762533665),(2140,30,680,0.012288152240216732),(2141,0,690,0.015434587374329567),(2142,1,690,0.015337874181568623),(2143,2,690,0.015241160988807678),(2144,3,690,0.015144447796046734),(2145,4,690,0.01504773460328579),(2146,5,690,0.01495102047920227),(2147,6,690,0.014854307286441326),(2148,7,690,0.014757594093680382),(2149,8,690,0.014660880900919437),(2150,9,690,0.014564167708158493),(2151,10,690,0.014467454515397549),(2152,11,690,0.01437074039131403),(2153,12,690,0.014274027198553085),(2154,13,690,0.014177314005792141),(2155,14,690,0.014080600813031197),(2156,15,690,0.013983887620270252),(2157,16,690,0.013887173496186733),(2158,17,690,0.013790460303425789),(2159,18,690,0.013693747110664845),(2160,19,690,0.0135970339179039),(2161,20,690,0.013500320725142956),(2162,21,690,0.013403607532382011),(2163,22,690,0.013306893408298492),(2164,23,690,0.013210180215537548),(2165,24,690,0.013113467022776604),(2166,25,690,0.01301675383001566),(2167,26,690,0.012920040637254715),(2168,27,690,0.012823326513171196),(2169,28,690,0.012726613320410252),(2170,29,690,0.012629900127649307),(2171,30,690,0.012533186934888363),(2172,0,700,0.015279081650078297),(2173,1,700,0.015189450234174728),(2174,2,700,0.015099817886948586),(2175,3,700,0.015010186471045017),(2176,4,700,0.014920554123818874),(2177,5,700,0.014830922707915306),(2178,6,700,0.014741290360689163),(2179,7,700,0.014651658944785595),(2180,8,700,0.014562026597559452),(2181,9,700,0.014472395181655884),(2182,10,700,0.014382763765752316),(2183,11,700,0.014293131418526173),(2184,12,700,0.014203500002622604),(2185,13,700,0.014113867655396461),(2186,14,700,0.014024236239492893),(2187,15,700,0.01393460389226675),(2188,16,700,0.013844972476363182),(2189,17,700,0.01375534012913704),(2190,18,700,0.013665708713233471),(2191,19,700,0.013576076366007328),(2192,20,700,0.01348644495010376),(2193,21,700,0.013396812602877617),(2194,22,700,0.013307181186974049),(2195,23,700,0.013217548839747906),(2196,24,700,0.013127917423844337),(2197,25,700,0.013038285076618195),(2198,26,700,0.012948653660714626),(2199,27,700,0.012859022244811058),(2200,28,700,0.012769389897584915),(2201,29,700,0.012679758481681347),(2202,30,700,0.012590126134455204),(2203,0,710,0.015119881369173527),(2204,1,710,0.015032357536256313),(2205,2,710,0.0149448337033391),(2206,3,710,0.014857309870421886),(2207,4,710,0.014769786037504673),(2208,5,710,0.01468226220458746),(2209,6,710,0.014594738371670246),(2210,7,710,0.014507214538753033),(2211,8,710,0.014419689774513245),(2212,9,710,0.014332165941596031),(2213,10,710,0.014244642108678818),(2214,11,710,0.014157118275761604),(2215,12,710,0.014069594442844391),(2216,13,710,0.013982070609927177),(2217,14,710,0.013894546777009964),(2218,15,710,0.01380702294409275),(2219,16,710,0.013719499111175537),(2220,17,710,0.013631975278258324),(2221,18,710,0.01354445144534111),(2222,19,710,0.013456926681101322),(2223,20,710,0.013369402848184109),(2224,21,710,0.013281879015266895),(2225,22,710,0.013194355182349682),(2226,23,710,0.013106831349432468),(2227,24,710,0.013019307516515255),(2228,25,710,0.012931783683598042),(2229,26,710,0.012844259850680828),(2230,27,710,0.012756736017763615),(2231,28,710,0.012669212184846401),(2232,29,710,0.012581688351929188),(2233,30,710,0.012494164519011974),(2234,0,720,0.014942098408937454),(2235,1,720,0.014854497276246548),(2236,2,720,0.014766896143555641),(2237,3,720,0.014679295010864735),(2238,4,720,0.014591693878173828),(2239,5,720,0.014504092745482922),(2240,6,720,0.014416491612792015),(2241,7,720,0.014328890480101109),(2242,8,720,0.014241289347410202),(2243,9,720,0.014153688214719296),(2244,10,720,0.014066087082028389),(2245,11,720,0.013978485949337482),(2246,12,720,0.013890884816646576),(2247,13,720,0.01380328368395567),(2248,14,720,0.013715682551264763),(2249,15,720,0.013628081418573856),(2250,16,720,0.01354048028588295),(2251,17,720,0.013452879153192043),(2252,18,720,0.013365278020501137),(2253,19,720,0.01327767688781023),(2254,20,720,0.013190075755119324),(2255,21,720,0.013102474622428417),(2256,22,720,0.01301487348973751),(2257,23,720,0.012927272357046604),(2258,24,720,0.012839671224355698),(2259,25,720,0.012752070091664791),(2260,26,720,0.012664468958973885),(2261,27,720,0.012576867826282978),(2262,28,720,0.012489266693592072),(2263,29,720,0.012401665560901165),(2264,30,720,0.012314064428210258),(2265,0,730,0.014748993329703808),(2266,1,730,0.014659011736512184),(2267,2,730,0.01456903014332056),(2268,3,730,0.014479047618806362),(2269,4,730,0.014389066025614738),(2270,5,730,0.014299084432423115),(2271,6,730,0.014209101907908916),(2272,7,730,0.014119120314717293),(2273,8,730,0.014029138721525669),(2274,9,730,0.01393915619701147),(2275,10,730,0.013849174603819847),(2276,11,730,0.013759193010628223),(2277,12,730,0.0136692114174366),(2278,13,730,0.013579228892922401),(2279,14,730,0.013489247299730778),(2280,15,730,0.013399265706539154),(2281,16,730,0.013309283182024956),(2282,17,730,0.013219301588833332),(2283,18,730,0.013129319995641708),(2284,19,730,0.01303933747112751),(2285,20,730,0.012949355877935886),(2286,21,730,0.012859374284744263),(2287,22,730,0.012769391760230064),(2288,23,730,0.01267941016703844),(2289,24,730,0.012589428573846817),(2290,25,730,0.012499446049332619),(2291,26,730,0.012409464456140995),(2292,27,730,0.012319482862949371),(2293,28,730,0.012229500338435173),(2294,29,730,0.01213951874524355),(2295,30,730,0.012049537152051926),(2296,0,740,0.014543827623128891),(2297,1,740,0.014449043199419975),(2298,2,740,0.01435425877571106),(2299,3,740,0.01425947342067957),(2300,4,740,0.014164688996970654),(2301,5,740,0.014069904573261738),(2302,6,740,0.013975120149552822),(2303,7,740,0.013880335725843906),(2304,8,740,0.01378555130213499),(2305,9,740,0.013690766878426075),(2306,10,740,0.013595981523394585),(2307,11,740,0.013501197099685669),(2308,12,740,0.013406412675976753),(2309,13,740,0.013311628252267838),(2310,14,740,0.013216843828558922),(2311,15,740,0.013122059404850006),(2312,16,740,0.01302727498114109),(2313,17,740,0.0129324896261096),(2314,18,740,0.012837705202400684),(2315,19,740,0.012742920778691769),(2316,20,740,0.012648136354982853),(2317,21,740,0.012553351931273937),(2318,22,740,0.012458567507565022),(2319,23,740,0.012363782152533531),(2320,24,740,0.012268997728824615),(2321,25,740,0.0121742133051157),(2322,26,740,0.012079428881406784),(2323,27,740,0.011984644457697868),(2324,28,740,0.011889860033988953),(2325,29,740,0.011795075610280037),(2326,30,740,0.011700290255248547),(2327,0,750,0.014329860918223858),(2328,1,750,0.014227733016014099),(2329,2,750,0.014125606045126915),(2330,3,750,0.014023478142917156),(2331,4,750,0.013921351172029972),(2332,5,750,0.013819223269820213),(2333,6,750,0.013717095367610455),(2334,7,750,0.01361496839672327),(2335,8,750,0.013512840494513512),(2336,9,750,0.013410713523626328),(2337,10,750,0.013308585621416569),(2338,11,750,0.01320645771920681),(2339,12,750,0.013104330748319626),(2340,13,750,0.013002202846109867),(2341,14,750,0.012900075875222683),(2342,15,750,0.012797947973012924),(2343,16,750,0.01269582100212574),(2344,17,750,0.012593693099915981),(2345,18,750,0.012491565197706223),(2346,19,750,0.012389438226819038),(2347,20,750,0.01228731032460928),(2348,21,750,0.012185183353722095),(2349,22,750,0.012083055451512337),(2350,23,750,0.011980927549302578),(2351,24,750,0.011878800578415394),(2352,25,750,0.011776672676205635),(2353,26,750,0.011674545705318451),(2354,27,750,0.011572417803108692),(2355,28,750,0.011470289900898933),(2356,29,750,0.01136816293001175),(2357,30,750,0.01126603502780199),(2358,0,760,0.014110353775322437),(2359,1,760,0.013998225331306458),(2360,2,760,0.013886095955967903),(2361,3,760,0.013773966580629349),(2362,4,760,0.013661837205290794),(2363,5,760,0.013549708761274815),(2364,6,760,0.01343757938593626),(2365,7,760,0.013325450010597706),(2366,8,760,0.013213320635259151),(2367,9,760,0.013101192191243172),(2368,10,760,0.012989062815904617),(2369,11,760,0.012876933440566063),(2370,12,760,0.012764804996550083),(2371,13,760,0.012652675621211529),(2372,14,760,0.012540546245872974),(2373,15,760,0.01242841687053442),(2374,16,760,0.01231628842651844),(2375,17,760,0.012204159051179886),(2376,18,760,0.012092029675841331),(2377,19,760,0.011979900300502777),(2378,20,760,0.011867771856486797),(2379,21,760,0.011755642481148243),(2380,22,760,0.011643513105809689),(2381,23,760,0.011531383730471134),(2382,24,760,0.011419255286455154),(2383,25,760,0.0113071259111166),(2384,26,760,0.011194996535778046),(2385,27,760,0.011082868091762066),(2386,28,760,0.010970738716423512),(2387,29,760,0.010858609341084957),(2388,30,760,0.010746479965746403),(2389,0,770,0.013888567686080933),(2390,1,770,0.013763660565018654),(2391,2,770,0.0136387525126338),(2392,3,770,0.013513844460248947),(2393,4,770,0.013388937339186668),(2394,5,770,0.013264029286801815),(2395,6,770,0.013139121234416962),(2396,7,770,0.013014213182032108),(2397,8,770,0.01288930606096983),(2398,9,770,0.012764398008584976),(2399,10,770,0.012639489956200123),(2400,11,770,0.012514582835137844),(2401,12,770,0.01238967478275299),(2402,13,770,0.012264766730368137),(2403,14,770,0.012139859609305859),(2404,15,770,0.012014951556921005),(2405,16,770,0.011890043504536152),(2406,17,770,0.011765135452151299),(2407,18,770,0.01164022833108902),(2408,19,770,0.011515320278704166),(2409,20,770,0.011390412226319313),(2410,21,770,0.011265505105257034),(2411,22,770,0.011140597052872181),(2412,23,770,0.011015689000487328),(2413,24,770,0.010890781879425049),(2414,25,770,0.010765873827040195),(2415,26,770,0.010640965774655342),(2416,27,770,0.010516057722270489),(2417,28,770,0.01039115060120821),(2418,29,770,0.010266242548823357),(2419,30,770,0.010141334496438503),(2420,0,780,0.013667763210833073),(2421,1,780,0.01352718099951744),(2422,2,780,0.013386599719524384),(2423,3,780,0.013246017508208752),(2424,4,780,0.013105436228215694),(2425,5,780,0.012964854016900063),(2426,6,780,0.012824272736907005),(2427,7,780,0.012683690525591373),(2428,8,780,0.012543108314275742),(2429,9,780,0.012402527034282684),(2430,10,780,0.012261944822967052),(2431,11,780,0.012121363542973995),(2432,12,780,0.011980781331658363),(2433,13,780,0.011840199120342731),(2434,14,780,0.011699617840349674),(2435,15,780,0.011559035629034042),(2436,16,780,0.011418454349040985),(2437,17,780,0.011277872137725353),(2438,18,780,0.011137290857732296),(2439,19,780,0.010996708646416664),(2440,20,780,0.010856126435101032),(2441,21,780,0.010715545155107975),(2442,22,780,0.010574962943792343),(2443,23,780,0.010434381663799286),(2444,24,780,0.010293799452483654),(2445,25,780,0.010153217241168022),(2446,26,780,0.010012635961174965),(2447,27,780,0.009872053749859333),(2448,28,780,0.009731472469866276),(2449,29,780,0.009590890258550644),(2450,30,780,0.009450308978557587),(2451,0,790,0.013451199978590012),(2452,1,790,0.01329193077981472),(2453,2,790,0.013132660649716854),(2454,3,790,0.012973391450941563),(2455,4,790,0.012814122252166271),(2456,5,790,0.012654852122068405),(2457,6,790,0.012495582923293114),(2458,7,790,0.012336312793195248),(2459,8,790,0.012177043594419956),(2460,9,790,0.01201777346432209),(2461,10,790,0.011858504265546799),(2462,11,790,0.011699234135448933),(2463,12,790,0.011539964936673641),(2464,13,790,0.011380694806575775),(2465,14,790,0.011221425607800484),(2466,15,790,0.011062155477702618),(2467,16,790,0.010902886278927326),(2468,17,790,0.01074361614882946),(2469,18,790,0.010584346950054169),(2470,19,790,0.010425076819956303),(2471,20,790,0.010265807621181011),(2472,21,790,0.010106537491083145),(2473,22,790,0.009947268292307854),(2474,23,790,0.009787998162209988),(2475,24,790,0.009628728963434696),(2476,25,790,0.00946945883333683),(2477,26,790,0.009310189634561539),(2478,27,790,0.009150919504463673),(2479,28,790,0.008991650305688381),(2480,29,790,0.008832380175590515),(2481,30,790,0.008673110976815224),(2482,0,800,0.013242140412330627),(2483,1,800,0.013061050325632095),(2484,2,800,0.012879961170256138),(2485,3,800,0.012698871083557606),(2486,4,800,0.012517781928181648),(2487,5,800,0.012336691841483116),(2488,6,800,0.012155602686107159),(2489,7,800,0.011974512599408627),(2490,8,800,0.011793423444032669),(2491,9,800,0.011612333357334137),(2492,10,800,0.01143124420195818),(2493,11,800,0.011250154115259647),(2494,12,800,0.01106906495988369),(2495,13,800,0.010887974873185158),(2496,14,800,0.010706884786486626),(2497,15,800,0.010525795631110668),(2498,16,800,0.010344705544412136),(2499,17,800,0.010163616389036179),(2500,18,800,0.009982526302337646),(2501,19,800,0.009801437146961689),(2502,20,800,0.009620347060263157),(2503,21,800,0.0094392579048872),(2504,22,800,0.009258167818188667),(2505,23,800,0.00907707866281271),(2506,24,800,0.008895988576114178),(2507,25,800,0.00871489942073822),(2508,26,800,0.008533809334039688),(2509,27,800,0.00835272017866373),(2510,28,800,0.008171630091965199),(2511,29,800,0.007990540936589241),(2512,30,800,0.007809450849890709); - 08-switch.sql: | - USE {{ .Values.mariadb.auth.database }}; - -- switch_id,netpop_id,offload_link_ip,location,status,heartbeat,description,routes,macs,ingress_acls,egress_acls,uptime,sync_acl,type,rangecut,cumulus_version,proxmox_version,conductor_version,platform,ntp,dns,mac_address,ztp,nos,timezone,number_of_ports,owner_tenant_id,mac_addr_ubit,meta,created_date,modified_date - INSERT INTO `switch` VALUES (1,1,1,'softgate1-default','ok','0000-00-00 00:00:00','',0,0,0,0,'','ok','offloader',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,1,1,0,'{\"uuid\":\"\"}',NULL,NULL); - INSERT INTO `switch` VALUES (2,1,2,'softgate2-default','ok','0000-00-00 00:00:00','',0,0,0,0,'','ok','offloader',0,NULL,NULL,NULL,NULL,NULL,NULL,NULL,0,NULL,NULL,1,1,0,'{\"uuid\":\"\"}',NULL,NULL); - - -- ip hosts - INSERT INTO `ip_host` (`id`, `subnet_id`, `name`, `description`, `ip_version`, `readonly`, `address`) VALUES (3,10,'softgate01-default',NULL,'ipv4','no','172.24.254.11'); - INSERT INTO `ip_host` (`id`, `subnet_id`, `name`, `description`, `ip_version`, `readonly`, `address`) VALUES (4,11,'softgate01-default',NULL,'ipv4','no','172.24.255.11'); - INSERT INTO `ip_host` (`id`, `subnet_id`, `name`, `description`, `ip_version`, `readonly`, `address`) VALUES (5,10,'softgate02-default',NULL,'ipv4','no','172.24.254.12'); - INSERT INTO `ip_host` (`id`, `subnet_id`, `name`, `description`, `ip_version`, `readonly`, `address`) VALUES (6,11,'softgate02-default',NULL,'ipv4','no','172.24.255.12'); - - -- ip reservation - INSERT INTO `ip_reservation` (`id`, `host_id`, `consumer_id`, `consumer_type`, `meta`) VALUES (3,4,1,'hw','{\"tag\":\"mgmt\"}'); - INSERT INTO `ip_reservation` (`id`, `host_id`, `consumer_id`, `consumer_type`, `meta`) VALUES (4,3,1,'hw','{\"tag\":\"main\"}'); - INSERT INTO `ip_reservation` (`id`, `host_id`, `consumer_id`, `consumer_type`, `meta`) VALUES (5,6,2,'hw','{\"tag\":\"mgmt\"}'); - INSERT INTO `ip_reservation` (`id`, `host_id`, `consumer_id`, `consumer_type`, `meta`) VALUES (6,5,2,'hw','{\"tag\":\"main\"}'); - - -- assign inventory profile - INSERT INTO `inventory2profile` (`inventory_id`, `profile_id`) VALUES (1, 1); - INSERT INTO `inventory2profile` (`inventory_id`, `profile_id`) VALUES (2, 1); - 08-x-bgp.sql: | - USE {{ .Values.mariadb.auth.database }}; - -- bgp peers - INSERT INTO `net_peers` VALUES (1,1,'intra-1-ipv4',0,'System generated peer for connecting softgate nodes',65000,NULL,NULL,0,NULL,'',0,0,0,'','',500,0,'enabled','disabled','disabled',NULL,'ipv4',NULL,'no',0,NULL,1,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,'disabled','{\"hello\":3, \"hold\": 10}','{}'); - INSERT INTO `net_peers` VALUES (2,1,'intra-1-ipv6',0,'System generated peer for connecting softgate nodes',65000,NULL,NULL,0,NULL,'',0,0,0,'','',500,0,'enabled','disabled','disabled',NULL,'ipv6',NULL,'no',0,NULL,1,NULL,NULL,NULL,1,0,1,NULL,NULL,NULL,NULL,'disabled','{\"hello\":3, \"hold\": 10}','{}'); - INSERT INTO `net_peers` VALUES (3,1,'intra-2-ipv4',0,'System generated peer for connecting softgate nodes',65000,NULL,NULL,0,NULL,'',0,0,0,'','',500,0,'enabled','disabled','disabled',NULL,'ipv4',NULL,'no',0,NULL,1,NULL,NULL,NULL,1,0,2,NULL,NULL,NULL,NULL,'disabled','{\"hello\":3, \"hold\": 10}','{}'); - INSERT INTO `net_peers` VALUES (4,1,'intra-2-ipv6',0,'System generated peer for connecting softgate nodes',65000,NULL,NULL,0,NULL,'',0,0,0,'','',500,0,'enabled','disabled','disabled',NULL,'ipv6',NULL,'no',0,NULL,1,NULL,NULL,NULL,1,0,2,NULL,NULL,NULL,NULL,'disabled','{\"hello\":3, \"hold\": 10}','{}'); - - -- vlan-reservations - INSERT INTO `vlan_reservation` VALUES (1,900,1); - INSERT INTO `vlan_reservation_consumer` VALUES (1,1,1,'bgp','{\"vlanStrict\":1,\"purpose\":\"fabric\"}'); - INSERT INTO `vlan_reservation_consumer` VALUES (2,1,2,'bgp','{\"vlanStrict\":1,\"purpose\":\"fabric\"}'); - INSERT INTO `vlan_reservation_consumer` VALUES (3,1,3,'bgp','{\"vlanStrict\":1,\"purpose\":\"fabric\"}'); - INSERT INTO `vlan_reservation_consumer` VALUES (4,1,4,'bgp','{\"vlanStrict\":1,\"purpose\":\"fabric\"}'); - - - -- vxlan-reservations - INSERT INTO `vxlan_reservation` VALUES (1,2); - INSERT INTO `vxlan_reservation` VALUES (2,3); - INSERT INTO `vxlan_reservation_consumer` VALUES (1,1,1,'vlan.local' ,'{}'); - INSERT INTO `vxlan_reservation_consumer` VALUES (2,2,1,'vlan.global','{}'); 09-dhcp-option-set.sql: | USE {{ .Values.mariadb.auth.database }}; INSERT INTO `dhcp_option_set` (id, name, description, is_default, domain_search, dns_servers, ntp_servers, lease_time, additional_options) VALUES (1, 'Default','System generated','true','netris.local','[\"1.1.1.1\",\"8.8.8.8\"]','[\"pool.ntp.org\"]',86400,'[]'); - 09-nat_rules.sql: | - USE {{ .Values.mariadb.auth.database }}; - INSERT INTO `net_nat` VALUES (1,'Masquerade',1,'172.24.0.0',16,'0.0.0.0',0,1,65535,1,65535,'all','MASQUERADE','enabled',NULL,'',1,1,NULL,NULL); kind: ConfigMap metadata: name: netris-controller-initdb diff --git a/charts/netris-controller/templates/web-service-backend.yaml b/charts/netris-controller/templates/web-service-backend.yaml index ab1499a..b79d015 100644 --- a/charts/netris-controller/templates/web-service-backend.yaml +++ b/charts/netris-controller/templates/web-service-backend.yaml @@ -90,6 +90,8 @@ spec: secretKeyRef: name: {{ printf "%s-%s" (include "netris-controller.fullname" .) "web-session-secret" }} key: secret-key + - name: NODE_OPTIONS + value: {{ (index .Values $microservicename).nodeOptions | quote }} ports: - name: {{ (index .Values $microservicename).service.name }} containerPort: {{ (index .Values $microservicename).service.port }} diff --git a/charts/netris-controller/values.yaml b/charts/netris-controller/values.yaml index a42e805..925983c 100644 --- a/charts/netris-controller/values.yaml +++ b/charts/netris-controller/values.yaml @@ -83,7 +83,7 @@ web-service-backend: repository: netrisai/controller-web-service-backend pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. - tag: "4.1.1-016" + tag: "4.3.0-044" imagePullSecrets: [] @@ -100,6 +100,8 @@ web-service-backend: targetCPUUtilizationPercentage: 80 # targetMemoryUtilizationPercentage: 80 + nodeOptions: "--max-old-space-size=8192" + web-service-frontend: replicaCount: 1 @@ -108,7 +110,7 @@ web-service-frontend: repository: netrisai/controller-web-service-frontend pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. - tag: "4.1.1-007" + tag: "4.3.0-049" imagePullSecrets: [] @@ -132,7 +134,7 @@ grpc: repository: netrisai/controller-grpc pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. - tag: "4.1.1.008" + tag: "4.3.0.009" imagePullSecrets: [] @@ -156,7 +158,7 @@ telescope: repository: netrisai/controller-telescope pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. - tag: "4.1.0.001" + tag: "4.3.0.002" imagePullSecrets: [] @@ -244,7 +246,7 @@ migration: image: repository: netrisai/controller-web-service-migration pullPolicy: IfNotPresent - tag: "4.1.2" + tag: "4.3.0" ## Using default values from https://github.com/bitnami/charts/tree/master/bitnami/mariadb/values.yaml @@ -322,8 +324,8 @@ graphite: ENABLE_LOGROTATION = True USER = MAX_CACHE_SIZE = inf - MAX_UPDATES_PER_SECOND = 500 - MAX_CREATES_PER_MINUTE = 30 + MAX_UPDATES_PER_SECOND = 10000 + MAX_CREATES_PER_MINUTE = 50000 MIN_TIMESTAMP_RESOLUTION = 1 LINE_RECEIVER_INTERFACE = 0.0.0.0 LINE_RECEIVER_PORT = 2003