acl: correct acl vat help message
"ipv4"/"ipv6" option is not supported in acl_add_replace and macip_acl_add_replace vat api. Update its help message per actual api usage. Type: fix Change-Id: I8d34fac5f98bd78a46a5e98df05cd35182988dd8 Signed-off-by: Lijian Zhang <Lijian.Zhang@arm.com> Reviewed-by: Jieqiang Wang <Jieqiang.Wang@arm.com> Reviewed-by: Govindarajan Mohandoss <Govindarajan.Mohandoss@arm.com>
This commit is contained in:
committed by
Matthew Smith
parent
c703a0b9ad
commit
24ee40a5cb
@@ -110,7 +110,7 @@ manual_print manual_endian define acl_add_replace
|
||||
string tag[64]; /* What gets in here gets out in the corresponding tag field when dumping the ACLs. */
|
||||
u32 count;
|
||||
vl_api_acl_rule_t r[count];
|
||||
option vat_help = "<acl-idx> [<ipv4|ipv6>] <permit|permit+reflect|deny|action N> [src IP/plen] [dst IP/plen] [sport X-Y] [dport X-Y] [proto P] [tcpflags FL MASK], ... , ...";
|
||||
option vat_help = "<acl-idx> <permit|permit+reflect|deny|action N> [src IP/plen] [dst IP/plen] [sport X-Y] [dport X-Y] [proto P] [tcpflags FL MASK], ... , ...";
|
||||
};
|
||||
|
||||
/** \brief Reply to add/replace ACL
|
||||
@@ -301,7 +301,7 @@ manual_endian manual_print define macip_acl_add_replace
|
||||
string tag[64];
|
||||
u32 count;
|
||||
vl_api_macip_acl_rule_t r[count];
|
||||
option vat_help = "<acl-idx> [<ipv4|ipv6>] <permit|deny|action N> [count <count>] [src] ip <ipaddress/[plen]> mac <mac> mask <mac_mask>, ... , ...";
|
||||
option vat_help = "<acl-idx> <permit|deny|action N> [count <count>] [src] ip <ipaddress/[plen]> mac <mac> mask <mac_mask>, ... , ...";
|
||||
};
|
||||
|
||||
/** \brief Reply to add/replace MACIP ACL
|
||||
|
||||
Reference in New Issue
Block a user