Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.

adding entries to Action profile #84

Open
gcooper opened this issue Nov 16, 2015 · 3 comments
Open

adding entries to Action profile #84

gcooper opened this issue Nov 16, 2015 · 3 comments

Comments

@gcooper
Copy link

gcooper commented Nov 16, 2015

I have a table with an action profile to implement ecmp. The code complies, how ever i am unable to add any entries to the table. A error is thrown saying the table does not exists. How do you add entries to a table that has an action profile?

@antoninbas
Copy link
Member

I am in the process of adding this functionality to the bmv2 CLI. Are you using bmv1 or bmv2? The PD API or the CLI?

@gcooper
Copy link
Author

gcooper commented Nov 17, 2015

I am currently using the bmv1 and the CLI, i have found a work around but would rather try using the action profile. Please let me know when bmv2 is updated

@antoninbas
Copy link
Member

The bmv2 CLI has been updated to support action profiles (in bmv2, we usually use the term indirect tables). The following commands have been added (in no particular order):

table_indirect_add                     
table_indirect_add_member_to_group     
table_indirect_add_with_group          
table_indirect_create_group            
table_indirect_create_member           
table_indirect_delete                  
table_indirect_delete_group            
table_indirect_delete_member           
table_indirect_modify_member           
table_indirect_remove_member_from_group
table_indirect_set_default             
table_indirect_set_default_with_group

You can lookup the syntax for each one with help <command>

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants