import_data.yml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. #CMTS:
  2. # source_table: "CMTS"
  3. # destination_table: "cmts"
  4. # mapping:
  5. # id: id
  6. # name: name
  7. # host: host
  8. # snmp_community: snmp_comunity
  9. # snmp_version: snmp_version
  10. # execute_snmp: execute_snmp
  11. # docs_version: docs_version
  12. # tenancy_id: tenancy_id
  13. Templates:
  14. source_table: "Template"
  15. destination_table: "template"
  16. offset:
  17. id: 1000
  18. name: "Imported %name%"
  19. mapping:
  20. id: id
  21. name: name
  22. content: content
  23. owner:
  24. value: "iksop"
  25. ModelosCablemodem:
  26. source_table: "Model"
  27. destination_table: "cablemodem_model"
  28. offset:
  29. id: 1000
  30. name: "Imported %name%"
  31. docsis_template_id: 1000
  32. mta_docsis_template_id: 1000
  33. mapping:
  34. id: id
  35. name: name
  36. technology: technology
  37. terminals: terminals
  38. docsis_template_id: docsis_model_template_id
  39. mta_docsis_template_id: mta_docsis_template_id
  40. Profile:
  41. source_table: "Profile"
  42. destination_table: "profile"
  43. mapping:
  44. id: id
  45. name: name
  46. downstream: downstream
  47. upstream: upstream
  48. filtro_upload: filtro_upload
  49. filtro_download: filtro_download
  50. max_cpe: max_cpe
  51. tenancy_id: tenancy_id
  52. Node:
  53. source_table: "Node"
  54. destination_table: "node"
  55. mapping:
  56. id: id
  57. parent_id: parent_id
  58. name: name
  59. tenancy_id: tenancy_id
  60. Cablemodem:
  61. source_table: "Cablemodem"
  62. destination_table: "cablemodem"
  63. offset:
  64. model_id: 1000
  65. mapping:
  66. id: id
  67. node_id: node_id
  68. profile_id: profile_id
  69. client_id: client_id
  70. mac: mac
  71. created: created
  72. updated: updated
  73. mta_enabled: mta1_enabled
  74. tenancy_id: tenancy_id
  75. comments: comments
  76. workflow_id: { value: 1 }
  77. current_state: { value: active }
  78. model_id: model_id