Intent Compiler: Use API client and logic service

Bug #1784035 reported by Witaut Bajaryn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
In Progress
High
Witaut Bajaryn

Bug Description

Currently (as of https://review.opencontrail.org/#/c/44597/), compilation/logic.Service is not used, so Intent Compiler does nothing useful.

Add compilation/logic.Service with an API client service to the service chain.

Tags: go-api
Witaut Bajaryn (vozhyk-)
information type: Proprietary → Public
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/45012
Submitter: Witaut Bajaryn (<email address hidden>)

Jeba Paulaiyan (jebap)
tags: added: go-api
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/45695
Submitter: Praneet Bachheti (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/45012
Submitter: Witaut Bajaryn (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/45695
Submitter: Praneet Bachheti (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/45012
Submitter: Witaut Bajaryn (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/45695
Committed: http://github.com/Juniper/contrail/commit/cdd5f888614a15d4c89a72b246dc724b83707a01
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit cdd5f888614a15d4c89a72b246dc724b83707a01
Author: Praneet Bachheti <email address hidden>
Date: Tue Aug 21 16:43:41 2018 -0700

Redesign contrail plugin logic

Merge contrail plugin service into compilation logic service:
Make logic service handle evaluating dependencies on resource creation:
call evaluate() on all the dependent resources.

Add an intent structure for holding intent compiler state for a resource
and for implementing evaluate().

Add a baseIntent structure to implement default evaluate()

SecurityGroup: Change according to the above design.

Change-Id: Id9267f9d6b271e4a1f378c86b8da8b7aae0903ab
Partial-Bug: 1784035

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/45012
Committed: http://github.com/Juniper/contrail/commit/f0511f881d20347cccd5fa678686ac652fa4f78d
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit f0511f881d20347cccd5fa678686ac652fa4f78d
Author: Witaut Bajaryn <email address hidden>
Date: Fri Jul 20 16:15:19 2018 +0200

Integrate compilation/logic.Service

Add it to the Intent Compiler service chain.
Connect to the API server with HTTP.
Enable intent compiler in the sample config for postgres as well.

Closes-Bug: 1784035
Change-Id: I00620e7bb5df1eee078d50eeee69bd0ad9c864fb

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/45799
Submitter: Praneet Bachheti (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/45799
Committed: http://github.com/Juniper/contrail/commit/53f5e6a36c9a336fb3afa34c3b7d63a0278dff47
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit 53f5e6a36c9a336fb3afa34c3b7d63a0278dff47
Author: Praneet Bachheti <email address hidden>
Date: Mon Aug 27 19:11:28 2018 -0700

Routing Instance Creation handling

- Evaluate routing instance through dependency tracker
- create default route target fro routing instance
the route target are randomly generated for now.
later they will be allocated

Change-Id: I523a4bcae73532bd9cc5bfc139aabaa6359bb7b1
Closes-Bug: 1784035

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/46286
Submitter: Praneet Bachheti (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Review in progress for https://review.opencontrail.org/46374
Submitter: Praneet Bachheti (<email address hidden>)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.