diff options
author | mark.j.leonard <mark.j.leonard@gmail.com> | 2018-06-07 16:45:38 +0100 |
---|---|---|
committer | mark.j.leonard <mark.j.leonard@gmail.com> | 2018-06-07 17:17:30 +0100 |
commit | 7e6fe8c29c5a5cfa5caf6ab47b30280e1fc20432 (patch) | |
tree | af9e48c7bf85ae68d42cbc94df60589bdd7e052e /src/test/resources/xmlFiles/vnfcatalog-1.xml | |
parent | c5aea4a8bc398fc1c6220875e55b9520fd7f7524 (diff) |
Add support for loading VNF Catalog XML files
Issue-ID: AAI-1214
Change-Id: I5d0eb3456916e6f3e5ba3a9b4e828feaff0cde4e
Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
Diffstat (limited to 'src/test/resources/xmlFiles/vnfcatalog-1.xml')
-rw-r--r-- | src/test/resources/xmlFiles/vnfcatalog-1.xml | 100 |
1 files changed, 100 insertions, 0 deletions
diff --git a/src/test/resources/xmlFiles/vnfcatalog-1.xml b/src/test/resources/xmlFiles/vnfcatalog-1.xml new file mode 100644 index 0000000..979589c --- /dev/null +++ b/src/test/resources/xmlFiles/vnfcatalog-1.xml @@ -0,0 +1,100 @@ +<vnf-catalog> + <part-number-list> + <att-part-number>att-part-number1</att-part-number> + <vnf-type>vnf-type1</vnf-type> + <vendor-info> + <vendor-name>vendor-name1</vendor-name> + <vendor-part-number>vendor-part-number1</vendor-part-number> + <vendor-model>vendor-model1</vendor-model> + </vendor-info> + <vcpu> + <vcpu-default>2</vcpu-default> + <vcpu-min>2</vcpu-min> + <vcpu-max>2</vcpu-max> + </vcpu> + <vmemory> + <vmemory-default>2</vmemory-default> + <vmemory-units>GB</vmemory-units> + <vmemory-min>2</vmemory-min> + <vmemory-max>2</vmemory-max> + </vmemory> + <vdisk> + <vdisk-default>50</vdisk-default> + <vdisk-units>GB</vdisk-units> + <vdisk-min>50</vdisk-min> + <vdisk-max>50</vdisk-max> + </vdisk> + <software-version-list> + <software-version>software-version1</software-version> + <software-version-state>0</software-version-state> + <software-filetype>IMAGE</software-filetype> + <file-md5-value>BE2B249315B4410896099CFD1AE1948C</file-md5-value> + <software-filename>software-filename1</software-filename> + </software-version-list> + <vnf-features-list> + <vnf-feature>APPID</vnf-feature> + </vnf-features-list> + <vnf-features-list> + <vnf-feature>IPS-IDS</vnf-feature> + </vnf-features-list> + <vnf-features-list> + <vnf-feature>URLF</vnf-feature> + </vnf-features-list> + <vnf-features-list> + <vnf-feature>Anti-Virus</vnf-feature> + </vnf-features-list> + <license-list> + <license-assignment-group>license-assignment-group1</license-assignment-group> + <license-required>TRUE</license-required> + </license-list> + </part-number-list> + <part-number-list> + <att-part-number>att-part-number2</att-part-number> + <vnf-type>vnf-type2</vnf-type> + <vendor-info> + <vendor-name>vendor-name2</vendor-name> + <vendor-part-number>vendor-part-number2</vendor-part-number> + <vendor-model>vendor-model2</vendor-model> + </vendor-info> + <vcpu> + <vcpu-default>2</vcpu-default> + <vcpu-min>2</vcpu-min> + <vcpu-max>2</vcpu-max> + </vcpu> + <vmemory> + <vmemory-default>2</vmemory-default> + <vmemory-units>GB</vmemory-units> + <vmemory-min>2</vmemory-min> + <vmemory-max>2</vmemory-max> + </vmemory> + <vdisk> + <vdisk-default>50</vdisk-default> + <vdisk-units>GB</vdisk-units> + <vdisk-min>50</vdisk-min> + <vdisk-max>50</vdisk-max> + </vdisk> + <software-version-list> + <software-version>software-version2</software-version> + <software-version-state>0</software-version-state> + <software-filetype>IMAGE</software-filetype> + <file-md5-value>BE2B249315B4410896099CFD1AE1948C</file-md5-value> + <software-filename>software-filename2</software-filename> + </software-version-list> + <vnf-features-list> + <vnf-feature>APPID</vnf-feature> + </vnf-features-list> + <vnf-features-list> + <vnf-feature>IPS-IDS</vnf-feature> + </vnf-features-list> + <vnf-features-list> + <vnf-feature>URLF</vnf-feature> + </vnf-features-list> + <vnf-features-list> + <vnf-feature>Anti-Virus</vnf-feature> + </vnf-features-list> + <license-list> + <license-assignment-group>license-assignment-group2</license-assignment-group> + <license-required>TRUE</license-required> + </license-list> + </part-number-list> +</vnf-catalog>
\ No newline at end of file |