Before you can import objects to an
application template, you must have either created or imported the LTM
objects from one of your managed BIG-IP devices.
When you create a new service template, you specify a set of objects that define an
application that can then be deployed to BIG-IP devices. When you define the
application, you can omit or include certain objects. Parameters you define as not
editable are not visible, and are included using the default values specified in the
service template. This allows you to maintain a consistent environment.
Specifying the objects by importing existing
objects saves time and ensures that you get precisely the settings you are
looking for.
-
At the top of the screen, click Applications then, on the
left, click APPLICATION
TEMPLATES.
The screen displays the list
of AS3 and service catalog templates defined on this device.
Note: AS3
templates can only deploy applications to managed devices. To deploy to an
SSG, you need a service catalog template.
-
Click Create.
-
Type a Name
and (optional) Description for the service template
you are creating, and then click Save.
Once you define the name
and save the template, you need to define the default
objects for this template. This workflow shows you how to
import objects that already exist on devices managed by this
BIG-IQ. For details about other ways to define objects,
refer to Create a service
template starting with a clone of an existing
template or Create a service template by manually specifying
objects on support.f5.com.
-
On the left, under PROPERTIES, expand
, and then select any object type.
For example, you could expand
LOCAL TRAFFIC, and
then click Virtual
Servers.
The screen lists any objects defined for this template along with buttons you
can use to import or create new objects.
-
Click Import.
The Import
Resources screen opens. The top half of the screen displays
resources selected for importing. The bottom half provides
controls for selecting objects to import to this
template.
-
From the select list about half
way down the screen, select one of the object types you
want to import.
Objects of the type you selected that are
currently defined on this BIG-IQ display just below the
Select list.
-
Select the check box for each
object that you want to import.
The lower
right part of the screen displays preview information for
the selected object. If you select multiple objects, the
most recently selected item is previewed.
-
When you have selected all of the
objects that you want for a particular type, click
Add
Selected.
The selected
objects show in the list of objects to be imported.
-
Repeat the previous three steps
for each of the default object types that you want to import
to this template.
-
When you have assembled all of the
objects that you want to import to this template, click
Import.
Note: When you import an object
created outside of the service template user
interface into a service template, only the object
name is set to be editable (and visible when someone
uses this template to create a new application). For
example, if a virtual server named SeattleServer is created on one of
the BIG-IP devices that a BIG-IQ manages, that
virtual server is imported to the BIG-IQ when you
discover and import that device. You can then import
SeattleServer into a service
template, but only the name (SeattleServer) appears when that
template is used to create an application. You can
edit the visibility setting on the Edit Template
screen for the imported object.
BIG-IQ adds
the imported objects to the service template. Objects that
are set to be editable display when someone uses this
template to create a new application.
-
If you want to edit any of the
settings for the objects you imported, click the name of the
object to access the edit screen for that object.
When you save
the changes for an object, the revisions you made become
part of the template, and you can use it to create a new
application that deploys to your BIG-IP
devices.
-
Click Save &
Close.
-
If you are ready to use this service template to
create an application, select it, and click Publish.