When we create a contract, we need to create the scope (where the contract can be applied) and a subject, which contains the access-group and the service template graph.
Creating the contract
How to do it...
-
We start by creating the contract:
apic1(config-tenant)# contract ACME-Contract
apic1(config-tenant-contract)# scope tenant
apic1(config-tenant-contract)# subject Subject
apic1(config-tenant-contract-subj)# access-group default both
apic1(config-tenant-contract-subj)# l4l7 graph ACME-SGT
apic1(config-tenant-contract-subj)# exit
apic1(config-tenant-contract)# exit
apic1(config-tenant)#
-
The next part of creating the contracts is to assign the provider and consumer roles:
apic1(config-tenant)# application...