Skip to content

Commit

Permalink
Closes-Bug: #1546725
Browse files Browse the repository at this point in the history
SM: Need to have support for SROIV provisioning

Support SRIOV provisioning in SM.
Add sample json files

Testing:
Provisioned and testbed by launching a SRIOV VM and seeing the vland id
for the VF interface.

Change-Id: Ibfedd6e1c5ebeb1efe31e5fd0acead9fa0698a3c
  • Loading branch information
thilakrajs committed Mar 25, 2016
1 parent 3669b82 commit b662633
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 0 deletions.
28 changes: 28 additions & 0 deletions src/client/sriov_cluster.json
@@ -0,0 +1,28 @@
{
"cluster": [
{
"base_image_id": "",
"email": "",
"id": "new-sriov-cluster",
"package_image_id": "",
"parameters": {
"provision": {
"contrail": {
"database": {
"database_minimum_diskGB": 32
},
"openstack": {
"sriov": {
"enable": true
}
}
}
},
"storage_fsid": "4c0f9cd8-fd39-4f86-bc57-5b6c5c4d3dca",
"storage_virsh_uuid": "99b103b4-b1a0-4576-b4fe-4a8e0bf9555f",
"uuid": "154cf62c-734f-4238-bb8f-9c14f05c3ef1"
}
}
]
}

48 changes: 48 additions & 0 deletions src/client/sriov_server.json
@@ -0,0 +1,48 @@
{
"server": [
{
"id": "sdkvse2",
"ip_address": "99.1.1.2",
"parameters": {
"interface_name": "eth3",
"provision": {
"contrail": {
"compute": {
"sriov": {
"literal": true,
"p5p1": {
"VF": 7,
"physnets": [
"physnet1"
]
}
}
}
}
}
},
"roles": [
"compute"
]
},
{
"id": "sdkvse1",
"ip_address": "99.1.1.1",
"parameters": {
"interface_name": "eth3",
"provision": {
"contrail": {}
}
},
"roles": [
"openstack",
"webui",
"config",
"database",
"control",
"collector"
]
}
]
}

0 comments on commit b662633

Please sign in to comment.