清单

策略路由规则集清单(PolicyRouteRuleSet Inventory)

名字 描述 可选的 可选的参数值 起始支持版本
uuid 请参见 资源属性 3.6.0
name 请参见 资源属性 3.6.0
description 请参见 资源属性 3.6.0
rules 策略路由集规则 3.6.0
groupBy 以字段分组,相当于MySQL中的group by关键字。例如groupBy=type 3.6.0
createDate 请参见 资源属性 3.6.0
lastOpDate 请参见 资源属性 3.6.0
userTags 用户标签,请参见 创建用户标签(CreateUserTag) 3.6.0
systemTags 系统标签,请参见 创建系统标签(CreateSystemTag) 3.6.0
示例
{
  "inventories": [
    {
      "name": "name",
      "description": "example-des",
      "rules": [
        {
          "uuid": "2e05ab3c36323487baea2414005817ee",
          "ruleNumber": 1.0,
          "ruleSetUuid": "4c86543d473f3127885b3ffc8be5ec88",
          "tableUuid": "d2ad1f7ad9aa354e8da24829bbd31a05",
          "destIp": "192.168.1.1",
          "sourceIp": "10.0.0.1",
          "destPort": "22",
          "sourcePort": "80",
          "protocol": "tcp",
          "state": "enable"
        }
      ]
    }
  ]
}

策略路由规则集网络关联清单(PolicyRouteRuleSetL3Ref Inventory)

名字 描述 可选的 可选的参数值 起始支持版本
id 3.6.0
l3NetworkUuid 三层网络UUID 3.6.0
ruleSetUuid 策略路由规则集uuid 3.6.0
groupBy 以字段分组,相当于MySQL中的group by关键字。例如groupBy=type 3.6.0
createDate 请参见 资源属性 3.6.0
lastOpDate 请参见 资源属性 3.6.0
userTags 用户标签,请参见 创建用户标签(CreateUserTag) 3.6.0
systemTags 系统标签,请参见 创建系统标签(CreateSystemTag) 3.6.0
示例
{
  "inventories": [
    {
      "id": 1.0,
      "l3NetworkUuid": "764cba1766563fd683ef1fcf76c7295c",
      "ruleSetUuid": "ddb87b28f0253810b753fc9ae62ebd31"
    }
  ]
}

策略路由规则集与单节点路由器关联清单(PolicyRouteRuleSetVRouterRef Inventory)

名字 描述 可选的 可选的参数值 起始支持版本
id 3.6.0
vRouterUuid 路由器uuid 3.6.0
ruleSetUuid 策略路由规则集uuid 3.6.0
groupBy 以字段分组,相当于MySQL中的group by关键字。例如groupBy=type 3.6.0
createDate 请参见 资源属性 3.6.0
lastOpDate 请参见 资源属性 3.6.0
userTags 用户标签,请参见 创建用户标签(CreateUserTag) 3.6.0
systemTags 系统标签,请参见 创建系统标签(CreateSystemTag) 3.6.0
示例
{
  "inventories": [
    {
      "id": 1.0,
      "vRouterUuid": "8715faa19cb03995a864330766fdc77c",
      "ruleSetUuid": "2e27f9015ad3357996546fd51c2d808e"
    }
  ]
}

策略路由表清单(PolicyRouteTable Inventory)

名字 描述 可选的 可选的参数值 起始支持版本
uuid 请参见 资源属性 3.6.0
tableNumber 表名 3.6.0
routes 规则 3.6.0
groupBy 以字段分组,相当于MySQL中的group by关键字。例如groupBy=type 3.6.0
createDate 请参见 资源属性 3.6.0
lastOpDate 请参见 资源属性 3.6.0
userTags 用户标签,请参见 创建用户标签(CreateUserTag) 3.6.0
systemTags 系统标签,请参见 创建系统标签(CreateSystemTag) 3.6.0
示例
{
  "inventories": [
    {
      "uuid": "6e39025e9eb432fda488f19e7104fdf0",
      "tableNumber": 1.0,
      "description": "example-des",
      "routes": [
        {
          "tableUuid": "90f075232c383565ac3dbc09554c4152",
          "destinationCidr": "192.168.1.0/24",
          "nextHopIp": "192.168.1.1",
          "distance": 1.0
        }
      ]
    }
  ]
}

策略路由表与单节点路由器关联清单(PolicyRouteTableVRouterRef Inventory)

名字 描述 可选的 可选的参数值 起始支持版本
id 3.6.0
tableUuid 策略路由表uuid 3.6.0
vRouterUuid 路由器uuid 3.6.0
groupBy 以字段分组,相当于MySQL中的group by关键字。例如groupBy=type 3.6.0
createDate 请参见 资源属性 3.6.0
lastOpDate 请参见 资源属性 3.6.0
userTags 用户标签,请参见 创建用户标签(CreateUserTag) 3.6.0
systemTags 系统标签,请参见 创建系统标签(CreateSystemTag) 3.6.0
示例
{
  "inventories": [
    {
      "id": 1.0,
      "tableUuid": "cc3bb710f9d43cedb044213253363604",
      "vRouterUuid": "f281299552813438acc3c5a400802a78"
    }
  ]
}

策略路由清单(PolicyRouteTableRouteEntry Inventory)

名字 描述 可选的 可选的参数值 起始支持版本
uuid 请参见 资源属性 3.6.0
tableUuid 策略路由表uuid 3.6.0
destinationCidr 目标cidr 3.6.0
nextHopIp 下一跳ip 3.6.0
distance 优先级 3.6.0
groupBy 以字段分组,相当于MySQL中的group by关键字。例如groupBy=type 3.6.0
createDate 请参见 资源属性 3.6.0
lastOpDate 请参见 资源属性 3.6.0
userTags 用户标签,请参见 创建用户标签(CreateUserTag) 3.6.0
systemTags 系统标签,请参见 创建系统标签(CreateSystemTag) 3.6.0
示例
{
  "inventories": [
    {
      "tableUuid": "49bf5678360b38058ab7096715e219f4",
      "destinationCidr": "192.168.1.0/24",
      "nextHopIp": "192.168.1.1",
      "distance": 1.0
    }
  ]
}

策略路由规则清单(PolicyRouteRule Inventory)

名字 描述 可选的 可选的参数值 起始支持版本
uuid 请参见 资源属性 3.6.0
ruleNumber 优先级 3.6.0
ruleSetUuid 策略路由规则集uuid 3.6.0
tableUuid 策略路由表uuid 3.6.0
destIp 目标ip 3.6.0
sourceIp 源ip 3.6.0
destPort 目标端口 3.6.0
sourcePort 源端口 3.6.0
groupBy 以字段分组,相当于MySQL中的group by关键字。例如groupBy=type 3.6.0
createDate 请参见 资源属性 3.6.0
lastOpDate 请参见 资源属性 3.6.0
userTags 用户标签,请参见 创建用户标签(CreateUserTag) 3.6.0
systemTags 系统标签,请参见 创建系统标签(CreateSystemTag) 3.6.0
示例
{
  "inventories": [
    {
      "uuid": "538840755c1a36e0b79f1d04097b252e",
      "ruleNumber": 1.0,
      "ruleSetUuid": "7cb413c84b243290a7105e8c21f42b59",
      "tableUuid": "d29940b692f33c0eaf96b0193029636c",
      "destIp": "192.168.1.1",
      "sourceIp": "80",
      "destPort": "22",
      "protocol": "tcp",
      "state": "enable"
    }
  ]
}