5 Replies Latest reply on Aug 30, 2013 8:39 AM by Krithesh NameToUpdate

    Virtual Guest Package and Virtual Guest Job xml schema.


      Hi..I am trying  to automate VGP and VGJs(BBSA 8.1) using blcli commands for which we need xml as input. Are the schemas available for these xml? If yes , where can I get it? Thanks in advance..

        • 1. Re: Virtual Guest Package and Virtual Guest Job xml schema.
          Niranjan Nagandla

          You should find it in the blcli help. Open Start>All programs>BMC Software> BSA> BLCLI Help. Go to search and type XML.

          1 of 1 people found this helpful
          • 2. Re: Virtual Guest Package and Virtual Guest Job xml schema.

            Thanks for the instant reply. Blcli help provides xml samples. But i need the schema, the xsd files.

            • 3. Re: Virtual Guest Package and Virtual Guest Job xml schema.
              Bill Robinson

              it's in the help.  goto the 'search' tab for the help, search for 'schema' and you should see a link to the vgp and vgj schemas.

              • 4. Re: Virtual Guest Package and Virtual Guest Job xml schema.
                Bill Robinson

                eg

                 

                Virtual Guest Job schema

                <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">

                <xsd:include schemaLocation="vgpinput.xsd" />

                <xsd:annotation>

                <xsd:documentation xml:lang="en">Virtual guest job input file schema</xsd:documentation>

                </xsd:annotation>

                <xsd:element name="VirtualGuestJobConfiguration">   

                <xsd:complexType>

                <xsd:sequence>

                <xsd:element name="VirtualGuestPackage" type="VirtualGuestPackageType"/>

                <xsd:element name="VirtualGuestJob" type="VirtualGuestJobType" />

                <xsd:element name="LifeCycle" type="LifeCycleType" minOccurs="0" />

                </xsd:sequence>

                </xsd:complexType>

                </xsd:element>

                <xsd:complexType name="VirtualGuestJobType">

                <xsd:sequence>

                <!-- if JobName is not mentioned, it will be generated by the system (PackageName + GUID) -->

                <xsd:element name="JobName" type="xsd:string" minOccurs="0"/>

                <xsd:element name="JobFolderID" type="nonNegativeInt" minOccurs="1"/>

                <xsd:element name="VirtualGuestDestination" type="xsd:string" minOccurs="1"/>

                <!-- If ExecuteNow is true or tag not mentioned in sample job xml, job runs immediately -->

                <xsd:element name="ExecuteNow" type="booleanString" minOccurs="0" default="true"/>

                </xsd:sequence>

                </xsd:complexType>

                <xsd:complexType name="LifeCycleType">

                <xsd:sequence>

                <!-- If user wants to skips AO approval, SkipApproval value should be true, otherwise VGJob goes for approval process-->

                <xsd:element name="SkipApproval" type="booleanString" minOccurs="0" default="false"/>

                <xsd:element name="ServiceRquestID" type="xsd:string"/>

                <xsd:element name="ChangeID" type="xsd:string"/>

                <xsd:element name="TaskID" type="xsd:string"/>

                <xsd:element name="Owner" type="xsd:string"/>

                <xsd:element name="ExpiryDate" type="xsd:string"/>

                <xsd:element name="GroupName" type="xsd:string" minOccurs="0" />

                <xsd:element name="ServiceLevel" type="xsd:string" minOccurs="0" />

                </xsd:sequence>

                </xsd:complexType>

                <xsd:complexType name="VirtualGuestPackageType">

                <xsd:sequence>

                <xsd:element name="VGPackageID" type="nonNegativeInt"/>

                <xsd:element name="VirtualGuestName" type="xsd:string"/>

                <!-- PlatformInfo is optional if the VGpackage given in VGPackageID has complete information. Otherwise user needs to provide complete PlatformInfo section, this can be

                either constructed using vgpinput.xsd schema or use Virtualization::getVirtualGuestPackage CLI. -->

                <xsd:element name="PlatformInfo" type="PlatformInfoType" minOccurs="0"/>

                </xsd:sequence>

                </xsd:complexType>

                </xsd:schema>