Add code of grant resource
[vfc/gvnfm/vnflcm.git] / 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 e72aab4..cf18a2d 100644 (file)
 # 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