Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
1 parent
3549f35
commit e1e0694
Showing
2 changed files
with
76 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} | ||
} | ||
] | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
] | ||
} | ||
] | ||
} | ||
|