Guest User

Untitled

a guest
Sep 11th, 2014
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.31 KB | None | 0 0
  1. JSON
  2.  
  3.  
  4. activator
  5. 1
  6.  
  7. address
  8. "1.1.1.1"
  9.  
  10. administrative_domain
  11. 1
  12.  
  13. auth_profile
  14. 0
  15.  
  16. collector
  17. 0
  18.  
  19. config_diff_filter_rule
  20. 0
  21.  
  22. config_filter_rule
  23. 0
  24.  
  25. config_validation_rule
  26. 0
  27.  
  28. description
  29. "111"
  30.  
  31. id
  32. "NOC.sa.managedobject.Model-sm-7"
  33.  
  34. is_managed
  35. true
  36.  
  37. max_scripts
  38. 0
  39.  
  40. name
  41. "1111"
  42.  
  43. object_profile
  44. 1
  45.  
  46. password
  47. ""
  48.  
  49. port
  50. 0
  51.  
  52. profile_name
  53. "NSN.hiX56xx"
  54.  
  55. remote_path
  56. ""
  57.  
  58. scheme
  59. 0
  60.  
  61. service_terminator
  62. 0
  63.  
  64. shape
  65. ""
  66.  
  67. snmp_ro
  68. ""
  69.  
  70. snmp_rw
  71. ""
  72.  
  73. super_password
  74. ""
  75.  
  76. tags
  77. []
  78.  
  79. termination_group
  80. 0
  81.  
  82. trap_community
  83. ""
  84.  
  85. trap_source_ip
  86. ""
  87.  
  88. user
  89. ""
  90.  
  91. vc_domain
  92. 0
  93.  
  94. vrf
  95. 0
  96. Исходный код
  97. {"name":"1111","is_managed":true,"description":"111","object_profile":1,"shape":"","administrative_domain":1,"activator":1,"collector":0,"vrf":0,"vc_domain":0,"profile_name":"NSN.hiX56xx","scheme":0,"address":"1.1.1.1","port":0,"auth_profile":0,"user":"","password":"","super_password":"","remote_path":"","termination_group":0,"service_terminator":0,"trap_source_ip":"","trap_community":"","snmp_ro":"","snmp_rw":"","config_filter_rule":0,"config_diff_filter_rule":0,"config_validation_rule":0,"max_scripts":0,"tags":[],"id":"NOC.sa.managedobject.Model-sm-7"}
  98.  
  99. ответ
  100. {"status": false, "message": "Integrity error"}
Advertisement
Add Comment
Please, Sign In to add comment