1
0

FormRouter.txt 2.1 KB

1234567891011121314151617181920212223242526272829303132333435
  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. | Hardware | select | 1 | , %SEARCH{"\.*" scope="topic" topic="Hardware*" nototal="on" nosummary="on" nosearch="on" regex="on" format="$topic" separator=", " order="formfield(Name)"}% |
  11. | Dns Name | text | 80 | |
  12. | Description | text | 80 | |
  13. | Vendor | select | 1 | %DATABASE_SQL{description="stat" sql="SELECT name FROM vendors ORDER BY name" format=" $name," }% |
  14. | Device Model | text | 80 | |
  15. | Routing Type | select+multi+values | 4 | BGP, RIP, OSPF, Static |
  16. | Firmware | text | 100 | |
  17. | Community | text | 20 | |
  18. | Poe In | select | 1 | Нет, Passive, 802.3af, 802.3at, 802.3af/at, VendorFantasy |
  19. | Poe Out | select | 1 | Нет, Passive, 802.3af, 802.3at, 802.3af/at, VendorFantasy |
  20. | Poe W | text | 10 | |
  21. | SN | text | 80 | |
  22. | Uplink | text | 20 | |
  23. | 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)"}% |
  24. | Parent Port | text | 20 | |
  25. | Device Type | select+value | 1 | Server, Computer, Switch, Router, Gateway, UPS, Sensor, AP, WLAC, Projector, Ats, Voip-Phone, Other |
  26. | Device Subnet | select | 1 | , %SEARCH{"\.*" scope="topic" topic="Subnet-*" nototal="on" nosummary="on" nosearch="on" regex="on" format="$topic" separator=", " order="formfield(Subnet)"}% |
  27. | Device IP | text | 20 | |
  28. | Mac | text | 20 | |
  29. | Disabled | checkbox | 1 | Yes |
  30. | Deleted | checkbox | 1 | Yes |
  31. -- Main.RomanDmitriev - 2020/10/12