X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=lcm%2Flcm%2Fnf%2Fvnfs%2Fconst.py;fp=lcm%2Flcm%2Fpub%2Fconfig%2Fenum.py;h=cf18a2ded736d616ec74c520cc698517f2a12275;hb=64e3ae6de960c1ec7a7c6af87d01439b775b2f09;hp=e72aab4f6081ae7d923aa92b5253a9da1fd83556;hpb=9a8f9cd744b44514cf94e15c84f315751f493c3c;p=vfc%2Fgvnfm%2Fvnflcm.git diff --git a/lcm/lcm/pub/config/enum.py b/lcm/lcm/nf/vnfs/const.py similarity index 86% rename from lcm/lcm/pub/config/enum.py rename to lcm/lcm/nf/vnfs/const.py index e72aab4f..cf18a2de 100644 --- a/lcm/lcm/pub/config/enum.py +++ b/lcm/lcm/nf/vnfs/const.py @@ -11,10 +11,9 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. -def enum(**enums): - return type('Enum', (), enums) -# [VNF_STATUS] +from lcm.pub.utils.jobutil import enum + VNF_STATUS = enum(NULL='null', INSTANTIATING="instantiating", INACTIVE='inactive', ACTIVE="active", FAILED="failed", TERMINATING="terminating", SCALING="scaling", OPERATING="operating", UPDATING="updating", HEALING="healing") \ No newline at end of file