[
  {
    title: '全局配置',
    icon: 'cogs',
    children: [
      { path: '/env', title: '环境配置', icon: 'cog' },
      { path: '/tag', title: '标签配置', icon: 'cog' }
    ]
  },
  {
    title: '服务器管理',
    icon: 'server',
    children: [
      { path: '/server', title: '服务器', icon: 'server' },
      { path: '/server/attribute', title: '服务器属性', icon: 'tag' },
      { path: '/server/group', title: '服务器组', icon: 'window-restore' },
      { path: '/server/group/type', title: '服务器组类型', icon: 'align-justify' }
    ]
  },
  {
    title: '云主机管理',
    icon: 'cloud',
    children: [
      { path: '/cloud/server/ecs', title: 'ECS', iconSvg: 'aliyun-ecs' },
      { path: '/cloud/server/ec2', title: 'EC2', iconSvg: 'amazonaws' },
      { path: '/cloud/server/esxi', title: 'ESXI', iconSvg: 'vmware' },
      // tencent
      { path: '/cloud/server/vm', title: 'VM', iconSvg: 'vmware' },
      { path: '/cloud/server/zabbixhost', title: 'ZabbixHost', iconSvg: 'zabbix' }
    ]
  },
   {
    title: '阿里云',
    icon: 'cloud',
    children: [
      { path: '/cloud/aliyun/ram', title: '访问控制管理', iconSvg: 'aliyun-ram' }
    ]
  },
   {
    title: 'Kubernetes',
    icon: 'dropbox',
    children: [
      { path: '/kubernetes/application', title: '应用管理', iconSvg: 'k8s-application' },
      { path: '/kubernetes/application/instance', title: '应用实例管理', iconSvg: 'k8s-instance' },
      { path: '/kubernetes/cluster', title: '集群管理', iconSvg: 'kubernetes' },
      { path: '/kubernetes/deployment', title: '无状态管理', iconSvg: 'k8s-deployment' },
      { path: '/kubernetes/service', title: '服务管理', iconSvg: 'k8s-service' },
      { path: '/kubernetes/template', title: '模版管理', iconSvg: 'YAML' }
    ]
  },
  {
    title: '云数据库',
    icon: 'database',
    children: [
      { path: '/cloud/db/instance', title: '数据库实例', icon: 'cube' },
      { path: '/cloud/db/database', title: '数据库', icon: 'cubes' },
      { path: '/cloud/db/database/slowlog', title: '慢日志', icon: 'warning' },
      { path: '/cloud/db/my/database', title: '我的数据库', icon: 'diamond' }
    ]
  },
  {
    title: '堡垒机',
    icon: 'empire',
    children: [
      { path: '/jump/jumpserver/settings', title: '设置', icon: 'cog' },
      { path: '/jump/jumpserver/user', title: '用户管理', icon: 'user' },
      { path: '/jump/jumpserver/asset', title: '资产管理', icon: 'server' },
      { path: '/term/session', title: 'Web终端会话', icon: 'server' }
    ]
  },
  {
    title: '我的工作台',
    icon: 'desktop',
    children: [
      { path: '/workbench/workorder', title: '工单', icon: 'list' },
      { path: '/workbench/jump', title: '堡垒机', icon: 'terminal' },
      { path: '/workbench/xterm', title: 'web终端', iconSvg: 'xterm' },
      { path: '/workbench/application', title: '我的应用', iconSvg: 'k8s-application' }
    ]
  },
  {
    title: '用户管理',
    icon: 'user-circle',
    children: [
      { path: '/user', title: '用户', icon: 'user' },
      { path: '/user/group', title: '用户组', icon: 'users' },
      { path: '/org/department', title: '部门管理', icon: 'connectdevelop' }
    ]
  },
   {
    title: 'RBAC配置',
    icon: 'address-card',
    children: [
      { path: '/auth/resource', title: '资源管理', icon: 'modx' },
      { path: '/auth/role', title: '角色管理', icon: 'users' },
      { path: '/auth/user/role', title: '用户角色配置', icon: 'id-card' }
    ]
  },
  {
    title: '任务管理',
    icon: 'th-list',
    children: [
      { path: '/task/ansible-mgmt', title: '配置管理', icon: 'file-text-o' },
      { path: '/task/command', title: '批量命令', icon: 'terminal' },
      { path: '/task/script', title: '批量脚本', icon: 'retweet' },
      { path: '/task/playbook', title: 'playbook', icon: 'recycle' },
      { path: '/task/history', title: '任务查询', icon: 'yelp' }
    ]
  },
  {
    title: '个人详情',
    icon: 'user-o',
    children: [
      { path: '/user/detail', title: '我的详情', icon: 'address-book' }
    ]
  }
]
