{ "id":"/axapi/v3/health/source-nat", "type":"object", "node-type":"scalar", "title":"source-nat", "partition-visibility":"shared", "auto-created-object":1, "description":"Define Source NAT for health monitor", "properties":{ "source-nat-pool":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "$ref":"/axapi/v3/ip/nat/pool", "description":"Use source nat for all health check (nat pool)", "optional":true }, "source-nat-pool-v6":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":63, "partition-visibility":"shared", "$ref":"/axapi/v3/ipv6/nat/pool", "description":"Use ipv6 source nat for all health check (nat pool)", "optional":true }, "smart-nat-precedence":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Use smart nat when resourece is presented in virtual port", "optional":true }, "smart-nat-vrid":{ "type":"number", "format":"number", "minimum":1, "maximum":31, "partition-visibility":"shared", "description":"Smart nat VRID", "optional":true }, "enable-vrrp-a-mode":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Forward health check by active device only", "optional":true }, "interface":{ "type":"string", "format":"enum", "partition-visibility":"shared", "modify-not-allowed":1, "description":"'ethernet': ethernet; 'trunk': trunk; 've': ve; ", "enum":[ "ethernet", "trunk", "ve" ], "optional":true }, "ethernet":{ "type":"number", "format":"interface", "partition-visibility":"shared", "modify-not-allowed":1, "description":"Ethernet interface number", "optional":true }, "trunk":{ "type":"number", "format":"number", "minimum":1, "maximum":4096, "partition-visibility":"shared", "modify-not-allowed":1, "description":"Trunk interface number", "optional":true }, "ve":{ "type":"number", "format":"number", "minimum":2, "maximum":4094, "partition-visibility":"shared", "modify-not-allowed":1, "description":"Virtual ethernet interface number", "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 }, "sampling-enable":{ "type":"array", "minItems":1, "items":{ "type":"object" }, "uniqueItems":true, "array":[ { "properties":{ "counters1":{ "type":"string", "format":"enum", "partition-visibility":"shared", "description":"'all': all; 'act_recv_from_sby': Packets received from standby; 'act_send_to_sby': Packets sent to standby; 'sby_recv_from_act': Packets received from active; 'sby_send_to_act': Packets sent to active; 'sby_recv_from_act_err': Packets received from active error; 'recv_from_kernel': Packets received from kernel; 'send_to_kernel': Packets sent to kernel; 'send_to_kernel_err': Packets sent to kernel error; 'sby_no_peer': Peer not found on standby; 'dcmsg_err': DCMSG error; 'no_slb_object': SLB object not found; 'smart_nat_init_port_err': Smart NAT port initialization error; 'smart_nat_init_inst_err': Smart NAT instance initialization error; 'smart_nat_rserver_route_err': Smart NAT rserver route update error; 'smart_nat_rserver_ip_err': Smart NAT rserver ip update error; 'nat_resource_err': NAT resource error; 'frag_err': Fragmentation error; ", "enum":[ "all", "act_recv_from_sby", "act_send_to_sby", "sby_recv_from_act", "sby_send_to_act", "sby_recv_from_act_err", "recv_from_kernel", "send_to_kernel", "send_to_kernel_err", "sby_no_peer", "dcmsg_err", "no_slb_object", "smart_nat_init_port_err", "smart_nat_init_inst_err", "smart_nat_rserver_route_err", "smart_nat_rserver_ip_err", "nat_resource_err", "frag_err" ] } } } ] } } }