Skip to main content

Service Graph Template

Location in GUI: Tenants » XXX » Services » L4-L7 » Service Graph Templates

Diagram

Classes

services (apic.tenants)

NameTypeConstraintMandatoryDefault Value
service_graph_templatesList[service_graph_templates]No

service_graph_templates (apic.tenants.services)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$Yes
ndo_managedBooleantrue, falseNofalse
aliasStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$No
descriptionStringRegex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _{|}~?&+]{1,128}$No
template_typeChoiceFW_TRANS, FW_ROUTED, ADC_ONE_ARM, ADC_TWO_ARM, OTHER, CLOUD_NATIVE_LB, CLOUD_VENDOR_LB, CLOUD_NATIVE_FW, CLOUD_VENDOR_FWNoFW_ROUTED
redirectBooleantrue, falseNofalse
share_encapsulationBooleantrue, falseNofalse
deviceClass[device]Yes
consumerClass[consumer]No
providerClass[provider]No
expected_stateClass[expected_state]No

device (apic.tenants.services.service_graph_templates)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$Yes
tenantStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$No
node_nameStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$No

consumer (apic.tenants.services.service_graph_templates)

NameTypeConstraintMandatoryDefault Value
direct_connectBooleantrue, falseNofalse

expected_state (apic.tenants.services.service_graph_templates)

NameTypeConstraintMandatoryDefault Value
minimum_healthIntegermin: 0, max: 100No
maximum_critical_faultsIntegermin: 0No
maximum_major_faultsIntegermin: 0No
maximum_minor_faultsIntegermin: 0No

Examples

Simple example:

apic:
tenants:
- name: ABC
services:
service_graph_templates:
- name: TEMPLATE1
redirect: true
device:
name: DEV1

Full example:

apic:
tenants:
- name: ABC
services:
service_graph_templates:
- name: TEMPLATE1
alias: TEMPLATE1-ALIAS
description: My Desc
template_type: FW_ROUTED
redirect: true
share_encapsulation: false
device:
tenant: ABC
name: DEV1
consumer:
direct_connect: false
provider:
direct_connect: true