Skip to content
Permalink
Browse files
Add mock capabilities search
  • Loading branch information
brogand93 committed May 31, 2014
1 parent 2230cda commit e837ea494ad338d7a3628dd8ad35289a2d52b2aa
Showing 2 changed files with 45 additions and 0 deletions.
@@ -0,0 +1,30 @@
#!/usr/bin/env python
# encoding: utf-8
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, 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.

import os

def read_file(name):
filepath = os.path.join(
os.path.dirname(os.path.realpath(__file__)),
'../',
name
)

data = open(filepath)
return data.read()
@@ -0,0 +1,15 @@
{
"listcapabilitiesresponse": {
"capability": {
"customdiskofferingmaxsize": 1024,
"cloudstackversion": "4.3.0",
"projectinviterequired": false,
"securitygroupsenabled": true,
"regionsecondaryenabled": false,
"userpublictemplateenabled": false,
"supportELB": "false",
"allowusercreateprojects": false,
"kvmsnapshotenabled": true
}
}
}

0 comments on commit e837ea4

Please sign in to comment.