Bulk import applications into application group

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Bulk import applications into application group

L2 Linker

Hi

 

Lazy request here...

 

Im trying to create application groups which will have a lot of applications in them and i wonder is there a way of easily importing a load of apps into a group, rather than typing it in one by one? I have exported the logs so i have the correct name of every app i just want to know if can then add all these app into one group easily

 

Cheers

1 accepted solution

Accepted Solutions

@CRDF18

You will find the command if you enter the find command in config mode 😉

 

But it is one of these (depending in which context you need the group):

set shared application-group CUSTOMGROUP members 

set vsys VSYSNAME application-group CUSTOMGROUP members 

View solution in original post

6 REPLIES 6

Cyber Elite
Cyber Elite

@CRDF18,

Not unless you're willing to go into the XML file and actually input the configuration like that.

The application-groups are within <application-group/>. The configuration looks like this:

            <entry name="Streaming Services">
              <members>
                <member>air-video</member>
                <member>amazon-cloud-player</member>
                <member>amazon-instant-video</member>
                <member>amazon-unbox</member>
                <member>directv</member>
                <member>espn-go</member>
                <member>hulu</member>
                <member>mlb.tv</member>
                <member>naver-streaming</member>
                <member>netflix</member>
                <member>ontv</member>
                <member>pandora-tv</member>
                <member>popcorn-time</member>
                <member>redbox-instant</member>
                <member>sbs-netv</member>
                <member>sling</member>
                <member>starz</member>
                <member>streambox</member>
                <member>tv4play</member>
                <member>tvb-video</member>
                <member>twitch</member>
                <member>xfinity-tv</member>
                <member>showtime</member>
                <member>hbo</member>
              </members>
            </entry>

So if you wanted to add applications into that application group you could easily do so by adding a member entry. You would then just upload this configuration file back onto the box and load it, verify the configuration, and commit. 

Does this apply to custom application groups? 

 

Also how would i upload it again in XML format?

 

Thanks

Yes this would will work for custom application groups. In this case you have to downloaf the full config, add the additional applications to your application group by copying the lines as mentionned by @BPry and import the configuration again.

Another way would be to paste the config directly to the cli. I am not sure how the command is called but should be something like "set shared application-group CUSTOMGROUP member" ... you should be able to find the command also with "find command keyword application-group". This command you could then copy for all your applications that you want to add and paste these into your cli session.

The CLI i would be more than happy with, but unfortunatly doesnt look like find command keyword application-group bring back anything

 

"find command keyword application" does, but nothing group related. I will stop being lazy now and just do it manually haha

 

Thanks for your help 

@CRDF18

You will find the command if you enter the find command in config mode 😉

 

But it is one of these (depending in which context you need the group):

set shared application-group CUSTOMGROUP members 

set vsys VSYSNAME application-group CUSTOMGROUP members 

set application-group "CUSTOMER GROUP" members [ APP-NAME  APP-NAME2 APP-NAME3] 

 

worked!

 

Thanks for your help

  • 1 accepted solution
  • 5094 Views
  • 6 replies
  • 0 Likes
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!