Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
sudhir_mirajkar
Participant

Ignore global host entry while Adding new host using smart control cli

Hi All,

i am trying to add new host hosts/Network in one of our Domain in the MDS environment.

we have created few global hosts/networks but i want to add these separately as well on each domains.

is there a API call where i can force add the nodes or ignore the global host/network.

Thanks,

Sudhir Mirajkar

0 Kudos
6 Replies
PhoneBoy
Admin
Admin

It’s usually a matter of passing “ignore-warnings true” as part of the API/CLI call.

0 Kudos
sudhir_mirajkar
Participant

can you please give me example of it, will it be as below
add network name "New Network 1" subnet "192.0.2.0" subnet-mask "255.255.255.0" ignore-warning ture
 Thanks,

0 Kudos
PhoneBoy
Admin
Admin

You have it right except for it's ignore-warnings (not ignore-warning).

0 Kudos
sudhir_mirajkar
Participant

Yes that worked for me, thanks..
i am facing another issue but not able to find anything in API Doc or the community
i want to add a service group to a rule, but not getting what syntax i should use.

can you please refer me to some doc a tread.

thanks in advance.

0 Kudos
PhoneBoy
Admin
Admin

Please create a new thread for this with what you've tried.

0 Kudos
sudhir_mirajkar
Participant

Sure Thanks..

0 Kudos