Creation of a pre rules containing a tag with api
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

The Enhanced LIVEcommunity Experience is finally here! Learn all about it.

Creation of a pre rules containing a tag with api

L1 Bithead

I want to create au pre rules with api:

action=set&xpath=/config/devices/entry[\@name='localhost.localdomain']/device-group/entry[\@name='".$deviceGroup."']/pre-rulebase/security/rules/entry[\@name='".$preRulesName."']

And i want to put a tag:

<tag><member>texte</member></tag>

 

But i have an error:

                             ' preRulesName-> tag \'texte\' is not a valid reference',
                             ' preRulesName -> tag is invalid'

 

I don't understand why

1 ACCEPTED SOLUTION

Accepted Solutions

L4 Transporter

Sanity check:  do you have a "texte" tag in your panorama's Objects > Device Group > Tags?

 

View solution in original post

2 REPLIES 2

L4 Transporter

Sanity check:  do you have a "texte" tag in your panorama's Objects > Device Group > Tags?

 

View solution in original post

Thanks, I add my tag in Objects > Device Group > Tags, and it work

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!