{ "id":"/axapi/v3/cgnv6/map/encapsulation/domain/{name}/basic-mapping-rule", "type":"object", "node-type":"scalar", "title":"basic-mapping-rule", "partition-visibility":"shared", "description":"Basic mapping rule (BMR)", "properties":{ "rule-ipv4-address-port-settings":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'prefix-addr': Each CE is assigned an IPv4 prefix; 'single-addr': Each CE is assigned an IPv4 address; 'shared-addr': Each CE is assigned a shared IPv4 address; ", "enum":[ "prefix-addr", "single-addr", "shared-addr" ], "optional":true }, "ea-length":{ "type":"number", "format":"number", "minimum":0, "maximum":23, "partition-visibility":"shared", "description":"Length of Embedded Address (EA) bits", "optional":true }, "share-ratio":{ "type":"number", "format":"number", "minimum":1, "maximum":65536, "partition-visibility":"shared", "description":"Port sharing ratio for each NAT IP. Must be Power of 2 value", "optional":true }, "port-start":{ "type":"number", "format":"number", "minimum":0, "maximum":32768, "partition-visibility":"shared", "description":"Starting Port, Must be Power of 2 value or zero", "optional":true }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true }, "prefix-rule-list":{ "type":"array", "minItems":1, "items":{ "type":"prefix-rule" }, "uniqueItems":true, "$ref":"/axapi/v3/cgnv6/map/encapsulation/domain/{name}/basic-mapping-rule/prefix-rule/{name}", "array":[ { "properties":{ "name":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"MAP BMR prefix rule name", "optional":false }, "rule-ipv6-prefix":{ "type":"string", "format":"ipv6-address-plen", "partition-visibility":"shared", "description":"IPv6 prefix of BMR", "optional":true }, "rule-ipv4-prefix":{ "type":"string", "format":"ipv4-address", "partition-visibility":"shared", "description":"IPv4 prefix of BMR", "optional":true }, "ipv4-netmask":{ "type":"string", "format":"ipv4-netmask-brief", "partition-visibility":"shared", "description":"Subnet mask (subnet bigger than /8 is not allowed)", "optional":true }, "ipv4-address-port-settings":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'prefix-addr': Each CE is assigned an IPv4 prefix; 'single-addr': Each CE is assigned an IPv4 address; 'shared-addr': Each CE is assigned a shared IPv4 address; ", "enum":[ "prefix-addr", "single-addr", "shared-addr" ], "optional":true }, "ea-length":{ "type":"number", "format":"number", "minimum":0, "maximum":23, "partition-visibility":"shared", "description":"Length of Embedded Address (EA) bits", "optional":true }, "share-ratio":{ "type":"number", "format":"number", "minimum":1, "maximum":65536, "partition-visibility":"shared", "description":"Port sharing ratio for each NAT IP. Must be Power of 2 value", "optional":true }, "port-start":{ "type":"number", "format":"number", "minimum":0, "maximum":32768, "partition-visibility":"shared", "description":"Starting Port, Must be Power of 2 value or zero", "optional":true }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true }, "user-tag":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":127, "partition-visibility":"shared", "description":"Customized tag", "optional":true } }, "required":[ "name" ] } ] } } }