{
 "actions": [],
 "creation": "2019-12-09 12:34:13.844800",
 "pagetype": "PageType",
 "editable_grid": 1,
 "engine": "InnoDB",
 "field_order": [
  "status",
  "hostname",
  "hostname_abbreviation",
  "domain",
  "self_hosted_server_domain",
  "title",
  "column_break_4",
  "cluster",
  "provider",
  "virtual_machine",
  "ignore_incidents_since",
  "is_server_prepared",
  "is_server_setup",
  "is_self_hosted",
  "is_server_renamed",
  "public",
  "billing_section",
  "team",
  "column_break_11",
  "plan",
  "auto_add_storage_min",
  "auto_add_storage_max",
  "networking_section",
  "ip",
  "column_break_3",
  "private_ip",
  "private_mac_address",
  "private_vlan_id",
  "agent_section",
  "agent_password",
  "column_break_pdbx",
  "disable_agent_job_auto_retry",
  "reverse_proxy_section",
  "proxy_server",
  "column_break_12",
  "is_upstream_setup",
  "database_section",
  "database_server",
  "self_hosted_mariadb_server",
  "is_managed_database",
  "column_break_jdiy",
  "self_hosted_mariadb_root_password",
  "managed_database_service",
  "replication",
  "is_primary",
  "is_replication_setup",
  "column_break_24",
  "primary",
  "ssh_section",
  "ssh_user",
  "ssh_port",
  "jingrow_user_password",
  "jingrow_public_key",
  "column_break_20",
  "root_public_key",
  "section_break_22",
  "use_for_new_benches",
  "use_for_new_sites",
  "staging",
  "use_for_build",
  "column_break_ktkv",
  "new_worker_allocation",
  "set_bench_memory_limits",
  "ram",
  "backups_section",
  "skip_scheduled_backups",
  "standalone_section",
  "is_standalone",
  "column_break_edyf",
  "is_standalone_setup",
  "tags_section",
  "tags",
  "mounts_section",
  "has_data_volume",
  "mounts"
 ],
 "fields": [
  {
   "fetch_from": "virtual_machine.public_ip_address",
   "fieldname": "ip",
   "fieldtype": "Data",
   "in_list_view": 1,
   "label": "IP",
   "set_only_once": 1
  },
  {
   "fieldname": "proxy_server",
   "fieldtype": "Link",
   "label": "Proxy Server",
   "options": "Proxy Server"
  },
  {
   "fetch_from": "virtual_machine.private_ip_address",
   "fieldname": "private_ip",
   "fieldtype": "Data",
   "label": "Private IP"
  },
  {
   "fieldname": "agent_password",
   "fieldtype": "Password",
   "label": "Agent Password",
   "set_only_once": 1
  },
  {
   "collapsible": 1,
   "fieldname": "agent_section",
   "fieldtype": "Section Break",
   "label": "Agent"
  },
  {
   "default": "0",
   "fieldname": "is_server_setup",
   "fieldtype": "Check",
   "label": "Server Setup",
   "read_only": 1
  },
  {
   "default": "0",
   "fieldname": "is_upstream_setup",
   "fieldtype": "Check",
   "label": "Upstream Setup",
   "read_only": 1
  },
  {
   "default": "Pending",
   "fieldname": "status",
   "fieldtype": "Select",
   "in_list_view": 1,
   "in_standard_filter": 1,
   "label": "Status",
   "options": "Pending\nInstalling\nActive\nBroken\nArchived",
   "read_only": 1,
   "reqd": 1
  },
  {
   "fieldname": "column_break_3",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "column_break_12",
   "fieldtype": "Column Break"
  },
  {
   "collapsible": 1,
   "fieldname": "reverse_proxy_section",
   "fieldtype": "Section Break",
   "label": "Reverse Proxy"
  },
  {
   "fieldname": "database_section",
   "fieldtype": "Section Break",
   "label": "Database"
  },
  {
   "depends_on": "eval:!pg.is_managed_database",
   "fieldname": "database_server",
   "fieldtype": "Link",
   "label": "Database Server",
   "options": "Database Server"
  },
  {
   "collapsible": 1,
   "fieldname": "ssh_section",
   "fieldtype": "Section Break",
   "label": "SSH"
  },
  {
   "fieldname": "root_public_key",
   "fieldtype": "Code",
   "label": "Root Public Key",
   "read_only": 1
  },
  {
   "fieldname": "jingrow_public_key",
   "fieldtype": "Code",
   "label": "Jingrow Public Key",
   "read_only": 1
  },
  {
   "fieldname": "column_break_20",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "section_break_22",
   "fieldtype": "Section Break"
  },
  {
   "default": "0",
   "fieldname": "use_for_new_benches",
   "fieldtype": "Check",
   "label": "Use For New Benches",
   "read_only": 1
  },
  {
   "fieldname": "hostname",
   "fieldtype": "Data",
   "label": "Hostname",
   "reqd": 1,
   "set_only_once": 1
  },
  {
   "fieldname": "domain",
   "fieldtype": "Link",
   "hidden": 1,
   "label": "Domain",
   "options": "Root Domain",
   "set_only_once": 1
  },
  {
   "default": "0",
   "fieldname": "use_for_new_sites",
   "fieldtype": "Check",
   "label": "Use For New Sites",
   "read_only": 1
  },
  {
   "fieldname": "cluster",
   "fieldtype": "Link",
   "in_list_view": 1,
   "in_standard_filter": 1,
   "label": "Cluster",
   "options": "Cluster",
   "set_only_once": 1
  },
  {
   "fieldname": "column_break_4",
   "fieldtype": "Column Break"
  },
  {
   "collapsible": 1,
   "fieldname": "networking_section",
   "fieldtype": "Section Break",
   "label": "Networking"
  },
  {
   "depends_on": "eval: pg.provider === \"Scaleway\"",
   "fieldname": "private_mac_address",
   "fieldtype": "Data",
   "label": "Private Mac Address",
   "mandatory_depends_on": "eval: pg.provider === \"Scaleway\"",
   "set_only_once": 1
  },
  {
   "depends_on": "eval: pg.provider === \"Scaleway\"",
   "fieldname": "private_vlan_id",
   "fieldtype": "Data",
   "label": "Private VLAN ID",
   "mandatory_depends_on": "eval: pg.provider === \"Scaleway\"",
   "set_only_once": 1
  },
  {
   "default": "Generic",
   "fieldname": "provider",
   "fieldtype": "Select",
   "label": "Provider",
   "options": "Generic\nScaleway\nAWS EC2\nOCI",
   "set_only_once": 1
  },
  {
   "fieldname": "jingrow_user_password",
   "fieldtype": "Password",
   "label": "Jingrow User Password",
   "set_only_once": 1
  },
  {
   "collapsible": 1,
   "fieldname": "replication",
   "fieldtype": "Section Break",
   "label": "Replication"
  },
  {
   "default": "1",
   "fieldname": "is_primary",
   "fieldtype": "Check",
   "label": "Is Primary"
  },
  {
   "fieldname": "column_break_24",
   "fieldtype": "Column Break"
  },
  {
   "depends_on": "eval: !pg.is_primary",
   "fieldname": "primary",
   "fieldtype": "Link",
   "label": "Primary",
   "mandatory_depends_on": "eval: !pg.is_primary",
   "options": "Server"
  },
  {
   "default": "0",
   "depends_on": "eval: !pg.is_primary",
   "fieldname": "is_replication_setup",
   "fieldtype": "Check",
   "label": "Is Replication Setup",
   "read_only": 1
  },
  {
   "default": "0",
   "fieldname": "staging",
   "fieldtype": "Check",
   "label": "Staging"
  },
  {
   "depends_on": "eval:[\"AWS EC2\", \"OCI\"].includes(pg.provider)",
   "fieldname": "virtual_machine",
   "fieldtype": "Link",
   "label": "Virtual Machine",
   "mandatory_depends_on": "eval:[\"AWS EC2\", \"OCI\"].includes(pg.provider)",
   "options": "Virtual Machine"
  },
  {
   "default": "1",
   "fieldname": "new_worker_allocation",
   "fieldtype": "Check",
   "label": "New Worker Allocation"
  },
  {
   "fieldname": "ram",
   "fieldtype": "Float",
   "label": "RAM"
  },
  {
   "fieldname": "team",
   "fieldtype": "Link",
   "label": "Team",
   "options": "Team"
  },
  {
   "fieldname": "billing_section",
   "fieldtype": "Section Break",
   "label": "Billing"
  },
  {
   "fieldname": "column_break_11",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "plan",
   "fieldtype": "Link",
   "label": "Plan",
   "options": "Server Plan"
  },
  {
   "default": "0",
   "fieldname": "is_server_prepared",
   "fieldtype": "Check",
   "label": "Is Server Prepared",
   "read_only": 1
  },
  {
   "default": "0",
   "fieldname": "is_server_renamed",
   "fieldtype": "Check",
   "label": "Is Server Renamed",
   "read_only": 1
  },
  {
   "fieldname": "title",
   "fieldtype": "Data",
   "label": "Title"
  },
  {
   "default": "0",
   "fieldname": "is_self_hosted",
   "fieldtype": "Check",
   "label": "Is Self Hosted"
  },
  {
   "default": "root",
   "depends_on": "eval:pg.is_self_hosted",
   "fieldname": "ssh_user",
   "fieldtype": "Data",
   "label": "SSH User"
  },
  {
   "depends_on": "eval:pg.is_self_hosted==true && !pg.is_managed_database",
   "fieldname": "self_hosted_mariadb_server",
   "fieldtype": "Data",
   "label": "Self Hosted MariaDB Server IP"
  },
  {
   "depends_on": "eval:pg.is_self_hosted==true",
   "fieldname": "column_break_jdiy",
   "fieldtype": "Column Break"
  },
  {
   "depends_on": "eval:pg.is_self_hosted==true && !pg.is_managed_database",
   "fieldname": "self_hosted_mariadb_root_password",
   "fieldtype": "Password",
   "label": "Self Hosted MariaDB Root Password"
  },
  {
   "depends_on": "eval:pg.is_self_hosted",
   "fieldname": "self_hosted_server_domain",
   "fieldtype": "Data",
   "label": "Self Hosted Server Domain"
  },
  {
   "default": "22",
   "fieldname": "ssh_port",
   "fieldtype": "Int",
   "label": "SSH Port"
  },
  {
   "collapsible": 1,
   "fieldname": "standalone_section",
   "fieldtype": "Section Break",
   "label": "Standalone"
  },
  {
   "default": "0",
   "fieldname": "is_standalone",
   "fieldtype": "Check",
   "label": "Is Standalone"
  },
  {
   "fieldname": "column_break_edyf",
   "fieldtype": "Column Break"
  },
  {
   "default": "0",
   "fieldname": "is_standalone_setup",
   "fieldtype": "Check",
   "label": "Is Standalone Setup",
   "read_only": 1
  },
  {
   "fieldname": "tags_section",
   "fieldtype": "Section Break",
   "label": "Tags"
  },
  {
   "fieldname": "tags",
   "fieldtype": "Table",
   "label": "Tags",
   "options": "Resource Tag"
  },
  {
   "fieldname": "column_break_ktkv",
   "fieldtype": "Column Break"
  },
  {
   "default": "0",
   "fieldname": "set_bench_memory_limits",
   "fieldtype": "Check",
   "label": "Set Bench Memory Limits"
  },
  {
   "fieldname": "hostname_abbreviation",
   "fieldtype": "Data",
   "label": "Hostname Abbreviation"
  },
  {
   "collapsible": 1,
   "fieldname": "backups_section",
   "fieldtype": "Section Break",
   "label": "Backups"
  },
  {
   "default": "0",
   "fieldname": "skip_scheduled_backups",
   "fieldtype": "Check",
   "label": "Skip Scheduled Backups"
  },
  {
   "fieldname": "column_break_pdbx",
   "fieldtype": "Column Break"
  },
  {
   "default": "0",
   "fieldname": "disable_agent_job_auto_retry",
   "fieldtype": "Check",
   "label": "Disable Agent Job Auto Retry"
  },
  {
   "default": "0",
   "description": "If user opts DBaaS eg. RDS",
   "fieldname": "is_managed_database",
   "fieldtype": "Check",
   "label": "Is Managed Database"
  },
  {
   "fieldname": "managed_database_service",
   "fieldtype": "Link",
   "label": "Managed Database Service",
   "options": "Managed Database Service"
  },
  {
   "default": "0",
   "fieldname": "public",
   "fieldtype": "Check",
   "label": "Public"
  },
  {
   "fieldname": "ignore_incidents_since",
   "fieldtype": "Datetime",
   "label": "Ignore Incidents Since"
  },
  {
   "default": "0",
   "description": "If checked, server will be used to run Docker builds.",
   "fieldname": "use_for_build",
   "fieldtype": "Check",
   "label": "Use For Build",
   "search_index": 1
  },
  {
   "default": "50",
   "description": "Minimum storage to add automatically each time",
   "fieldname": "auto_add_storage_min",
   "fieldtype": "Int",
   "label": "Auto Add Storage Min",
   "non_negative": 1
  },
  {
   "default": "250",
   "description": "Maximum storage to add automatically each time",
   "fieldname": "auto_add_storage_max",
   "fieldtype": "Int",
   "label": "Auto Add Storage Max",
   "non_negative": 1
  },
  {
   "fieldname": "mounts_section",
   "fieldtype": "Section Break",
   "label": "Mounts"
  },
  {
   "fieldname": "mounts",
   "fieldtype": "Table",
   "label": "Mounts",
   "options": "Server Mount"
  },
  {
   "default": "0",
   "fetch_from": "virtual_machine.has_data_volume",
   "fieldname": "has_data_volume",
   "fieldtype": "Check",
   "label": "Has Data Volume",
   "read_only": 1
  }
 ],
 "links": [],
 "modified": "2025-01-02 16:52:55.927591",
 "modified_by": "Administrator",
 "module": "Jcloud",
 "name": "Server",
 "owner": "Administrator",
 "permissions": [
  {
   "create": 1,
   "delete": 1,
   "email": 1,
   "export": 1,
   "print": 1,
   "read": 1,
   "report": 1,
   "role": "System Manager",
   "share": 1,
   "write": 1
  },
  {
   "create": 1,
   "read": 1,
   "role": "Jcloud Admin",
   "write": 1
  },
  {
   "create": 1,
   "read": 1,
   "role": "Jcloud Member",
   "write": 1
  }
 ],
 "sort_field": "modified",
 "sort_order": "DESC",
 "states": [],
 "title_field": "title",
 "track_changes": 1
}