Network

network.xml
  1. <network>
  2. <ethernet>
  3. <ipv4><!--
  4. type: string
  5. accepted values:
  6. dhcp
  7. static
  8. disable -->
  9. <mode>dhcp</mode><!--
  10. type: string
  11. matched against: '^([01]?\d\d?|2[0-4]\d|25[0-5])\.([01]?\d\d?|2[0-4]\d|25[0-5])\.([01]?\d\d?|2[0-4]\d|25[0-5])\.([01]?\d\d?|2[0-4]\d|25[0-5])$' -->
  12. <address>192.168.0.1</address><!--
  13. type: string
  14. matched against: '^(([012]?\d|3[012])|(((0|128|192|24[08]|25[24])\.0\.0\.0)|(255\.(0|128|192|24[08]|25[24])\.0\.0)|(255\.255\.(0|128|192|24[08]|25[24])\.0)|(255\.255\.255\.(0|128|192|24[08]|25[245]))))$' -->
  15. <netmask>255.255.255.0</netmask><!--
  16. type: string
  17. matched against: '^([01]?\d\d?|2[0-4]\d|25[0-5])\.([01]?\d\d?|2[0-4]\d|25[0-5])\.([01]?\d\d?|2[0-4]\d|25[0-5])\.([01]?\d\d?|2[0-4]\d|25[0-5])$' -->
  18. <gateway>192.168.0.1</gateway><!--
  19. type: string
  20. matched against: '^(([01]?\d\d?|2[0-4]\d|25[0-5])\.([01]?\d\d?|2[0-4]\d|25[0-5])\.([01]?\d\d?|2[0-4]\d|25[0-5])\.([01]?\d\d?|2[0-4]\d|25[0-5])|(\s*))$' -->
  21. <dns1>192.168.0.100</dns1> <!--
  22. type: string
  23. matched against: '^(([01]?\d\d?|2[0-4]\d|25[0-5])\.([01]?\d\d?|2[0-4]\d|25[0-5])\.([01]?\d\d?|2[0-4]\d|25[0-5])\.([01]?\d\d?|2[0-4]\d|25[0-5])|(\s*))$' -->
  24. <dns2>192.168.0.100</dns2>
  25. </ipv4>
  26. <ipv6><!--
  27. type: string
  28. accepted values:
  29. dhcp
  30. slaac
  31. disable -->
  32. <mode>slaac</mode><!--
  33. type: string
  34. matched against: '^(((([0-9a-fA-F]{1,4}:){7,7}([0-9a-fA-F]{1,4}))|(([0-9a-fA-F]{1,4}:){1,7})|(([0-9a-fA-F]{1,4}:){1,6}(:[0-9a-fA-F]{1,4}))|(([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2})|(([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3})|(([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4})|(([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5})|(([0-9a-fA-F]{1,4}:){1,1}(:[0-9a-fA-F]{1,4}){1,6})|(:((:[0-9a-fA-F]{1,4}){1,7})|:)){0,1})$' -->
  35. <dns1>2001:db8:1::1</dns1><!--
  36. type: string
  37. matched against: '^(((([0-9a-fA-F]{1,4}:){7,7}([0-9a-fA-F]{1,4}))|(([0-9a-fA-F]{1,4}:){1,7})|(([0-9a-fA-F]{1,4}:){1,6}(:[0-9a-fA-F]{1,4}))|(([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2})|(([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3})|(([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4})|(([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5})|(([0-9a-fA-F]{1,4}:){1,1}(:[0-9a-fA-F]{1,4}){1,6})|(:((:[0-9a-fA-F]{1,4}){1,7})|:)){0,1})$' -->
  38. <dns2>2001:db8:1::1</dns2>
  39. </ipv6>
  40. <vlan><!--
  41. type: boolean -->
  42. <phoneActive>false</phoneActive><!--
  43. type: integer
  44. maximum: 4095 -->
  45. <phoneId>0</phoneId><!--
  46. type: integer
  47. maximum: 7 -->
  48. <phonePriority>0</phonePriority> <!--
  49. type: boolean -->
  50. <workstationActive>false</workstationActive><!--
  51. type: integer
  52. maximum: 4095 -->
  53. <workstationId>0</workstationId> <!--
  54. type: integer
  55. maximum: 7 -->
  56. <workstationPriority>0</workstationPriority>
  57. </vlan>
  58. </ethernet>
  59. <vpn><!--
  60. type: boolean -->
  61. <active>false</active> <!--
  62. type: string
  63. accepted values:
  64. IpsecXauthPSK
  65. IpsecXauthRSA
  66. IpsecHybridRSA
  67. OpenVPN -->
  68. <vpnType>IpsecXauthPSK</vpnType>
  69. <!-- unique identifier of the Profile
  70. type: string -->
  71. <name></name>
  72. <!-- server address or resolvable name
  73. type: string -->
  74. <server></server>
  75. <!-- username, used for xauth
  76. type: string -->
  77. <username></username>
  78. <!-- pasword, used for xauth
  79. type: string -->
  80. <password></password>
  81. <!-- multiple entries are seperated by space
  82. type: string -->
  83. <dnsServers></dnsServers>
  84. <!-- multiple entries are seperated by space
  85. type: string -->
  86. <searchDomains></searchDomains>
  87. <!-- multiple entries are seperated by space, format 10.1.0.0/16
  88. type: string -->
  89. <routes></routes><!--
  90. type: string -->
  91. <ipsecIdentifier></ipsecIdentifier>
  92. <!-- preshared key, used in XauthPSK
  93. type: string -->
  94. <ipsecSecret></ipsecSecret>
  95. <!-- X509 certificate in PEM format
  96. type: string -->
  97. <ipsecUserCert></ipsecUserCert>
  98. <!-- RSA key in PEM format
  99. type: string -->
  100. <ipsecUserPrivateKey></ipsecUserPrivateKey>
  101. <!-- X509 certificate in PEM format
  102. type: string -->
  103. <ipsecCaCert></ipsecCaCert>
  104. <!-- X509 certificate in PEM format
  105. type: string -->
  106. <ipsecServerCert></ipsecServerCert>
  107. <!-- file content of an openvpn config file
  108. type: string -->
  109. <openvpnConfig></openvpnConfig>
  110. </vpn>
  111. </network>