FormNetDevice.txt 1.9 KB

123456789101112131415161718192021222324252627282930313233
  1. %META:TOPICINFO{author="roman" comment="reprev" date="1604772215" format="1.1" reprev="1" version="7"}%
  2. ---+ Basic info for network device
  3. This is a topic, used for create network device
  4. ---++ Data form definition of server os settings
  5. | *Name* | *Type* | *Size* | *Values* |
  6. | Name | text | 80 | %BASETOPIC% |
  7. | Place | select | 1 | , %SEARCH{"\.*" scope="topic" topic="Building*,Room*" nototal="on" nosummary="on" nosearch="on" regex="on" format="$topic" separator=", "}% |
  8. | Rack | select | 1 | , %SEARCH{scope="topic" topic="Rack*" nototal="on" nosummary="on" nosearch="on" type="query" format="$topic" separator=", " order="formfield(Parent)"}% |
  9. | Unit | text | 10 | |
  10. | Dns Name | text | 80 | |
  11. | Description | text | 80 | |
  12. | Vendor | select | 1 | %DATABASE_SQL{description="stat" sql="SELECT name FROM vendors ORDER BY name" format=" $name," }% |
  13. | Device Model | text | 80 | |
  14. | Firmware | text | 100 | |
  15. | Community | text | 20 | |
  16. | Poe In | select | 1 | Нет, Passive, 802.3af, 802.3at, 802.3af/at, VendorFantasy |
  17. | Poe Out | select | 1 | Нет, Passive, 802.3af, 802.3at, 802.3af/at, VendorFantasy |
  18. | Poe W | text | 10 | |
  19. | SN | text | 80 | |
  20. | Uplink | text | 20 | |
  21. | Parent | select | 1 | , %SEARCH{"\.*" scope="topic" topic="Server*,Router*,Switch*,Gateway*" nototal="on" nosummary="on" nosearch="on" regex="on" format="$topic" separator=", " order="formfield(Name)"}% |
  22. | Parent Port | text | 20 | |
  23. | Device Type | select+value | 1 | Server, Computer, Switch, Router, Gateway, UPS, Sensor, AP, WLAC, Projector, Ats, Voip-Phone, Other |
  24. | Device Subnet | select | 1 | , %SEARCH{"\.*" scope="topic" topic="Subnet-*" nototal="on" nosummary="on" nosearch="on" regex="on" format="$topic" separator=", " order="formfield(Subnet)"}% |
  25. | Device IP | text | 20 | |
  26. | Mac | text | 20 | |
  27. | Disabled | checkbox | 1 | Yes |
  28. | Deleted | checkbox | 1 | Yes |
  29. -- Main.RomanDmitriev - 2020/10/12