update link to upper-constraints.txt
[vfc/nfvo/lcm.git] / lcm / ns / const.py
index b4165e5..ffad50c 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.
-from lcm.pub.utils.enumutil import enum
+from lcm.pub.config.config import MSB_BASE_URL
 
-OWNER_TYPE = enum(VNF=0, VNFM=1, NS=2)
 
-NS_INST_STATUS = enum(EMPTY='empty', INSTANTIATING='instantiating', TERMINATING='terminating',
-                      ACTIVE='active', FAILED='failed', INACTIVE='inactive', UPDATING='updating', SCALING='scaling',
-                      HEALING='healing')
+SERVICE_TYPE = 'NetworkService'
+SERVICE_ROLE = 'NetworkService'
+NS_INSTANCE_BASE_URI = MSB_BASE_URL + '/api/nslcm/v1/ns_instances/%s'
+NS_OCC_BASE_URI = MSB_BASE_URL + '/api/nslcm/v1/ns_lcm_op_occs/%s'
+SUBSCRIPTION_ROOT_URI = MSB_BASE_URL + "/api/nslcm/v1/subscriptions/%s"