import_data.yml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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: "%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: "%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. template: { value: "template_docsis.tpl" }
  53. Node:
  54. source_table: "Node"
  55. destination_table: "node"
  56. mapping:
  57. id: id
  58. parent_id: parent_id
  59. name: name
  60. tenancy_id: tenancy_id
  61. Cablemodem:
  62. source_table: "Cablemodem"
  63. destination_table: "cablemodem"
  64. offset:
  65. model_id: 1000
  66. mapping:
  67. id: id
  68. node_id: node_id
  69. profile_id: profile_id
  70. client_id: client_id
  71. mac: mac
  72. created: created
  73. updated: updated
  74. mta_enabled: mta1_enabled
  75. tenancy_id: tenancy_id
  76. comments: comments
  77. workflow_id: { value: 1 }
  78. current_state: { value: active }
  79. model_id: model_id