Instructions (order/dependency) can now belong to an
app, a resource or a subresource.
Issue-ID: MULTICLOUD-1143
Signed-off-by: Igor D.C <igor.duarte.cardoso@intel.com>
Change-Id: Iee55c2bbb569de242e66f5a5456ac52025a00f0e
        if !(insttype == "order" || insttype == "dependency") {
                return nil, pkgerrors.Errorf("Not a valid app context instruction type")
        }
-       if !(level == "app" || level == "resource") {
+       if !(level == "app" || level == "resource" || level == "subresource") {
                return nil, pkgerrors.Errorf("Not a valid app context instruction level")
        }
        h, err := ac.rtc.RtcAddInstruction(handle, level, insttype, value)