Share via


VPN DDF File

4/8/2010

This topic shows the Device Description Framework (DDF) file for the VPN Configuration Service Provider. Open Mobile Alliance Device Management (OMA DM) DDF files and the example in this topic are used only for OMA DM provisioning.

Note

The first line of the DDF is the namespace reference for Microsoft custom properties.

<MgmtTree xmlns:MSFT="https://schemas.microsoft.com/MobileDevice/DM">
    <VerDTD>1.2</VerDTD>
    <Node>
        <NodeName>VPN</NodeName>
        <Path>./Vendor/MSFT</Path>
        <DFProperties>
            <AccessType>
                <Get />
            </AccessType>
            <DFFormat>
                <node />
            </DFFormat>
            <Occurrence>
                <One />
            </Occurrence>
            <Scope>
                <Permanent />
            </Scope>
            <MSFT:RWAccess>3</MSFT:RWAccess>
            <MSFT:MinValue></MSFT:MinValue>
            <MSFT:MaxValue></MSFT:MaxValue>
            <MSFT:MaxLength></MSFT:MaxLength>
            <Description></Description>
        </DFProperties>
        <Node>
            <NodeName></NodeName>
            <DFProperties>
                <AccessType>
                    <Add />
                    <Get />
                    <Delete />
                </AccessType>
                <DFFormat>
                    <node />
                </DFFormat>
                <Occurrence>
                    <ZeroOrMore />
                </Occurrence>
                <Scope>
                    <Dynamic />
                </Scope>
                <MSFT:RWAccess>3</MSFT:RWAccess>
                <MSFT:MinValue></MSFT:MinValue>
                <MSFT:MaxValue></MSFT:MaxValue>
                <MSFT:MaxLength></MSFT:MaxLength>
                <Description>Need to specify all mandatory fields (fields whose occurrence is at least 1). The addition, update, and deletion of this sub-tree of nodes have to be specified in a single atomic transaction.</Description>
            </DFProperties>
            <Node>
                <NodeName>VpnId</NodeName>
                <DFProperties>
                    <AccessType>
                        <Add />
                        <Get />
                        <Replace />
                    </AccessType>
                    <DFFormat>
                        <chr />
                    </DFFormat>
                    <Occurrence>
                        <One />
                    </Occurrence>
                    <Scope>
                        <Dynamic />
                    </Scope>
                    <MSFT:RWAccess>3</MSFT:RWAccess>
                    <DFType>
                        <MIME>text/plain</MIME>
                    </DFType>
                    <MSFT:MinValue></MSFT:MinValue>
                    <MSFT:MaxValue></MSFT:MaxValue>
                    <MSFT:MaxLength></MSFT:MaxLength>
                    <Description></Description>
                </DFProperties>
            </Node>
            <Node>
                <NodeName>Name</NodeName>
                <DFProperties>
                    <AccessType>
                        <Add />
                        <Get />
                        <Delete />
                        <Replace />
                    </AccessType>
                    <DFFormat>
                        <chr />
                    </DFFormat>
                    <Occurrence>
                        <ZeroOrOne />
                    </Occurrence>
                    <Scope>
                        <Dynamic />
                    </Scope>
                    <MSFT:RWAccess>3</MSFT:RWAccess>
                    <DFType>
                        <MIME>text/plain</MIME>
                    </DFType>
                    <MSFT:MinValue></MSFT:MinValue>
                    <MSFT:MaxValue></MSFT:MaxValue>
                    <MSFT:MaxLength></MSFT:MaxLength>
                    <Description></Description>
                </DFProperties>
            </Node>
            <Node>
                <NodeName>Addr</NodeName>
                <DFProperties>
                    <AccessType>
                        <Add />
                        <Get />
                        <Replace />
                    </AccessType>
                    <DFFormat>
                        <chr />
                    </DFFormat>
                    <Occurrence>
                        <One />
                    </Occurrence>
                    <Scope>
                        <Dynamic />
                    </Scope>
                    <MSFT:RWAccess>3</MSFT:RWAccess>
                    <DFType>
                        <MIME>text/plain</MIME>
                    </DFType>
                    <MSFT:MinValue></MSFT:MinValue>
                    <MSFT:MaxValue></MSFT:MaxValue>
                    <MSFT:MaxLength></MSFT:MaxLength>
                    <Description></Description>
                </DFProperties>
            </Node>
            <Node>
                <NodeName>AddrType</NodeName>
                <DFProperties>
                    <AccessType>
                        <Add />
                        <Get />
                        <Replace />
                    </AccessType>
                    <DFFormat>
                        <chr />
                    </DFFormat>
                    <Occurrence>
                        <One />
                    </Occurrence>
                    <Scope>
                        <Dynamic />
                    </Scope>
                    <MSFT:RWAccess>3</MSFT:RWAccess>
                    <DFType>
                        <MIME>text/plain</MIME>
                    </DFType>
                    <MSFT:MinValue></MSFT:MinValue>
                    <MSFT:MaxValue></MSFT:MaxValue>
                    <MSFT:MaxLength></MSFT:MaxLength>
                    <Description>one of IPv4</Description>
                </DFProperties>
            </Node>
            <Node>
                <NodeName>ConRefs</NodeName>
                <DFProperties>
                    <AccessType>
                        <Add />
                        <Get />
                        <Delete />
                    </AccessType>
                    <DFFormat>
                        <node />
                    </DFFormat>
                    <Occurrence>
                        <One />
                    </Occurrence>
                    <Scope>
                        <Dynamic />
                    </Scope>
                    <MSFT:RWAccess>3</MSFT:RWAccess>
                    <MSFT:MinValue></MSFT:MinValue>
                    <MSFT:MaxValue></MSFT:MaxValue>
                    <MSFT:MaxLength></MSFT:MaxLength>
                    <Description></Description>
                </DFProperties>
                <Node>
                    <NodeName></NodeName>
                    <DFProperties>
                        <AccessType>
                            <Add />
                            <Get />
                            <Delete />
                        </AccessType>
                        <DFFormat>
                            <node />
                        </DFFormat>
                        <Occurrence>
                            <OneOrMore />
                        </Occurrence>
                        <Scope>
                            <Dynamic />
                        </Scope>
                        <MSFT:RWAccess>3</MSFT:RWAccess>
                        <MSFT:MinValue></MSFT:MinValue>
                        <MSFT:MaxValue></MSFT:MaxValue>
                        <MSFT:MaxLength></MSFT:MaxLength>
                        <Description></Description>
                    </DFProperties>
                    <Node>
                        <NodeName>ConRef</NodeName>
                        <DFProperties>
                            <AccessType>
                                <Add />
                                <Get />
                                <Replace />
                            </AccessType>
                            <DFFormat>
                                <chr />
                            </DFFormat>
                            <Occurrence>
                                <One />
                            </Occurrence>
                            <Scope>
                                <Dynamic />
                            </Scope>
                            <MSFT:RWAccess>3</MSFT:RWAccess>
                            <DFType>
                                <MIME>text/plain</MIME>
                            </DFType>
                            <MSFT:MinValue></MSFT:MinValue>
                            <MSFT:MaxValue></MSFT:MaxValue>
                            <MSFT:MaxLength></MSFT:MaxLength>
                            <Description></Description>
                        </DFProperties>
                    </Node>
                </Node>
            </Node>
            <Node>
                <NodeName>AuthInfo</NodeName>
                <DFProperties>
                    <AccessType>
                        <Add />
                        <Get />
                        <Delete />
                    </AccessType>
                    <DFFormat>
                        <node />
                    </DFFormat>
                    <Occurrence>
                        <One />
                    </Occurrence>
                    <Scope>
                        <Dynamic />
                    </Scope>
                    <MSFT:RWAccess>3</MSFT:RWAccess>
                    <MSFT:MinValue></MSFT:MinValue>
                    <MSFT:MaxValue></MSFT:MaxValue>
                    <MSFT:MaxLength></MSFT:MaxLength>
                    <Description></Description>
                </DFProperties>
                <Node>
                    <NodeName>AuthType</NodeName>
                    <DFProperties>
                        <AccessType>
                            <Add />
                            <Get />
                            <Replace />
                        </AccessType>
                        <DFFormat>
                            <chr />
                        </DFFormat>
                        <Occurrence>
                            <One />
                        </Occurrence>
                        <Scope>
                            <Dynamic />
                        </Scope>
                        <MSFT:RWAccess>3</MSFT:RWAccess>
                        <DFType>
                            <MIME>text/plain</MIME>
                        </DFType>
                        <MSFT:MinValue></MSFT:MinValue>
                        <MSFT:MaxValue></MSFT:MaxValue>
                        <MSFT:MaxLength></MSFT:MaxLength>
                        <Description>one of PPTP,IPSecL2TP</Description>
                    </DFProperties>
                </Node>
                <Node>
                    <NodeName>AuthName</NodeName>
                    <DFProperties>
                        <AccessType>
                            <Add />
                            <Get />
                            <Replace />
                        </AccessType>
                        <DFFormat>
                            <chr />
                        </DFFormat>
                        <Occurrence>
                            <One />
                        </Occurrence>
                        <Scope>
                            <Dynamic />
                        </Scope>
                        <MSFT:RWAccess>3</MSFT:RWAccess>
                        <DFType>
                            <MIME>text/plain</MIME>
                        </DFType>
                        <MSFT:MinValue></MSFT:MinValue>
                        <MSFT:MaxValue></MSFT:MaxValue>
                        <MSFT:MaxLength></MSFT:MaxLength>
                        <Description></Description>
                    </DFProperties>
                </Node>
                <Node>
                    <NodeName>AuthSecret</NodeName>
                    <DFProperties>
                        <AccessType>
                            <Add />
                            <Get />
                            <Replace />
                        </AccessType>
                        <DFFormat>
                            <chr />
                        </DFFormat>
                        <Occurrence>
                            <One />
                        </Occurrence>
                        <Scope>
                            <Dynamic />
                        </Scope>
                        <MSFT:RWAccess>3</MSFT:RWAccess>
                        <DFType>
                            <MIME>text/password</MIME>
                        </DFType>
                        <MSFT:MinValue></MSFT:MinValue>
                        <MSFT:MaxValue></MSFT:MaxValue>
                        <MSFT:MaxLength></MSFT:MaxLength>
                        <Description></Description>
                    </DFProperties>
                </Node>
                <Node>
                    <NodeName>IPSECInfo</NodeName>
                    <DFProperties>
                        <AccessType>
                            <Add />
                            <Get />
                            <Delete />
                        </AccessType>
                        <DFFormat>
                            <node />
                        </DFFormat>
                        <Occurrence>
                            <ZeroOrOne />
                        </Occurrence>
                        <Scope>
                            <Dynamic />
                        </Scope>
                        <MSFT:RWAccess>3</MSFT:RWAccess>
                        <MSFT:MinValue></MSFT:MinValue>
                        <MSFT:MaxValue></MSFT:MaxValue>
                        <MSFT:MaxLength></MSFT:MaxLength>
                        <Description>must exist if AuthType = IPSecL2TP</Description>
                    </DFProperties>
                    <Node>
                        <NodeName>AuthType</NodeName>
                        <DFProperties>
                            <AccessType>
                                <Add />
                                <Get />
                                <Replace />
                            </AccessType>
                            <DFFormat>
                                <chr />
                            </DFFormat>
                            <Occurrence>
                                <One />
                            </Occurrence>
                            <Scope>
                                <Dynamic />
                            </Scope>
                            <MSFT:RWAccess>3</MSFT:RWAccess>
                            <DFType>
                                <MIME>text/plain</MIME>
                            </DFType>
                            <MSFT:MinValue></MSFT:MinValue>
                            <MSFT:MaxValue></MSFT:MaxValue>
                            <MSFT:MaxLength></MSFT:MaxLength>
                            <Description>one of CERT,PSK</Description>
                        </DFProperties>
                    </Node>
                    <Node>
                        <NodeName>PreSharedKey</NodeName>
                        <DFProperties>
                            <AccessType>
                                <Add />
                                <Get />
                                <Delete />
                                <Replace />
                            </AccessType>
                            <DFFormat>
                                <chr />
                            </DFFormat>
                            <Occurrence>
                                <ZeroOrOne />
                            </Occurrence>
                            <Scope>
                                <Dynamic />
                            </Scope>
                            <MSFT:RWAccess>3</MSFT:RWAccess>
                            <DFType>
                                <MIME>text/password</MIME>
                            </DFType>
                            <MSFT:MinValue></MSFT:MinValue>
                            <MSFT:MaxValue></MSFT:MaxValue>
                            <MSFT:MaxLength></MSFT:MaxLength>
                            <Description>must exist if PSK = IPSecL2TP</Description>
                        </DFProperties>
                    </Node>
                </Node>
            </Node>
            <Node>
                <NodeName>Ext</NodeName>
                <DFProperties>
                    <AccessType>
                        <Get />
                    </AccessType>
                    <DFFormat>
                        <node />
                    </DFFormat>
                    <Occurrence>
                        <ZeroOrOne />
                    </Occurrence>
                    <Scope>
                        <Dynamic />
                    </Scope>
                    <MSFT:RWAccess>1</MSFT:RWAccess>
                    <MSFT:MinValue></MSFT:MinValue>
                    <MSFT:MaxValue></MSFT:MaxValue>
                    <MSFT:MaxLength></MSFT:MaxLength>
                    <Description></Description>
                </DFProperties>
                <Node>
                    <NodeName>Microsoft</NodeName>
                    <DFProperties>
                        <AccessType>
                            <Get />
                        </AccessType>
                        <DFFormat>
                            <node />
                        </DFFormat>
                        <Occurrence>
                            <One />
                        </Occurrence>
                        <Scope>
                            <Dynamic />
                        </Scope>
                        <MSFT:RWAccess>1</MSFT:RWAccess>
                        <MSFT:MinValue></MSFT:MinValue>
                        <MSFT:MaxValue></MSFT:MaxValue>
                        <MSFT:MaxLength></MSFT:MaxLength>
                        <Description></Description>
                    </DFProperties>
                    <Node>
                        <NodeName>Guid</NodeName>
                        <DFProperties>
                            <AccessType>
                                <Get />
                            </AccessType>
                            <DFFormat>
                                <chr />
                            </DFFormat>
                            <Occurrence>
                                <One />
                            </Occurrence>
                            <Scope>
                                <Dynamic />
                            </Scope>
                            <MSFT:RWAccess>1</MSFT:RWAccess>
                            <DFType>
                                <MIME>text/plain</MIME>
                            </DFType>
                            <MSFT:MinValue></MSFT:MinValue>
                            <MSFT:MaxValue></MSFT:MaxValue>
                            <MSFT:MaxLength></MSFT:MaxLength>
                            <Description></Description>
                        </DFProperties>
                    </Node>
                </Node>
            </Node>
        </Node>
    </Node>
</MgmtTree>

See Also

Reference

VPN Configuration Service Provider