PDF

Associate provided and consumed contracts by using the GUI

Want to summarize with AI?

Log in

Associate contracts with endpoint groups to establish communication policies among the web, application, and database tiers.


Associate existing contracts with endpoint groups (EPGs) to create policy relationships among the EPGs.

The provider and consumer EPGs must reference the same contract.

Procedure

  1. In the APIC GUI, drag from the db EPG icon to the app EPG icon.

    Note

    The db, app, and web EPGs appear as icons.

    The Add Consumed Contract dialog appears.

  2. From the Name drop-down list, choose the sql contract, and then click OK.

    The db EPG provides the sql contract, and the app EPG consumes it.

  3. Drag from the app EPG icon to the web EPG icon.

    The Add Consumed Contract dialog appears.

  4. From the Name drop-down list, choose the rmi contract, and then click OK.

    The app EPG provides the rmi contract, and the web EPG consumes it.

  5. Click the web EPG icon, and then click + in the Provided Contracts area.

    The Add Provided Contract dialog appears.

  6. From the Name drop-down list, choose the web contract, and then click OK.

    The web EPG provides the web contract.

  7. Click Submit.

    The three-tier application profile named OnlineStore is created.

  8. In the Navigation pane, expand Application Profiles, and then click OnlineStore.

    The Work pane displays the app, db, and web EPGs.

  9. In the Work pane, choose Operational > Contracts.

    The GUI displays the EPGs and their provided and consumed contract relationships.