From e228147eb2ab1f36a94d7b31957fb384be82e553 Mon Sep 17 00:00:00 2001 From: Pierre Chaussalet Date: Fri, 24 Feb 2017 15:24:07 -0800 Subject: [PATCH] Remove last pieces of montage data --- .gitignore | 13 +- core/dao/abstract-dao-ng.ts | 205 - core/model/LoginInfo.js | 1 - core/model/Session.js | 1 - .../custom-descriptors/account-category.mjson | 42 - .../custom-descriptors/account-system.mjson | 8 - .../application-context.mjson | 37 - .../calendar-customSchedule.mjson | 8 - core/model/custom-descriptors/calendar.mjson | 10 - .../custom-descriptors/detached-volume.mjson | 47 - .../directory-services.mjson | 8 - .../docker-container-creator.mjson | 8 - .../docker-container-logs.mjson | 8 - .../docker-container-section.mjson | 8 - .../docker-image-pull.mjson | 8 - .../encrypted-volume-actions.mjson | 8 - .../encrypted-volume-importer.mjson | 28 - .../custom-descriptors/network-overview.mjson | 42 - core/model/custom-descriptors/scrub.mjson | 8 - .../custom-descriptors/section-settings.mjson | 29 - core/model/custom-descriptors/section.mjson | 67 - .../services-category.mjson | 34 - .../custom-descriptors/system-section.mjson | 42 - core/model/custom-descriptors/vm-readme.mjson | 17 - core/model/custom-descriptors/vm-volume.mjson | 49 - .../custom-descriptors/volume-importer.mjson | 16 - core/model/descriptors/acl-entry-flags.mjson | 46 - core/model/descriptors/acl-entry-perms.mjson | 154 - core/model/descriptors/acl-entry.mjson | 77 - core/model/descriptors/alert-class.mjson | 8 - .../descriptors/alert-emitter-email.mjson | 30 - core/model/descriptors/alert-filter.mjson | 47 - core/model/descriptors/alert.mjson | 166 - .../descriptors/amazon-s3-credentials.mjson | 66 - core/model/descriptors/backup-file.mjson | 37 - core/model/descriptors/backup-providers.mjson | 8 - core/model/descriptors/backup-s3.mjson | 48 - core/model/descriptors/backup-ssh.mjson | 39 - core/model/descriptors/backup-state.mjson | 37 - core/model/descriptors/backup.mjson | 75 - core/model/descriptors/boot-environment.mjson | 87 - .../calendar-task-schedule-anonymous.mjson | 100 - .../descriptors/calendar-task-status.mjson | 46 - core/model/descriptors/calendar-task.mjson | 92 - ...ompress-replication-transport-option.mjson | 31 - ...ompress-replication-transport-plugin.mjson | 58 - core/model/descriptors/cpu-device.mjson | 28 - .../descriptors/crypto-certificate.mjson | 268 - .../directory-status-anonymous.mjson | 44 - core/model/descriptors/directory.mjson | 100 - .../descriptors/directoryservice-config.mjson | 46 - .../descriptors/disk-attach-params.mjson | 28 - core/model/descriptors/disk-device.mjson | 37 - core/model/descriptors/disk-metadata.mjson | 28 - core/model/descriptors/disk-partition.mjson | 64 - .../descriptors/disk-set-key-params.mjson | 37 - .../disk-status-controller-anonymous.mjson | 8 - ...ultipath-anonymous-members-anonymous.mjson | 8 - .../disk-status-multipath-anonymous.mjson | 37 - core/model/descriptors/disk-status.mjson | 219 - core/model/descriptors/disk.mjson | 138 - core/model/descriptors/disks-allocation.mjson | 8 - .../model/descriptors/docker-collection.mjson | 56 - core/model/descriptors/docker-config.mjson | 46 - .../descriptors/docker-container-bridge.mjson | 28 - core/model/descriptors/docker-container.mjson | 201 - .../descriptors/docker-host-status.mjson | 46 - core/model/descriptors/docker-host.mjson | 66 - core/model/descriptors/docker-hub-image.mjson | 73 - core/model/descriptors/docker-image.mjson | 73 - core/model/descriptors/docker-volume.mjson | 47 - core/model/descriptors/enclosure.mjson | 56 - ...encrypt-replication-transport-option.mjson | 31 - ...encrypt-replication-transport-plugin.mjson | 85 - core/model/descriptors/error.mjson | 56 - core/model/descriptors/file-index.mjson | 101 - .../freeipa-directory-params.mjson | 116 - .../descriptors/freenas-credentials.mjson | 57 - .../freenas-initial-credentials.mjson | 57 - core/model/descriptors/get-stats-params.mjson | 46 - core/model/descriptors/get-stats-result.mjson | 19 - .../descriptors/group-origin-anonymous.mjson | 46 - core/model/descriptors/group.mjson | 85 - core/model/descriptors/importable-disk.mjson | 46 - core/model/descriptors/ipfs-info.mjson | 55 - core/model/descriptors/ipmi.mjson | 73 - .../descriptors/kerberos-keytab-entry.mjson | 37 - core/model/descriptors/kerberos-keytab.mjson | 47 - core/model/descriptors/kerberos-realm.mjson | 55 - .../descriptors/ldap-directory-params.mjson | 112 - ...mail-message-extra-headers-anonymous.mjson | 8 - core/model/descriptors/mail-message.mjson | 64 - core/model/descriptors/mail.mjson | 74 - .../neighbor-properties-anonymous.mjson | 8 - core/model/descriptors/neighbor.mjson | 83 - .../network-config-dhcp-anonymous.mjson | 28 - .../network-config-dns-anonymous.mjson | 29 - .../network-config-gateway-anonymous.mjson | 30 - .../network-config-netwait-anonymous.mjson | 29 - core/model/descriptors/network-config.mjson | 64 - core/model/descriptors/network-device.mjson | 28 - core/model/descriptors/network-host.mjson | 29 - .../descriptors/network-interface-alias.mjson | 49 - .../network-interface-bridge-properties.mjson | 19 - ...ork-interface-capabilities-anonymous.mjson | 30 - .../network-interface-lagg-properties.mjson | 29 - ...work-interface-status-dhcp-anonymous.mjson | 56 - .../network-interface-status.mjson | 187 - .../network-interface-vlan-properties.mjson | 28 - .../model/descriptors/network-interface.mjson | 179 - core/model/descriptors/network-route.mjson | 58 - .../network-status-dns-anonymous.mjson | 29 - .../network-status-gateway-anonymous.mjson | 30 - core/model/descriptors/network-status.mjson | 28 - .../descriptors/nis-directory-params.mjson | 39 - core/model/descriptors/ntp-server.mjson | 82 - core/model/descriptors/open-file.mjson | 37 - core/model/descriptors/peer-status.mjson | 36 - core/model/descriptors/peer.mjson | 66 - core/model/descriptors/permissions.mjson | 47 - core/model/descriptors/power-changed.mjson | 20 - .../descriptors/remote-debug-status.mjson | 61 - .../descriptors/replication-options.mjson | 82 - .../descriptors/replication-status.mjson | 46 - .../descriptors/replication-transport.mjson | 90 - core/model/descriptors/replication.mjson | 147 - ...sync-copy-rsync-properties-anonymous.mjson | 91 - core/model/descriptors/rsync-copy.mjson | 121 - core/model/descriptors/rsyncd-module.mjson | 110 - core/model/descriptors/rusage.mjson | 154 - .../descriptors/serial-port-device.mjson | 64 - core/model/descriptors/service-afp.mjson | 111 - core/model/descriptors/service-consul.mjson | 102 - core/model/descriptors/service-dc.mjson | 39 - core/model/descriptors/service-dyndns.mjson | 103 - core/model/descriptors/service-ftp.mjson | 295 -- core/model/descriptors/service-ipfs.mjson | 48 - core/model/descriptors/service-iscsi.mjson | 57 - core/model/descriptors/service-lldp.mjson | 57 - core/model/descriptors/service-nfs.mjson | 111 - core/model/descriptors/service-openvpn.mjson | 304 -- core/model/descriptors/service-rsyncd.mjson | 48 - .../model/descriptors/service-simulator.mjson | 30 - core/model/descriptors/service-smartd.mjson | 76 - core/model/descriptors/service-smb.mjson | 253 - core/model/descriptors/service-snmp.mjson | 122 - core/model/descriptors/service-sshd.mjson | 122 - core/model/descriptors/service-tftpd.mjson | 85 - core/model/descriptors/service-ups.mjson | 176 - core/model/descriptors/service-webdav.mjson | 85 - core/model/descriptors/service.mjson | 57 - core/model/descriptors/session.mjson | 64 - core/model/descriptors/share-afp.mjson | 204 - .../share-client-extra-anonymous.mjson | 8 - core/model/descriptors/share-client.mjson | 55 - core/model/descriptors/share-iscsi-auth.mjson | 65 - .../descriptors/share-iscsi-portal.mjson | 56 - .../descriptors/share-iscsi-target.mjson | 55 - core/model/descriptors/share-iscsi-user.mjson | 46 - core/model/descriptors/share-iscsi.mjson | 149 - core/model/descriptors/share-nfs.mjson | 94 - ...share-smb-extra-parameters-anonymous.mjson | 8 - core/model/descriptors/share-smb.mjson | 129 - core/model/descriptors/share-types.mjson | 8 - core/model/descriptors/share-webdav.mjson | 48 - core/model/descriptors/share.mjson | 113 - core/model/descriptors/simulator-disk.mjson | 92 - core/model/descriptors/smart-attribute.mjson | 91 - .../smart-info-diagnostics-anonymous.mjson | 8 - core/model/descriptors/smart-info.mjson | 119 - .../model/descriptors/smart-test-result.mjson | 100 - core/model/descriptors/snapshot-info.mjson | 47 - core/model/descriptors/ssh-credentials.mjson | 75 - core/model/descriptors/stat.mjson | 74 - core/model/descriptors/statistic-alert.mjson | 64 - core/model/descriptors/statistic.mjson | 56 - core/model/descriptors/support-ticket.mjson | 93 - .../descriptors/supported-smart-tests.mjson | 55 - core/model/descriptors/swap-mirror.mjson | 28 - core/model/descriptors/system-advanced.mjson | 146 - core/model/descriptors/system-general.mjson | 73 - core/model/descriptors/system-time.mjson | 46 - core/model/descriptors/system-ui.mjson | 64 - .../descriptors/task-args-anonymous.mjson | 8 - .../task-description-anonymous.mjson | 36 - core/model/descriptors/task.mjson | 187 - ...hrottle-replication-transport-option.mjson | 30 - ...hrottle-replication-transport-plugin.mjson | 48 - core/model/descriptors/tunable.mjson | 65 - core/model/descriptors/ui-transaction.mjson | 28 - core/model/descriptors/unix-mode-tuple.mjson | 37 - core/model/descriptors/unix-permissions.mjson | 49 - .../update-info-notes-anonymous.mjson | 8 - core/model/descriptors/update-info.mjson | 92 - core/model/descriptors/update-ops.mjson | 56 - core/model/descriptors/update-progress.mjson | 119 - core/model/descriptors/update-train.mjson | 46 - core/model/descriptors/update.mjson | 38 - core/model/descriptors/usb-device.mjson | 73 - .../user-attributes-anonymous.mjson | 8 - .../descriptors/user-origin-anonymous.mjson | 46 - core/model/descriptors/user.mjson | 221 - .../descriptors/vm-config-anonymous.mjson | 119 - .../vm-config-network-anonymous.mjson | 28 - core/model/descriptors/vm-config.mjson | 29 - .../vm-datastore-capabilities.mjson | 37 - .../vm-datastore-properties-local.mjson | 30 - .../vm-datastore-properties-nfs.mjson | 49 - core/model/descriptors/vm-datastore.mjson | 67 - core/model/descriptors/vm-device-cdrom.mjson | 31 - core/model/descriptors/vm-device-disk.mjson | 73 - .../descriptors/vm-device-graphics.mjson | 49 - core/model/descriptors/vm-device-nic.mjson | 59 - .../vm-device-usb-config-anonymous.mjson | 8 - core/model/descriptors/vm-device-usb.mjson | 42 - core/model/descriptors/vm-device-volume.mjson | 58 - core/model/descriptors/vm-device.mjson | 49 - .../vm-guest-info-interfaces-anonymous.mjson | 8 - core/model/descriptors/vm-guest-info.mjson | 46 - core/model/descriptors/vm-snapshot.mjson | 47 - core/model/descriptors/vm-status-lease.mjson | 19 - core/model/descriptors/vm-status.mjson | 59 - .../descriptors/vm-template-source.mjson | 37 - core/model/descriptors/vm.mjson | 112 - .../descriptors/vmware-credentials.mjson | 48 - core/model/descriptors/vmware-dataset.mjson | 74 - core/model/descriptors/vmware-datastore.mjson | 46 - .../volume-attributes-anonymous.mjson | 8 - .../volume-dataset-properties.mjson | 250 - .../volume-dataset-property-atime.mjson | 49 - .../volume-dataset-property-available.mjson | 49 - ...ume-dataset-property-casesensitivity.mjson | 49 - .../volume-dataset-property-compression.mjson | 49 - ...olume-dataset-property-compressratio.mjson | 49 - .../volume-dataset-property-dedup.mjson | 49 - ...e-dataset-property-logicalreferenced.mjson | 49 - .../volume-dataset-property-logicalused.mjson | 49 - .../volume-dataset-property-numclones.mjson | 49 - .../volume-dataset-property-quota.mjson | 49 - .../volume-dataset-property-readonly.mjson | 49 - ...me-dataset-property-refcompressratio.mjson | 49 - .../volume-dataset-property-referenced.mjson | 49 - .../volume-dataset-property-refquota.mjson | 49 - ...lume-dataset-property-refreservation.mjson | 49 - .../volume-dataset-property-reservation.mjson | 49 - .../volume-dataset-property-used.mjson | 49 - ...lume-dataset-property-usedbychildren.mjson | 49 - ...olume-dataset-property-usedbydataset.mjson | 49 - ...ataset-property-usedbyrefreservation.mjson | 49 - ...ume-dataset-property-usedbysnapshots.mjson | 49 - ...volume-dataset-property-volblocksize.mjson | 49 - .../volume-dataset-property-volsize.mjson | 49 - .../volume-dataset-property-written.mjson | 49 - core/model/descriptors/volume-dataset.mjson | 140 - .../model/descriptors/volume-disk-label.mjson | 55 - .../model/descriptors/volume-encryption.mjson | 46 - .../descriptors/volume-import-params.mjson | 37 - .../model/descriptors/volume-properties.mjson | 160 - .../volume-property-allocated.mjson | 49 - .../volume-property-autoreplace.mjson | 49 - .../volume-property-capacity.mjson | 49 - .../descriptors/volume-property-comment.mjson | 49 - .../volume-property-dedupratio.mjson | 49 - .../volume-property-delegation.mjson | 49 - .../volume-property-expandsize.mjson | 49 - .../volume-property-failmode.mjson | 49 - .../volume-property-fragmentation.mjson | 49 - .../descriptors/volume-property-free.mjson | 49 - .../descriptors/volume-property-health.mjson | 49 - .../descriptors/volume-property-leaked.mjson | 49 - .../volume-property-readonly.mjson | 49 - .../descriptors/volume-property-size.mjson | 49 - .../descriptors/volume-property-version.mjson | 49 - .../volume-snapshot-holds-anonymous.mjson | 8 - .../volume-snapshot-properties.mjson | 60 - .../volume-snapshot-property-clones.mjson | 49 - ...lume-snapshot-property-compressratio.mjson | 49 - .../volume-snapshot-property-creation.mjson | 49 - .../volume-snapshot-property-referenced.mjson | 49 - .../volume-snapshot-property-used.mjson | 49 - core/model/descriptors/volume-snapshot.mjson | 92 - .../volume-vdev-recommendation.mjson | 28 - ...recommendations-redundancy-anonymous.mjson | 40 - ...vdev-recommendations-speed-anonymous.mjson | 40 - ...ev-recommendations-storage-anonymous.mjson | 40 - .../volume-vdev-recommendations.mjson | 37 - core/model/descriptors/volume.mjson | 177 - .../winbind-directory-params.mjson | 103 - .../winbind-directory-status.mjson | 48 - .../zfs-dataset-properties-anonymous.mjson | 8 - core/model/descriptors/zfs-dataset.mjson | 57 - core/model/descriptors/zfs-pool.mjson | 87 - core/model/descriptors/zfs-property.mjson | 47 - core/model/descriptors/zfs-scan.mjson | 82 - .../zfs-snapshot-holds-anonymous.mjson | 8 - .../zfs-snapshot-properties-anonymous.mjson | 8 - core/model/descriptors/zfs-snapshot.mjson | 65 - core/model/descriptors/zfs-topology.mjson | 50 - .../descriptors/zfs-vdev-extension.mjson | 29 - .../zfs-vdev-stats-anonymous.mjson | 8 - core/model/descriptors/zfs-vdev.mjson | 77 - core/model/enumerations/acl-entry-tag.js | 3 - core/model/enumerations/acl-entry-type.js | 3 - core/model/enumerations/alert-class-id.js | 3 - core/model/enumerations/alert-severity.js | 3 - core/model/enumerations/alert-type.js | 3 - .../enumerations/backup-compression-type.js | 3 - .../enumerations/compress-plugin-level.js | 3 - .../crypto-certificate-digestalgorithm.js | 3 - .../enumerations/crypto-certificate-type.js | 3 - core/model/enumerations/dataset-type.js | 3 - core/model/enumerations/disk-acousticlevel.js | 3 - core/model/enumerations/disk-erase-method.js | 3 - core/model/enumerations/disk-selftest-type.js | 3 - .../enumerations/disks-allocation-type.js | 3 - core/model/enumerations/docker-host-state.js | 3 - .../enumerations/docker-port-protocol.js | 3 - .../docker-volume-host-path-source.js | 3 - .../enumerations/enclosure-element-status.js | 3 - core/model/enumerations/enclosure-status.js | 3 - .../model/enumerations/encrypt-plugin-type.js | 3 - .../ldap-directory-params-encryption.js | 3 - .../enumerations/mail-encryption-type.js | 3 - core/model/enumerations/neighbor-type.js | 3 - .../network-aggregation-protocols.js | 3 - .../network-interface-alias-type.js | 3 - .../network-interface-capabilities-items.js | 3 - .../network-interface-dhcp-state.js | 3 - .../network-interface-flags-items.js | 3 - .../network-interface-mediaopts-items.js | 3 - .../network-interface-nd6-flag-items.js | 3 - .../network-interface-status-linkstate.js | 3 - .../enumerations/network-interface-type.js | 3 - .../network-lagg-port-flags-items.js | 3 - core/model/enumerations/network-route-type.js | 3 - .../enumerations/power-changed-operation.js | 3 - .../enumerations/rsync-copy-rsyncdirection.js | 3 - .../enumerations/rsync-copy-rsyncmode.js | 3 - core/model/enumerations/rsyncd-module-mode.js | 3 - .../enumerations/service-dyndns-provider.js | 3 - .../service-ftp-tlsoptions-items.js | 3 - .../enumerations/service-ftp-tlspolicy.js | 3 - .../enumerations/service-smartd-powermode.js | 3 - .../enumerations/service-smb-doscharset.js | 3 - .../enumerations/service-smb-loglevel.js | 3 - .../enumerations/service-smb-maxprotocol.js | 3 - .../enumerations/service-smb-minprotocol.js | 3 - .../enumerations/service-smb-unixcharset.js | 3 - .../enumerations/service-snmp-v3authtype.js | 3 - .../service-snmp-v3privacyprotocol.js | 3 - .../service-sshd-sftplogfacility.js | 3 - .../enumerations/service-sshd-sftploglevel.js | 3 - core/model/enumerations/service-state.js | 3 - core/model/enumerations/service-ups-mode.js | 3 - .../enumerations/service-ups-shutdownmode.js | 3 - .../service-webdav-authentication.js | 3 - .../service-webdav-protocol-items.js | 3 - .../enumerations/share-iscsi-auth-type.js | 3 - .../enumerations/share-iscsi-blocksize.js | 3 - core/model/enumerations/share-iscsi-rpm.js | 3 - .../enumerations/share-nfs-security-items.js | 3 - core/model/enumerations/share-targettype.js | 3 - .../enumerations/share-types-permtype.js | 3 - .../model/enumerations/share-types-subtype.js | 3 - core/model/enumerations/simulator-disk-rpm.js | 3 - core/model/enumerations/snapshot-info-type.js | 3 - .../system-advanced-serialspeed.js | 3 - .../system-ui-webuiprotocol-items.js | 3 - core/model/enumerations/tunable-type.js | 3 - .../enumerations/update-ops-operation.js | 3 - .../enumerations/update-progress-operation.js | 3 - .../enumerations/vm-config-bootloader.js | 3 - .../enumerations/vm-datastore-nfs-version.js | 3 - core/model/enumerations/vm-datastore-state.js | 3 - .../model/enumerations/vm-device-disk-mode.js | 3 - .../vm-device-disk-target-type.js | 3 - .../vm-device-graphics-resolution.js | 3 - .../enumerations/vm-device-nic-device.js | 3 - core/model/enumerations/vm-device-nic-mode.js | 3 - core/model/enumerations/vm-device-type.js | 3 - .../enumerations/vm-device-usb-device.js | 3 - .../enumerations/vm-device-volume-type.js | 3 - core/model/enumerations/vm-guest-type.js | 3 - core/model/enumerations/vm-status-health.js | 3 - core/model/enumerations/vm-status-state.js | 3 - .../enumerations/vmware-dataset-filter-op.js | 3 - .../volume-dataset-permissionstype.js | 3 - ...-dataset-property-casesensitivity-value.js | 3 - ...lume-dataset-property-compression-value.js | 3 - .../volume-dataset-property-dedup-value.js | 3 - ...ume-dataset-property-volblocksize-value.js | 3 - .../model/enumerations/volume-dataset-type.js | 3 - .../volume-property-failmode-value.js | 3 - .../volume-property-health-value.js | 3 - .../enumerations/volume-property-source.js | 3 - .../enumerations/volume-providerspresence.js | 3 - core/model/enumerations/volume-status.js | 3 - core/model/enumerations/zfs-pool-status.js | 3 - .../model/enumerations/zfs-property-source.js | 3 - core/model/enumerations/zfs-vdev-type.js | 3 - core/model/events.mjson | 60 - core/model/model-descriptor.js | 78 - core/model/model.js | 149 - core/model/models.mjson | 1188 ----- core/model/models/account-category.js | 78 - core/model/models/account-system.js | 15 - core/model/models/acl-entry-flags.js | 76 - core/model/models/acl-entry-perms.js | 280 - core/model/models/acl-entry.js | 131 - core/model/models/alert-class.js | 3 - core/model/models/alert-emitter-email.js | 41 - core/model/models/alert-filter.js | 92 - core/model/models/alert.js | 299 -- core/model/models/amazon-s3-credentials.js | 109 - core/model/models/application-context.js | 59 - core/model/models/backup-file.js | 59 - core/model/models/backup-providers.js | 3 - core/model/models/backup-s3.js | 75 - core/model/models/backup-ssh.js | 58 - core/model/models/backup-state.js | 59 - core/model/models/backup.js | 129 - core/model/models/boot-environment.js | 149 - core/model/models/calendar-custom-schedule.js | 12 - .../calendar-task-schedule-anonymous.js | 178 - core/model/models/calendar-task-status.js | 76 - core/model/models/calendar-task.js | 170 - core/model/models/calendar.js | 12 - .../compress-replication-transport-option.js | 42 - .../compress-replication-transport-plugin.js | 93 - core/model/models/cpu-device.js | 42 - core/model/models/crypto-certificate.js | 512 -- core/model/models/detached-volume.js | 90 - core/model/models/directory-services.js | 17 - .../models/directory-status-anonymous.js | 59 - core/model/models/directory.js | 178 - core/model/models/directoryservice-config.js | 76 - core/model/models/disk-attach-params.js | 42 - core/model/models/disk-device.js | 59 - core/model/models/disk-metadata.js | 42 - core/model/models/disk-partition.js | 110 - core/model/models/disk-set-key-params.js | 59 - .../disk-status-controller-anonymous.js | 3 - ...s-multipath-anonymous-members-anonymous.js | 3 - .../models/disk-status-multipath-anonymous.js | 59 - core/model/models/disk-status.js | 401 -- core/model/models/disk.js | 260 - core/model/models/disks-allocation.js | 3 - core/model/models/docker-collection.js | 107 - core/model/models/docker-config.js | 76 - core/model/models/docker-container-bridge.js | 42 - core/model/models/docker-container-creator.js | 12 - core/model/models/docker-container-logs.js | 12 - core/model/models/docker-container-section.js | 9 - core/model/models/docker-container.js | 385 -- core/model/models/docker-host-status.js | 76 - core/model/models/docker-host.js | 130 - core/model/models/docker-hub-image.js | 127 - core/model/models/docker-image-pull.js | 12 - core/model/models/docker-image.js | 141 - core/model/models/docker-volume.js | 77 - core/model/models/enclosure.js | 94 - .../encrypt-replication-transport-option.js | 42 - .../encrypt-replication-transport-plugin.js | 144 - core/model/models/encrypted-volume-actions.js | 12 - .../model/models/encrypted-volume-importer.js | 48 - core/model/models/error.js | 94 - core/model/models/file-index.js | 179 - core/model/models/freeipa-directory-params.js | 194 - core/model/models/freenas-credentials.js | 92 - .../models/freenas-initial-credentials.js | 92 - core/model/models/get-stats-params.js | 76 - core/model/models/get-stats-result.js | 25 - core/model/models/group-origin-anonymous.js | 76 - core/model/models/group.js | 169 - core/model/models/importable-disk.js | 76 - core/model/models/ipfs-info.js | 93 - core/model/models/ipmi.js | 136 - core/model/models/kerberos-keytab-entry.js | 59 - core/model/models/kerberos-keytab.js | 90 - core/model/models/kerberos-realm.js | 106 - core/model/models/ldap-directory-params.js | 195 - .../mail-message-extra-headers-anonymous.js | 3 - core/model/models/mail-message.js | 110 - core/model/models/mail.js | 138 - .../models/neighbor-properties-anonymous.js | 3 - core/model/models/neighbor.js | 145 - .../models/network-config-dhcp-anonymous.js | 42 - .../models/network-config-dns-anonymous.js | 43 - .../network-config-gateway-anonymous.js | 44 - .../network-config-netwait-anonymous.js | 43 - core/model/models/network-config.js | 121 - core/model/models/network-device.js | 42 - core/model/models/network-host.js | 43 - core/model/models/network-interface-alias.js | 79 - .../network-interface-bridge-properties.js | 25 - ...etwork-interface-capabilities-anonymous.js | 44 - .../network-interface-lagg-properties.js | 43 - ...network-interface-status-dhcp-anonymous.js | 94 - core/model/models/network-interface-status.js | 337 -- .../network-interface-vlan-properties.js | 42 - core/model/models/network-interface.js | 346 -- core/model/models/network-overview.js | 80 - core/model/models/network-route.js | 107 - .../models/network-status-dns-anonymous.js | 43 - .../network-status-gateway-anonymous.js | 44 - core/model/models/network-status.js | 42 - core/model/models/nis-directory-params.js | 58 - core/model/models/ntp-server.js | 160 - core/model/models/open-file.js | 59 - core/model/models/peer-status.js | 44 - core/model/models/peer.js | 134 - core/model/models/permissions.js | 77 - core/model/models/power-changed.js | 26 - core/model/models/remote-debug-status.js | 93 - core/model/models/replication-options.js | 152 - core/model/models/replication-status.js | 76 - core/model/models/replication-transport.js | 160 - core/model/models/replication.js | 265 - .../rsync-copy-rsync-properties-anonymous.js | 161 - core/model/models/rsync-copy.js | 197 - core/model/models/rsyncd-module.js | 211 - core/model/models/rusage.js | 280 - core/model/models/scrub.js | 12 - core/model/models/section-settings.js | 50 - core/model/models/section.js | 129 - core/model/models/serial-port-device.js | 110 - core/model/models/service-afp.js | 194 - core/model/models/service-consul.js | 177 - core/model/models/service-dc.js | 58 - core/model/models/service-dyndns.js | 178 - core/model/models/service-ftp.js | 538 -- core/model/models/service-ipfs.js | 75 - core/model/models/service-iscsi.js | 92 - core/model/models/service-lldp.js | 92 - core/model/models/service-nfs.js | 194 - core/model/models/service-openvpn.js | 534 -- core/model/models/service-rsyncd.js | 75 - core/model/models/service-simulator.js | 41 - core/model/models/service-smartd.js | 127 - core/model/models/service-smb.js | 456 -- core/model/models/service-snmp.js | 213 - core/model/models/service-sshd.js | 213 - core/model/models/service-tftpd.js | 144 - core/model/models/service-ups.js | 315 -- core/model/models/service-webdav.js | 144 - core/model/models/service.js | 109 - core/model/models/services-category.js | 68 - core/model/models/session.js | 110 - core/model/models/share-afp.js | 367 -- .../models/share-client-extra-anonymous.js | 3 - core/model/models/share-client.js | 93 - core/model/models/share-iscsi-auth.js | 111 - core/model/models/share-iscsi-portal.js | 94 - core/model/models/share-iscsi-target.js | 93 - core/model/models/share-iscsi-user.js | 76 - core/model/models/share-iscsi.js | 264 - core/model/models/share-nfs.js | 161 - .../share-smb-extra-parameters-anonymous.js | 3 - core/model/models/share-smb.js | 228 - core/model/models/share-types.js | 3 - core/model/models/share-webdav.js | 75 - core/model/models/share.js | 216 - core/model/models/simulator-disk.js | 162 - core/model/models/smart-attribute.js | 161 - .../smart-info-diagnostics-anonymous.js | 3 - core/model/models/smart-info.js | 212 - core/model/models/smart-test-result.js | 178 - core/model/models/snapshot-info.js | 77 - core/model/models/ssh-credentials.js | 126 - core/model/models/stat.js | 128 - core/model/models/statistic-alert.js | 110 - core/model/models/statistic.js | 94 - core/model/models/support-ticket.js | 144 - core/model/models/supported-smart-tests.js | 93 - core/model/models/swap-mirror.js | 42 - core/model/models/system-advanced.js | 264 - core/model/models/system-general.js | 133 - core/model/models/system-section.js | 85 - core/model/models/system-time.js | 76 - core/model/models/system-ui.js | 110 - core/model/models/task-args-anonymous.js | 3 - .../models/task-description-anonymous.js | 58 - core/model/models/task.js | 320 -- .../throttle-replication-transport-option.js | 41 - .../throttle-replication-transport-plugin.js | 75 - core/model/models/tunable.js | 126 - core/model/models/ui-transaction.js | 42 - core/model/models/unix-mode-tuple.js | 59 - core/model/models/unix-permissions.js | 79 - .../models/update-info-notes-anonymous.js | 3 - core/model/models/update-info.js | 162 - core/model/models/update-ops.js | 94 - core/model/models/update-progress.js | 213 - core/model/models/update-train.js | 76 - core/model/models/update.js | 60 - core/model/models/usb-device.js | 126 - .../model/models/user-attributes-anonymous.js | 3 - core/model/models/user-origin-anonymous.js | 76 - core/model/models/user.js | 427 -- core/model/models/vm-config-anonymous.js | 213 - .../models/vm-config-network-anonymous.js | 42 - core/model/models/vm-config.js | 43 - .../model/models/vm-datastore-capabilities.js | 59 - .../models/vm-datastore-properties-local.js | 41 - .../models/vm-datastore-properties-nfs.js | 76 - core/model/models/vm-datastore.js | 113 - core/model/models/vm-device-cdrom.js | 41 - core/model/models/vm-device-disk.js | 111 - core/model/models/vm-device-graphics.js | 76 - core/model/models/vm-device-nic.js | 94 - .../models/vm-device-usb-config-anonymous.js | 3 - core/model/models/vm-device-usb.js | 59 - core/model/models/vm-device-volume.js | 93 - core/model/models/vm-device.js | 91 - .../vm-guest-info-interfaces-anonymous.js | 3 - core/model/models/vm-guest-info.js | 76 - core/model/models/vm-readme.js | 12 - core/model/models/vm-snapshot.js | 77 - core/model/models/vm-status-lease.js | 25 - core/model/models/vm-status.js | 97 - core/model/models/vm-template-source.js | 59 - core/model/models/vm-volume.js | 89 - core/model/models/vm.js | 219 - core/model/models/vmware-credentials.js | 75 - core/model/models/vmware-dataset.js | 144 - core/model/models/vmware-datastore.js | 76 - .../models/volume-attributes-anonymous.js | 3 - .../model/models/volume-dataset-properties.js | 440 -- .../models/volume-dataset-property-atime.js | 79 - .../volume-dataset-property-available.js | 79 - ...volume-dataset-property-casesensitivity.js | 79 - .../volume-dataset-property-compression.js | 79 - .../volume-dataset-property-compressratio.js | 79 - .../models/volume-dataset-property-dedup.js | 79 - ...lume-dataset-property-logicalreferenced.js | 79 - .../volume-dataset-property-logicalused.js | 79 - .../volume-dataset-property-numclones.js | 79 - .../models/volume-dataset-property-quota.js | 79 - .../volume-dataset-property-readonly.js | 79 - ...olume-dataset-property-refcompressratio.js | 79 - .../volume-dataset-property-referenced.js | 79 - .../volume-dataset-property-refquota.js | 79 - .../volume-dataset-property-refreservation.js | 79 - .../volume-dataset-property-reservation.js | 79 - .../models/volume-dataset-property-used.js | 79 - .../volume-dataset-property-usedbychildren.js | 79 - .../volume-dataset-property-usedbydataset.js | 79 - ...e-dataset-property-usedbyrefreservation.js | 79 - ...volume-dataset-property-usedbysnapshots.js | 79 - .../volume-dataset-property-volblocksize.js | 79 - .../models/volume-dataset-property-volsize.js | 79 - .../models/volume-dataset-property-written.js | 79 - core/model/models/volume-dataset.js | 271 - core/model/models/volume-disk-label.js | 93 - core/model/models/volume-encryption.js | 76 - core/model/models/volume-import-params.js | 59 - core/model/models/volume-importer.js | 12 - core/model/models/volume-properties.js | 278 - .../model/models/volume-property-allocated.js | 79 - .../models/volume-property-autoreplace.js | 79 - core/model/models/volume-property-capacity.js | 79 - core/model/models/volume-property-comment.js | 79 - .../models/volume-property-dedupratio.js | 79 - .../models/volume-property-delegation.js | 79 - .../models/volume-property-expandsize.js | 79 - core/model/models/volume-property-failmode.js | 79 - .../models/volume-property-fragmentation.js | 79 - core/model/models/volume-property-free.js | 79 - core/model/models/volume-property-health.js | 79 - core/model/models/volume-property-leaked.js | 79 - core/model/models/volume-property-readonly.js | 79 - core/model/models/volume-property-size.js | 79 - core/model/models/volume-property-version.js | 79 - .../models/volume-snapshot-holds-anonymous.js | 3 - .../models/volume-snapshot-properties.js | 98 - .../models/volume-snapshot-property-clones.js | 79 - .../volume-snapshot-property-compressratio.js | 79 - .../volume-snapshot-property-creation.js | 79 - .../volume-snapshot-property-referenced.js | 79 - .../models/volume-snapshot-property-used.js | 79 - core/model/models/volume-snapshot.js | 177 - .../models/volume-vdev-recommendation.js | 42 - ...ev-recommendations-redundancy-anonymous.js | 62 - ...me-vdev-recommendations-speed-anonymous.js | 62 - ...-vdev-recommendations-storage-anonymous.js | 62 - .../models/volume-vdev-recommendations.js | 59 - core/model/models/volume.js | 334 -- core/model/models/winbind-directory-params.js | 178 - core/model/models/winbind-directory-status.js | 75 - .../zfs-dataset-properties-anonymous.js | 3 - core/model/models/zfs-dataset.js | 95 - core/model/models/zfs-pool.js | 149 - core/model/models/zfs-property.js | 77 - core/model/models/zfs-scan.js | 144 - .../models/zfs-snapshot-holds-anonymous.js | 3 - .../zfs-snapshot-properties-anonymous.js | 3 - core/model/models/zfs-snapshot.js | 111 - core/model/models/zfs-topology.js | 88 - core/model/models/zfs-vdev-extension.js | 43 - core/model/models/zfs-vdev-stats-anonymous.js | 3 - core/model/models/zfs-vdev.js | 131 - core/model/property-type-service.js | 72 - core/model/services.js | 114 - core/model/services.mjson | 4549 ----------------- core/service/fake-montage-data-service.ts | 206 - src/application-delegate.js | 6 - src/dao/FreeipaDirectoryParamsDao.ts | 7 + src/dao/LdapDirectoryParamsDao.ts | 7 + src/dao/NisDirectoryParamsDao.ts | 7 + src/dao/WinbindDirectoryParamsDao.ts | 7 + src/dao/abstract-dao.ts | 1 + src/dao/account-systems-dao.ts | 2 +- src/dao/alert-emitter-dao.ts | 7 +- src/dao/group-dao.ts | 3 + src/model/AbstractDataObject.ts | 5 +- src/model/Directory.ts | 2 + src/model/FreeipaDirectoryParams.ts | 4 + src/model/LdapDirectoryParams.ts | 3 + src/model/NisDirectoryParams.ts | 3 + src/model/WinbindDirectoryParams.ts | 3 + src/model/services.js | 4 + src/reducers/delete-overlay.ts | 16 +- src/repository/RsyncdModuleRepository.ts | 20 + src/repository/abstract-model-repository.ts | 4 + src/repository/account-repository.ts | 64 +- src/repository/alert-emitter-repository.ts | 7 +- src/repository/calendar-repository.ts | 16 + src/service/EnumerationsService.ts | 8 + src/service/calendar-service.js | 35 +- src/service/mail-service.js | 53 - src/service/model-descriptor-service.ts | 5 +- src/service/peering-service.js | 48 +- src/service/rsyncd-module-service.js | 21 +- .../section/network-section-service.ts | 4 +- .../section/service-section-service.ts | 15 + .../section/storage-section-service.ts | 8 + src/service/section/system-section-service.ts | 24 +- src/service/section/vms-section-service.js | 23 +- src/service/section/wizard-section-service.js | 7 - src/service/share-service.js | 27 +- src/service/storage-service.js | 253 - src/service/support-service.js | 4 +- src/service/system-info-service.js | 68 - src/service/virtual-machine-service.js | 129 - src/systemjs_config.js | 3 +- tests/e2e/tests/accounts/05_kerberos.js | 4 +- tests/e2e/tests/network/04_settings.js | 2 +- ...t-category-user-interface-descriptor.mjson | 0 ...unt-system-user-interface-descriptor.mjson | 0 ...tter-email-user-interface-descriptor.mjson | 0 ...ert-filter-user-interface-descriptor.mjson | 0 ...m-schedule-user-interface-descriptor.mjson | 0 ...endar-task-user-interface-descriptor.mjson | 0 .../calendar-user-interface-descriptor.mjson | 0 ...ertificate-user-interface-descriptor.mjson | 0 ...hed-volume-user-interface-descriptor.mjson | 0 ...y-services-user-interface-descriptor.mjson | 0 .../directory-user-interface-descriptor.mjson | 0 .../disk-user-interface-descriptor.mjson | 0 ...collection-user-interface-descriptor.mjson | 0 ...er-creator-user-interface-descriptor.mjson | 0 ...ainer-logs-user-interface-descriptor.mjson | 0 ...er-section-user-interface-descriptor.mjson | 0 ...-container-user-interface-descriptor.mjson | 0 ...ocker-host-user-interface-descriptor.mjson | 0 ...image-pull-user-interface-descriptor.mjson | 0 ...age-readme-user-interface-descriptor.mjson | 0 ...cker-image-user-interface-descriptor.mjson | 0 ...er-network-user-interface-descriptor.mjson | 0 ...me-actions-user-interface-descriptor.mjson | 0 ...e-importer-user-interface-descriptor.mjson | 0 .../group-user-interface-descriptor.mjson | 0 .../ipmi-user-interface-descriptor.mjson | 0 ...ros-keytab-user-interface-descriptor.mjson | 0 ...eros-realm-user-interface-descriptor.mjson | 0 ...ork-config-user-interface-descriptor.mjson | 0 ...ace-bridge-user-interface-descriptor.mjson | 0 ...rface-lagg-user-interface-descriptor.mjson | 0 ...-interface-user-interface-descriptor.mjson | 0 ...rface-vlan-user-interface-descriptor.mjson | 0 ...k-overview-user-interface-descriptor.mjson | 0 ...work-route-user-interface-descriptor.mjson | 0 ...ntp-server-user-interface-descriptor.mjson | 0 .../peer-user-interface-descriptor.mjson | 0 ...on-options-user-interface-descriptor.mjson | 0 ...eplication-user-interface-descriptor.mjson | 0 ...ncd-module-user-interface-descriptor.mjson | 0 .../scrub-user-interface-descriptor.mjson | 0 ...n-settings-user-interface-descriptor.mjson | 0 .../section-user-interface-descriptor.mjson | 0 .../service-user-interface-descriptor.mjson | 0 ...s-category-user-interface-descriptor.mjson | 0 .../services.mjson | 0 .../share-user-interface-descriptor.mjson | 0 ...em-general-user-interface-descriptor.mjson | 0 ...em-section-user-interface-descriptor.mjson | 0 .../tunable-user-interface-descriptor.mjson | 0 .../user-user-interface-descriptor.mjson | 0 .../vm-clone-user-interface-descriptor.mjson | 0 ...-datastore-user-interface-descriptor.mjson | 0 .../vm-device-user-interface-descriptor.mjson | 0 .../vm-readme-user-interface-descriptor.mjson | 0 ...m-snapshot-user-interface-descriptor.mjson | 0 .../vm-user-interface-descriptor.mjson | 0 .../vm-volume-user-interface-descriptor.mjson | 0 ...re-dataset-user-interface-descriptor.mjson | 0 ...me-dataset-user-interface-descriptor.mjson | 0 ...e-importer-user-interface-descriptor.mjson | 0 ...a-importer-user-interface-descriptor.mjson | 0 ...e-snapshot-user-interface-descriptor.mjson | 0 .../volume-user-interface-descriptor.mjson | 0 ...s-topology-user-interface-descriptor.mjson | 0 ui/abstract/abstract-inspector.js | 7 + .../abstract-multiple-edit-controller.js | 194 - .../cascading-list-item.js | 2 +- .../notifications.reel/notifications.js | 15 +- ui/dashboard/sideboard.reel/sideboard.js | 7 +- .../calendar-task.reel/calendar-task.js | 1 - .../rsync-args.reel/rsync-args.js | 7 +- .../smart-args.reel/smart-args.js | 2 +- .../snapshot-args.reel/snapshot-args.js | 12 +- .../rsyncd-module.reel/rsyncd-module.js | 9 +- .../afp-service.reel/afp-service.js | 9 +- ui/inspectors/service.reel/service.html | 4 +- .../smb-service.reel/smb-service.js | 5 +- .../snmp-service.reel/snmp-service.js | 4 +- .../tftpd-service.reel/tftpd-service.js | 5 +- .../ups-service.reel/ups-service.js | 8 +- .../services-category.reel/_share.css | 1 - .../services-category.reel/share.html | 130 - ui/inspectors/services-category.reel/share.js | 114 - .../directory-service.html | 3 +- .../directory-service.js | 7 - .../freeipa-service.reel/freeipa-service.js | 31 +- .../ldap-service.reel/ldap-service.js | 31 +- .../nis-service.reel/nis-service.js | 31 +- .../winbind-service.reel/winbind-service.js | 26 +- .../accounts/inspectors/group.reel/group.js | 11 +- .../accounts/inspectors/user.reel/user.js | 7 +- .../_network-interface-creator.css | 1 - .../network-interface-creator.html | 70 - .../network-interface-creator.js | 86 - .../network-interface.reel/lagg.reel/lagg.js | 2 +- .../available-disks.reel/available-disks.js | 5 +- .../storage/inspectors/disk.reel/disk.js | 4 +- .../volume-overview-item.js | 3 +- .../iscsi-share.reel/iscsi-share.js | 4 +- .../share.reel/nfs-share.reel/nfs-share.js | 23 +- .../share-owner.reel/_share-owner.css | 3 - .../share-owner.reel/share-owner.html | 60 - .../share-owner.reel/share-owner.js | 98 - .../inspectors/snapshot.reel/snapshot.js | 3 +- .../vmware-snapshot.reel/vmware-snapshot.js | 4 +- .../volume-creator.reel/volume-creator.js | 9 +- .../volume-dataset-permissions.js | 10 +- .../volume-dataset-settings.js | 8 +- .../inspectors/alert.reel/mail.reel/mail.js | 20 +- .../crypto-certificate-creation.js | 12 +- .../system/inspectors/mail.reel/mail.js | 4 +- .../serial-console.reel/serial-console.js | 2 +- .../system-section.reel/system-section.js | 3 +- .../system/inspectors/tunable.reel/tunable.js | 5 +- .../vms/inspectors/settings.reel/settings.js | 3 +- .../virtual-machine-device-creator.html | 75 - .../virtual-machine-device-creator.js | 88 - ui/services/services.reel/_services.css | 3 - ui/services/services.reel/services.html | 31 - ui/services/services.reel/services.js | 73 - .../cpu-temperature.reel/cpu-temperature.js | 16 +- .../disk-temperature.reel/disk-temperature.js | 26 +- ui/widgets/disk-traffic.reel/disk-traffic.js | 29 +- .../network-traffic.reel/network-traffic.js | 22 +- 872 files changed, 392 insertions(+), 58399 deletions(-) delete mode 100644 core/dao/abstract-dao-ng.ts delete mode 100644 core/model/LoginInfo.js delete mode 100644 core/model/Session.js delete mode 100644 core/model/custom-descriptors/account-category.mjson delete mode 100644 core/model/custom-descriptors/account-system.mjson delete mode 100644 core/model/custom-descriptors/application-context.mjson delete mode 100644 core/model/custom-descriptors/calendar-customSchedule.mjson delete mode 100644 core/model/custom-descriptors/calendar.mjson delete mode 100644 core/model/custom-descriptors/detached-volume.mjson delete mode 100644 core/model/custom-descriptors/directory-services.mjson delete mode 100644 core/model/custom-descriptors/docker-container-creator.mjson delete mode 100644 core/model/custom-descriptors/docker-container-logs.mjson delete mode 100644 core/model/custom-descriptors/docker-container-section.mjson delete mode 100644 core/model/custom-descriptors/docker-image-pull.mjson delete mode 100644 core/model/custom-descriptors/encrypted-volume-actions.mjson delete mode 100644 core/model/custom-descriptors/encrypted-volume-importer.mjson delete mode 100644 core/model/custom-descriptors/network-overview.mjson delete mode 100644 core/model/custom-descriptors/scrub.mjson delete mode 100644 core/model/custom-descriptors/section-settings.mjson delete mode 100644 core/model/custom-descriptors/section.mjson delete mode 100644 core/model/custom-descriptors/services-category.mjson delete mode 100644 core/model/custom-descriptors/system-section.mjson delete mode 100644 core/model/custom-descriptors/vm-readme.mjson delete mode 100644 core/model/custom-descriptors/vm-volume.mjson delete mode 100644 core/model/custom-descriptors/volume-importer.mjson delete mode 100644 core/model/descriptors/acl-entry-flags.mjson delete mode 100644 core/model/descriptors/acl-entry-perms.mjson delete mode 100644 core/model/descriptors/acl-entry.mjson delete mode 100644 core/model/descriptors/alert-class.mjson delete mode 100644 core/model/descriptors/alert-emitter-email.mjson delete mode 100644 core/model/descriptors/alert-filter.mjson delete mode 100644 core/model/descriptors/alert.mjson delete mode 100644 core/model/descriptors/amazon-s3-credentials.mjson delete mode 100644 core/model/descriptors/backup-file.mjson delete mode 100644 core/model/descriptors/backup-providers.mjson delete mode 100644 core/model/descriptors/backup-s3.mjson delete mode 100644 core/model/descriptors/backup-ssh.mjson delete mode 100644 core/model/descriptors/backup-state.mjson delete mode 100644 core/model/descriptors/backup.mjson delete mode 100644 core/model/descriptors/boot-environment.mjson delete mode 100644 core/model/descriptors/calendar-task-schedule-anonymous.mjson delete mode 100644 core/model/descriptors/calendar-task-status.mjson delete mode 100644 core/model/descriptors/calendar-task.mjson delete mode 100644 core/model/descriptors/compress-replication-transport-option.mjson delete mode 100644 core/model/descriptors/compress-replication-transport-plugin.mjson delete mode 100644 core/model/descriptors/cpu-device.mjson delete mode 100644 core/model/descriptors/crypto-certificate.mjson delete mode 100644 core/model/descriptors/directory-status-anonymous.mjson delete mode 100644 core/model/descriptors/directory.mjson delete mode 100644 core/model/descriptors/directoryservice-config.mjson delete mode 100644 core/model/descriptors/disk-attach-params.mjson delete mode 100644 core/model/descriptors/disk-device.mjson delete mode 100644 core/model/descriptors/disk-metadata.mjson delete mode 100644 core/model/descriptors/disk-partition.mjson delete mode 100644 core/model/descriptors/disk-set-key-params.mjson delete mode 100644 core/model/descriptors/disk-status-controller-anonymous.mjson delete mode 100644 core/model/descriptors/disk-status-multipath-anonymous-members-anonymous.mjson delete mode 100644 core/model/descriptors/disk-status-multipath-anonymous.mjson delete mode 100644 core/model/descriptors/disk-status.mjson delete mode 100644 core/model/descriptors/disk.mjson delete mode 100644 core/model/descriptors/disks-allocation.mjson delete mode 100644 core/model/descriptors/docker-collection.mjson delete mode 100644 core/model/descriptors/docker-config.mjson delete mode 100644 core/model/descriptors/docker-container-bridge.mjson delete mode 100644 core/model/descriptors/docker-container.mjson delete mode 100644 core/model/descriptors/docker-host-status.mjson delete mode 100644 core/model/descriptors/docker-host.mjson delete mode 100644 core/model/descriptors/docker-hub-image.mjson delete mode 100644 core/model/descriptors/docker-image.mjson delete mode 100644 core/model/descriptors/docker-volume.mjson delete mode 100644 core/model/descriptors/enclosure.mjson delete mode 100644 core/model/descriptors/encrypt-replication-transport-option.mjson delete mode 100644 core/model/descriptors/encrypt-replication-transport-plugin.mjson delete mode 100644 core/model/descriptors/error.mjson delete mode 100644 core/model/descriptors/file-index.mjson delete mode 100644 core/model/descriptors/freeipa-directory-params.mjson delete mode 100644 core/model/descriptors/freenas-credentials.mjson delete mode 100644 core/model/descriptors/freenas-initial-credentials.mjson delete mode 100644 core/model/descriptors/get-stats-params.mjson delete mode 100644 core/model/descriptors/get-stats-result.mjson delete mode 100644 core/model/descriptors/group-origin-anonymous.mjson delete mode 100644 core/model/descriptors/group.mjson delete mode 100644 core/model/descriptors/importable-disk.mjson delete mode 100644 core/model/descriptors/ipfs-info.mjson delete mode 100644 core/model/descriptors/ipmi.mjson delete mode 100644 core/model/descriptors/kerberos-keytab-entry.mjson delete mode 100644 core/model/descriptors/kerberos-keytab.mjson delete mode 100644 core/model/descriptors/kerberos-realm.mjson delete mode 100644 core/model/descriptors/ldap-directory-params.mjson delete mode 100644 core/model/descriptors/mail-message-extra-headers-anonymous.mjson delete mode 100644 core/model/descriptors/mail-message.mjson delete mode 100644 core/model/descriptors/mail.mjson delete mode 100644 core/model/descriptors/neighbor-properties-anonymous.mjson delete mode 100644 core/model/descriptors/neighbor.mjson delete mode 100644 core/model/descriptors/network-config-dhcp-anonymous.mjson delete mode 100644 core/model/descriptors/network-config-dns-anonymous.mjson delete mode 100644 core/model/descriptors/network-config-gateway-anonymous.mjson delete mode 100644 core/model/descriptors/network-config-netwait-anonymous.mjson delete mode 100644 core/model/descriptors/network-config.mjson delete mode 100644 core/model/descriptors/network-device.mjson delete mode 100644 core/model/descriptors/network-host.mjson delete mode 100644 core/model/descriptors/network-interface-alias.mjson delete mode 100644 core/model/descriptors/network-interface-bridge-properties.mjson delete mode 100644 core/model/descriptors/network-interface-capabilities-anonymous.mjson delete mode 100644 core/model/descriptors/network-interface-lagg-properties.mjson delete mode 100644 core/model/descriptors/network-interface-status-dhcp-anonymous.mjson delete mode 100644 core/model/descriptors/network-interface-status.mjson delete mode 100644 core/model/descriptors/network-interface-vlan-properties.mjson delete mode 100644 core/model/descriptors/network-interface.mjson delete mode 100644 core/model/descriptors/network-route.mjson delete mode 100644 core/model/descriptors/network-status-dns-anonymous.mjson delete mode 100644 core/model/descriptors/network-status-gateway-anonymous.mjson delete mode 100644 core/model/descriptors/network-status.mjson delete mode 100644 core/model/descriptors/nis-directory-params.mjson delete mode 100644 core/model/descriptors/ntp-server.mjson delete mode 100644 core/model/descriptors/open-file.mjson delete mode 100644 core/model/descriptors/peer-status.mjson delete mode 100644 core/model/descriptors/peer.mjson delete mode 100644 core/model/descriptors/permissions.mjson delete mode 100644 core/model/descriptors/power-changed.mjson delete mode 100644 core/model/descriptors/remote-debug-status.mjson delete mode 100644 core/model/descriptors/replication-options.mjson delete mode 100644 core/model/descriptors/replication-status.mjson delete mode 100644 core/model/descriptors/replication-transport.mjson delete mode 100644 core/model/descriptors/replication.mjson delete mode 100644 core/model/descriptors/rsync-copy-rsync-properties-anonymous.mjson delete mode 100644 core/model/descriptors/rsync-copy.mjson delete mode 100644 core/model/descriptors/rsyncd-module.mjson delete mode 100644 core/model/descriptors/rusage.mjson delete mode 100644 core/model/descriptors/serial-port-device.mjson delete mode 100644 core/model/descriptors/service-afp.mjson delete mode 100644 core/model/descriptors/service-consul.mjson delete mode 100644 core/model/descriptors/service-dc.mjson delete mode 100644 core/model/descriptors/service-dyndns.mjson delete mode 100644 core/model/descriptors/service-ftp.mjson delete mode 100644 core/model/descriptors/service-ipfs.mjson delete mode 100644 core/model/descriptors/service-iscsi.mjson delete mode 100644 core/model/descriptors/service-lldp.mjson delete mode 100644 core/model/descriptors/service-nfs.mjson delete mode 100644 core/model/descriptors/service-openvpn.mjson delete mode 100644 core/model/descriptors/service-rsyncd.mjson delete mode 100644 core/model/descriptors/service-simulator.mjson delete mode 100644 core/model/descriptors/service-smartd.mjson delete mode 100644 core/model/descriptors/service-smb.mjson delete mode 100644 core/model/descriptors/service-snmp.mjson delete mode 100644 core/model/descriptors/service-sshd.mjson delete mode 100644 core/model/descriptors/service-tftpd.mjson delete mode 100644 core/model/descriptors/service-ups.mjson delete mode 100644 core/model/descriptors/service-webdav.mjson delete mode 100644 core/model/descriptors/service.mjson delete mode 100644 core/model/descriptors/session.mjson delete mode 100644 core/model/descriptors/share-afp.mjson delete mode 100644 core/model/descriptors/share-client-extra-anonymous.mjson delete mode 100644 core/model/descriptors/share-client.mjson delete mode 100644 core/model/descriptors/share-iscsi-auth.mjson delete mode 100644 core/model/descriptors/share-iscsi-portal.mjson delete mode 100644 core/model/descriptors/share-iscsi-target.mjson delete mode 100644 core/model/descriptors/share-iscsi-user.mjson delete mode 100644 core/model/descriptors/share-iscsi.mjson delete mode 100644 core/model/descriptors/share-nfs.mjson delete mode 100644 core/model/descriptors/share-smb-extra-parameters-anonymous.mjson delete mode 100644 core/model/descriptors/share-smb.mjson delete mode 100644 core/model/descriptors/share-types.mjson delete mode 100644 core/model/descriptors/share-webdav.mjson delete mode 100644 core/model/descriptors/share.mjson delete mode 100644 core/model/descriptors/simulator-disk.mjson delete mode 100644 core/model/descriptors/smart-attribute.mjson delete mode 100644 core/model/descriptors/smart-info-diagnostics-anonymous.mjson delete mode 100644 core/model/descriptors/smart-info.mjson delete mode 100644 core/model/descriptors/smart-test-result.mjson delete mode 100644 core/model/descriptors/snapshot-info.mjson delete mode 100644 core/model/descriptors/ssh-credentials.mjson delete mode 100644 core/model/descriptors/stat.mjson delete mode 100644 core/model/descriptors/statistic-alert.mjson delete mode 100644 core/model/descriptors/statistic.mjson delete mode 100644 core/model/descriptors/support-ticket.mjson delete mode 100644 core/model/descriptors/supported-smart-tests.mjson delete mode 100644 core/model/descriptors/swap-mirror.mjson delete mode 100644 core/model/descriptors/system-advanced.mjson delete mode 100644 core/model/descriptors/system-general.mjson delete mode 100644 core/model/descriptors/system-time.mjson delete mode 100644 core/model/descriptors/system-ui.mjson delete mode 100644 core/model/descriptors/task-args-anonymous.mjson delete mode 100644 core/model/descriptors/task-description-anonymous.mjson delete mode 100644 core/model/descriptors/task.mjson delete mode 100644 core/model/descriptors/throttle-replication-transport-option.mjson delete mode 100644 core/model/descriptors/throttle-replication-transport-plugin.mjson delete mode 100644 core/model/descriptors/tunable.mjson delete mode 100644 core/model/descriptors/ui-transaction.mjson delete mode 100644 core/model/descriptors/unix-mode-tuple.mjson delete mode 100644 core/model/descriptors/unix-permissions.mjson delete mode 100644 core/model/descriptors/update-info-notes-anonymous.mjson delete mode 100644 core/model/descriptors/update-info.mjson delete mode 100644 core/model/descriptors/update-ops.mjson delete mode 100644 core/model/descriptors/update-progress.mjson delete mode 100644 core/model/descriptors/update-train.mjson delete mode 100644 core/model/descriptors/update.mjson delete mode 100644 core/model/descriptors/usb-device.mjson delete mode 100644 core/model/descriptors/user-attributes-anonymous.mjson delete mode 100644 core/model/descriptors/user-origin-anonymous.mjson delete mode 100644 core/model/descriptors/user.mjson delete mode 100644 core/model/descriptors/vm-config-anonymous.mjson delete mode 100644 core/model/descriptors/vm-config-network-anonymous.mjson delete mode 100644 core/model/descriptors/vm-config.mjson delete mode 100644 core/model/descriptors/vm-datastore-capabilities.mjson delete mode 100644 core/model/descriptors/vm-datastore-properties-local.mjson delete mode 100644 core/model/descriptors/vm-datastore-properties-nfs.mjson delete mode 100644 core/model/descriptors/vm-datastore.mjson delete mode 100644 core/model/descriptors/vm-device-cdrom.mjson delete mode 100644 core/model/descriptors/vm-device-disk.mjson delete mode 100644 core/model/descriptors/vm-device-graphics.mjson delete mode 100644 core/model/descriptors/vm-device-nic.mjson delete mode 100644 core/model/descriptors/vm-device-usb-config-anonymous.mjson delete mode 100644 core/model/descriptors/vm-device-usb.mjson delete mode 100644 core/model/descriptors/vm-device-volume.mjson delete mode 100644 core/model/descriptors/vm-device.mjson delete mode 100644 core/model/descriptors/vm-guest-info-interfaces-anonymous.mjson delete mode 100644 core/model/descriptors/vm-guest-info.mjson delete mode 100644 core/model/descriptors/vm-snapshot.mjson delete mode 100644 core/model/descriptors/vm-status-lease.mjson delete mode 100644 core/model/descriptors/vm-status.mjson delete mode 100644 core/model/descriptors/vm-template-source.mjson delete mode 100644 core/model/descriptors/vm.mjson delete mode 100644 core/model/descriptors/vmware-credentials.mjson delete mode 100644 core/model/descriptors/vmware-dataset.mjson delete mode 100644 core/model/descriptors/vmware-datastore.mjson delete mode 100644 core/model/descriptors/volume-attributes-anonymous.mjson delete mode 100644 core/model/descriptors/volume-dataset-properties.mjson delete mode 100644 core/model/descriptors/volume-dataset-property-atime.mjson delete mode 100644 core/model/descriptors/volume-dataset-property-available.mjson delete mode 100644 core/model/descriptors/volume-dataset-property-casesensitivity.mjson delete mode 100644 core/model/descriptors/volume-dataset-property-compression.mjson delete mode 100644 core/model/descriptors/volume-dataset-property-compressratio.mjson delete mode 100644 core/model/descriptors/volume-dataset-property-dedup.mjson delete mode 100644 core/model/descriptors/volume-dataset-property-logicalreferenced.mjson delete mode 100644 core/model/descriptors/volume-dataset-property-logicalused.mjson delete mode 100644 core/model/descriptors/volume-dataset-property-numclones.mjson delete mode 100644 core/model/descriptors/volume-dataset-property-quota.mjson delete mode 100644 core/model/descriptors/volume-dataset-property-readonly.mjson delete mode 100644 core/model/descriptors/volume-dataset-property-refcompressratio.mjson delete mode 100644 core/model/descriptors/volume-dataset-property-referenced.mjson delete mode 100644 core/model/descriptors/volume-dataset-property-refquota.mjson delete mode 100644 core/model/descriptors/volume-dataset-property-refreservation.mjson delete mode 100644 core/model/descriptors/volume-dataset-property-reservation.mjson delete mode 100644 core/model/descriptors/volume-dataset-property-used.mjson delete mode 100644 core/model/descriptors/volume-dataset-property-usedbychildren.mjson delete mode 100644 core/model/descriptors/volume-dataset-property-usedbydataset.mjson delete mode 100644 core/model/descriptors/volume-dataset-property-usedbyrefreservation.mjson delete mode 100644 core/model/descriptors/volume-dataset-property-usedbysnapshots.mjson delete mode 100644 core/model/descriptors/volume-dataset-property-volblocksize.mjson delete mode 100644 core/model/descriptors/volume-dataset-property-volsize.mjson delete mode 100644 core/model/descriptors/volume-dataset-property-written.mjson delete mode 100644 core/model/descriptors/volume-dataset.mjson delete mode 100644 core/model/descriptors/volume-disk-label.mjson delete mode 100644 core/model/descriptors/volume-encryption.mjson delete mode 100644 core/model/descriptors/volume-import-params.mjson delete mode 100644 core/model/descriptors/volume-properties.mjson delete mode 100644 core/model/descriptors/volume-property-allocated.mjson delete mode 100644 core/model/descriptors/volume-property-autoreplace.mjson delete mode 100644 core/model/descriptors/volume-property-capacity.mjson delete mode 100644 core/model/descriptors/volume-property-comment.mjson delete mode 100644 core/model/descriptors/volume-property-dedupratio.mjson delete mode 100644 core/model/descriptors/volume-property-delegation.mjson delete mode 100644 core/model/descriptors/volume-property-expandsize.mjson delete mode 100644 core/model/descriptors/volume-property-failmode.mjson delete mode 100644 core/model/descriptors/volume-property-fragmentation.mjson delete mode 100644 core/model/descriptors/volume-property-free.mjson delete mode 100644 core/model/descriptors/volume-property-health.mjson delete mode 100644 core/model/descriptors/volume-property-leaked.mjson delete mode 100644 core/model/descriptors/volume-property-readonly.mjson delete mode 100644 core/model/descriptors/volume-property-size.mjson delete mode 100644 core/model/descriptors/volume-property-version.mjson delete mode 100644 core/model/descriptors/volume-snapshot-holds-anonymous.mjson delete mode 100644 core/model/descriptors/volume-snapshot-properties.mjson delete mode 100644 core/model/descriptors/volume-snapshot-property-clones.mjson delete mode 100644 core/model/descriptors/volume-snapshot-property-compressratio.mjson delete mode 100644 core/model/descriptors/volume-snapshot-property-creation.mjson delete mode 100644 core/model/descriptors/volume-snapshot-property-referenced.mjson delete mode 100644 core/model/descriptors/volume-snapshot-property-used.mjson delete mode 100644 core/model/descriptors/volume-snapshot.mjson delete mode 100644 core/model/descriptors/volume-vdev-recommendation.mjson delete mode 100644 core/model/descriptors/volume-vdev-recommendations-redundancy-anonymous.mjson delete mode 100644 core/model/descriptors/volume-vdev-recommendations-speed-anonymous.mjson delete mode 100644 core/model/descriptors/volume-vdev-recommendations-storage-anonymous.mjson delete mode 100644 core/model/descriptors/volume-vdev-recommendations.mjson delete mode 100644 core/model/descriptors/volume.mjson delete mode 100644 core/model/descriptors/winbind-directory-params.mjson delete mode 100644 core/model/descriptors/winbind-directory-status.mjson delete mode 100644 core/model/descriptors/zfs-dataset-properties-anonymous.mjson delete mode 100644 core/model/descriptors/zfs-dataset.mjson delete mode 100644 core/model/descriptors/zfs-pool.mjson delete mode 100644 core/model/descriptors/zfs-property.mjson delete mode 100644 core/model/descriptors/zfs-scan.mjson delete mode 100644 core/model/descriptors/zfs-snapshot-holds-anonymous.mjson delete mode 100644 core/model/descriptors/zfs-snapshot-properties-anonymous.mjson delete mode 100644 core/model/descriptors/zfs-snapshot.mjson delete mode 100644 core/model/descriptors/zfs-topology.mjson delete mode 100644 core/model/descriptors/zfs-vdev-extension.mjson delete mode 100644 core/model/descriptors/zfs-vdev-stats-anonymous.mjson delete mode 100644 core/model/descriptors/zfs-vdev.mjson delete mode 100644 core/model/enumerations/acl-entry-tag.js delete mode 100644 core/model/enumerations/acl-entry-type.js delete mode 100644 core/model/enumerations/alert-class-id.js delete mode 100644 core/model/enumerations/alert-severity.js delete mode 100644 core/model/enumerations/alert-type.js delete mode 100644 core/model/enumerations/backup-compression-type.js delete mode 100644 core/model/enumerations/compress-plugin-level.js delete mode 100644 core/model/enumerations/crypto-certificate-digestalgorithm.js delete mode 100644 core/model/enumerations/crypto-certificate-type.js delete mode 100644 core/model/enumerations/dataset-type.js delete mode 100644 core/model/enumerations/disk-acousticlevel.js delete mode 100644 core/model/enumerations/disk-erase-method.js delete mode 100644 core/model/enumerations/disk-selftest-type.js delete mode 100644 core/model/enumerations/disks-allocation-type.js delete mode 100644 core/model/enumerations/docker-host-state.js delete mode 100644 core/model/enumerations/docker-port-protocol.js delete mode 100644 core/model/enumerations/docker-volume-host-path-source.js delete mode 100644 core/model/enumerations/enclosure-element-status.js delete mode 100644 core/model/enumerations/enclosure-status.js delete mode 100644 core/model/enumerations/encrypt-plugin-type.js delete mode 100644 core/model/enumerations/ldap-directory-params-encryption.js delete mode 100644 core/model/enumerations/mail-encryption-type.js delete mode 100644 core/model/enumerations/neighbor-type.js delete mode 100644 core/model/enumerations/network-aggregation-protocols.js delete mode 100644 core/model/enumerations/network-interface-alias-type.js delete mode 100644 core/model/enumerations/network-interface-capabilities-items.js delete mode 100644 core/model/enumerations/network-interface-dhcp-state.js delete mode 100644 core/model/enumerations/network-interface-flags-items.js delete mode 100644 core/model/enumerations/network-interface-mediaopts-items.js delete mode 100644 core/model/enumerations/network-interface-nd6-flag-items.js delete mode 100644 core/model/enumerations/network-interface-status-linkstate.js delete mode 100644 core/model/enumerations/network-interface-type.js delete mode 100644 core/model/enumerations/network-lagg-port-flags-items.js delete mode 100644 core/model/enumerations/network-route-type.js delete mode 100644 core/model/enumerations/power-changed-operation.js delete mode 100644 core/model/enumerations/rsync-copy-rsyncdirection.js delete mode 100644 core/model/enumerations/rsync-copy-rsyncmode.js delete mode 100644 core/model/enumerations/rsyncd-module-mode.js delete mode 100644 core/model/enumerations/service-dyndns-provider.js delete mode 100644 core/model/enumerations/service-ftp-tlsoptions-items.js delete mode 100644 core/model/enumerations/service-ftp-tlspolicy.js delete mode 100644 core/model/enumerations/service-smartd-powermode.js delete mode 100644 core/model/enumerations/service-smb-doscharset.js delete mode 100644 core/model/enumerations/service-smb-loglevel.js delete mode 100644 core/model/enumerations/service-smb-maxprotocol.js delete mode 100644 core/model/enumerations/service-smb-minprotocol.js delete mode 100644 core/model/enumerations/service-smb-unixcharset.js delete mode 100644 core/model/enumerations/service-snmp-v3authtype.js delete mode 100644 core/model/enumerations/service-snmp-v3privacyprotocol.js delete mode 100644 core/model/enumerations/service-sshd-sftplogfacility.js delete mode 100644 core/model/enumerations/service-sshd-sftploglevel.js delete mode 100644 core/model/enumerations/service-state.js delete mode 100644 core/model/enumerations/service-ups-mode.js delete mode 100644 core/model/enumerations/service-ups-shutdownmode.js delete mode 100644 core/model/enumerations/service-webdav-authentication.js delete mode 100644 core/model/enumerations/service-webdav-protocol-items.js delete mode 100644 core/model/enumerations/share-iscsi-auth-type.js delete mode 100644 core/model/enumerations/share-iscsi-blocksize.js delete mode 100644 core/model/enumerations/share-iscsi-rpm.js delete mode 100644 core/model/enumerations/share-nfs-security-items.js delete mode 100644 core/model/enumerations/share-targettype.js delete mode 100644 core/model/enumerations/share-types-permtype.js delete mode 100644 core/model/enumerations/share-types-subtype.js delete mode 100644 core/model/enumerations/simulator-disk-rpm.js delete mode 100644 core/model/enumerations/snapshot-info-type.js delete mode 100644 core/model/enumerations/system-advanced-serialspeed.js delete mode 100644 core/model/enumerations/system-ui-webuiprotocol-items.js delete mode 100644 core/model/enumerations/tunable-type.js delete mode 100644 core/model/enumerations/update-ops-operation.js delete mode 100644 core/model/enumerations/update-progress-operation.js delete mode 100644 core/model/enumerations/vm-config-bootloader.js delete mode 100644 core/model/enumerations/vm-datastore-nfs-version.js delete mode 100644 core/model/enumerations/vm-datastore-state.js delete mode 100644 core/model/enumerations/vm-device-disk-mode.js delete mode 100644 core/model/enumerations/vm-device-disk-target-type.js delete mode 100644 core/model/enumerations/vm-device-graphics-resolution.js delete mode 100644 core/model/enumerations/vm-device-nic-device.js delete mode 100644 core/model/enumerations/vm-device-nic-mode.js delete mode 100644 core/model/enumerations/vm-device-type.js delete mode 100644 core/model/enumerations/vm-device-usb-device.js delete mode 100644 core/model/enumerations/vm-device-volume-type.js delete mode 100644 core/model/enumerations/vm-guest-type.js delete mode 100644 core/model/enumerations/vm-status-health.js delete mode 100644 core/model/enumerations/vm-status-state.js delete mode 100644 core/model/enumerations/vmware-dataset-filter-op.js delete mode 100644 core/model/enumerations/volume-dataset-permissionstype.js delete mode 100644 core/model/enumerations/volume-dataset-property-casesensitivity-value.js delete mode 100644 core/model/enumerations/volume-dataset-property-compression-value.js delete mode 100644 core/model/enumerations/volume-dataset-property-dedup-value.js delete mode 100644 core/model/enumerations/volume-dataset-property-volblocksize-value.js delete mode 100644 core/model/enumerations/volume-dataset-type.js delete mode 100644 core/model/enumerations/volume-property-failmode-value.js delete mode 100644 core/model/enumerations/volume-property-health-value.js delete mode 100644 core/model/enumerations/volume-property-source.js delete mode 100644 core/model/enumerations/volume-providerspresence.js delete mode 100644 core/model/enumerations/volume-status.js delete mode 100644 core/model/enumerations/zfs-pool-status.js delete mode 100644 core/model/enumerations/zfs-property-source.js delete mode 100644 core/model/enumerations/zfs-vdev-type.js delete mode 100644 core/model/events.mjson delete mode 100644 core/model/model-descriptor.js delete mode 100644 core/model/model.js delete mode 100644 core/model/models.mjson delete mode 100644 core/model/models/account-category.js delete mode 100644 core/model/models/account-system.js delete mode 100644 core/model/models/acl-entry-flags.js delete mode 100644 core/model/models/acl-entry-perms.js delete mode 100644 core/model/models/acl-entry.js delete mode 100644 core/model/models/alert-class.js delete mode 100644 core/model/models/alert-emitter-email.js delete mode 100644 core/model/models/alert-filter.js delete mode 100644 core/model/models/alert.js delete mode 100644 core/model/models/amazon-s3-credentials.js delete mode 100644 core/model/models/application-context.js delete mode 100644 core/model/models/backup-file.js delete mode 100644 core/model/models/backup-providers.js delete mode 100644 core/model/models/backup-s3.js delete mode 100644 core/model/models/backup-ssh.js delete mode 100644 core/model/models/backup-state.js delete mode 100644 core/model/models/backup.js delete mode 100644 core/model/models/boot-environment.js delete mode 100644 core/model/models/calendar-custom-schedule.js delete mode 100644 core/model/models/calendar-task-schedule-anonymous.js delete mode 100644 core/model/models/calendar-task-status.js delete mode 100644 core/model/models/calendar-task.js delete mode 100644 core/model/models/calendar.js delete mode 100644 core/model/models/compress-replication-transport-option.js delete mode 100644 core/model/models/compress-replication-transport-plugin.js delete mode 100644 core/model/models/cpu-device.js delete mode 100644 core/model/models/crypto-certificate.js delete mode 100644 core/model/models/detached-volume.js delete mode 100644 core/model/models/directory-services.js delete mode 100644 core/model/models/directory-status-anonymous.js delete mode 100644 core/model/models/directory.js delete mode 100644 core/model/models/directoryservice-config.js delete mode 100644 core/model/models/disk-attach-params.js delete mode 100644 core/model/models/disk-device.js delete mode 100644 core/model/models/disk-metadata.js delete mode 100644 core/model/models/disk-partition.js delete mode 100644 core/model/models/disk-set-key-params.js delete mode 100644 core/model/models/disk-status-controller-anonymous.js delete mode 100644 core/model/models/disk-status-multipath-anonymous-members-anonymous.js delete mode 100644 core/model/models/disk-status-multipath-anonymous.js delete mode 100644 core/model/models/disk-status.js delete mode 100644 core/model/models/disk.js delete mode 100644 core/model/models/disks-allocation.js delete mode 100644 core/model/models/docker-collection.js delete mode 100644 core/model/models/docker-config.js delete mode 100644 core/model/models/docker-container-bridge.js delete mode 100644 core/model/models/docker-container-creator.js delete mode 100644 core/model/models/docker-container-logs.js delete mode 100644 core/model/models/docker-container-section.js delete mode 100644 core/model/models/docker-container.js delete mode 100644 core/model/models/docker-host-status.js delete mode 100644 core/model/models/docker-host.js delete mode 100644 core/model/models/docker-hub-image.js delete mode 100644 core/model/models/docker-image-pull.js delete mode 100644 core/model/models/docker-image.js delete mode 100644 core/model/models/docker-volume.js delete mode 100644 core/model/models/enclosure.js delete mode 100644 core/model/models/encrypt-replication-transport-option.js delete mode 100644 core/model/models/encrypt-replication-transport-plugin.js delete mode 100644 core/model/models/encrypted-volume-actions.js delete mode 100644 core/model/models/encrypted-volume-importer.js delete mode 100644 core/model/models/error.js delete mode 100644 core/model/models/file-index.js delete mode 100644 core/model/models/freeipa-directory-params.js delete mode 100644 core/model/models/freenas-credentials.js delete mode 100644 core/model/models/freenas-initial-credentials.js delete mode 100644 core/model/models/get-stats-params.js delete mode 100644 core/model/models/get-stats-result.js delete mode 100644 core/model/models/group-origin-anonymous.js delete mode 100644 core/model/models/group.js delete mode 100644 core/model/models/importable-disk.js delete mode 100644 core/model/models/ipfs-info.js delete mode 100644 core/model/models/ipmi.js delete mode 100644 core/model/models/kerberos-keytab-entry.js delete mode 100644 core/model/models/kerberos-keytab.js delete mode 100644 core/model/models/kerberos-realm.js delete mode 100644 core/model/models/ldap-directory-params.js delete mode 100644 core/model/models/mail-message-extra-headers-anonymous.js delete mode 100644 core/model/models/mail-message.js delete mode 100644 core/model/models/mail.js delete mode 100644 core/model/models/neighbor-properties-anonymous.js delete mode 100644 core/model/models/neighbor.js delete mode 100644 core/model/models/network-config-dhcp-anonymous.js delete mode 100644 core/model/models/network-config-dns-anonymous.js delete mode 100644 core/model/models/network-config-gateway-anonymous.js delete mode 100644 core/model/models/network-config-netwait-anonymous.js delete mode 100644 core/model/models/network-config.js delete mode 100644 core/model/models/network-device.js delete mode 100644 core/model/models/network-host.js delete mode 100644 core/model/models/network-interface-alias.js delete mode 100644 core/model/models/network-interface-bridge-properties.js delete mode 100644 core/model/models/network-interface-capabilities-anonymous.js delete mode 100644 core/model/models/network-interface-lagg-properties.js delete mode 100644 core/model/models/network-interface-status-dhcp-anonymous.js delete mode 100644 core/model/models/network-interface-status.js delete mode 100644 core/model/models/network-interface-vlan-properties.js delete mode 100644 core/model/models/network-interface.js delete mode 100644 core/model/models/network-overview.js delete mode 100644 core/model/models/network-route.js delete mode 100644 core/model/models/network-status-dns-anonymous.js delete mode 100644 core/model/models/network-status-gateway-anonymous.js delete mode 100644 core/model/models/network-status.js delete mode 100644 core/model/models/nis-directory-params.js delete mode 100644 core/model/models/ntp-server.js delete mode 100644 core/model/models/open-file.js delete mode 100644 core/model/models/peer-status.js delete mode 100644 core/model/models/peer.js delete mode 100644 core/model/models/permissions.js delete mode 100644 core/model/models/power-changed.js delete mode 100644 core/model/models/remote-debug-status.js delete mode 100644 core/model/models/replication-options.js delete mode 100644 core/model/models/replication-status.js delete mode 100644 core/model/models/replication-transport.js delete mode 100644 core/model/models/replication.js delete mode 100644 core/model/models/rsync-copy-rsync-properties-anonymous.js delete mode 100644 core/model/models/rsync-copy.js delete mode 100644 core/model/models/rsyncd-module.js delete mode 100644 core/model/models/rusage.js delete mode 100644 core/model/models/scrub.js delete mode 100644 core/model/models/section-settings.js delete mode 100644 core/model/models/section.js delete mode 100644 core/model/models/serial-port-device.js delete mode 100644 core/model/models/service-afp.js delete mode 100644 core/model/models/service-consul.js delete mode 100644 core/model/models/service-dc.js delete mode 100644 core/model/models/service-dyndns.js delete mode 100644 core/model/models/service-ftp.js delete mode 100644 core/model/models/service-ipfs.js delete mode 100644 core/model/models/service-iscsi.js delete mode 100644 core/model/models/service-lldp.js delete mode 100644 core/model/models/service-nfs.js delete mode 100644 core/model/models/service-openvpn.js delete mode 100644 core/model/models/service-rsyncd.js delete mode 100644 core/model/models/service-simulator.js delete mode 100644 core/model/models/service-smartd.js delete mode 100644 core/model/models/service-smb.js delete mode 100644 core/model/models/service-snmp.js delete mode 100644 core/model/models/service-sshd.js delete mode 100644 core/model/models/service-tftpd.js delete mode 100644 core/model/models/service-ups.js delete mode 100644 core/model/models/service-webdav.js delete mode 100644 core/model/models/service.js delete mode 100644 core/model/models/services-category.js delete mode 100644 core/model/models/session.js delete mode 100644 core/model/models/share-afp.js delete mode 100644 core/model/models/share-client-extra-anonymous.js delete mode 100644 core/model/models/share-client.js delete mode 100644 core/model/models/share-iscsi-auth.js delete mode 100644 core/model/models/share-iscsi-portal.js delete mode 100644 core/model/models/share-iscsi-target.js delete mode 100644 core/model/models/share-iscsi-user.js delete mode 100644 core/model/models/share-iscsi.js delete mode 100644 core/model/models/share-nfs.js delete mode 100644 core/model/models/share-smb-extra-parameters-anonymous.js delete mode 100644 core/model/models/share-smb.js delete mode 100644 core/model/models/share-types.js delete mode 100644 core/model/models/share-webdav.js delete mode 100644 core/model/models/share.js delete mode 100644 core/model/models/simulator-disk.js delete mode 100644 core/model/models/smart-attribute.js delete mode 100644 core/model/models/smart-info-diagnostics-anonymous.js delete mode 100644 core/model/models/smart-info.js delete mode 100644 core/model/models/smart-test-result.js delete mode 100644 core/model/models/snapshot-info.js delete mode 100644 core/model/models/ssh-credentials.js delete mode 100644 core/model/models/stat.js delete mode 100644 core/model/models/statistic-alert.js delete mode 100644 core/model/models/statistic.js delete mode 100644 core/model/models/support-ticket.js delete mode 100644 core/model/models/supported-smart-tests.js delete mode 100644 core/model/models/swap-mirror.js delete mode 100644 core/model/models/system-advanced.js delete mode 100644 core/model/models/system-general.js delete mode 100644 core/model/models/system-section.js delete mode 100644 core/model/models/system-time.js delete mode 100644 core/model/models/system-ui.js delete mode 100644 core/model/models/task-args-anonymous.js delete mode 100644 core/model/models/task-description-anonymous.js delete mode 100644 core/model/models/task.js delete mode 100644 core/model/models/throttle-replication-transport-option.js delete mode 100644 core/model/models/throttle-replication-transport-plugin.js delete mode 100644 core/model/models/tunable.js delete mode 100644 core/model/models/ui-transaction.js delete mode 100644 core/model/models/unix-mode-tuple.js delete mode 100644 core/model/models/unix-permissions.js delete mode 100644 core/model/models/update-info-notes-anonymous.js delete mode 100644 core/model/models/update-info.js delete mode 100644 core/model/models/update-ops.js delete mode 100644 core/model/models/update-progress.js delete mode 100644 core/model/models/update-train.js delete mode 100644 core/model/models/update.js delete mode 100644 core/model/models/usb-device.js delete mode 100644 core/model/models/user-attributes-anonymous.js delete mode 100644 core/model/models/user-origin-anonymous.js delete mode 100644 core/model/models/user.js delete mode 100644 core/model/models/vm-config-anonymous.js delete mode 100644 core/model/models/vm-config-network-anonymous.js delete mode 100644 core/model/models/vm-config.js delete mode 100644 core/model/models/vm-datastore-capabilities.js delete mode 100644 core/model/models/vm-datastore-properties-local.js delete mode 100644 core/model/models/vm-datastore-properties-nfs.js delete mode 100644 core/model/models/vm-datastore.js delete mode 100644 core/model/models/vm-device-cdrom.js delete mode 100644 core/model/models/vm-device-disk.js delete mode 100644 core/model/models/vm-device-graphics.js delete mode 100644 core/model/models/vm-device-nic.js delete mode 100644 core/model/models/vm-device-usb-config-anonymous.js delete mode 100644 core/model/models/vm-device-usb.js delete mode 100644 core/model/models/vm-device-volume.js delete mode 100644 core/model/models/vm-device.js delete mode 100644 core/model/models/vm-guest-info-interfaces-anonymous.js delete mode 100644 core/model/models/vm-guest-info.js delete mode 100644 core/model/models/vm-readme.js delete mode 100644 core/model/models/vm-snapshot.js delete mode 100644 core/model/models/vm-status-lease.js delete mode 100644 core/model/models/vm-status.js delete mode 100644 core/model/models/vm-template-source.js delete mode 100644 core/model/models/vm-volume.js delete mode 100644 core/model/models/vm.js delete mode 100644 core/model/models/vmware-credentials.js delete mode 100644 core/model/models/vmware-dataset.js delete mode 100644 core/model/models/vmware-datastore.js delete mode 100644 core/model/models/volume-attributes-anonymous.js delete mode 100644 core/model/models/volume-dataset-properties.js delete mode 100644 core/model/models/volume-dataset-property-atime.js delete mode 100644 core/model/models/volume-dataset-property-available.js delete mode 100644 core/model/models/volume-dataset-property-casesensitivity.js delete mode 100644 core/model/models/volume-dataset-property-compression.js delete mode 100644 core/model/models/volume-dataset-property-compressratio.js delete mode 100644 core/model/models/volume-dataset-property-dedup.js delete mode 100644 core/model/models/volume-dataset-property-logicalreferenced.js delete mode 100644 core/model/models/volume-dataset-property-logicalused.js delete mode 100644 core/model/models/volume-dataset-property-numclones.js delete mode 100644 core/model/models/volume-dataset-property-quota.js delete mode 100644 core/model/models/volume-dataset-property-readonly.js delete mode 100644 core/model/models/volume-dataset-property-refcompressratio.js delete mode 100644 core/model/models/volume-dataset-property-referenced.js delete mode 100644 core/model/models/volume-dataset-property-refquota.js delete mode 100644 core/model/models/volume-dataset-property-refreservation.js delete mode 100644 core/model/models/volume-dataset-property-reservation.js delete mode 100644 core/model/models/volume-dataset-property-used.js delete mode 100644 core/model/models/volume-dataset-property-usedbychildren.js delete mode 100644 core/model/models/volume-dataset-property-usedbydataset.js delete mode 100644 core/model/models/volume-dataset-property-usedbyrefreservation.js delete mode 100644 core/model/models/volume-dataset-property-usedbysnapshots.js delete mode 100644 core/model/models/volume-dataset-property-volblocksize.js delete mode 100644 core/model/models/volume-dataset-property-volsize.js delete mode 100644 core/model/models/volume-dataset-property-written.js delete mode 100644 core/model/models/volume-dataset.js delete mode 100644 core/model/models/volume-disk-label.js delete mode 100644 core/model/models/volume-encryption.js delete mode 100644 core/model/models/volume-import-params.js delete mode 100644 core/model/models/volume-importer.js delete mode 100644 core/model/models/volume-properties.js delete mode 100644 core/model/models/volume-property-allocated.js delete mode 100644 core/model/models/volume-property-autoreplace.js delete mode 100644 core/model/models/volume-property-capacity.js delete mode 100644 core/model/models/volume-property-comment.js delete mode 100644 core/model/models/volume-property-dedupratio.js delete mode 100644 core/model/models/volume-property-delegation.js delete mode 100644 core/model/models/volume-property-expandsize.js delete mode 100644 core/model/models/volume-property-failmode.js delete mode 100644 core/model/models/volume-property-fragmentation.js delete mode 100644 core/model/models/volume-property-free.js delete mode 100644 core/model/models/volume-property-health.js delete mode 100644 core/model/models/volume-property-leaked.js delete mode 100644 core/model/models/volume-property-readonly.js delete mode 100644 core/model/models/volume-property-size.js delete mode 100644 core/model/models/volume-property-version.js delete mode 100644 core/model/models/volume-snapshot-holds-anonymous.js delete mode 100644 core/model/models/volume-snapshot-properties.js delete mode 100644 core/model/models/volume-snapshot-property-clones.js delete mode 100644 core/model/models/volume-snapshot-property-compressratio.js delete mode 100644 core/model/models/volume-snapshot-property-creation.js delete mode 100644 core/model/models/volume-snapshot-property-referenced.js delete mode 100644 core/model/models/volume-snapshot-property-used.js delete mode 100644 core/model/models/volume-snapshot.js delete mode 100644 core/model/models/volume-vdev-recommendation.js delete mode 100644 core/model/models/volume-vdev-recommendations-redundancy-anonymous.js delete mode 100644 core/model/models/volume-vdev-recommendations-speed-anonymous.js delete mode 100644 core/model/models/volume-vdev-recommendations-storage-anonymous.js delete mode 100644 core/model/models/volume-vdev-recommendations.js delete mode 100644 core/model/models/volume.js delete mode 100644 core/model/models/winbind-directory-params.js delete mode 100644 core/model/models/winbind-directory-status.js delete mode 100644 core/model/models/zfs-dataset-properties-anonymous.js delete mode 100644 core/model/models/zfs-dataset.js delete mode 100644 core/model/models/zfs-pool.js delete mode 100644 core/model/models/zfs-property.js delete mode 100644 core/model/models/zfs-scan.js delete mode 100644 core/model/models/zfs-snapshot-holds-anonymous.js delete mode 100644 core/model/models/zfs-snapshot-properties-anonymous.js delete mode 100644 core/model/models/zfs-snapshot.js delete mode 100644 core/model/models/zfs-topology.js delete mode 100644 core/model/models/zfs-vdev-extension.js delete mode 100644 core/model/models/zfs-vdev-stats-anonymous.js delete mode 100644 core/model/models/zfs-vdev.js delete mode 100644 core/model/property-type-service.js delete mode 100644 core/model/services.js delete mode 100644 core/model/services.mjson delete mode 100644 core/service/fake-montage-data-service.ts create mode 100644 src/dao/FreeipaDirectoryParamsDao.ts create mode 100644 src/dao/LdapDirectoryParamsDao.ts create mode 100644 src/dao/NisDirectoryParamsDao.ts create mode 100644 src/dao/WinbindDirectoryParamsDao.ts create mode 100644 src/model/FreeipaDirectoryParams.ts create mode 100644 src/model/LdapDirectoryParams.ts create mode 100644 src/model/NisDirectoryParams.ts create mode 100644 src/model/WinbindDirectoryParams.ts create mode 100644 src/model/services.js create mode 100644 src/repository/RsyncdModuleRepository.ts create mode 100644 src/service/EnumerationsService.ts delete mode 100644 src/service/mail-service.js delete mode 100644 src/service/storage-service.js delete mode 100644 src/service/system-info-service.js delete mode 100644 src/service/virtual-machine-service.js rename {core/model/user-interface-descriptors => ui-descriptors}/account-category-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/account-system-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/alert-emitter-email-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/alert-filter-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/calendar-custom-schedule-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/calendar-task-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/calendar-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/crypto-certificate-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/detached-volume-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/directory-services-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/directory-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/disk-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/docker-collection-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/docker-container-creator-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/docker-container-logs-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/docker-container-section-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/docker-container-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/docker-host-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/docker-image-pull-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/docker-image-readme-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/docker-image-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/docker-network-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/encrypted-volume-actions-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/encrypted-volume-importer-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/group-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/ipmi-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/kerberos-keytab-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/kerberos-realm-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/network-config-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/network-interface-bridge-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/network-interface-lagg-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/network-interface-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/network-interface-vlan-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/network-overview-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/network-route-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/ntp-server-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/peer-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/replication-options-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/replication-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/rsyncd-module-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/scrub-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/section-settings-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/section-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/service-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/services-category-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/services.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/share-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/system-general-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/system-section-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/tunable-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/user-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/vm-clone-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/vm-datastore-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/vm-device-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/vm-readme-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/vm-snapshot-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/vm-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/vm-volume-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/vmware-dataset-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/volume-dataset-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/volume-importer-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/volume-media-importer-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/volume-snapshot-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/volume-user-interface-descriptor.mjson (100%) rename {core/model/user-interface-descriptors => ui-descriptors}/zfs-topology-user-interface-descriptor.mjson (100%) delete mode 100644 ui/abstract/abstract-multiple-edit-controller.js delete mode 100644 ui/inspectors/services-category.reel/_share.css delete mode 100644 ui/inspectors/services-category.reel/share.html delete mode 100644 ui/inspectors/services-category.reel/share.js delete mode 100644 ui/sections/network/inspectors/network-interface-creator.reel/_network-interface-creator.css delete mode 100644 ui/sections/network/inspectors/network-interface-creator.reel/network-interface-creator.html delete mode 100644 ui/sections/network/inspectors/network-interface-creator.reel/network-interface-creator.js delete mode 100644 ui/sections/storage/inspectors/share.reel/share-owner.reel/_share-owner.css delete mode 100644 ui/sections/storage/inspectors/share.reel/share-owner.reel/share-owner.html delete mode 100644 ui/sections/storage/inspectors/share.reel/share-owner.reel/share-owner.js delete mode 100644 ui/sections/vms/inspectors/virtual-machine-device-creator.reel/virtual-machine-device-creator.html delete mode 100644 ui/sections/vms/inspectors/virtual-machine-device-creator.reel/virtual-machine-device-creator.js delete mode 100644 ui/services/services.reel/_services.css delete mode 100644 ui/services/services.reel/services.html delete mode 100644 ui/services/services.reel/services.js diff --git a/.gitignore b/.gitignore index 3594d28e42..af4e2cbf16 100644 --- a/.gitignore +++ b/.gitignore @@ -69,17 +69,6 @@ tests/e2e/reports/ *.js.map bin/ -core/*.js -core/backend/ -core/components/ -core/controller/ -core/converter/ -core/dao/ -core/reducers/ -core/repository/ -core/route/ -core/service/ -core/model/enumerations/ -core/model/[A-Z]*.js +core/ ui/**/*.css !ui/**/_*.css diff --git a/core/dao/abstract-dao-ng.ts b/core/dao/abstract-dao-ng.ts deleted file mode 100644 index d3490399b0..0000000000 --- a/core/dao/abstract-dao-ng.ts +++ /dev/null @@ -1,205 +0,0 @@ -import { MiddlewareClient } from '../service/middleware-client'; -import { DatastoreService } from '../service/datastore-service'; -import { Model } from '../model/model'; -import { processor as cleaningProcessor } from '../service/data-processor/cleaner'; -import { processor as diffProcessor } from '../service/data-processor/diff'; -import { processor as nullProcessor } from '../service/data-processor/null'; -import { dotCase, paramCase } from 'change-case'; -import * as _ from 'lodash'; -import * as Promise from "bluebird"; - -// DTM -import { CacheService } from '../service/cache-service'; - -export class AbstractDao { - protected middlewareClient: MiddlewareClient; - protected datastoreService: DatastoreService; - - private listPromise: Promise>; - - protected model: any; - private middlewareName: string; - private objectType: string; - private queryMethod: string; - private createMethod: string; - private updateMethod: string; - private deleteMethod: string; - private eventName: string; - private preventQueryCaching: boolean; - private isRegistered = false; - protected propertyDescriptors: Map; - - // DTM - private cacheService: CacheService; - private registerPromise: Promise; - - public constructor(objectType: any, config?: any) { - config = config || {}; - let self = this; - this.model = Model[objectType] || {}; - this.objectType = config.typeName || objectType; - this.middlewareName = config.middlewareName || paramCase(objectType); - this.queryMethod = config.queryMethod || dotCase(objectType) + '.query'; - this.updateMethod = config.updateMethod || dotCase(objectType) + '.update'; - this.createMethod = config.createMethod || dotCase(objectType) + '.create'; - this.deleteMethod = config.deleteMethod || dotCase(objectType) + '.delete'; - this.eventName = config.eventName || 'entity-subscriber.' + this.middlewareName + '.changed'; - this.preventQueryCaching = config.preventQueryCaching; - this.middlewareClient = MiddlewareClient.getInstance(); - this.datastoreService = DatastoreService.getInstance(); - - // DTM - this.cacheService = CacheService.getInstance(); - this.registerPromise = this.cacheService.registerTypeForKey(this.model, objectType).then(function() { - self.propertyDescriptors = new Map(); - if (self.model.constructor.propertyBlueprints) { - for (let descriptor of self.model.constructor.propertyBlueprints) { - self.propertyDescriptors.set(descriptor.name, descriptor); - } - } - }); - } - - public list(): Promise> { - return (this.listPromise && !this.preventQueryCaching) ? - this.listPromise : - this.listPromise = this.stream().then((stream) => { - let data = stream.get("data"); - data._objectType = this.objectType; - - return data; - }); - } - - public stream() { - let modelInitializationPromise = this.model.typeName ? Model.populateObjectPrototypeForType(this.model) : Promise.resolve(); - - return modelInitializationPromise.then(() => { - return this.datastoreService.stream(this.objectType, this.queryMethod); - }); - } - - public get(): Promise { - return this.query().then((x) => x[0]); - } - - public findSingleEntry(criteria: any, params?: any): Promise { - params = params || {}; - params.single = true; - return this.query(criteria, params).then(function(results) { - return results[0]; - }); - } - - //TODO: need support for streamming responses. - public find(criteria?: any, params?: any): Promise { - criteria = criteria || {}; - params = params || {}; - return this.query(criteria, params).then(function(results) { - return results; - }); - } - - public register() { - if (!this.isRegistered) { - this.middlewareClient.subscribeToEvents(this.eventName); - this.isRegistered = true; - } - } - - public save(object: any, args?: Array): Promise { - return object._isNew ? this.create(object, args) : this.update(object, args); - } - - public delete(object: any, args?: Array) { - args = args || []; - return this.middlewareClient.submitTask(this.deleteMethod, _.concat([object.id], args)); - } - - public getNewInstance() { - let self = this; - return this.cacheService.registerTypeForKey(this.objectType, this.model).then(function() { - return new Object({ - _isNew: true, - _objectType: self.objectType - }); - }); - } - - public getEmptyList() { - let self = this; - return this.cacheService.registerTypeForKey(this.objectType, this.model).then(function() { - let emptyList = []; - (emptyList as any)._objectType = self.objectType; - return emptyList; - }) - } - - private update(object: any, args?: Array): Promise { - args = args || []; - let update = diffProcessor.process( - cleaningProcessor.process( - object, - this.propertyDescriptors - ), - this.objectType, - object.id - ); - if (update || (args && args.length > 0)) { - return this.middlewareClient.submitTask(this.updateMethod, _.concat([object.id, update], args)); - } - } - - private create(object: any, args?: Array): Promise { - args = args || []; - let newObject = nullProcessor.process( - cleaningProcessor.process( - object, - this.propertyDescriptors - ) - ); - if (newObject) { - return this.middlewareClient.submitTask(this.createMethod, _.concat([newObject], args)); - } - } - - private query(criteria?: any, isSingle?: boolean): Promise { - let self = this, - middlewareCriteria = criteria ? this.getMiddlewareCriteria(criteria, isSingle) : []; - let modelInitializationPromise = this.model.typeName ? Model.populateObjectPrototypeForType(this.model) : Promise.resolve(); - return modelInitializationPromise.then(function() { - return self.datastoreService.query(self.objectType, self.queryMethod, middlewareCriteria); - }).then(function(entries) { - entries = Array.isArray(entries) ? entries : [entries]; - self.register(); - let results = entries.map(function(x) { - x._objectType = self.objectType; - x.Type = x.constructor.Type = self.model; - return x; - }); - results._meta_data = { - collectionModelType: self.model - }; - results._objectType = self.objectType; - return results; - }); - } - - private getMiddlewareCriteria(criteria: Object, params?: Object): Array { - let keys = Object.keys(criteria), - middlewareCriteria = [], - key, value; - for (let i = 0, length = keys.length; i < length; i++) { - key = keys[i]; - value = criteria[key]; - if (typeof value === 'object') { - let subCriteria = this.getMiddlewareCriteria(value); - Array.prototype.push.apply(middlewareCriteria, subCriteria.map(function(x) { return [key + '.' + x[0], x[1], x[2]] })); - } else { - middlewareCriteria.push([key, '=', value]); - } - } - return params ? [middlewareCriteria, params] : [middlewareCriteria]; - } - -} diff --git a/core/model/LoginInfo.js b/core/model/LoginInfo.js deleted file mode 100644 index 3918c74e44..0000000000 --- a/core/model/LoginInfo.js +++ /dev/null @@ -1 +0,0 @@ -"use strict"; diff --git a/core/model/Session.js b/core/model/Session.js deleted file mode 100644 index 3918c74e44..0000000000 --- a/core/model/Session.js +++ /dev/null @@ -1 +0,0 @@ -"use strict"; diff --git a/core/model/custom-descriptors/account-category.mjson b/core/model/custom-descriptors/account-category.mjson deleted file mode 100644 index 847b5ff35c..0000000000 --- a/core/model/custom-descriptors/account-category.mjson +++ /dev/null @@ -1,42 +0,0 @@ -{ - "blueprint_accountcategory_user": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "user", - "blueprint": {"@": "root"} - } - }, - "blueprint_accountcategory_group": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "group", - "blueprint": {"@": "root"} - } - }, - "blueprint_accountcategory_system": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "system", - "blueprint": {"@": "root"} - } - }, - "blueprint_accountcategory_directoryService": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "directoryService", - "blueprint": {"@": "root"} - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "AccountCategory", - "propertyBlueprints": [ - {"@": "blueprint_accountcategory_user"}, - {"@": "blueprint_accountcategory_group"}, - {"@": "blueprint_accountcategory_system"}, - {"@": "blueprint_accountcategory_directoryService"} - ] - } - } -} diff --git a/core/model/custom-descriptors/account-system.mjson b/core/model/custom-descriptors/account-system.mjson deleted file mode 100644 index b7820e02b6..0000000000 --- a/core/model/custom-descriptors/account-system.mjson +++ /dev/null @@ -1,8 +0,0 @@ -{ - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "AccountSystem" - } - } -} diff --git a/core/model/custom-descriptors/application-context.mjson b/core/model/custom-descriptors/application-context.mjson deleted file mode 100644 index f3108cdfae..0000000000 --- a/core/model/custom-descriptors/application-context.mjson +++ /dev/null @@ -1,37 +0,0 @@ -{ - "dashboardContext": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "dashboardContext", - "blueprint": {"@": "root"}, - "valueType": "object" - } - }, - "sideBoardContext": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "sideBoardContext", - "blueprint": {"@": "root"}, - "valueType": "object" - } - }, - "userSettings": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "userSettings", - "blueprint": {"@": "root"}, - "valueType": "object" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ApplicationContext", - "propertyBlueprints": [ - {"@": "dashboardContext"}, - {"@": "sideBoardContext"}, - {"@": "userSettings"} - ] - } - } -} diff --git a/core/model/custom-descriptors/calendar-customSchedule.mjson b/core/model/custom-descriptors/calendar-customSchedule.mjson deleted file mode 100644 index d64a2e3ac1..0000000000 --- a/core/model/custom-descriptors/calendar-customSchedule.mjson +++ /dev/null @@ -1,8 +0,0 @@ -{ - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "CalendarCustomSchedule" - } - } -} diff --git a/core/model/custom-descriptors/calendar.mjson b/core/model/custom-descriptors/calendar.mjson deleted file mode 100644 index 34be1a0052..0000000000 --- a/core/model/custom-descriptors/calendar.mjson +++ /dev/null @@ -1,10 +0,0 @@ -{ - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "Calendar", - "propertyBlueprints": [ - ] - } - } -} diff --git a/core/model/custom-descriptors/detached-volume.mjson b/core/model/custom-descriptors/detached-volume.mjson deleted file mode 100644 index df3eea726d..0000000000 --- a/core/model/custom-descriptors/detached-volume.mjson +++ /dev/null @@ -1,47 +0,0 @@ -{ - "blueprint_detachedvolume_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_detachedvolume_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_detachedvolume_status": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "status", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_detachedvolume_topology": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "topology", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "ZfsTopology" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "DetachedVolume", - "propertyBlueprints": [ - {"@": "blueprint_detachedvolume_id"}, - {"@": "blueprint_detachedvolume_name"}, - {"@": "blueprint_detachedvolume_status"}, - {"@": "blueprint_detachedvolume_topology"} - ] - } - } -} diff --git a/core/model/custom-descriptors/directory-services.mjson b/core/model/custom-descriptors/directory-services.mjson deleted file mode 100644 index 45960c382f..0000000000 --- a/core/model/custom-descriptors/directory-services.mjson +++ /dev/null @@ -1,8 +0,0 @@ -{ - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "DirectoryServices" - } - } -} diff --git a/core/model/custom-descriptors/docker-container-creator.mjson b/core/model/custom-descriptors/docker-container-creator.mjson deleted file mode 100644 index 58dcc95581..0000000000 --- a/core/model/custom-descriptors/docker-container-creator.mjson +++ /dev/null @@ -1,8 +0,0 @@ -{ - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "DockerContainerCreator" - } - } -} diff --git a/core/model/custom-descriptors/docker-container-logs.mjson b/core/model/custom-descriptors/docker-container-logs.mjson deleted file mode 100644 index 6a2329b5d5..0000000000 --- a/core/model/custom-descriptors/docker-container-logs.mjson +++ /dev/null @@ -1,8 +0,0 @@ -{ - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "DockerContainerLogs" - } - } -} diff --git a/core/model/custom-descriptors/docker-container-section.mjson b/core/model/custom-descriptors/docker-container-section.mjson deleted file mode 100644 index 80454e0d85..0000000000 --- a/core/model/custom-descriptors/docker-container-section.mjson +++ /dev/null @@ -1,8 +0,0 @@ -{ - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "DockerContainerSection" - } - } -} diff --git a/core/model/custom-descriptors/docker-image-pull.mjson b/core/model/custom-descriptors/docker-image-pull.mjson deleted file mode 100644 index e6df0efdeb..0000000000 --- a/core/model/custom-descriptors/docker-image-pull.mjson +++ /dev/null @@ -1,8 +0,0 @@ -{ - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "DockerImagePull" - } - } -} diff --git a/core/model/custom-descriptors/encrypted-volume-actions.mjson b/core/model/custom-descriptors/encrypted-volume-actions.mjson deleted file mode 100644 index 4c6a1c0f83..0000000000 --- a/core/model/custom-descriptors/encrypted-volume-actions.mjson +++ /dev/null @@ -1,8 +0,0 @@ -{ - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "EncryptedVolumeActions" - } - } -} diff --git a/core/model/custom-descriptors/encrypted-volume-importer.mjson b/core/model/custom-descriptors/encrypted-volume-importer.mjson deleted file mode 100644 index 0ad9006570..0000000000 --- a/core/model/custom-descriptors/encrypted-volume-importer.mjson +++ /dev/null @@ -1,28 +0,0 @@ -{ - "key": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "key", - "blueprint": {"@": "root"} - } - }, - "disks": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "disks", - "blueprint": {"@": "root"} - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "EncryptedVolumeImporter", - "propertyBlueprints": [ - {"@": "key"}, - {"@": "disks"} - ] - } - } -} - - diff --git a/core/model/custom-descriptors/network-overview.mjson b/core/model/custom-descriptors/network-overview.mjson deleted file mode 100644 index 42c461f177..0000000000 --- a/core/model/custom-descriptors/network-overview.mjson +++ /dev/null @@ -1,42 +0,0 @@ -{ - "blueprint_networkconfiguration_summary": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "summary", - "blueprint": {"@": "root"} - } - }, - "blueprint_networkconfiguration_staticroutes": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "staticRoutes", - "blueprint": {"@": "root"} - } - }, - "blueprint_networkconfiguration_ipmi": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "ipmi", - "blueprint": {"@": "root"} - } - }, - "blueprint_networkconfiguration_networkconfiguration": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "networkConfiguration", - "blueprint": {"@": "root"} - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "NetworkOverview", - "propertyBlueprints": [ - {"@": "blueprint_networkconfiguration_summary"}, - {"@": "blueprint_networkconfiguration_staticroutes"}, - {"@": "blueprint_networkconfiguration_ipmi"}, - {"@": "blueprint_networkconfiguration_networkconfiguration"} - ] - } - } -} diff --git a/core/model/custom-descriptors/scrub.mjson b/core/model/custom-descriptors/scrub.mjson deleted file mode 100644 index 62cf488c87..0000000000 --- a/core/model/custom-descriptors/scrub.mjson +++ /dev/null @@ -1,8 +0,0 @@ -{ - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "Scrub" - } - } -} diff --git a/core/model/custom-descriptors/section-settings.mjson b/core/model/custom-descriptors/section-settings.mjson deleted file mode 100644 index 53e2161072..0000000000 --- a/core/model/custom-descriptors/section-settings.mjson +++ /dev/null @@ -1,29 +0,0 @@ -{ - "section": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "section", - "blueprint": {"@": "root"}, - "valueType": "object" - } - }, - "settings": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "settings", - "blueprint": {"@": "root"}, - "valueType": "object" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "SectionSettings", - "propertyBlueprints": [ - {"@": "section"}, - {"@": "settings"} - ] - } - } -} - diff --git a/core/model/custom-descriptors/section.mjson b/core/model/custom-descriptors/section.mjson deleted file mode 100644 index 4a622b6f64..0000000000 --- a/core/model/custom-descriptors/section.mjson +++ /dev/null @@ -1,67 +0,0 @@ -{ - "blueprint_section_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"} - } - }, - "blueprint_section_label": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "label", - "blueprint": {"@": "root"} - } - }, - "blueprint_section_icon": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "icon", - "blueprint": {"@": "root"} - } - }, - "blueprint_section_order": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "order", - "blueprint": {"@": "root"} - } - }, - "blueprint_section_entries": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "entries", - "blueprint": {"@": "root"} - } - }, - "blueprint_section_overview": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "overview", - "blueprint": {"@": "root"} - } - }, - "blueprint_section_settings": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "settings", - "blueprint": {"@": "root"} - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "Section", - "propertyBlueprints": [ - {"@": "blueprint_section_id"}, - {"@": "blueprint_section_label"}, - {"@": "blueprint_section_icon"}, - {"@": "blueprint_section_order"}, - {"@": "blueprint_section_entries"}, - {"@": "blueprint_section_overview"}, - {"@": "blueprint_section_settings"} - ] - } - } -} - diff --git a/core/model/custom-descriptors/services-category.mjson b/core/model/custom-descriptors/services-category.mjson deleted file mode 100644 index 07c21e6e3f..0000000000 --- a/core/model/custom-descriptors/services-category.mjson +++ /dev/null @@ -1,34 +0,0 @@ -{ - "blueprint_servicescategory_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "name", - "blueprint": {"@": "root"} - } - }, - "blueprint_servicescategory_services": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "services", - "blueprint": {"@": "root"} - } - }, - "blueprint_servicescategory_selector": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "selector", - "blueprint": {"@": "root"} - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ServicesCategory", - "propertyBlueprints": [ - {"@": "blueprint_servicescategory_name"}, - {"@": "blueprint_servicescategory_services"}, - {"@": "blueprint_servicescategory_selector"} - ] - } - } -} diff --git a/core/model/custom-descriptors/system-section.mjson b/core/model/custom-descriptors/system-section.mjson deleted file mode 100644 index 84f7c8bf72..0000000000 --- a/core/model/custom-descriptors/system-section.mjson +++ /dev/null @@ -1,42 +0,0 @@ -{ - "blueprint_systemsection_identifier": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "identifier", - "blueprint": {"@": "root"} - } - }, - "blueprint_systemsection_label": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "label", - "blueprint": {"@": "root"} - } - }, - "blueprint_systemsection_icon": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "icon", - "blueprint": {"@": "root"} - } - }, - "blueprint_systemsection_order": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "order", - "blueprint": {"@": "root"} - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "SystemSection", - "propertyBlueprints": [ - {"@": "blueprint_systemsection_identifier"}, - {"@": "blueprint_systemsection_label"}, - {"@": "blueprint_systemsection_icon"}, - {"@": "blueprint_systemsection_order"} - ] - } - } -} diff --git a/core/model/custom-descriptors/vm-readme.mjson b/core/model/custom-descriptors/vm-readme.mjson deleted file mode 100644 index fe9a5f92e8..0000000000 --- a/core/model/custom-descriptors/vm-readme.mjson +++ /dev/null @@ -1,17 +0,0 @@ -{ - "blueprint_vmreadme_text": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "text", - "blueprint": {"@": "root"}, - "mandatory": true, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VmReadme" - } - } -} diff --git a/core/model/custom-descriptors/vm-volume.mjson b/core/model/custom-descriptors/vm-volume.mjson deleted file mode 100644 index 32c7a2fdee..0000000000 --- a/core/model/custom-descriptors/vm-volume.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "blueprint_vmvolume_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "mandatory": true, - "valueType": "String" - } - }, - "blueprint_vmvolume_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_vmvolume_properties": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "properties", - "blueprint": {"@": "root"}, - "mandatory": true - } - }, - "blueprint_vmvolume_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "enumValues": [ - "VOLUME" - ] - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VmVolume", - "propertyBlueprints": [ - {"@": "blueprint_vmvolume_id"}, - {"@": "blueprint_vmvolume_name"}, - {"@": "blueprint_vmvolume_properties"}, - {"@": "blueprint_vmvolume_type"} - ] - } - } -} diff --git a/core/model/custom-descriptors/volume-importer.mjson b/core/model/custom-descriptors/volume-importer.mjson deleted file mode 100644 index 27be6c4dbf..0000000000 --- a/core/model/custom-descriptors/volume-importer.mjson +++ /dev/null @@ -1,16 +0,0 @@ -{ - "exportedVolumes": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "exportedVolumes", - "blueprint": {"@": "root"} - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumeImporter" - } - } -} - diff --git a/core/model/descriptors/acl-entry-flags.mjson b/core/model/descriptors/acl-entry-flags.mjson deleted file mode 100644 index fc34db2635..0000000000 --- a/core/model/descriptors/acl-entry-flags.mjson +++ /dev/null @@ -1,46 +0,0 @@ -{ - "blueprint_aclentryflags_DIRECTORY_INHERIT": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "DIRECTORY_INHERIT", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_aclentryflags_FILE_INHERIT": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "FILE_INHERIT", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_aclentryflags_INHERIT_ONLY": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "INHERIT_ONLY", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_aclentryflags_NO_PROPAGATE_INHERIT": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "NO_PROPAGATE_INHERIT", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "AclEntryFlags", - "propertyBlueprints": [ - {"@": "blueprint_aclentryflags_DIRECTORY_INHERIT"}, - {"@": "blueprint_aclentryflags_FILE_INHERIT"}, - {"@": "blueprint_aclentryflags_INHERIT_ONLY"}, - {"@": "blueprint_aclentryflags_NO_PROPAGATE_INHERIT"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/acl-entry-perms.mjson b/core/model/descriptors/acl-entry-perms.mjson deleted file mode 100644 index ccede9375e..0000000000 --- a/core/model/descriptors/acl-entry-perms.mjson +++ /dev/null @@ -1,154 +0,0 @@ -{ - "blueprint_aclentryperms_ADD_FILE": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "ADD_FILE", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_aclentryperms_ADD_SUBDIRECTORY": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "ADD_SUBDIRECTORY", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_aclentryperms_APPEND_DATA": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "APPEND_DATA", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_aclentryperms_DELETE": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "DELETE", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_aclentryperms_DELETE_CHILD": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "DELETE_CHILD", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_aclentryperms_EXECUTE": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "EXECUTE", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_aclentryperms_LIST_DIRECTORY": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "LIST_DIRECTORY", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_aclentryperms_READ_ACL": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "READ_ACL", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_aclentryperms_READ_ATTRIBUTES": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "READ_ATTRIBUTES", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_aclentryperms_READ_DATA": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "READ_DATA", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_aclentryperms_READ_NAMED_ATTRS": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "READ_NAMED_ATTRS", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_aclentryperms_SYNCHRONIZE": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "SYNCHRONIZE", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_aclentryperms_WRITE_ACL": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "WRITE_ACL", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_aclentryperms_WRITE_ATTRIBUTES": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "WRITE_ATTRIBUTES", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_aclentryperms_WRITE_DATA": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "WRITE_DATA", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_aclentryperms_WRITE_NAMED_ATTRS": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "WRITE_NAMED_ATTRS", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "AclEntryPerms", - "propertyBlueprints": [ - {"@": "blueprint_aclentryperms_ADD_FILE"}, - {"@": "blueprint_aclentryperms_ADD_SUBDIRECTORY"}, - {"@": "blueprint_aclentryperms_APPEND_DATA"}, - {"@": "blueprint_aclentryperms_DELETE"}, - {"@": "blueprint_aclentryperms_DELETE_CHILD"}, - {"@": "blueprint_aclentryperms_EXECUTE"}, - {"@": "blueprint_aclentryperms_LIST_DIRECTORY"}, - {"@": "blueprint_aclentryperms_READ_ACL"}, - {"@": "blueprint_aclentryperms_READ_ATTRIBUTES"}, - {"@": "blueprint_aclentryperms_READ_DATA"}, - {"@": "blueprint_aclentryperms_READ_NAMED_ATTRS"}, - {"@": "blueprint_aclentryperms_SYNCHRONIZE"}, - {"@": "blueprint_aclentryperms_WRITE_ACL"}, - {"@": "blueprint_aclentryperms_WRITE_ATTRIBUTES"}, - {"@": "blueprint_aclentryperms_WRITE_DATA"}, - {"@": "blueprint_aclentryperms_WRITE_NAMED_ATTRS"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/acl-entry.mjson b/core/model/descriptors/acl-entry.mjson deleted file mode 100644 index 805a03ca4b..0000000000 --- a/core/model/descriptors/acl-entry.mjson +++ /dev/null @@ -1,77 +0,0 @@ -{ - "blueprint_aclentry_flags": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "flags", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "AclEntryFlags" - } - }, - "blueprint_aclentry_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_aclentry_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_aclentry_perms": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "perms", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "AclEntryPerms" - } - }, - "blueprint_aclentry_tag": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "tag", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "AclEntryTag" - } - }, - "blueprint_aclentry_text": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "text", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_aclentry_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "AclEntryType" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "AclEntry", - "propertyBlueprints": [ - {"@": "blueprint_aclentry_flags"}, - {"@": "blueprint_aclentry_id"}, - {"@": "blueprint_aclentry_name"}, - {"@": "blueprint_aclentry_perms"}, - {"@": "blueprint_aclentry_tag"}, - {"@": "blueprint_aclentry_text"}, - {"@": "blueprint_aclentry_type"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/alert-class.mjson b/core/model/descriptors/alert-class.mjson deleted file mode 100644 index 9c26f8dbce..0000000000 --- a/core/model/descriptors/alert-class.mjson +++ /dev/null @@ -1,8 +0,0 @@ -{ - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "AlertClass" - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/alert-emitter-email.mjson b/core/model/descriptors/alert-emitter-email.mjson deleted file mode 100644 index 05114a3025..0000000000 --- a/core/model/descriptors/alert-emitter-email.mjson +++ /dev/null @@ -1,30 +0,0 @@ -{ - "propertyblueprint": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "%type", - "blueprint": {"@": "root"}, - "enumValues": [ - "alert-emitter-email" - ] - } - }, - "blueprint_alertemitteremail_addresses": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "addresses", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "AlertEmitterEmail", - "propertyBlueprints": [ - {"@": "propertyblueprint"}, - {"@": "blueprint_alertemitteremail_addresses"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/alert-filter.mjson b/core/model/descriptors/alert-filter.mjson deleted file mode 100644 index f5c15b46dc..0000000000 --- a/core/model/descriptors/alert-filter.mjson +++ /dev/null @@ -1,47 +0,0 @@ -{ - "blueprint_alertfilter_emitter": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "emitter", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_alertfilter_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_alertfilter_parameters": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parameters", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "AlertEmitterEmail" - } - }, - "blueprint_alertfilter_predicates": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "predicates", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "AlertFilter", - "propertyBlueprints": [ - {"@": "blueprint_alertfilter_emitter"}, - {"@": "blueprint_alertfilter_id"}, - {"@": "blueprint_alertfilter_parameters"}, - {"@": "blueprint_alertfilter_predicates"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/alert.mjson b/core/model/descriptors/alert.mjson deleted file mode 100644 index 6bfb3998ed..0000000000 --- a/core/model/descriptors/alert.mjson +++ /dev/null @@ -1,166 +0,0 @@ -{ - "blueprint_alert_active": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "active", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_alert_cancelled_at": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "cancelled_at", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_alert_class": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "class", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "AlertClassId" - } - }, - "blueprint_alert_description": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "description", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_alert_dismissed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "dismissed", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_alert_dismissed_at": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "dismissed_at", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_alert_happened_at": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "happened_at", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_alert_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_alert_last_emitted_at": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "last_emitted_at", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_alert_one_shot": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "one_shot", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_alert_send_count": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "send_count", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_alert_severity": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "severity", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "AlertSeverity" - } - }, - "blueprint_alert_subtype": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "subtype", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_alert_target": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "target", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_alert_title": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "title", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_alert_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "AlertType" - } - }, - "blueprint_alert_user": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "user", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "Alert", - "propertyBlueprints": [ - {"@": "blueprint_alert_active"}, - {"@": "blueprint_alert_cancelled_at"}, - {"@": "blueprint_alert_class"}, - {"@": "blueprint_alert_description"}, - {"@": "blueprint_alert_dismissed"}, - {"@": "blueprint_alert_dismissed_at"}, - {"@": "blueprint_alert_happened_at"}, - {"@": "blueprint_alert_id"}, - {"@": "blueprint_alert_last_emitted_at"}, - {"@": "blueprint_alert_one_shot"}, - {"@": "blueprint_alert_send_count"}, - {"@": "blueprint_alert_severity"}, - {"@": "blueprint_alert_subtype"}, - {"@": "blueprint_alert_target"}, - {"@": "blueprint_alert_title"}, - {"@": "blueprint_alert_type"}, - {"@": "blueprint_alert_user"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/amazon-s3-credentials.mjson b/core/model/descriptors/amazon-s3-credentials.mjson deleted file mode 100644 index de53de8c7c..0000000000 --- a/core/model/descriptors/amazon-s3-credentials.mjson +++ /dev/null @@ -1,66 +0,0 @@ -{ - "propertyblueprint": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "%type", - "blueprint": {"@": "root"}, - "enumValues": [ - "amazon-s3-credentials" - ] - } - }, - "blueprint_amazons3credentials_access_key": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "access_key", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_amazons3credentials_bucket": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "bucket", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_amazons3credentials_folder": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "folder", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_amazons3credentials_region": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "region", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_amazons3credentials_secret_key": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "secret_key", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "AmazonS3Credentials", - "propertyBlueprints": [ - {"@": "propertyblueprint"}, - {"@": "blueprint_amazons3credentials_access_key"}, - {"@": "blueprint_amazons3credentials_bucket"}, - {"@": "blueprint_amazons3credentials_folder"}, - {"@": "blueprint_amazons3credentials_region"}, - {"@": "blueprint_amazons3credentials_secret_key"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/backup-file.mjson b/core/model/descriptors/backup-file.mjson deleted file mode 100644 index e0d2b4f90a..0000000000 --- a/core/model/descriptors/backup-file.mjson +++ /dev/null @@ -1,37 +0,0 @@ -{ - "blueprint_backupfile_content_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "content_type", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_backupfile_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_backupfile_size": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "size", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "BackupFile", - "propertyBlueprints": [ - {"@": "blueprint_backupfile_content_type"}, - {"@": "blueprint_backupfile_name"}, - {"@": "blueprint_backupfile_size"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/backup-providers.mjson b/core/model/descriptors/backup-providers.mjson deleted file mode 100644 index 48e2f02c83..0000000000 --- a/core/model/descriptors/backup-providers.mjson +++ /dev/null @@ -1,8 +0,0 @@ -{ - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "BackupProviders" - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/backup-s3.mjson b/core/model/descriptors/backup-s3.mjson deleted file mode 100644 index 954d62d361..0000000000 --- a/core/model/descriptors/backup-s3.mjson +++ /dev/null @@ -1,48 +0,0 @@ -{ - "propertyblueprint": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "%type", - "blueprint": {"@": "root"}, - "enumValues": [ - "backup-s3" - ] - } - }, - "blueprint_backups3_bucket": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "bucket", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_backups3_folder": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "folder", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_backups3_peer": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "peer", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "BackupS3", - "propertyBlueprints": [ - {"@": "propertyblueprint"}, - {"@": "blueprint_backups3_bucket"}, - {"@": "blueprint_backups3_folder"}, - {"@": "blueprint_backups3_peer"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/backup-ssh.mjson b/core/model/descriptors/backup-ssh.mjson deleted file mode 100644 index cd276b59ea..0000000000 --- a/core/model/descriptors/backup-ssh.mjson +++ /dev/null @@ -1,39 +0,0 @@ -{ - "propertyblueprint": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "%type", - "blueprint": {"@": "root"}, - "enumValues": [ - "backup-ssh" - ] - } - }, - "blueprint_backupssh_directory": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "directory", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_backupssh_peer": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "peer", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "BackupSsh", - "propertyBlueprints": [ - {"@": "propertyblueprint"}, - {"@": "blueprint_backupssh_directory"}, - {"@": "blueprint_backupssh_peer"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/backup-state.mjson b/core/model/descriptors/backup-state.mjson deleted file mode 100644 index 2bd9d06f1d..0000000000 --- a/core/model/descriptors/backup-state.mjson +++ /dev/null @@ -1,37 +0,0 @@ -{ - "blueprint_backupstate_dataset": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "dataset", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_backupstate_hostname": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "hostname", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_backupstate_snapshots": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "snapshots", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "BackupState", - "propertyBlueprints": [ - {"@": "blueprint_backupstate_dataset"}, - {"@": "blueprint_backupstate_hostname"}, - {"@": "blueprint_backupstate_snapshots"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/backup.mjson b/core/model/descriptors/backup.mjson deleted file mode 100644 index 15c2c554b1..0000000000 --- a/core/model/descriptors/backup.mjson +++ /dev/null @@ -1,75 +0,0 @@ -{ - "blueprint_backup_compression": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "compression", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "BackupCompressionType" - } - }, - "blueprint_backup_dataset": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "dataset", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_backup_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_backup_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_backup_properties": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "properties", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "BackupProperties" - } - }, - "blueprint_backup_provider": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "provider", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_backup_recursive": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "recursive", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "Backup", - "propertyBlueprints": [ - {"@": "blueprint_backup_compression"}, - {"@": "blueprint_backup_dataset"}, - {"@": "blueprint_backup_id"}, - {"@": "blueprint_backup_name"}, - {"@": "blueprint_backup_properties"}, - {"@": "blueprint_backup_provider"}, - {"@": "blueprint_backup_recursive"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/boot-environment.mjson b/core/model/descriptors/boot-environment.mjson deleted file mode 100644 index 73470e0320..0000000000 --- a/core/model/descriptors/boot-environment.mjson +++ /dev/null @@ -1,87 +0,0 @@ -{ - "blueprint_bootenvironment_active": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "active", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_bootenvironment_created": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "created", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "datetime" - } - }, - "blueprint_bootenvironment_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_bootenvironment_keep": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "keep", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_bootenvironment_mountpoint": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "mountpoint", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_bootenvironment_on_reboot": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "on_reboot", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "boolean" - } - }, - "blueprint_bootenvironment_realname": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "realname", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_bootenvironment_space": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "space", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "number" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "BootEnvironment", - "propertyBlueprints": [ - {"@": "blueprint_bootenvironment_active"}, - {"@": "blueprint_bootenvironment_created"}, - {"@": "blueprint_bootenvironment_id"}, - {"@": "blueprint_bootenvironment_keep"}, - {"@": "blueprint_bootenvironment_mountpoint"}, - {"@": "blueprint_bootenvironment_on_reboot"}, - {"@": "blueprint_bootenvironment_realname"}, - {"@": "blueprint_bootenvironment_space"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/calendar-task-schedule-anonymous.mjson b/core/model/descriptors/calendar-task-schedule-anonymous.mjson deleted file mode 100644 index 074dae15dc..0000000000 --- a/core/model/descriptors/calendar-task-schedule-anonymous.mjson +++ /dev/null @@ -1,100 +0,0 @@ -{ - "blueprint_calendartaskscheduleanonymous_coalesce": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "coalesce", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_calendartaskscheduleanonymous_day": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "day", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_calendartaskscheduleanonymous_day_of_week": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "day_of_week", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_calendartaskscheduleanonymous_hour": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "hour", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_calendartaskscheduleanonymous_minute": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "minute", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_calendartaskscheduleanonymous_month": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "month", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_calendartaskscheduleanonymous_second": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "second", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_calendartaskscheduleanonymous_timezone": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "timezone", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_calendartaskscheduleanonymous_week": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "week", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_calendartaskscheduleanonymous_year": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "year", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "CalendarTaskScheduleAnonymous", - "propertyBlueprints": [ - {"@": "blueprint_calendartaskscheduleanonymous_coalesce"}, - {"@": "blueprint_calendartaskscheduleanonymous_day"}, - {"@": "blueprint_calendartaskscheduleanonymous_day_of_week"}, - {"@": "blueprint_calendartaskscheduleanonymous_hour"}, - {"@": "blueprint_calendartaskscheduleanonymous_minute"}, - {"@": "blueprint_calendartaskscheduleanonymous_month"}, - {"@": "blueprint_calendartaskscheduleanonymous_second"}, - {"@": "blueprint_calendartaskscheduleanonymous_timezone"}, - {"@": "blueprint_calendartaskscheduleanonymous_week"}, - {"@": "blueprint_calendartaskscheduleanonymous_year"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/calendar-task-status.mjson b/core/model/descriptors/calendar-task-status.mjson deleted file mode 100644 index 73670a662a..0000000000 --- a/core/model/descriptors/calendar-task-status.mjson +++ /dev/null @@ -1,46 +0,0 @@ -{ - "blueprint_calendartaskstatus_current_run_progress": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "current_run_progress", - "blueprint": {"@": "root"}, - "valueType": "object" - } - }, - "blueprint_calendartaskstatus_current_run_status": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "current_run_status", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_calendartaskstatus_last_run_status": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "last_run_status", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_calendartaskstatus_next_run_time": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "next_run_time", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "CalendarTaskStatus", - "propertyBlueprints": [ - {"@": "blueprint_calendartaskstatus_current_run_progress"}, - {"@": "blueprint_calendartaskstatus_current_run_status"}, - {"@": "blueprint_calendartaskstatus_last_run_status"}, - {"@": "blueprint_calendartaskstatus_next_run_time"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/calendar-task.mjson b/core/model/descriptors/calendar-task.mjson deleted file mode 100644 index 28d608d941..0000000000 --- a/core/model/descriptors/calendar-task.mjson +++ /dev/null @@ -1,92 +0,0 @@ -{ - "blueprint_calendartask_args": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "args", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_calendartask_enabled": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "enabled", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_calendartask_hidden": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "hidden", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_calendartask_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_calendartask_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_calendartask_protected": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "protected", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_calendartask_schedule": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "schedule", - "blueprint": {"@": "root"}, - "valueType": "object" - } - }, - "blueprint_calendartask_status": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "status", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "CalendarTaskStatus" - } - }, - "blueprint_calendartask_task": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "task", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "CalendarTask", - "propertyBlueprints": [ - {"@": "blueprint_calendartask_args"}, - {"@": "blueprint_calendartask_enabled"}, - {"@": "blueprint_calendartask_hidden"}, - {"@": "blueprint_calendartask_id"}, - {"@": "blueprint_calendartask_name"}, - {"@": "blueprint_calendartask_protected"}, - {"@": "blueprint_calendartask_schedule"}, - {"@": "blueprint_calendartask_status"}, - {"@": "blueprint_calendartask_task"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/compress-replication-transport-option.mjson b/core/model/descriptors/compress-replication-transport-option.mjson deleted file mode 100644 index 0e06885cc0..0000000000 --- a/core/model/descriptors/compress-replication-transport-option.mjson +++ /dev/null @@ -1,31 +0,0 @@ -{ - "propertyblueprint": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "%type", - "blueprint": {"@": "root"}, - "enumValues": [ - "compress-replication-transport-option" - ] - } - }, - "blueprint_compressreplicationtransportoption_level": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "level", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "CompressPluginLevel" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "CompressReplicationTransportOption", - "propertyBlueprints": [ - {"@": "propertyblueprint"}, - {"@": "blueprint_compressreplicationtransportoption_level"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/compress-replication-transport-plugin.mjson b/core/model/descriptors/compress-replication-transport-plugin.mjson deleted file mode 100644 index dc9f789525..0000000000 --- a/core/model/descriptors/compress-replication-transport-plugin.mjson +++ /dev/null @@ -1,58 +0,0 @@ -{ - "propertyblueprint": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "%type", - "blueprint": {"@": "root"}, - "enumValues": [ - "compress-replication-transport-plugin" - ] - } - }, - "blueprint_compressreplicationtransportplugin_buffer_size": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "buffer_size", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_compressreplicationtransportplugin_level": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "level", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "CompressPluginLevel" - } - }, - "blueprint_compressreplicationtransportplugin_read_fd": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "read_fd", - "blueprint": {"@": "root"}, - "valueType": "fd" - } - }, - "blueprint_compressreplicationtransportplugin_write_fd": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "write_fd", - "blueprint": {"@": "root"}, - "valueType": "fd" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "CompressReplicationTransportPlugin", - "propertyBlueprints": [ - {"@": "propertyblueprint"}, - {"@": "blueprint_compressreplicationtransportplugin_buffer_size"}, - {"@": "blueprint_compressreplicationtransportplugin_level"}, - {"@": "blueprint_compressreplicationtransportplugin_read_fd"}, - {"@": "blueprint_compressreplicationtransportplugin_write_fd"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/cpu-device.mjson b/core/model/descriptors/cpu-device.mjson deleted file mode 100644 index 9592cfe23a..0000000000 --- a/core/model/descriptors/cpu-device.mjson +++ /dev/null @@ -1,28 +0,0 @@ -{ - "blueprint_cpudevice_description": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "description", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_cpudevice_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "CpuDevice", - "propertyBlueprints": [ - {"@": "blueprint_cpudevice_description"}, - {"@": "blueprint_cpudevice_name"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/crypto-certificate.mjson b/core/model/descriptors/crypto-certificate.mjson deleted file mode 100644 index 5b706e319d..0000000000 --- a/core/model/descriptors/crypto-certificate.mjson +++ /dev/null @@ -1,268 +0,0 @@ -{ - "blueprint_cryptocertificate_certificate": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "certificate", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_cryptocertificate_certificate_path": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "certificate_path", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_cryptocertificate_city": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "city", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_cryptocertificate_common": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "common", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_cryptocertificate_country": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "country", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_cryptocertificate_csr": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "csr", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_cryptocertificate_csr_path": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "csr_path", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_cryptocertificate_digest_algorithm": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "digest_algorithm", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "CryptoCertificateDigestalgorithm" - } - }, - "blueprint_cryptocertificate_dn": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "dn", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_cryptocertificate_email": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "email", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_cryptocertificate_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_cryptocertificate_key_length": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "key_length", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_cryptocertificate_lifetime": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "lifetime", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_cryptocertificate_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_cryptocertificate_not_after": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "not_after", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_cryptocertificate_not_before": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "not_before", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_cryptocertificate_organization": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "organization", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_cryptocertificate_passphrase": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "passphrase", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_cryptocertificate_privatekey": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "privatekey", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_cryptocertificate_privatekey_path": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "privatekey_path", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_cryptocertificate_selfsigned": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "selfsigned", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_cryptocertificate_serial": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "serial", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_cryptocertificate_signing_ca_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "signing_ca_id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_cryptocertificate_signing_ca_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "signing_ca_name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_cryptocertificate_state": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "state", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_cryptocertificate_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "CryptoCertificateType" - } - }, - "blueprint_cryptocertificate_valid_from": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "valid_from", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_cryptocertificate_valid_until": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "valid_until", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "CryptoCertificate", - "propertyBlueprints": [ - {"@": "blueprint_cryptocertificate_certificate"}, - {"@": "blueprint_cryptocertificate_certificate_path"}, - {"@": "blueprint_cryptocertificate_city"}, - {"@": "blueprint_cryptocertificate_common"}, - {"@": "blueprint_cryptocertificate_country"}, - {"@": "blueprint_cryptocertificate_csr"}, - {"@": "blueprint_cryptocertificate_csr_path"}, - {"@": "blueprint_cryptocertificate_digest_algorithm"}, - {"@": "blueprint_cryptocertificate_dn"}, - {"@": "blueprint_cryptocertificate_email"}, - {"@": "blueprint_cryptocertificate_id"}, - {"@": "blueprint_cryptocertificate_key_length"}, - {"@": "blueprint_cryptocertificate_lifetime"}, - {"@": "blueprint_cryptocertificate_name"}, - {"@": "blueprint_cryptocertificate_not_after"}, - {"@": "blueprint_cryptocertificate_not_before"}, - {"@": "blueprint_cryptocertificate_organization"}, - {"@": "blueprint_cryptocertificate_passphrase"}, - {"@": "blueprint_cryptocertificate_privatekey"}, - {"@": "blueprint_cryptocertificate_privatekey_path"}, - {"@": "blueprint_cryptocertificate_selfsigned"}, - {"@": "blueprint_cryptocertificate_serial"}, - {"@": "blueprint_cryptocertificate_signing_ca_id"}, - {"@": "blueprint_cryptocertificate_signing_ca_name"}, - {"@": "blueprint_cryptocertificate_state"}, - {"@": "blueprint_cryptocertificate_type"}, - {"@": "blueprint_cryptocertificate_valid_from"}, - {"@": "blueprint_cryptocertificate_valid_until"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/directory-status-anonymous.mjson b/core/model/descriptors/directory-status-anonymous.mjson deleted file mode 100644 index ed6ef339bc..0000000000 --- a/core/model/descriptors/directory-status-anonymous.mjson +++ /dev/null @@ -1,44 +0,0 @@ -{ - "blueprint_directorystatusanonymous_state": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "state", - "blueprint": {"@": "root"}, - "valueType": "String", - "enumValues": [ - "DISABLED", - "JOINING", - "FAILURE", - "BOUND", - "EXITING" - ] - } - }, - "blueprint_directorystatusanonymous_status_code": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "status_code", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_directorystatusanonymous_status_message": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "status_message", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "DirectoryStatusAnonymous", - "propertyBlueprints": [ - {"@": "blueprint_directorystatusanonymous_state"}, - {"@": "blueprint_directorystatusanonymous_status_code"}, - {"@": "blueprint_directorystatusanonymous_status_message"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/directory.mjson b/core/model/descriptors/directory.mjson deleted file mode 100644 index 49b815acc5..0000000000 --- a/core/model/descriptors/directory.mjson +++ /dev/null @@ -1,100 +0,0 @@ -{ - "blueprint_directory_enabled": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "enabled", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_directory_enumerate": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "enumerate", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_directory_gid_range": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "gid_range", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_directory_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_directory_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_directory_parameters": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parameters", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "DirectoryParams" - } - }, - "blueprint_directory_status": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "status", - "blueprint": {"@": "root"}, - "valueType": "object" - } - }, - "blueprint_directory_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "valueType": "String", - "enumValues": [ - "file", - "local", - "winbind", - "freeipa", - "ldap", - "nis" - ] - } - }, - "blueprint_directory_uid_range": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "uid_range", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "Directory", - "propertyBlueprints": [ - {"@": "blueprint_directory_enabled"}, - {"@": "blueprint_directory_enumerate"}, - {"@": "blueprint_directory_gid_range"}, - {"@": "blueprint_directory_id"}, - {"@": "blueprint_directory_name"}, - {"@": "blueprint_directory_parameters"}, - {"@": "blueprint_directory_status"}, - {"@": "blueprint_directory_type"}, - {"@": "blueprint_directory_uid_range"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/directoryservice-config.mjson b/core/model/descriptors/directoryservice-config.mjson deleted file mode 100644 index c53fe820ea..0000000000 --- a/core/model/descriptors/directoryservice-config.mjson +++ /dev/null @@ -1,46 +0,0 @@ -{ - "blueprint_directoryserviceconfig_cache_enumerations": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "cache_enumerations", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_directoryserviceconfig_cache_lookups": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "cache_lookups", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_directoryserviceconfig_cache_ttl": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "cache_ttl", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_directoryserviceconfig_search_order": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "search_order", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "DirectoryserviceConfig", - "propertyBlueprints": [ - {"@": "blueprint_directoryserviceconfig_cache_enumerations"}, - {"@": "blueprint_directoryserviceconfig_cache_lookups"}, - {"@": "blueprint_directoryserviceconfig_cache_ttl"}, - {"@": "blueprint_directoryserviceconfig_search_order"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/disk-attach-params.mjson b/core/model/descriptors/disk-attach-params.mjson deleted file mode 100644 index 5a754355dd..0000000000 --- a/core/model/descriptors/disk-attach-params.mjson +++ /dev/null @@ -1,28 +0,0 @@ -{ - "blueprint_diskattachparams_key": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "key", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_diskattachparams_password": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "password", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "DiskAttachParams", - "propertyBlueprints": [ - {"@": "blueprint_diskattachparams_key"}, - {"@": "blueprint_diskattachparams_password"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/disk-device.mjson b/core/model/descriptors/disk-device.mjson deleted file mode 100644 index de3297cd0a..0000000000 --- a/core/model/descriptors/disk-device.mjson +++ /dev/null @@ -1,37 +0,0 @@ -{ - "blueprint_diskdevice_description": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "description", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_diskdevice_mediasize": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "mediasize", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_diskdevice_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "DiskDevice", - "propertyBlueprints": [ - {"@": "blueprint_diskdevice_description"}, - {"@": "blueprint_diskdevice_mediasize"}, - {"@": "blueprint_diskdevice_name"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/disk-metadata.mjson b/core/model/descriptors/disk-metadata.mjson deleted file mode 100644 index a169a6211e..0000000000 --- a/core/model/descriptors/disk-metadata.mjson +++ /dev/null @@ -1,28 +0,0 @@ -{ - "blueprint_diskmetadata_disk": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "disk", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_diskmetadata_metadata": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "metadata", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "DiskMetadata", - "propertyBlueprints": [ - {"@": "blueprint_diskmetadata_disk"}, - {"@": "blueprint_diskmetadata_metadata"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/disk-partition.mjson b/core/model/descriptors/disk-partition.mjson deleted file mode 100644 index 04712b5eee..0000000000 --- a/core/model/descriptors/disk-partition.mjson +++ /dev/null @@ -1,64 +0,0 @@ -{ - "blueprint_diskpartition_label": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "label", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_diskpartition_mediasize": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "mediasize", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_diskpartition_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_diskpartition_paths": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "paths", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_diskpartition_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_diskpartition_uuid": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "uuid", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "DiskPartition", - "propertyBlueprints": [ - {"@": "blueprint_diskpartition_label"}, - {"@": "blueprint_diskpartition_mediasize"}, - {"@": "blueprint_diskpartition_name"}, - {"@": "blueprint_diskpartition_paths"}, - {"@": "blueprint_diskpartition_type"}, - {"@": "blueprint_diskpartition_uuid"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/disk-set-key-params.mjson b/core/model/descriptors/disk-set-key-params.mjson deleted file mode 100644 index bbc7746f1c..0000000000 --- a/core/model/descriptors/disk-set-key-params.mjson +++ /dev/null @@ -1,37 +0,0 @@ -{ - "blueprint_disksetkeyparams_key": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "key", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_disksetkeyparams_password": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "password", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_disksetkeyparams_slot": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "slot", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "DiskSetKeyParams", - "propertyBlueprints": [ - {"@": "blueprint_disksetkeyparams_key"}, - {"@": "blueprint_disksetkeyparams_password"}, - {"@": "blueprint_disksetkeyparams_slot"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/disk-status-controller-anonymous.mjson b/core/model/descriptors/disk-status-controller-anonymous.mjson deleted file mode 100644 index f2c42f6f0b..0000000000 --- a/core/model/descriptors/disk-status-controller-anonymous.mjson +++ /dev/null @@ -1,8 +0,0 @@ -{ - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "DiskStatusControllerAnonymous" - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/disk-status-multipath-anonymous-members-anonymous.mjson b/core/model/descriptors/disk-status-multipath-anonymous-members-anonymous.mjson deleted file mode 100644 index 13161d4c44..0000000000 --- a/core/model/descriptors/disk-status-multipath-anonymous-members-anonymous.mjson +++ /dev/null @@ -1,8 +0,0 @@ -{ - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "DiskStatusMultipathAnonymousMembersAnonymous" - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/disk-status-multipath-anonymous.mjson b/core/model/descriptors/disk-status-multipath-anonymous.mjson deleted file mode 100644 index d9fb89a3a6..0000000000 --- a/core/model/descriptors/disk-status-multipath-anonymous.mjson +++ /dev/null @@ -1,37 +0,0 @@ -{ - "blueprint_diskstatusmultipathanonymous_members": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "members", - "blueprint": {"@": "root"}, - "valueType": "object" - } - }, - "blueprint_diskstatusmultipathanonymous_node": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "node", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_diskstatusmultipathanonymous_status": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "status", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "DiskStatusMultipathAnonymous", - "propertyBlueprints": [ - {"@": "blueprint_diskstatusmultipathanonymous_members"}, - {"@": "blueprint_diskstatusmultipathanonymous_node"}, - {"@": "blueprint_diskstatusmultipathanonymous_status"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/disk-status.mjson b/core/model/descriptors/disk-status.mjson deleted file mode 100644 index 733a49bdc2..0000000000 --- a/core/model/descriptors/disk-status.mjson +++ /dev/null @@ -1,219 +0,0 @@ -{ - "blueprint_diskstatus_controller": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "controller", - "blueprint": {"@": "root"}, - "valueType": "object" - } - }, - "blueprint_diskstatus_data_partition_path": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "data_partition_path", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_diskstatus_data_partition_uuid": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "data_partition_uuid", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_diskstatus_description": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "description", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_diskstatus_empty": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "empty", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_diskstatus_enclosure": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "enclosure", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_diskstatus_encrypted": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "encrypted", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_diskstatus_gdisk_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "gdisk_name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_diskstatus_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_diskstatus_is_encrypted": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "is_encrypted", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_diskstatus_is_multipath": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "is_multipath", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_diskstatus_is_ssd": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "is_ssd", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_diskstatus_lunid": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "lunid", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_diskstatus_max_rotation": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "max_rotation", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_diskstatus_mediasize": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "mediasize", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_diskstatus_multipath": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "multipath", - "blueprint": {"@": "root"}, - "valueType": "object" - } - }, - "blueprint_diskstatus_partitions": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "partitions", - "blueprint": {"@": "root"}, - "valueType": "array", - "valueObjectPrototypeName": "DiskPartition" - } - }, - "blueprint_diskstatus_schema": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "schema", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_diskstatus_sectorsize": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "sectorsize", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_diskstatus_serial": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "serial", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_diskstatus_smart_info": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "smart_info", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "SmartInfo" - } - }, - "blueprint_diskstatus_swap_partition_path": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "swap_partition_path", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_diskstatus_swap_partition_uuid": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "swap_partition_uuid", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "DiskStatus", - "propertyBlueprints": [ - {"@": "blueprint_diskstatus_controller"}, - {"@": "blueprint_diskstatus_data_partition_path"}, - {"@": "blueprint_diskstatus_data_partition_uuid"}, - {"@": "blueprint_diskstatus_description"}, - {"@": "blueprint_diskstatus_empty"}, - {"@": "blueprint_diskstatus_enclosure"}, - {"@": "blueprint_diskstatus_encrypted"}, - {"@": "blueprint_diskstatus_gdisk_name"}, - {"@": "blueprint_diskstatus_id"}, - {"@": "blueprint_diskstatus_is_encrypted"}, - {"@": "blueprint_diskstatus_is_multipath"}, - {"@": "blueprint_diskstatus_is_ssd"}, - {"@": "blueprint_diskstatus_lunid"}, - {"@": "blueprint_diskstatus_max_rotation"}, - {"@": "blueprint_diskstatus_mediasize"}, - {"@": "blueprint_diskstatus_multipath"}, - {"@": "blueprint_diskstatus_partitions"}, - {"@": "blueprint_diskstatus_schema"}, - {"@": "blueprint_diskstatus_sectorsize"}, - {"@": "blueprint_diskstatus_serial"}, - {"@": "blueprint_diskstatus_smart_info"}, - {"@": "blueprint_diskstatus_swap_partition_path"}, - {"@": "blueprint_diskstatus_swap_partition_uuid"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/disk.mjson b/core/model/descriptors/disk.mjson deleted file mode 100644 index d96d6a98b2..0000000000 --- a/core/model/descriptors/disk.mjson +++ /dev/null @@ -1,138 +0,0 @@ -{ - "blueprint_disk_acoustic_level": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "acoustic_level", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "DiskAcousticlevel" - } - }, - "blueprint_disk_apm_mode": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "apm_mode", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_disk_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_disk_is_multipath": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "is_multipath", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_disk_mediasize": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "mediasize", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_disk_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_disk_path": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "path", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_disk_rname": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rname", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_disk_serial": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "serial", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_disk_smart": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "smart", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_disk_online": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "online", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_disk_smart_options": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "smart_options", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_disk_standby_mode": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "standby_mode", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_disk_status": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "status", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "DiskStatus" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "Disk", - "propertyBlueprints": [ - {"@": "blueprint_disk_acoustic_level"}, - {"@": "blueprint_disk_apm_mode"}, - {"@": "blueprint_disk_id"}, - {"@": "blueprint_disk_is_multipath"}, - {"@": "blueprint_disk_mediasize"}, - {"@": "blueprint_disk_name"}, - {"@": "blueprint_disk_path"}, - {"@": "blueprint_disk_rname"}, - {"@": "blueprint_disk_serial"}, - {"@": "blueprint_disk_smart"}, - {"@": "blueprint_disk_online"}, - {"@": "blueprint_disk_smart_options"}, - {"@": "blueprint_disk_standby_mode"}, - {"@": "blueprint_disk_status"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/disks-allocation.mjson b/core/model/descriptors/disks-allocation.mjson deleted file mode 100644 index 9d2f0c61ad..0000000000 --- a/core/model/descriptors/disks-allocation.mjson +++ /dev/null @@ -1,8 +0,0 @@ -{ - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "DisksAllocation" - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/docker-collection.mjson b/core/model/descriptors/docker-collection.mjson deleted file mode 100644 index 9e8e104b6f..0000000000 --- a/core/model/descriptors/docker-collection.mjson +++ /dev/null @@ -1,56 +0,0 @@ -{ - "blueprint_dockercollection_collection": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "collection", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_dockercollection_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_dockercollection_images": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "images", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "DockerHubImage" - } - }, - "blueprint_dockercollection_match_expr": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "match_expr", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_dockercollection_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "DockerCollection", - "propertyBlueprints": [ - {"@": "blueprint_dockercollection_collection"}, - {"@": "blueprint_dockercollection_id"}, - {"@": "blueprint_dockercollection_images"}, - {"@": "blueprint_dockercollection_match_expr"}, - {"@": "blueprint_dockercollection_name"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/docker-config.mjson b/core/model/descriptors/docker-config.mjson deleted file mode 100644 index c39f3fc191..0000000000 --- a/core/model/descriptors/docker-config.mjson +++ /dev/null @@ -1,46 +0,0 @@ -{ - "blueprint_dockerconfig_api_forwarding": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "api_forwarding", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_dockerconfig_api_forwarding_enable": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "api_forwarding_enable", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_dockerconfig_default_collection": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "default_collection", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_dockerconfig_default_host": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "default_host", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "DockerConfig", - "propertyBlueprints": [ - {"@": "blueprint_dockerconfig_api_forwarding"}, - {"@": "blueprint_dockerconfig_api_forwarding_enable"}, - {"@": "blueprint_dockerconfig_default_collection"}, - {"@": "blueprint_dockerconfig_default_host"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/docker-container-bridge.mjson b/core/model/descriptors/docker-container-bridge.mjson deleted file mode 100644 index c952f5d348..0000000000 --- a/core/model/descriptors/docker-container-bridge.mjson +++ /dev/null @@ -1,28 +0,0 @@ -{ - "blueprint_dockercontainerbridge_address": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "address", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_dockercontainerbridge_enable": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "enable", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "DockerContainerBridge", - "propertyBlueprints": [ - {"@": "blueprint_dockercontainerbridge_address"}, - {"@": "blueprint_dockercontainerbridge_enable"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/docker-container.mjson b/core/model/descriptors/docker-container.mjson deleted file mode 100644 index ac7e12100d..0000000000 --- a/core/model/descriptors/docker-container.mjson +++ /dev/null @@ -1,201 +0,0 @@ -{ - "blueprint_dockercontainer_autostart": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "autostart", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_dockercontainer_bridge": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "bridge", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "DockerContainerBridge" - } - }, - "blueprint_dockercontainer_command": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "command", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_dockercontainer_environment": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "environment", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_dockercontainer_exec_ids": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "exec_ids", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_dockercontainer_expose_ports": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "expose_ports", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_dockercontainer_host": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "host", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_dockercontainer_hostname": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "hostname", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_dockercontainer_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_dockercontainer_image": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "image", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_dockercontainer_interactive": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "interactive", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_dockercontainer_memory_limit": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "memory_limit", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_dockercontainer_names": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "names", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_dockercontainer_parent_directory": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parent_directory", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_dockercontainer_ports": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "ports", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_dockercontainer_running": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "running", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_dockercontainer_settings": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "settings", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_dockercontainer_status": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "status", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_dockercontainer_version": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "version", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_dockercontainer_volumes": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "volumes", - "blueprint": {"@": "root"}, - "valueType": "array", - "valueObjectPrototypeName": "DockerVolume" - } - }, - "blueprint_dockercontainer_web_ui_url": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "web_ui_url", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "DockerContainer", - "propertyBlueprints": [ - {"@": "blueprint_dockercontainer_autostart"}, - {"@": "blueprint_dockercontainer_bridge"}, - {"@": "blueprint_dockercontainer_command"}, - {"@": "blueprint_dockercontainer_environment"}, - {"@": "blueprint_dockercontainer_exec_ids"}, - {"@": "blueprint_dockercontainer_expose_ports"}, - {"@": "blueprint_dockercontainer_host"}, - {"@": "blueprint_dockercontainer_hostname"}, - {"@": "blueprint_dockercontainer_id"}, - {"@": "blueprint_dockercontainer_image"}, - {"@": "blueprint_dockercontainer_interactive"}, - {"@": "blueprint_dockercontainer_memory_limit"}, - {"@": "blueprint_dockercontainer_names"}, - {"@": "blueprint_dockercontainer_parent_directory"}, - {"@": "blueprint_dockercontainer_ports"}, - {"@": "blueprint_dockercontainer_running"}, - {"@": "blueprint_dockercontainer_settings"}, - {"@": "blueprint_dockercontainer_status"}, - {"@": "blueprint_dockercontainer_version"}, - {"@": "blueprint_dockercontainer_volumes"}, - {"@": "blueprint_dockercontainer_web_ui_url"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/docker-host-status.mjson b/core/model/descriptors/docker-host-status.mjson deleted file mode 100644 index 643594a5e1..0000000000 --- a/core/model/descriptors/docker-host-status.mjson +++ /dev/null @@ -1,46 +0,0 @@ -{ - "blueprint_dockerhoststatus_hostname": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "hostname", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_dockerhoststatus_mem_total": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "mem_total", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_dockerhoststatus_os": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "os", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_dockerhoststatus_unique_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "unique_id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "DockerHostStatus", - "propertyBlueprints": [ - {"@": "blueprint_dockerhoststatus_hostname"}, - {"@": "blueprint_dockerhoststatus_mem_total"}, - {"@": "blueprint_dockerhoststatus_os"}, - {"@": "blueprint_dockerhoststatus_unique_id"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/docker-host.mjson b/core/model/descriptors/docker-host.mjson deleted file mode 100644 index a477ccd6d7..0000000000 --- a/core/model/descriptors/docker-host.mjson +++ /dev/null @@ -1,66 +0,0 @@ -{ - "blueprint_dockerhost_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_dockerhost_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_dockerhost_target": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "target", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_dockerhost_config": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "config", - "blueprint": {"@": "root"}, - "valueType": "object" - } - }, - "blueprint_dockerhost_state": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "state", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "DockerHostState" - } - }, - "blueprint_dockerhost_status": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "status", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "DockerHostStatus" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "DockerHost", - "propertyBlueprints": [ - {"@": "blueprint_dockerhost_id"}, - {"@": "blueprint_dockerhost_name"}, - {"@": "blueprint_dockerhost_target"}, - {"@": "blueprint_dockerhost_config"}, - {"@": "blueprint_dockerhost_state"}, - {"@": "blueprint_dockerhost_status"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/docker-hub-image.mjson b/core/model/descriptors/docker-hub-image.mjson deleted file mode 100644 index 201c167a86..0000000000 --- a/core/model/descriptors/docker-hub-image.mjson +++ /dev/null @@ -1,73 +0,0 @@ -{ - "blueprint_dockerhubimage_description": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "description", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_dockerhubimage_icon": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "icon", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_dockerhubimage_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_dockerhubimage_presets": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "presets", - "blueprint": {"@": "root"}, - "valueType": "object" - } - }, - "blueprint_dockerhubimage_pull_count": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "pull_count", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_dockerhubimage_star_count": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "star_count", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_dockerhubimage_version": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "version", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "DockerHubImage", - "propertyBlueprints": [ - {"@": "blueprint_dockerhubimage_description"}, - {"@": "blueprint_dockerhubimage_icon"}, - {"@": "blueprint_dockerhubimage_name"}, - {"@": "blueprint_dockerhubimage_presets"}, - {"@": "blueprint_dockerhubimage_pull_count"}, - {"@": "blueprint_dockerhubimage_star_count"}, - {"@": "blueprint_dockerhubimage_version"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/docker-image.mjson b/core/model/descriptors/docker-image.mjson deleted file mode 100644 index d8fc1baa62..0000000000 --- a/core/model/descriptors/docker-image.mjson +++ /dev/null @@ -1,73 +0,0 @@ -{ - "blueprint_dockerimage_created_at": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "created_at", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_dockerimage_hosts": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "hosts", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_dockerimage_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_dockerimage_names": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "names", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_dockerimage_presets": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "presets", - "blueprint": {"@": "root"}, - "valueType": "object" - } - }, - "blueprint_dockerimage_size": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "size", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_dockerimage_version": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "version", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "DockerImage", - "propertyBlueprints": [ - {"@": "blueprint_dockerimage_created_at"}, - {"@": "blueprint_dockerimage_hosts"}, - {"@": "blueprint_dockerimage_id"}, - {"@": "blueprint_dockerimage_names"}, - {"@": "blueprint_dockerimage_presets"}, - {"@": "blueprint_dockerimage_size"}, - {"@": "blueprint_dockerimage_version"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/docker-volume.mjson b/core/model/descriptors/docker-volume.mjson deleted file mode 100644 index 295f216d18..0000000000 --- a/core/model/descriptors/docker-volume.mjson +++ /dev/null @@ -1,47 +0,0 @@ -{ - "blueprint_dockervolume_container_path": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "container_path", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_dockervolume_host_path": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "host_path", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_dockervolume_readonly": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "readonly", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_dockervolume_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "DockerVolumeHostPathSource" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "DockerVolume", - "propertyBlueprints": [ - {"@": "blueprint_dockervolume_container_path"}, - {"@": "blueprint_dockervolume_host_path"}, - {"@": "blueprint_dockervolume_readonly"}, - {"@": "blueprint_dockervolume_source"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/enclosure.mjson b/core/model/descriptors/enclosure.mjson deleted file mode 100644 index 3f748516a1..0000000000 --- a/core/model/descriptors/enclosure.mjson +++ /dev/null @@ -1,56 +0,0 @@ -{ - "blueprint_enclosure_description": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "description", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_enclosure_devices": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "devices", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_enclosure_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_enclosure_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_enclosure_status": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "status", - "blueprint": {"@": "root"}, - "valueType": "array", - "valueObjectPrototypeName": "EnclosureStatus" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "Enclosure", - "propertyBlueprints": [ - {"@": "blueprint_enclosure_description"}, - {"@": "blueprint_enclosure_devices"}, - {"@": "blueprint_enclosure_id"}, - {"@": "blueprint_enclosure_name"}, - {"@": "blueprint_enclosure_status"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/encrypt-replication-transport-option.mjson b/core/model/descriptors/encrypt-replication-transport-option.mjson deleted file mode 100644 index 9b0d0451f3..0000000000 --- a/core/model/descriptors/encrypt-replication-transport-option.mjson +++ /dev/null @@ -1,31 +0,0 @@ -{ - "propertyblueprint": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "%type", - "blueprint": {"@": "root"}, - "enumValues": [ - "encrypt-replication-transport-option" - ] - } - }, - "blueprint_encryptreplicationtransportoption_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "EncryptPluginType" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "EncryptReplicationTransportOption", - "propertyBlueprints": [ - {"@": "propertyblueprint"}, - {"@": "blueprint_encryptreplicationtransportoption_type"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/encrypt-replication-transport-plugin.mjson b/core/model/descriptors/encrypt-replication-transport-plugin.mjson deleted file mode 100644 index b469e1028a..0000000000 --- a/core/model/descriptors/encrypt-replication-transport-plugin.mjson +++ /dev/null @@ -1,85 +0,0 @@ -{ - "propertyblueprint": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "%type", - "blueprint": {"@": "root"}, - "enumValues": [ - "encrypt-replication-transport-plugin" - ] - } - }, - "blueprint_encryptreplicationtransportplugin_auth_token": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "auth_token", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_encryptreplicationtransportplugin_buffer_size": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "buffer_size", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_encryptreplicationtransportplugin_read_fd": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "read_fd", - "blueprint": {"@": "root"}, - "valueType": "fd" - } - }, - "blueprint_encryptreplicationtransportplugin_remote": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "remote", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_encryptreplicationtransportplugin_renewal_interval": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "renewal_interval", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_encryptreplicationtransportplugin_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "EncryptPluginType" - } - }, - "blueprint_encryptreplicationtransportplugin_write_fd": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "write_fd", - "blueprint": {"@": "root"}, - "valueType": "fd" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "EncryptReplicationTransportPlugin", - "propertyBlueprints": [ - {"@": "propertyblueprint"}, - {"@": "blueprint_encryptreplicationtransportplugin_auth_token"}, - {"@": "blueprint_encryptreplicationtransportplugin_buffer_size"}, - {"@": "blueprint_encryptreplicationtransportplugin_read_fd"}, - {"@": "blueprint_encryptreplicationtransportplugin_remote"}, - {"@": "blueprint_encryptreplicationtransportplugin_renewal_interval"}, - {"@": "blueprint_encryptreplicationtransportplugin_type"}, - {"@": "blueprint_encryptreplicationtransportplugin_write_fd"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/error.mjson b/core/model/descriptors/error.mjson deleted file mode 100644 index 6305487b17..0000000000 --- a/core/model/descriptors/error.mjson +++ /dev/null @@ -1,56 +0,0 @@ -{ - "blueprint_error_code": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "code", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_error_extra": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "extra", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "ValidationError" - } - }, - "blueprint_error_message": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "message", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_error_stacktrace": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "stacktrace", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_error_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "Error", - "propertyBlueprints": [ - {"@": "blueprint_error_code"}, - {"@": "blueprint_error_extra"}, - {"@": "blueprint_error_message"}, - {"@": "blueprint_error_stacktrace"}, - {"@": "blueprint_error_type"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/file-index.mjson b/core/model/descriptors/file-index.mjson deleted file mode 100644 index ac6f8ff582..0000000000 --- a/core/model/descriptors/file-index.mjson +++ /dev/null @@ -1,101 +0,0 @@ -{ - "blueprint_fileindex_atime": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "atime", - "blueprint": {"@": "root"}, - "valueType": "datetime" - } - }, - "blueprint_fileindex_ctime": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "ctime", - "blueprint": {"@": "root"}, - "valueType": "datetime" - } - }, - "blueprint_fileindex_gid": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "gid", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_fileindex_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_fileindex_mtime": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "mtime", - "blueprint": {"@": "root"}, - "valueType": "datetime" - } - }, - "blueprint_fileindex_permissions": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "permissions", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "Permissions" - } - }, - "blueprint_fileindex_size": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "size", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_fileindex_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_fileindex_uid": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "uid", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_fileindex_volume": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "volume", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "FileIndex", - "propertyBlueprints": [ - {"@": "blueprint_fileindex_atime"}, - {"@": "blueprint_fileindex_ctime"}, - {"@": "blueprint_fileindex_gid"}, - {"@": "blueprint_fileindex_id"}, - {"@": "blueprint_fileindex_mtime"}, - {"@": "blueprint_fileindex_permissions"}, - {"@": "blueprint_fileindex_size"}, - {"@": "blueprint_fileindex_type"}, - {"@": "blueprint_fileindex_uid"}, - {"@": "blueprint_fileindex_volume"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/freeipa-directory-params.mjson b/core/model/descriptors/freeipa-directory-params.mjson deleted file mode 100644 index 6f17b023dd..0000000000 --- a/core/model/descriptors/freeipa-directory-params.mjson +++ /dev/null @@ -1,116 +0,0 @@ -{ - "propertyblueprint": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "%type", - "blueprint": {"@": "root"}, - "enumValues": [ - "freeipa-directory-params" - ] - } - }, - "blueprint_freeipadirectoryparams_certificate": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "certificate", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_freeipadirectoryparams_encryption": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "encryption", - "blueprint": {"@": "root"}, - "valueType": "String", - "enumValues": [ - "NONE", - "SSL", - "TLS" - ] - } - }, - "blueprint_freeipadirectoryparams_group_suffix": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "group_suffix", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_freeipadirectoryparams_kdc": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "kdc", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_freeipadirectoryparams_krb_principal": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "krb_principal", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_freeipadirectoryparams_password": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "password", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_freeipadirectoryparams_realm": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "realm", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_freeipadirectoryparams_server": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "server", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_freeipadirectoryparams_user_suffix": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "user_suffix", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_freeipadirectoryparams_username": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "username", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "FreeipaDirectoryParams", - "propertyBlueprints": [ - {"@": "propertyblueprint"}, - {"@": "blueprint_freeipadirectoryparams_certificate"}, - {"@": "blueprint_freeipadirectoryparams_encryption"}, - {"@": "blueprint_freeipadirectoryparams_group_suffix"}, - {"@": "blueprint_freeipadirectoryparams_kdc"}, - {"@": "blueprint_freeipadirectoryparams_krb_principal"}, - {"@": "blueprint_freeipadirectoryparams_password"}, - {"@": "blueprint_freeipadirectoryparams_realm"}, - {"@": "blueprint_freeipadirectoryparams_server"}, - {"@": "blueprint_freeipadirectoryparams_user_suffix"}, - {"@": "blueprint_freeipadirectoryparams_username"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/freenas-credentials.mjson b/core/model/descriptors/freenas-credentials.mjson deleted file mode 100644 index 5c8610d803..0000000000 --- a/core/model/descriptors/freenas-credentials.mjson +++ /dev/null @@ -1,57 +0,0 @@ -{ - "propertyblueprint": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "%type", - "blueprint": {"@": "root"}, - "enumValues": [ - "freenas-credentials" - ] - } - }, - "blueprint_freenascredentials_address": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "address", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_freenascredentials_hostkey": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "hostkey", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_freenascredentials_port": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "port", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_freenascredentials_pubkey": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "pubkey", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "FreenasCredentials", - "propertyBlueprints": [ - {"@": "propertyblueprint"}, - {"@": "blueprint_freenascredentials_address"}, - {"@": "blueprint_freenascredentials_hostkey"}, - {"@": "blueprint_freenascredentials_port"}, - {"@": "blueprint_freenascredentials_pubkey"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/freenas-initial-credentials.mjson b/core/model/descriptors/freenas-initial-credentials.mjson deleted file mode 100644 index dff6d5bd03..0000000000 --- a/core/model/descriptors/freenas-initial-credentials.mjson +++ /dev/null @@ -1,57 +0,0 @@ -{ - "propertyblueprint": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "%type", - "blueprint": {"@": "root"}, - "enumValues": [ - "freenas-initial-credentials" - ] - } - }, - "blueprint_freenasinitialcredentials_auth_code": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "auth_code", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_freenasinitialcredentials_key_auth": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "key_auth", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_freenasinitialcredentials_password": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "password", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_freenasinitialcredentials_username": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "username", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "FreenasInitialCredentials", - "propertyBlueprints": [ - {"@": "propertyblueprint"}, - {"@": "blueprint_freenasinitialcredentials_auth_code"}, - {"@": "blueprint_freenasinitialcredentials_key_auth"}, - {"@": "blueprint_freenasinitialcredentials_password"}, - {"@": "blueprint_freenasinitialcredentials_username"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/get-stats-params.mjson b/core/model/descriptors/get-stats-params.mjson deleted file mode 100644 index 3f87c94ba3..0000000000 --- a/core/model/descriptors/get-stats-params.mjson +++ /dev/null @@ -1,46 +0,0 @@ -{ - "blueprint_getstatsparams_end": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "end", - "blueprint": {"@": "root"}, - "valueType": "datetime" - } - }, - "blueprint_getstatsparams_frequency": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "frequency", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_getstatsparams_start": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "start", - "blueprint": {"@": "root"}, - "valueType": "datetime" - } - }, - "blueprint_getstatsparams_timespan": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "timespan", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "GetStatsParams", - "propertyBlueprints": [ - {"@": "blueprint_getstatsparams_end"}, - {"@": "blueprint_getstatsparams_frequency"}, - {"@": "blueprint_getstatsparams_start"}, - {"@": "blueprint_getstatsparams_timespan"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/get-stats-result.mjson b/core/model/descriptors/get-stats-result.mjson deleted file mode 100644 index cdec85e4a1..0000000000 --- a/core/model/descriptors/get-stats-result.mjson +++ /dev/null @@ -1,19 +0,0 @@ -{ - "blueprint_getstatsresult_data": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "data", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "GetStatsResult", - "propertyBlueprints": [ - {"@": "blueprint_getstatsresult_data"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/group-origin-anonymous.mjson b/core/model/descriptors/group-origin-anonymous.mjson deleted file mode 100644 index 9ad62d0750..0000000000 --- a/core/model/descriptors/group-origin-anonymous.mjson +++ /dev/null @@ -1,46 +0,0 @@ -{ - "blueprint_grouporiginanonymous_cached_at": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "cached_at", - "blueprint": {"@": "root"}, - "valueType": "datetime" - } - }, - "blueprint_grouporiginanonymous_directory": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "directory", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_grouporiginanonymous_read_only": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "read_only", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_grouporiginanonymous_ttl": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "ttl", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "GroupOriginAnonymous", - "propertyBlueprints": [ - {"@": "blueprint_grouporiginanonymous_cached_at"}, - {"@": "blueprint_grouporiginanonymous_directory"}, - {"@": "blueprint_grouporiginanonymous_read_only"}, - {"@": "blueprint_grouporiginanonymous_ttl"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/group.mjson b/core/model/descriptors/group.mjson deleted file mode 100644 index 02b8508374..0000000000 --- a/core/model/descriptors/group.mjson +++ /dev/null @@ -1,85 +0,0 @@ -{ - "blueprint_group_builtin": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "builtin", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "boolean" - } - }, - "blueprint_group_gid": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "gid", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_group_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_group_members": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "members", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "array" - } - }, - "blueprint_group_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_group_origin": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "origin", - "blueprint": {"@": "root"}, - "valueType": "object" - } - }, - "blueprint_group_sid": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "sid", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_group_sudo": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "sudo", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "Group", - "propertyBlueprints": [ - {"@": "blueprint_group_builtin"}, - {"@": "blueprint_group_gid"}, - {"@": "blueprint_group_id"}, - {"@": "blueprint_group_members"}, - {"@": "blueprint_group_name"}, - {"@": "blueprint_group_origin"}, - {"@": "blueprint_group_sid"}, - {"@": "blueprint_group_sudo"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/importable-disk.mjson b/core/model/descriptors/importable-disk.mjson deleted file mode 100644 index e3abe778cc..0000000000 --- a/core/model/descriptors/importable-disk.mjson +++ /dev/null @@ -1,46 +0,0 @@ -{ - "blueprint_importabledisk_fstype": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "fstype", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_importabledisk_label": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "label", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_importabledisk_path": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "path", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_importabledisk_size": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "size", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ImportableDisk", - "propertyBlueprints": [ - {"@": "blueprint_importabledisk_fstype"}, - {"@": "blueprint_importabledisk_label"}, - {"@": "blueprint_importabledisk_path"}, - {"@": "blueprint_importabledisk_size"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/ipfs-info.mjson b/core/model/descriptors/ipfs-info.mjson deleted file mode 100644 index 4333479a4e..0000000000 --- a/core/model/descriptors/ipfs-info.mjson +++ /dev/null @@ -1,55 +0,0 @@ -{ - "blueprint_ipfsinfo_Addresses": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "Addresses", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_ipfsinfo_AgentVersion": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "AgentVersion", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_ipfsinfo_ID": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "ID", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_ipfsinfo_ProtocolVersion": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "ProtocolVersion", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_ipfsinfo_PublicKey": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "PublicKey", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "IpfsInfo", - "propertyBlueprints": [ - {"@": "blueprint_ipfsinfo_Addresses"}, - {"@": "blueprint_ipfsinfo_AgentVersion"}, - {"@": "blueprint_ipfsinfo_ID"}, - {"@": "blueprint_ipfsinfo_ProtocolVersion"}, - {"@": "blueprint_ipfsinfo_PublicKey"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/ipmi.mjson b/core/model/descriptors/ipmi.mjson deleted file mode 100644 index 9973f0dcb9..0000000000 --- a/core/model/descriptors/ipmi.mjson +++ /dev/null @@ -1,73 +0,0 @@ -{ - "blueprint_ipmi_address": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "address", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "Ipv4Address" - } - }, - "blueprint_ipmi_dhcp": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "dhcp", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_ipmi_gateway": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "gateway", - "blueprint": {"@": "root"} - } - }, - "blueprint_ipmi_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_ipmi_netmask": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "netmask", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_ipmi_password": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "password", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_ipmi_vlan_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "vlan_id", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "Ipmi", - "propertyBlueprints": [ - {"@": "blueprint_ipmi_address"}, - {"@": "blueprint_ipmi_dhcp"}, - {"@": "blueprint_ipmi_gateway"}, - {"@": "blueprint_ipmi_id"}, - {"@": "blueprint_ipmi_netmask"}, - {"@": "blueprint_ipmi_password"}, - {"@": "blueprint_ipmi_vlan_id"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/kerberos-keytab-entry.mjson b/core/model/descriptors/kerberos-keytab-entry.mjson deleted file mode 100644 index 7328683cb1..0000000000 --- a/core/model/descriptors/kerberos-keytab-entry.mjson +++ /dev/null @@ -1,37 +0,0 @@ -{ - "blueprint_kerberoskeytabentry_enctype": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "enctype", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_kerberoskeytabentry_principal": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "principal", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_kerberoskeytabentry_vno": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "vno", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "KerberosKeytabEntry", - "propertyBlueprints": [ - {"@": "blueprint_kerberoskeytabentry_enctype"}, - {"@": "blueprint_kerberoskeytabentry_principal"}, - {"@": "blueprint_kerberoskeytabentry_vno"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/kerberos-keytab.mjson b/core/model/descriptors/kerberos-keytab.mjson deleted file mode 100644 index 920858d2c0..0000000000 --- a/core/model/descriptors/kerberos-keytab.mjson +++ /dev/null @@ -1,47 +0,0 @@ -{ - "blueprint_kerberoskeytab_entries": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "entries", - "blueprint": {"@": "root"}, - "valueType": "array", - "valueObjectPrototypeName": "KerberosKeytabEntry" - } - }, - "blueprint_kerberoskeytab_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_kerberoskeytab_keytab": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "keytab", - "blueprint": {"@": "root"}, - "valueType": "binary" - } - }, - "blueprint_kerberoskeytab_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "KerberosKeytab", - "propertyBlueprints": [ - {"@": "blueprint_kerberoskeytab_entries"}, - {"@": "blueprint_kerberoskeytab_id"}, - {"@": "blueprint_kerberoskeytab_keytab"}, - {"@": "blueprint_kerberoskeytab_name"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/kerberos-realm.mjson b/core/model/descriptors/kerberos-realm.mjson deleted file mode 100644 index 9e5c25df61..0000000000 --- a/core/model/descriptors/kerberos-realm.mjson +++ /dev/null @@ -1,55 +0,0 @@ -{ - "blueprint_kerberosrealm_admin_server_address": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "admin_server_address", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_kerberosrealm_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_kerberosrealm_kdc_address": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "kdc_address", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_kerberosrealm_password_server_address": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "password_server_address", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_kerberosrealm_realm": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "realm", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "KerberosRealm", - "propertyBlueprints": [ - {"@": "blueprint_kerberosrealm_admin_server_address"}, - {"@": "blueprint_kerberosrealm_id"}, - {"@": "blueprint_kerberosrealm_kdc_address"}, - {"@": "blueprint_kerberosrealm_password_server_address"}, - {"@": "blueprint_kerberosrealm_realm"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/ldap-directory-params.mjson b/core/model/descriptors/ldap-directory-params.mjson deleted file mode 100644 index 754ef3118b..0000000000 --- a/core/model/descriptors/ldap-directory-params.mjson +++ /dev/null @@ -1,112 +0,0 @@ -{ - "propertyblueprint": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "%type", - "blueprint": {"@": "root"}, - "enumValues": [ - "ldap-directory-params" - ] - } - }, - "blueprint_ldapdirectoryparams_base_dn": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "base_dn", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_ldapdirectoryparams_bind_dn": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "bind_dn", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_ldapdirectoryparams_certificate": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "certificate", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_ldapdirectoryparams_encryption": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "encryption", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "LdapDirectoryParamsEncryption" - } - }, - "blueprint_ldapdirectoryparams_group_suffix": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "group_suffix", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_ldapdirectoryparams_krb_principal": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "krb_principal", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_ldapdirectoryparams_password": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "password", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_ldapdirectoryparams_server": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "server", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_ldapdirectoryparams_user_suffix": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "user_suffix", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_ldapdirectoryparams_verify_certificate": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "verify_certificate", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "LdapDirectoryParams", - "propertyBlueprints": [ - {"@": "propertyblueprint"}, - {"@": "blueprint_ldapdirectoryparams_base_dn"}, - {"@": "blueprint_ldapdirectoryparams_bind_dn"}, - {"@": "blueprint_ldapdirectoryparams_certificate"}, - {"@": "blueprint_ldapdirectoryparams_encryption"}, - {"@": "blueprint_ldapdirectoryparams_group_suffix"}, - {"@": "blueprint_ldapdirectoryparams_krb_principal"}, - {"@": "blueprint_ldapdirectoryparams_password"}, - {"@": "blueprint_ldapdirectoryparams_server"}, - {"@": "blueprint_ldapdirectoryparams_user_suffix"}, - {"@": "blueprint_ldapdirectoryparams_verify_certificate"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/mail-message-extra-headers-anonymous.mjson b/core/model/descriptors/mail-message-extra-headers-anonymous.mjson deleted file mode 100644 index f01cf6a001..0000000000 --- a/core/model/descriptors/mail-message-extra-headers-anonymous.mjson +++ /dev/null @@ -1,8 +0,0 @@ -{ - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "MailMessageExtraHeadersAnonymous" - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/mail-message.mjson b/core/model/descriptors/mail-message.mjson deleted file mode 100644 index c252ba0d1f..0000000000 --- a/core/model/descriptors/mail-message.mjson +++ /dev/null @@ -1,64 +0,0 @@ -{ - "blueprint_mailmessage_attachments": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "attachments", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_mailmessage_extra_headers": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "extra_headers", - "blueprint": {"@": "root"}, - "valueType": "object" - } - }, - "blueprint_mailmessage_from": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "from", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_mailmessage_message": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "message", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_mailmessage_subject": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "subject", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_mailmessage_to": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "to", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "MailMessage", - "propertyBlueprints": [ - {"@": "blueprint_mailmessage_attachments"}, - {"@": "blueprint_mailmessage_extra_headers"}, - {"@": "blueprint_mailmessage_from"}, - {"@": "blueprint_mailmessage_message"}, - {"@": "blueprint_mailmessage_subject"}, - {"@": "blueprint_mailmessage_to"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/mail.mjson b/core/model/descriptors/mail.mjson deleted file mode 100644 index 5e78fa1d1b..0000000000 --- a/core/model/descriptors/mail.mjson +++ /dev/null @@ -1,74 +0,0 @@ -{ - "blueprint_mail_auth": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "auth", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_mail_encryption": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "encryption", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "MailEncryptionType" - } - }, - "blueprint_mail_from": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "from", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_mail_pass": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "pass", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_mail_port": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "port", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_mail_server": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "server", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_mail_user": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "user", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "Mail", - "propertyBlueprints": [ - {"@": "blueprint_mail_auth"}, - {"@": "blueprint_mail_encryption"}, - {"@": "blueprint_mail_from"}, - {"@": "blueprint_mail_pass"}, - {"@": "blueprint_mail_port"}, - {"@": "blueprint_mail_server"}, - {"@": "blueprint_mail_user"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/neighbor-properties-anonymous.mjson b/core/model/descriptors/neighbor-properties-anonymous.mjson deleted file mode 100644 index 5faeac789b..0000000000 --- a/core/model/descriptors/neighbor-properties-anonymous.mjson +++ /dev/null @@ -1,8 +0,0 @@ -{ - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "NeighborPropertiesAnonymous" - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/neighbor.mjson b/core/model/descriptors/neighbor.mjson deleted file mode 100644 index e25a4e1453..0000000000 --- a/core/model/descriptors/neighbor.mjson +++ /dev/null @@ -1,83 +0,0 @@ -{ - "blueprint_neighbor_address": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "address", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_neighbor_description": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "description", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_neighbor_hostname": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "hostname", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_neighbor_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_neighbor_online": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "online", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_neighbor_properties": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "properties", - "blueprint": {"@": "root"}, - "valueType": "object" - } - }, - "blueprint_neighbor_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_neighbor_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "NeighbodType" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "Neighbor", - "propertyBlueprints": [ - {"@": "blueprint_neighbor_address"}, - {"@": "blueprint_neighbor_description"}, - {"@": "blueprint_neighbor_hostname"}, - {"@": "blueprint_neighbor_id"}, - {"@": "blueprint_neighbor_online"}, - {"@": "blueprint_neighbor_properties"}, - {"@": "blueprint_neighbor_source"}, - {"@": "blueprint_neighbor_type"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/network-config-dhcp-anonymous.mjson b/core/model/descriptors/network-config-dhcp-anonymous.mjson deleted file mode 100644 index 539422e1fc..0000000000 --- a/core/model/descriptors/network-config-dhcp-anonymous.mjson +++ /dev/null @@ -1,28 +0,0 @@ -{ - "blueprint_networkconfigdhcpanonymous_assign_dns": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "assign_dns", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_networkconfigdhcpanonymous_assign_gateway": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "assign_gateway", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "NetworkConfigDhcpAnonymous", - "propertyBlueprints": [ - {"@": "blueprint_networkconfigdhcpanonymous_assign_dns"}, - {"@": "blueprint_networkconfigdhcpanonymous_assign_gateway"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/network-config-dns-anonymous.mjson b/core/model/descriptors/network-config-dns-anonymous.mjson deleted file mode 100644 index 56b9fa03fe..0000000000 --- a/core/model/descriptors/network-config-dns-anonymous.mjson +++ /dev/null @@ -1,29 +0,0 @@ -{ - "blueprint_networkconfigdnsanonymous_addresses": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "addresses", - "blueprint": {"@": "root"}, - "valueType": "array", - "valueObjectPrototypeName": "IpAddress" - } - }, - "blueprint_networkconfigdnsanonymous_search": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "search", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "NetworkConfigDnsAnonymous", - "propertyBlueprints": [ - {"@": "blueprint_networkconfigdnsanonymous_addresses"}, - {"@": "blueprint_networkconfigdnsanonymous_search"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/network-config-gateway-anonymous.mjson b/core/model/descriptors/network-config-gateway-anonymous.mjson deleted file mode 100644 index a606e3887c..0000000000 --- a/core/model/descriptors/network-config-gateway-anonymous.mjson +++ /dev/null @@ -1,30 +0,0 @@ -{ - "blueprint_networkconfiggatewayanonymous_ipv4": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "ipv4", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "Ipv4Address" - } - }, - "blueprint_networkconfiggatewayanonymous_ipv6": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "ipv6", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "Ipv6Address" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "NetworkConfigGatewayAnonymous", - "propertyBlueprints": [ - {"@": "blueprint_networkconfiggatewayanonymous_ipv4"}, - {"@": "blueprint_networkconfiggatewayanonymous_ipv6"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/network-config-netwait-anonymous.mjson b/core/model/descriptors/network-config-netwait-anonymous.mjson deleted file mode 100644 index 23ce1057ae..0000000000 --- a/core/model/descriptors/network-config-netwait-anonymous.mjson +++ /dev/null @@ -1,29 +0,0 @@ -{ - "blueprint_networkconfignetwaitanonymous_addresses": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "addresses", - "blueprint": {"@": "root"}, - "valueType": "array", - "valueObjectPrototypeName": "IpAddress" - } - }, - "blueprint_networkconfignetwaitanonymous_enabled": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "enabled", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "NetworkConfigNetwaitAnonymous", - "propertyBlueprints": [ - {"@": "blueprint_networkconfignetwaitanonymous_addresses"}, - {"@": "blueprint_networkconfignetwaitanonymous_enabled"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/network-config.mjson b/core/model/descriptors/network-config.mjson deleted file mode 100644 index a0b4e87afb..0000000000 --- a/core/model/descriptors/network-config.mjson +++ /dev/null @@ -1,64 +0,0 @@ -{ - "blueprint_networkconfig_autoconfigure": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "autoconfigure", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_networkconfig_dhcp": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "dhcp", - "blueprint": {"@": "root"}, - "valueType": "object" - } - }, - "blueprint_networkconfig_dns": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "dns", - "blueprint": {"@": "root"}, - "valueType": "object" - } - }, - "blueprint_networkconfig_gateway": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "gateway", - "blueprint": {"@": "root"}, - "valueType": "object" - } - }, - "blueprint_networkconfig_http_proxy": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "http_proxy", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_networkconfig_netwait": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "netwait", - "blueprint": {"@": "root"}, - "valueType": "object" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "NetworkConfig", - "propertyBlueprints": [ - {"@": "blueprint_networkconfig_autoconfigure"}, - {"@": "blueprint_networkconfig_dhcp"}, - {"@": "blueprint_networkconfig_dns"}, - {"@": "blueprint_networkconfig_gateway"}, - {"@": "blueprint_networkconfig_http_proxy"}, - {"@": "blueprint_networkconfig_netwait"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/network-device.mjson b/core/model/descriptors/network-device.mjson deleted file mode 100644 index b05cd3a0ba..0000000000 --- a/core/model/descriptors/network-device.mjson +++ /dev/null @@ -1,28 +0,0 @@ -{ - "blueprint_networkdevice_description": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "description", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_networkdevice_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "NetworkDevice", - "propertyBlueprints": [ - {"@": "blueprint_networkdevice_description"}, - {"@": "blueprint_networkdevice_name"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/network-host.mjson b/core/model/descriptors/network-host.mjson deleted file mode 100644 index fcb51cfadf..0000000000 --- a/core/model/descriptors/network-host.mjson +++ /dev/null @@ -1,29 +0,0 @@ -{ - "blueprint_networkhost_addresses": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "addresses", - "blueprint": {"@": "root"}, - "valueType": "array", - "valueObjectPrototypeName": "IpAddress" - } - }, - "blueprint_networkhost_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "NetworkHost", - "propertyBlueprints": [ - {"@": "blueprint_networkhost_addresses"}, - {"@": "blueprint_networkhost_id"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/network-interface-alias.mjson b/core/model/descriptors/network-interface-alias.mjson deleted file mode 100644 index df531ef57b..0000000000 --- a/core/model/descriptors/network-interface-alias.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "blueprint_networkinterfacealias_address": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "address", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "IpAddress" - } - }, - "blueprint_networkinterfacealias_broadcast": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "broadcast", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "Ipv4Address" - } - }, - "blueprint_networkinterfacealias_netmask": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "netmask", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_networkinterfacealias_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "NetworkInterfaceAliasType" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "NetworkInterfaceAlias", - "propertyBlueprints": [ - {"@": "blueprint_networkinterfacealias_address"}, - {"@": "blueprint_networkinterfacealias_broadcast"}, - {"@": "blueprint_networkinterfacealias_netmask"}, - {"@": "blueprint_networkinterfacealias_type"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/network-interface-bridge-properties.mjson b/core/model/descriptors/network-interface-bridge-properties.mjson deleted file mode 100644 index 46131a4654..0000000000 --- a/core/model/descriptors/network-interface-bridge-properties.mjson +++ /dev/null @@ -1,19 +0,0 @@ -{ - "blueprint_networkinterfacebridgeproperties_members": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "members", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "NetworkInterfaceBridgeProperties", - "propertyBlueprints": [ - {"@": "blueprint_networkinterfacebridgeproperties_members"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/network-interface-capabilities-anonymous.mjson b/core/model/descriptors/network-interface-capabilities-anonymous.mjson deleted file mode 100644 index f8b4487a89..0000000000 --- a/core/model/descriptors/network-interface-capabilities-anonymous.mjson +++ /dev/null @@ -1,30 +0,0 @@ -{ - "blueprint_networkinterfacecapabilitiesanonymous_add": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "add", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "NetworkInterfaceCapabilities" - } - }, - "blueprint_networkinterfacecapabilitiesanonymous_del": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "del", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "NetworkInterfaceCapabilities" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "NetworkInterfaceCapabilitiesAnonymous", - "propertyBlueprints": [ - {"@": "blueprint_networkinterfacecapabilitiesanonymous_add"}, - {"@": "blueprint_networkinterfacecapabilitiesanonymous_del"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/network-interface-lagg-properties.mjson b/core/model/descriptors/network-interface-lagg-properties.mjson deleted file mode 100644 index db9564b737..0000000000 --- a/core/model/descriptors/network-interface-lagg-properties.mjson +++ /dev/null @@ -1,29 +0,0 @@ -{ - "blueprint_networkinterfacelaggproperties_ports": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "ports", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_networkinterfacelaggproperties_protocol": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "protocol", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "NetworkAggregationProtocols" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "NetworkInterfaceLaggProperties", - "propertyBlueprints": [ - {"@": "blueprint_networkinterfacelaggproperties_ports"}, - {"@": "blueprint_networkinterfacelaggproperties_protocol"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/network-interface-status-dhcp-anonymous.mjson b/core/model/descriptors/network-interface-status-dhcp-anonymous.mjson deleted file mode 100644 index 087b33ad15..0000000000 --- a/core/model/descriptors/network-interface-status-dhcp-anonymous.mjson +++ /dev/null @@ -1,56 +0,0 @@ -{ - "blueprint_networkinterfacestatusdhcpanonymous_lease_ends_at": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "lease_ends_at", - "blueprint": {"@": "root"}, - "valueType": "datetime" - } - }, - "blueprint_networkinterfacestatusdhcpanonymous_lease_starts_at": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "lease_starts_at", - "blueprint": {"@": "root"}, - "valueType": "datetime" - } - }, - "blueprint_networkinterfacestatusdhcpanonymous_server_address": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "server_address", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_networkinterfacestatusdhcpanonymous_server_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "server_name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_networkinterfacestatusdhcpanonymous_state": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "state", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "NetworkInterfaceDhcpState" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "NetworkInterfaceStatusDhcpAnonymous", - "propertyBlueprints": [ - {"@": "blueprint_networkinterfacestatusdhcpanonymous_lease_ends_at"}, - {"@": "blueprint_networkinterfacestatusdhcpanonymous_lease_starts_at"}, - {"@": "blueprint_networkinterfacestatusdhcpanonymous_server_address"}, - {"@": "blueprint_networkinterfacestatusdhcpanonymous_server_name"}, - {"@": "blueprint_networkinterfacestatusdhcpanonymous_state"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/network-interface-status.mjson b/core/model/descriptors/network-interface-status.mjson deleted file mode 100644 index 7795e60198..0000000000 --- a/core/model/descriptors/network-interface-status.mjson +++ /dev/null @@ -1,187 +0,0 @@ -{ - "blueprint_networkinterfacestatus_active_media_subtype": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "active_media_subtype", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_networkinterfacestatus_active_media_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "active_media_type", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_networkinterfacestatus_aliases": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "aliases", - "blueprint": {"@": "root"}, - "valueType": "array", - "valueObjectPrototypeName": "NetworkInterfaceAlias" - } - }, - "blueprint_networkinterfacestatus_capabilities": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "capabilities", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "NetworkInterfaceCapabilities" - } - }, - "blueprint_networkinterfacestatus_cloned": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "cloned", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_networkinterfacestatus_dhcp": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "dhcp", - "blueprint": {"@": "root"}, - "valueType": "object" - } - }, - "blueprint_networkinterfacestatus_flags": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "flags", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "NetworkInterfaceFlags" - } - }, - "blueprint_networkinterfacestatus_link_address": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "link_address", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_networkinterfacestatus_link_state": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "link_state", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "NetworkInterfaceStatusLinkstate" - } - }, - "blueprint_networkinterfacestatus_media_options": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "media_options", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "NetworkInterfaceMediaopts" - } - }, - "blueprint_networkinterfacestatus_media_subtype": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "media_subtype", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_networkinterfacestatus_media_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "media_type", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_networkinterfacestatus_members": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "members", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_networkinterfacestatus_mtu": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "mtu", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_networkinterfacestatus_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_networkinterfacestatus_nd6_flags": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "nd6_flags", - "blueprint": {"@": "root"}, - "valueType": "array", - "valueObjectPrototypeName": "NetworkInterfaceNd6Flag" - } - }, - "blueprint_networkinterfacestatus_parent": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parent", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_networkinterfacestatus_ports": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "ports", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_networkinterfacestatus_tag": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "tag", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "NetworkInterfaceStatus", - "propertyBlueprints": [ - {"@": "blueprint_networkinterfacestatus_active_media_subtype"}, - {"@": "blueprint_networkinterfacestatus_active_media_type"}, - {"@": "blueprint_networkinterfacestatus_aliases"}, - {"@": "blueprint_networkinterfacestatus_capabilities"}, - {"@": "blueprint_networkinterfacestatus_cloned"}, - {"@": "blueprint_networkinterfacestatus_dhcp"}, - {"@": "blueprint_networkinterfacestatus_flags"}, - {"@": "blueprint_networkinterfacestatus_link_address"}, - {"@": "blueprint_networkinterfacestatus_link_state"}, - {"@": "blueprint_networkinterfacestatus_media_options"}, - {"@": "blueprint_networkinterfacestatus_media_subtype"}, - {"@": "blueprint_networkinterfacestatus_media_type"}, - {"@": "blueprint_networkinterfacestatus_members"}, - {"@": "blueprint_networkinterfacestatus_mtu"}, - {"@": "blueprint_networkinterfacestatus_name"}, - {"@": "blueprint_networkinterfacestatus_nd6_flags"}, - {"@": "blueprint_networkinterfacestatus_parent"}, - {"@": "blueprint_networkinterfacestatus_ports"}, - {"@": "blueprint_networkinterfacestatus_tag"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/network-interface-vlan-properties.mjson b/core/model/descriptors/network-interface-vlan-properties.mjson deleted file mode 100644 index 445e4cd357..0000000000 --- a/core/model/descriptors/network-interface-vlan-properties.mjson +++ /dev/null @@ -1,28 +0,0 @@ -{ - "blueprint_networkinterfacevlanproperties_parent": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parent", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_networkinterfacevlanproperties_tag": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "tag", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "NetworkInterfaceVlanProperties", - "propertyBlueprints": [ - {"@": "blueprint_networkinterfacevlanproperties_parent"}, - {"@": "blueprint_networkinterfacevlanproperties_tag"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/network-interface.mjson b/core/model/descriptors/network-interface.mjson deleted file mode 100644 index fe4756199e..0000000000 --- a/core/model/descriptors/network-interface.mjson +++ /dev/null @@ -1,179 +0,0 @@ -{ - "blueprint_networkinterface_aliases": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "aliases", - "blueprint": {"@": "root"}, - "valueType": "array", - "valueObjectPrototypeName": "NetworkInterfaceAlias" - } - }, - "blueprint_networkinterface_bridge": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "bridge", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "NetworkInterfaceBridgeProperties" - } - }, - "blueprint_networkinterface_capabilities": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "capabilities", - "blueprint": {"@": "root"}, - "valueType": "object" - } - }, - "blueprint_networkinterface_created_at": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "created_at", - "blueprint": {"@": "root"}, - "valueType": "datetime" - } - }, - "blueprint_networkinterface_dhcp": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "dhcp", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_networkinterface_enabled": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "enabled", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_networkinterface_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_networkinterface_lagg": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "lagg", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "NetworkInterfaceLaggProperties" - } - }, - "blueprint_networkinterface_media": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "media", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_networkinterface_mediaopts": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "mediaopts", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "NetworkInterfaceMediaopts" - } - }, - "blueprint_networkinterface_mtu": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "mtu", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_networkinterface_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_networkinterface_noipv6": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "noipv6", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_networkinterface_rtadv": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rtadv", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_networkinterface_status": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "status", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "NetworkInterfaceStatus" - } - }, - "blueprint_networkinterface_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "NetworkInterfaceType" - } - }, - "blueprint_networkinterface_updated_at": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "updated_at", - "blueprint": {"@": "root"}, - "valueType": "datetime" - } - }, - "blueprint_networkinterface_vlan": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "vlan", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "NetworkInterfaceVlanProperties" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "NetworkInterface", - "propertyBlueprints": [ - {"@": "blueprint_networkinterface_aliases"}, - {"@": "blueprint_networkinterface_bridge"}, - {"@": "blueprint_networkinterface_capabilities"}, - {"@": "blueprint_networkinterface_created_at"}, - {"@": "blueprint_networkinterface_dhcp"}, - {"@": "blueprint_networkinterface_enabled"}, - {"@": "blueprint_networkinterface_id"}, - {"@": "blueprint_networkinterface_lagg"}, - {"@": "blueprint_networkinterface_media"}, - {"@": "blueprint_networkinterface_mediaopts"}, - {"@": "blueprint_networkinterface_mtu"}, - {"@": "blueprint_networkinterface_name"}, - {"@": "blueprint_networkinterface_noipv6"}, - {"@": "blueprint_networkinterface_rtadv"}, - {"@": "blueprint_networkinterface_status"}, - {"@": "blueprint_networkinterface_type"}, - {"@": "blueprint_networkinterface_updated_at"}, - {"@": "blueprint_networkinterface_vlan"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/network-route.mjson b/core/model/descriptors/network-route.mjson deleted file mode 100644 index b4d79b0505..0000000000 --- a/core/model/descriptors/network-route.mjson +++ /dev/null @@ -1,58 +0,0 @@ -{ - "blueprint_networkroute_gateway": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "gateway", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "IpAddress" - } - }, - "blueprint_networkroute_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_networkroute_netmask": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "netmask", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_networkroute_network": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "network", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "IpAddress" - } - }, - "blueprint_networkroute_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "NetworkRouteType" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "NetworkRoute", - "propertyBlueprints": [ - {"@": "blueprint_networkroute_gateway"}, - {"@": "blueprint_networkroute_id"}, - {"@": "blueprint_networkroute_netmask"}, - {"@": "blueprint_networkroute_network"}, - {"@": "blueprint_networkroute_type"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/network-status-dns-anonymous.mjson b/core/model/descriptors/network-status-dns-anonymous.mjson deleted file mode 100644 index 5e4202b43a..0000000000 --- a/core/model/descriptors/network-status-dns-anonymous.mjson +++ /dev/null @@ -1,29 +0,0 @@ -{ - "blueprint_networkstatusdnsanonymous_addresses": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "addresses", - "blueprint": {"@": "root"}, - "valueType": "array", - "valueObjectPrototypeName": "IpAddress" - } - }, - "blueprint_networkstatusdnsanonymous_search": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "search", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "NetworkStatusDnsAnonymous", - "propertyBlueprints": [ - {"@": "blueprint_networkstatusdnsanonymous_addresses"}, - {"@": "blueprint_networkstatusdnsanonymous_search"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/network-status-gateway-anonymous.mjson b/core/model/descriptors/network-status-gateway-anonymous.mjson deleted file mode 100644 index 9660c97325..0000000000 --- a/core/model/descriptors/network-status-gateway-anonymous.mjson +++ /dev/null @@ -1,30 +0,0 @@ -{ - "blueprint_networkstatusgatewayanonymous_ipv4": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "ipv4", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "Ipv4Address" - } - }, - "blueprint_networkstatusgatewayanonymous_ipv6": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "ipv6", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "Ipv6Address" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "NetworkStatusGatewayAnonymous", - "propertyBlueprints": [ - {"@": "blueprint_networkstatusgatewayanonymous_ipv4"}, - {"@": "blueprint_networkstatusgatewayanonymous_ipv6"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/network-status.mjson b/core/model/descriptors/network-status.mjson deleted file mode 100644 index 614b1f404a..0000000000 --- a/core/model/descriptors/network-status.mjson +++ /dev/null @@ -1,28 +0,0 @@ -{ - "blueprint_networkstatus_dns": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "dns", - "blueprint": {"@": "root"}, - "valueType": "object" - } - }, - "blueprint_networkstatus_gateway": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "gateway", - "blueprint": {"@": "root"}, - "valueType": "object" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "NetworkStatus", - "propertyBlueprints": [ - {"@": "blueprint_networkstatus_dns"}, - {"@": "blueprint_networkstatus_gateway"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/nis-directory-params.mjson b/core/model/descriptors/nis-directory-params.mjson deleted file mode 100644 index 289ae2e847..0000000000 --- a/core/model/descriptors/nis-directory-params.mjson +++ /dev/null @@ -1,39 +0,0 @@ -{ - "propertyblueprint": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "%type", - "blueprint": {"@": "root"}, - "enumValues": [ - "nis-directory-params" - ] - } - }, - "blueprint_nisdirectoryparams_domain": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "domain", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_nisdirectoryparams_server": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "server", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "NisDirectoryParams", - "propertyBlueprints": [ - {"@": "propertyblueprint"}, - {"@": "blueprint_nisdirectoryparams_domain"}, - {"@": "blueprint_nisdirectoryparams_server"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/ntp-server.mjson b/core/model/descriptors/ntp-server.mjson deleted file mode 100644 index 714b214d40..0000000000 --- a/core/model/descriptors/ntp-server.mjson +++ /dev/null @@ -1,82 +0,0 @@ -{ - "blueprint_ntpserver_address": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "address", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_ntpserver_burst": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "burst", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_ntpserver_iburst": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "iburst", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_ntpserver_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_ntpserver_maxpoll": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "maxpoll", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_ntpserver_minpoll": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "minpoll", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_ntpserver_pool": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "pool", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_ntpserver_prefer": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "prefer", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "NtpServer", - "propertyBlueprints": [ - {"@": "blueprint_ntpserver_address"}, - {"@": "blueprint_ntpserver_burst"}, - {"@": "blueprint_ntpserver_iburst"}, - {"@": "blueprint_ntpserver_id"}, - {"@": "blueprint_ntpserver_maxpoll"}, - {"@": "blueprint_ntpserver_minpoll"}, - {"@": "blueprint_ntpserver_pool"}, - {"@": "blueprint_ntpserver_prefer"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/open-file.mjson b/core/model/descriptors/open-file.mjson deleted file mode 100644 index cd7b6f46bd..0000000000 --- a/core/model/descriptors/open-file.mjson +++ /dev/null @@ -1,37 +0,0 @@ -{ - "blueprint_openfile_path": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "path", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_openfile_pid": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "pid", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_openfile_process_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "process_name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "OpenFile", - "propertyBlueprints": [ - {"@": "blueprint_openfile_path"}, - {"@": "blueprint_openfile_pid"}, - {"@": "blueprint_openfile_process_name"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/peer-status.mjson b/core/model/descriptors/peer-status.mjson deleted file mode 100644 index 3de72c6251..0000000000 --- a/core/model/descriptors/peer-status.mjson +++ /dev/null @@ -1,36 +0,0 @@ -{ - "blueprint_peerstatus_rtt": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rtt", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "number" - } - }, - "blueprint_peerstatus_state": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "state", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String", - "enumValues": [ - "ONLINE", - "OFFLINE", - "UNKNOWN", - "NOT_SUPPORTED" - ] - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "PeerStatus", - "propertyBlueprints": [ - {"@": "blueprint_peerstatus_rtt"}, - {"@": "blueprint_peerstatus_state"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/peer.mjson b/core/model/descriptors/peer.mjson deleted file mode 100644 index 9029efb1c8..0000000000 --- a/core/model/descriptors/peer.mjson +++ /dev/null @@ -1,66 +0,0 @@ -{ - "blueprint_peer_credentials": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "credentials", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "PeerCredentials" - } - }, - "blueprint_peer_health_check_interval": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "health_check_interval", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_peer_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_peer_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_peer_status": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "status", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "PeerStatus" - } - }, - "blueprint_peer_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "Peer", - "propertyBlueprints": [ - {"@": "blueprint_peer_credentials"}, - {"@": "blueprint_peer_health_check_interval"}, - {"@": "blueprint_peer_id"}, - {"@": "blueprint_peer_name"}, - {"@": "blueprint_peer_status"}, - {"@": "blueprint_peer_type"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/permissions.mjson b/core/model/descriptors/permissions.mjson deleted file mode 100644 index 10cb93d5ae..0000000000 --- a/core/model/descriptors/permissions.mjson +++ /dev/null @@ -1,47 +0,0 @@ -{ - "blueprint_permissions_acl": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "acl", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_permissions_group": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "group", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_permissions_modes": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "modes", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "UnixPermissions" - } - }, - "blueprint_permissions_user": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "user", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "Permissions", - "propertyBlueprints": [ - {"@": "blueprint_permissions_acl"}, - {"@": "blueprint_permissions_group"}, - {"@": "blueprint_permissions_modes"}, - {"@": "blueprint_permissions_user"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/power-changed.mjson b/core/model/descriptors/power-changed.mjson deleted file mode 100644 index 150928b2a0..0000000000 --- a/core/model/descriptors/power-changed.mjson +++ /dev/null @@ -1,20 +0,0 @@ -{ - "blueprint_powerchanged_operation": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "operation", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "PowerChangedOperation" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "PowerChanged", - "propertyBlueprints": [ - {"@": "blueprint_powerchanged_operation"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/remote-debug-status.mjson b/core/model/descriptors/remote-debug-status.mjson deleted file mode 100644 index c6b8c5c5c5..0000000000 --- a/core/model/descriptors/remote-debug-status.mjson +++ /dev/null @@ -1,61 +0,0 @@ -{ - "blueprint_remotedebugstatus_connected_at": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "connected_at", - "blueprint": {"@": "root"}, - "valueType": "datetime" - } - }, - "blueprint_remotedebugstatus_connection_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "connection_id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_remotedebugstatus_jobs": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "jobs", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_remotedebugstatus_server": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "server", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_remotedebugstatus_state": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "state", - "blueprint": {"@": "root"}, - "valueType": "String", - "enumValues": [ - "OFFLINE", - "CONNECTING", - "CONNECTED", - "LOST" - ] - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "RemoteDebugStatus", - "propertyBlueprints": [ - {"@": "blueprint_remotedebugstatus_connected_at"}, - {"@": "blueprint_remotedebugstatus_connection_id"}, - {"@": "blueprint_remotedebugstatus_jobs"}, - {"@": "blueprint_remotedebugstatus_server"}, - {"@": "blueprint_remotedebugstatus_state"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/replication-options.mjson b/core/model/descriptors/replication-options.mjson deleted file mode 100644 index a836985539..0000000000 --- a/core/model/descriptors/replication-options.mjson +++ /dev/null @@ -1,82 +0,0 @@ -{ - "blueprint_replicationoptions_followdelete": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "followdelete", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_replicationoptions_force": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "force", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_replicationoptions_lifetime": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "lifetime", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_replicationoptions_nomount": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "nomount", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_replicationoptions_peer": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "peer", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_replicationoptions_recursive": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "recursive", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_replicationoptions_remote": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "remote", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_replicationoptions_remote_dataset": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "remote_dataset", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ReplicationOptions", - "propertyBlueprints": [ - {"@": "blueprint_replicationoptions_followdelete"}, - {"@": "blueprint_replicationoptions_force"}, - {"@": "blueprint_replicationoptions_lifetime"}, - {"@": "blueprint_replicationoptions_nomount"}, - {"@": "blueprint_replicationoptions_peer"}, - {"@": "blueprint_replicationoptions_recursive"}, - {"@": "blueprint_replicationoptions_remote"}, - {"@": "blueprint_replicationoptions_remote_dataset"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/replication-status.mjson b/core/model/descriptors/replication-status.mjson deleted file mode 100644 index a9fffc3c76..0000000000 --- a/core/model/descriptors/replication-status.mjson +++ /dev/null @@ -1,46 +0,0 @@ -{ - "blueprint_replicationstatus_message": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "message", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_replicationstatus_size": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "size", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_replicationstatus_speed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "speed", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_replicationstatus_status": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "status", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ReplicationStatus", - "propertyBlueprints": [ - {"@": "blueprint_replicationstatus_message"}, - {"@": "blueprint_replicationstatus_size"}, - {"@": "blueprint_replicationstatus_speed"}, - {"@": "blueprint_replicationstatus_status"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/replication-transport.mjson b/core/model/descriptors/replication-transport.mjson deleted file mode 100644 index bd98d846e6..0000000000 --- a/core/model/descriptors/replication-transport.mjson +++ /dev/null @@ -1,90 +0,0 @@ -{ - "blueprint_replicationtransport_auth_token": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "auth_token", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_replicationtransport_auth_token_size": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "auth_token_size", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_replicationtransport_buffer_size": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "buffer_size", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_replicationtransport_client_address": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "client_address", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_replicationtransport_estimated_size": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "estimated_size", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_replicationtransport_receive_properties": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "receive_properties", - "blueprint": {"@": "root"} - } - }, - "blueprint_replicationtransport_server_address": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "server_address", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_replicationtransport_server_port": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "server_port", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_replicationtransport_transport_plugins": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "transport_plugins", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ReplicationTransport", - "propertyBlueprints": [ - {"@": "blueprint_replicationtransport_auth_token"}, - {"@": "blueprint_replicationtransport_auth_token_size"}, - {"@": "blueprint_replicationtransport_buffer_size"}, - {"@": "blueprint_replicationtransport_client_address"}, - {"@": "blueprint_replicationtransport_estimated_size"}, - {"@": "blueprint_replicationtransport_receive_properties"}, - {"@": "blueprint_replicationtransport_server_address"}, - {"@": "blueprint_replicationtransport_server_port"}, - {"@": "blueprint_replicationtransport_transport_plugins"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/replication.mjson b/core/model/descriptors/replication.mjson deleted file mode 100644 index 86fe00d587..0000000000 --- a/core/model/descriptors/replication.mjson +++ /dev/null @@ -1,147 +0,0 @@ -{ - "blueprint_replication_auto_recover": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "auto_recover", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_replication_bidirectional": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "bidirectional", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_replication_datasets": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "datasets", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_replication_followdelete": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "followdelete", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_replication_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_replication_initial_master": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "initial_master", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_replication_master": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "master", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_replication_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_replication_recursive": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "recursive", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_replication_replicate_services": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "replicate_services", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_replication_slave": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "slave", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_replication_snapshot_lifetime": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "snapshot_lifetime", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_replication_status": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "status", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "ReplicationStatus" - } - }, - "blueprint_replication_transport_options": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "transport_options", - "blueprint": {"@": "root"}, - "valueType": "array", - "valueObjectPrototypeName": "ReplicationTransportOption" - } - }, - "blueprint_replication_update_date": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "update_date", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "Replication", - "propertyBlueprints": [ - {"@": "blueprint_replication_auto_recover"}, - {"@": "blueprint_replication_bidirectional"}, - {"@": "blueprint_replication_datasets"}, - {"@": "blueprint_replication_followdelete"}, - {"@": "blueprint_replication_id"}, - {"@": "blueprint_replication_initial_master"}, - {"@": "blueprint_replication_master"}, - {"@": "blueprint_replication_name"}, - {"@": "blueprint_replication_recursive"}, - {"@": "blueprint_replication_replicate_services"}, - {"@": "blueprint_replication_slave"}, - {"@": "blueprint_replication_snapshot_lifetime"}, - {"@": "blueprint_replication_status"}, - {"@": "blueprint_replication_transport_options"}, - {"@": "blueprint_replication_update_date"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/rsync-copy-rsync-properties-anonymous.mjson b/core/model/descriptors/rsync-copy-rsync-properties-anonymous.mjson deleted file mode 100644 index 6227dfd80e..0000000000 --- a/core/model/descriptors/rsync-copy-rsync-properties-anonymous.mjson +++ /dev/null @@ -1,91 +0,0 @@ -{ - "blueprint_rsynccopyrsyncpropertiesanonymous_archive": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "archive", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_rsynccopyrsyncpropertiesanonymous_compress": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "compress", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_rsynccopyrsyncpropertiesanonymous_delay_updates": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "delay_updates", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_rsynccopyrsyncpropertiesanonymous_delete": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "delete", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_rsynccopyrsyncpropertiesanonymous_extra": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "extra", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_rsynccopyrsyncpropertiesanonymous_preserve_attributes": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "preserve_attributes", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_rsynccopyrsyncpropertiesanonymous_preserve_permissions": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "preserve_permissions", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_rsynccopyrsyncpropertiesanonymous_recursive": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "recursive", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_rsynccopyrsyncpropertiesanonymous_times": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "times", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "RsyncCopyRsyncPropertiesAnonymous", - "propertyBlueprints": [ - {"@": "blueprint_rsynccopyrsyncpropertiesanonymous_archive"}, - {"@": "blueprint_rsynccopyrsyncpropertiesanonymous_compress"}, - {"@": "blueprint_rsynccopyrsyncpropertiesanonymous_delay_updates"}, - {"@": "blueprint_rsynccopyrsyncpropertiesanonymous_delete"}, - {"@": "blueprint_rsynccopyrsyncpropertiesanonymous_extra"}, - {"@": "blueprint_rsynccopyrsyncpropertiesanonymous_preserve_attributes"}, - {"@": "blueprint_rsynccopyrsyncpropertiesanonymous_preserve_permissions"}, - {"@": "blueprint_rsynccopyrsyncpropertiesanonymous_recursive"}, - {"@": "blueprint_rsynccopyrsyncpropertiesanonymous_times"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/rsync-copy.mjson b/core/model/descriptors/rsync-copy.mjson deleted file mode 100644 index aabc63c41b..0000000000 --- a/core/model/descriptors/rsync-copy.mjson +++ /dev/null @@ -1,121 +0,0 @@ -{ - "blueprint_rsynccopy_path": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "path", - "blueprint": {"@": "root"}, - "mandatory": true, - "valueType": "String" - } - }, - "blueprint_rsynccopy_quiet": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "quiet", - "blueprint": {"@": "root"}, - "mandatory": true, - "valueType": "boolean" - } - }, - "blueprint_rsynccopy_remote_host": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "remote_host", - "blueprint": {"@": "root"}, - "mandatory": true, - "valueType": "String" - } - }, - "blueprint_rsynccopy_remote_module": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "remote_module", - "blueprint": {"@": "root"}, - "mandatory": true, - "valueType": "String" - } - }, - "blueprint_rsynccopy_remote_path": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "remote_path", - "blueprint": {"@": "root"}, - "mandatory": true, - "valueType": "String" - } - }, - "blueprint_rsynccopy_remote_ssh_port": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "remote_ssh_port", - "blueprint": {"@": "root"}, - "mandatory": true, - "valueType": "number" - } - }, - "blueprint_rsynccopy_remote_user": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "remote_user", - "blueprint": {"@": "root"}, - "mandatory": true, - "valueType": "String" - } - }, - "blueprint_rsynccopy_rsync_direction": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rsync_direction", - "blueprint": {"@": "root"}, - "mandatory": true, - "valueType": "object", - "valueObjectPrototypeName": "RsyncCopyRsyncdirection" - } - }, - "blueprint_rsynccopy_rsync_mode": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rsync_mode", - "blueprint": {"@": "root"}, - "mandatory": true, - "valueType": "object", - "valueObjectPrototypeName": "RsyncCopyRsyncmode" - } - }, - "blueprint_rsynccopy_rsync_properties": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rsync_properties", - "blueprint": {"@": "root"}, - "mandatory": true, - "valueType": "object" - } - }, - "blueprint_rsynccopy_user": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "user", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "RsyncCopy", - "propertyBlueprints": [ - {"@": "blueprint_rsynccopy_path"}, - {"@": "blueprint_rsynccopy_quiet"}, - {"@": "blueprint_rsynccopy_remote_host"}, - {"@": "blueprint_rsynccopy_remote_module"}, - {"@": "blueprint_rsynccopy_remote_path"}, - {"@": "blueprint_rsynccopy_remote_ssh_port"}, - {"@": "blueprint_rsynccopy_remote_user"}, - {"@": "blueprint_rsynccopy_rsync_direction"}, - {"@": "blueprint_rsynccopy_rsync_mode"}, - {"@": "blueprint_rsynccopy_rsync_properties"}, - {"@": "blueprint_rsynccopy_user"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/rsyncd-module.mjson b/core/model/descriptors/rsyncd-module.mjson deleted file mode 100644 index c8ccfb5f03..0000000000 --- a/core/model/descriptors/rsyncd-module.mjson +++ /dev/null @@ -1,110 +0,0 @@ -{ - "blueprint_rsyncdmodule_auxiliary": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "auxiliary", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_rsyncdmodule_description": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "description", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_rsyncdmodule_group": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "group", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_rsyncdmodule_hosts_allow": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "hosts_allow", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_rsyncdmodule_hosts_deny": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "hosts_deny", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_rsyncdmodule_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_rsyncdmodule_max_connections": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "max_connections", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_rsyncdmodule_mode": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "mode", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "RsyncdModuleMode" - } - }, - "blueprint_rsyncdmodule_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_rsyncdmodule_path": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "path", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_rsyncdmodule_user": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "user", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "RsyncdModule", - "propertyBlueprints": [ - {"@": "blueprint_rsyncdmodule_auxiliary"}, - {"@": "blueprint_rsyncdmodule_description"}, - {"@": "blueprint_rsyncdmodule_group"}, - {"@": "blueprint_rsyncdmodule_hosts_allow"}, - {"@": "blueprint_rsyncdmodule_hosts_deny"}, - {"@": "blueprint_rsyncdmodule_id"}, - {"@": "blueprint_rsyncdmodule_max_connections"}, - {"@": "blueprint_rsyncdmodule_mode"}, - {"@": "blueprint_rsyncdmodule_name"}, - {"@": "blueprint_rsyncdmodule_path"}, - {"@": "blueprint_rsyncdmodule_user"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/rusage.mjson b/core/model/descriptors/rusage.mjson deleted file mode 100644 index c287fd80ea..0000000000 --- a/core/model/descriptors/rusage.mjson +++ /dev/null @@ -1,154 +0,0 @@ -{ - "blueprint_rusage_ru_idrss": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "ru_idrss", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_rusage_ru_inblock": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "ru_inblock", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_rusage_ru_isrss": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "ru_isrss", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_rusage_ru_ixrss": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "ru_ixrss", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_rusage_ru_majflt": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "ru_majflt", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_rusage_ru_maxrss": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "ru_maxrss", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_rusage_ru_minflt": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "ru_minflt", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_rusage_ru_msgrcv": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "ru_msgrcv", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_rusage_ru_msgsnd": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "ru_msgsnd", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_rusage_ru_nivcsw": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "ru_nivcsw", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_rusage_ru_nsignals": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "ru_nsignals", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_rusage_ru_nswap": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "ru_nswap", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_rusage_ru_nvcsw": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "ru_nvcsw", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_rusage_ru_oublock": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "ru_oublock", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_rusage_ru_stime": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "ru_stime", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_rusage_ru_utime": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "ru_utime", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "Rusage", - "propertyBlueprints": [ - {"@": "blueprint_rusage_ru_idrss"}, - {"@": "blueprint_rusage_ru_inblock"}, - {"@": "blueprint_rusage_ru_isrss"}, - {"@": "blueprint_rusage_ru_ixrss"}, - {"@": "blueprint_rusage_ru_majflt"}, - {"@": "blueprint_rusage_ru_maxrss"}, - {"@": "blueprint_rusage_ru_minflt"}, - {"@": "blueprint_rusage_ru_msgrcv"}, - {"@": "blueprint_rusage_ru_msgsnd"}, - {"@": "blueprint_rusage_ru_nivcsw"}, - {"@": "blueprint_rusage_ru_nsignals"}, - {"@": "blueprint_rusage_ru_nswap"}, - {"@": "blueprint_rusage_ru_nvcsw"}, - {"@": "blueprint_rusage_ru_oublock"}, - {"@": "blueprint_rusage_ru_stime"}, - {"@": "blueprint_rusage_ru_utime"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/serial-port-device.mjson b/core/model/descriptors/serial-port-device.mjson deleted file mode 100644 index 6570c23bdc..0000000000 --- a/core/model/descriptors/serial-port-device.mjson +++ /dev/null @@ -1,64 +0,0 @@ -{ - "blueprint_serialportdevice_description": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "description", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_serialportdevice_drivername": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "drivername", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_serialportdevice_location": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "location", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_serialportdevice_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_serialportdevice_size": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "size", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_serialportdevice_start": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "start", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "SerialPortDevice", - "propertyBlueprints": [ - {"@": "blueprint_serialportdevice_description"}, - {"@": "blueprint_serialportdevice_drivername"}, - {"@": "blueprint_serialportdevice_location"}, - {"@": "blueprint_serialportdevice_name"}, - {"@": "blueprint_serialportdevice_size"}, - {"@": "blueprint_serialportdevice_start"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/service-afp.mjson b/core/model/descriptors/service-afp.mjson deleted file mode 100644 index 8f1a6fcec5..0000000000 --- a/core/model/descriptors/service-afp.mjson +++ /dev/null @@ -1,111 +0,0 @@ -{ - "blueprint_serviceafp_auxiliary": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "auxiliary", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_serviceafp_bind_addresses": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "bind_addresses", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_serviceafp_connections_limit": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "connections_limit", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_serviceafp_dbpath": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "dbpath", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_serviceafp_enable": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "enable", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_serviceafp_guest_enable": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "guest_enable", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_serviceafp_guest_user": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "guest_user", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_serviceafp_homedir_enable": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "homedir_enable", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_serviceafp_homedir_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "homedir_name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_serviceafp_homedir_path": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "homedir_path", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_serviceafp_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "enumValues": [ - "service-afp" - ] - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ServiceAfp", - "propertyBlueprints": [ - {"@": "blueprint_serviceafp_auxiliary"}, - {"@": "blueprint_serviceafp_bind_addresses"}, - {"@": "blueprint_serviceafp_connections_limit"}, - {"@": "blueprint_serviceafp_dbpath"}, - {"@": "blueprint_serviceafp_enable"}, - {"@": "blueprint_serviceafp_guest_enable"}, - {"@": "blueprint_serviceafp_guest_user"}, - {"@": "blueprint_serviceafp_homedir_enable"}, - {"@": "blueprint_serviceafp_homedir_name"}, - {"@": "blueprint_serviceafp_homedir_path"}, - {"@": "blueprint_serviceafp_type"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/service-consul.mjson b/core/model/descriptors/service-consul.mjson deleted file mode 100644 index 90e0827436..0000000000 --- a/core/model/descriptors/service-consul.mjson +++ /dev/null @@ -1,102 +0,0 @@ -{ - "blueprint_serviceconsul_bind_address": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "bind_address", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_serviceconsul_datacenter": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "datacenter", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_serviceconsul_enable": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "enable", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_serviceconsul_encryption_key": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "encryption_key", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_serviceconsul_node_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "node_name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_serviceconsul_retry_join": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "retry_join", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_serviceconsul_server": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "server", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_serviceconsul_start_join": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "start_join", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_serviceconsul_start_join_wan": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "start_join_wan", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_serviceconsul_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "enumValues": [ - "service-consul" - ] - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ServiceConsul", - "propertyBlueprints": [ - {"@": "blueprint_serviceconsul_bind_address"}, - {"@": "blueprint_serviceconsul_datacenter"}, - {"@": "blueprint_serviceconsul_enable"}, - {"@": "blueprint_serviceconsul_encryption_key"}, - {"@": "blueprint_serviceconsul_node_name"}, - {"@": "blueprint_serviceconsul_retry_join"}, - {"@": "blueprint_serviceconsul_server"}, - {"@": "blueprint_serviceconsul_start_join"}, - {"@": "blueprint_serviceconsul_start_join_wan"}, - {"@": "blueprint_serviceconsul_type"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/service-dc.mjson b/core/model/descriptors/service-dc.mjson deleted file mode 100644 index 773c03902f..0000000000 --- a/core/model/descriptors/service-dc.mjson +++ /dev/null @@ -1,39 +0,0 @@ -{ - "blueprint_servicedc_enable": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "enable", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_servicedc_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "enumValues": [ - "service-dc" - ] - } - }, - "blueprint_servicedc_volume": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "volume", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ServiceDc", - "propertyBlueprints": [ - {"@": "blueprint_servicedc_enable"}, - {"@": "blueprint_servicedc_type"}, - {"@": "blueprint_servicedc_volume"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/service-dyndns.mjson b/core/model/descriptors/service-dyndns.mjson deleted file mode 100644 index bc76cfa107..0000000000 --- a/core/model/descriptors/service-dyndns.mjson +++ /dev/null @@ -1,103 +0,0 @@ -{ - "blueprint_servicedyndns_auxiliary": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "auxiliary", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_servicedyndns_domains": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "domains", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_servicedyndns_enable": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "enable", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_servicedyndns_force_update_period": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "force_update_period", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_servicedyndns_ipserver": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "ipserver", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_servicedyndns_password": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "password", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_servicedyndns_provider": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "provider", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "ServiceDyndnsProvider" - } - }, - "blueprint_servicedyndns_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "enumValues": [ - "service-dyndns" - ] - } - }, - "blueprint_servicedyndns_update_period": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "update_period", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_servicedyndns_username": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "username", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ServiceDyndns", - "propertyBlueprints": [ - {"@": "blueprint_servicedyndns_auxiliary"}, - {"@": "blueprint_servicedyndns_domains"}, - {"@": "blueprint_servicedyndns_enable"}, - {"@": "blueprint_servicedyndns_force_update_period"}, - {"@": "blueprint_servicedyndns_ipserver"}, - {"@": "blueprint_servicedyndns_password"}, - {"@": "blueprint_servicedyndns_provider"}, - {"@": "blueprint_servicedyndns_type"}, - {"@": "blueprint_servicedyndns_update_period"}, - {"@": "blueprint_servicedyndns_username"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/service-ftp.mjson b/core/model/descriptors/service-ftp.mjson deleted file mode 100644 index cc56b71b27..0000000000 --- a/core/model/descriptors/service-ftp.mjson +++ /dev/null @@ -1,295 +0,0 @@ -{ - "blueprint_serviceftp_anon_down_bandwidth": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "anon_down_bandwidth", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_serviceftp_anon_up_bandwidth": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "anon_up_bandwidth", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_serviceftp_anonymous_path": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "anonymous_path", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_serviceftp_auxiliary": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "auxiliary", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_serviceftp_chroot": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "chroot", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_serviceftp_dirmask": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "dirmask", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "UnixPermissions" - } - }, - "blueprint_serviceftp_display_login": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "display_login", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_serviceftp_enable": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "enable", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_serviceftp_filemask": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "filemask", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "UnixPermissions" - } - }, - "blueprint_serviceftp_fxp": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "fxp", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_serviceftp_ident": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "ident", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_serviceftp_ip_connections": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "ip_connections", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_serviceftp_local_down_bandwidth": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "local_down_bandwidth", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_serviceftp_local_up_bandwidth": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "local_up_bandwidth", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_serviceftp_login_attempt": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "login_attempt", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_serviceftp_masquerade_address": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "masquerade_address", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_serviceftp_max_clients": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "max_clients", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_serviceftp_only_anonymous": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "only_anonymous", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_serviceftp_only_local": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "only_local", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_serviceftp_passive_ports_max": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "passive_ports_max", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_serviceftp_passive_ports_min": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "passive_ports_min", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_serviceftp_port": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "port", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_serviceftp_resume": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "resume", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_serviceftp_reverse_dns": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "reverse_dns", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_serviceftp_root_login": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "root_login", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_serviceftp_timeout": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "timeout", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_serviceftp_tls": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "tls", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_serviceftp_tls_options": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "tls_options", - "blueprint": {"@": "root"}, - "valueType": "array", - "valueObjectPrototypeName": "ServiceFtpTlsoptionsItems" - } - }, - "blueprint_serviceftp_tls_policy": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "tls_policy", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "ServiceFtpTlspolicy" - } - }, - "blueprint_serviceftp_tls_ssl_certificate": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "tls_ssl_certificate", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_serviceftp_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "enumValues": [ - "service-ftp" - ] - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ServiceFtp", - "propertyBlueprints": [ - {"@": "blueprint_serviceftp_anon_down_bandwidth"}, - {"@": "blueprint_serviceftp_anon_up_bandwidth"}, - {"@": "blueprint_serviceftp_anonymous_path"}, - {"@": "blueprint_serviceftp_auxiliary"}, - {"@": "blueprint_serviceftp_chroot"}, - {"@": "blueprint_serviceftp_dirmask"}, - {"@": "blueprint_serviceftp_display_login"}, - {"@": "blueprint_serviceftp_enable"}, - {"@": "blueprint_serviceftp_filemask"}, - {"@": "blueprint_serviceftp_fxp"}, - {"@": "blueprint_serviceftp_ident"}, - {"@": "blueprint_serviceftp_ip_connections"}, - {"@": "blueprint_serviceftp_local_down_bandwidth"}, - {"@": "blueprint_serviceftp_local_up_bandwidth"}, - {"@": "blueprint_serviceftp_login_attempt"}, - {"@": "blueprint_serviceftp_masquerade_address"}, - {"@": "blueprint_serviceftp_max_clients"}, - {"@": "blueprint_serviceftp_only_anonymous"}, - {"@": "blueprint_serviceftp_only_local"}, - {"@": "blueprint_serviceftp_passive_ports_max"}, - {"@": "blueprint_serviceftp_passive_ports_min"}, - {"@": "blueprint_serviceftp_port"}, - {"@": "blueprint_serviceftp_resume"}, - {"@": "blueprint_serviceftp_reverse_dns"}, - {"@": "blueprint_serviceftp_root_login"}, - {"@": "blueprint_serviceftp_timeout"}, - {"@": "blueprint_serviceftp_tls"}, - {"@": "blueprint_serviceftp_tls_options"}, - {"@": "blueprint_serviceftp_tls_policy"}, - {"@": "blueprint_serviceftp_tls_ssl_certificate"}, - {"@": "blueprint_serviceftp_type"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/service-ipfs.mjson b/core/model/descriptors/service-ipfs.mjson deleted file mode 100644 index da78c4b6c8..0000000000 --- a/core/model/descriptors/service-ipfs.mjson +++ /dev/null @@ -1,48 +0,0 @@ -{ - "blueprint_serviceipfs_enable": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "enable", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_serviceipfs_path": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "path", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_serviceipfs_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "enumValues": [ - "service-ipfs" - ] - } - }, - "blueprint_serviceipfs_webui": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "webui", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ServiceIpfs", - "propertyBlueprints": [ - {"@": "blueprint_serviceipfs_enable"}, - {"@": "blueprint_serviceipfs_path"}, - {"@": "blueprint_serviceipfs_type"}, - {"@": "blueprint_serviceipfs_webui"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/service-iscsi.mjson b/core/model/descriptors/service-iscsi.mjson deleted file mode 100644 index 182b52c149..0000000000 --- a/core/model/descriptors/service-iscsi.mjson +++ /dev/null @@ -1,57 +0,0 @@ -{ - "blueprint_serviceiscsi_base_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "base_name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_serviceiscsi_enable": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "enable", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_serviceiscsi_isns_servers": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "isns_servers", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_serviceiscsi_pool_space_threshold": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "pool_space_threshold", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_serviceiscsi_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "enumValues": [ - "service-iscsi" - ] - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ServiceIscsi", - "propertyBlueprints": [ - {"@": "blueprint_serviceiscsi_base_name"}, - {"@": "blueprint_serviceiscsi_enable"}, - {"@": "blueprint_serviceiscsi_isns_servers"}, - {"@": "blueprint_serviceiscsi_pool_space_threshold"}, - {"@": "blueprint_serviceiscsi_type"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/service-lldp.mjson b/core/model/descriptors/service-lldp.mjson deleted file mode 100644 index 5ca11a50a6..0000000000 --- a/core/model/descriptors/service-lldp.mjson +++ /dev/null @@ -1,57 +0,0 @@ -{ - "blueprint_servicelldp_country_code": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "country_code", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_servicelldp_enable": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "enable", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_servicelldp_location": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "location", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_servicelldp_save_description": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "save_description", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_servicelldp_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "enumValues": [ - "service-lldp" - ] - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ServiceLldp", - "propertyBlueprints": [ - {"@": "blueprint_servicelldp_country_code"}, - {"@": "blueprint_servicelldp_enable"}, - {"@": "blueprint_servicelldp_location"}, - {"@": "blueprint_servicelldp_save_description"}, - {"@": "blueprint_servicelldp_type"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/service-nfs.mjson b/core/model/descriptors/service-nfs.mjson deleted file mode 100644 index 0b1c4cc967..0000000000 --- a/core/model/descriptors/service-nfs.mjson +++ /dev/null @@ -1,111 +0,0 @@ -{ - "blueprint_servicenfs_bind_addresses": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "bind_addresses", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_servicenfs_enable": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "enable", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_servicenfs_mountd_port": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "mountd_port", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_servicenfs_nonroot": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "nonroot", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_servicenfs_rpclockd_port": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rpclockd_port", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_servicenfs_rpcstatd_port": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rpcstatd_port", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_servicenfs_servers": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "servers", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_servicenfs_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "enumValues": [ - "service-nfs" - ] - } - }, - "blueprint_servicenfs_udp": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "udp", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_servicenfs_v4": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "v4", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_servicenfs_v4_kerberos": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "v4_kerberos", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ServiceNfs", - "propertyBlueprints": [ - {"@": "blueprint_servicenfs_bind_addresses"}, - {"@": "blueprint_servicenfs_enable"}, - {"@": "blueprint_servicenfs_mountd_port"}, - {"@": "blueprint_servicenfs_nonroot"}, - {"@": "blueprint_servicenfs_rpclockd_port"}, - {"@": "blueprint_servicenfs_rpcstatd_port"}, - {"@": "blueprint_servicenfs_servers"}, - {"@": "blueprint_servicenfs_type"}, - {"@": "blueprint_servicenfs_udp"}, - {"@": "blueprint_servicenfs_v4"}, - {"@": "blueprint_servicenfs_v4_kerberos"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/service-openvpn.mjson b/core/model/descriptors/service-openvpn.mjson deleted file mode 100644 index 4d36344410..0000000000 --- a/core/model/descriptors/service-openvpn.mjson +++ /dev/null @@ -1,304 +0,0 @@ -{ - "blueprint_serviceopenvpn_auxiliary": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "auxiliary", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_serviceopenvpn_ca": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "ca", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_serviceopenvpn_cert": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "cert", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_serviceopenvpn_cipher": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "cipher", - "blueprint": {"@": "root"}, - "valueType": "String", - "enumValues": [ - "BF-CBC", - "AES-128-CBC", - "DES-EDE3-CBC" - ] - } - }, - "blueprint_serviceopenvpn_comp_lzo": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "comp_lzo", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_serviceopenvpn_crl_verify": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "crl_verify", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_serviceopenvpn_dev": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "dev", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_serviceopenvpn_dh": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "dh", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_serviceopenvpn_enable": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "enable", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_serviceopenvpn_group": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "group", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_serviceopenvpn_keepalive_peer_down": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "keepalive_peer_down", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_serviceopenvpn_keepalive_ping_interval": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "keepalive_ping_interval", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_serviceopenvpn_key": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "key", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_serviceopenvpn_max_clients": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "max_clients", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_serviceopenvpn_mode": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "mode", - "blueprint": {"@": "root"}, - "valueType": "String", - "enumValues": [ - "pki", - "psk" - ] - } - }, - "blueprint_serviceopenvpn_persist_key": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "persist_key", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_serviceopenvpn_persist_tun": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "persist_tun", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_serviceopenvpn_port": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "port", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_serviceopenvpn_proto": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "proto", - "blueprint": {"@": "root"}, - "valueType": "String", - "enumValues": [ - "tcp", - "udp" - ] - } - }, - "blueprint_serviceopenvpn_psk_remote_ip": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "psk_remote_ip", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_serviceopenvpn_psk_server_ip": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "psk_server_ip", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_serviceopenvpn_server_bridge": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "server_bridge", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_serviceopenvpn_server_bridge_extended": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "server_bridge_extended", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_serviceopenvpn_server_bridge_ip": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "server_bridge_ip", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_serviceopenvpn_server_bridge_netmask": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "server_bridge_netmask", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_serviceopenvpn_server_bridge_range_begin": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "server_bridge_range_begin", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_serviceopenvpn_server_bridge_range_end": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "server_bridge_range_end", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_serviceopenvpn_tls_auth": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "tls_auth", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_serviceopenvpn_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "enumValues": [ - "service-openvpn" - ] - } - }, - "blueprint_serviceopenvpn_user": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "user", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_serviceopenvpn_verb": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "verb", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ServiceOpenvpn", - "propertyBlueprints": [ - {"@": "blueprint_serviceopenvpn_auxiliary"}, - {"@": "blueprint_serviceopenvpn_ca"}, - {"@": "blueprint_serviceopenvpn_cert"}, - {"@": "blueprint_serviceopenvpn_cipher"}, - {"@": "blueprint_serviceopenvpn_comp_lzo"}, - {"@": "blueprint_serviceopenvpn_crl_verify"}, - {"@": "blueprint_serviceopenvpn_dev"}, - {"@": "blueprint_serviceopenvpn_dh"}, - {"@": "blueprint_serviceopenvpn_enable"}, - {"@": "blueprint_serviceopenvpn_group"}, - {"@": "blueprint_serviceopenvpn_keepalive_peer_down"}, - {"@": "blueprint_serviceopenvpn_keepalive_ping_interval"}, - {"@": "blueprint_serviceopenvpn_key"}, - {"@": "blueprint_serviceopenvpn_max_clients"}, - {"@": "blueprint_serviceopenvpn_mode"}, - {"@": "blueprint_serviceopenvpn_persist_key"}, - {"@": "blueprint_serviceopenvpn_persist_tun"}, - {"@": "blueprint_serviceopenvpn_port"}, - {"@": "blueprint_serviceopenvpn_proto"}, - {"@": "blueprint_serviceopenvpn_psk_remote_ip"}, - {"@": "blueprint_serviceopenvpn_psk_server_ip"}, - {"@": "blueprint_serviceopenvpn_server_bridge"}, - {"@": "blueprint_serviceopenvpn_server_bridge_extended"}, - {"@": "blueprint_serviceopenvpn_server_bridge_ip"}, - {"@": "blueprint_serviceopenvpn_server_bridge_netmask"}, - {"@": "blueprint_serviceopenvpn_server_bridge_range_begin"}, - {"@": "blueprint_serviceopenvpn_server_bridge_range_end"}, - {"@": "blueprint_serviceopenvpn_tls_auth"}, - {"@": "blueprint_serviceopenvpn_type"}, - {"@": "blueprint_serviceopenvpn_user"}, - {"@": "blueprint_serviceopenvpn_verb"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/service-rsyncd.mjson b/core/model/descriptors/service-rsyncd.mjson deleted file mode 100644 index c4e2dbe0bf..0000000000 --- a/core/model/descriptors/service-rsyncd.mjson +++ /dev/null @@ -1,48 +0,0 @@ -{ - "blueprint_servicersyncd_auxiliary": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "auxiliary", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_servicersyncd_enable": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "enable", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_servicersyncd_port": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "port", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_servicersyncd_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "enumValues": [ - "service-rsyncd" - ] - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ServiceRsyncd", - "propertyBlueprints": [ - {"@": "blueprint_servicersyncd_auxiliary"}, - {"@": "blueprint_servicersyncd_enable"}, - {"@": "blueprint_servicersyncd_port"}, - {"@": "blueprint_servicersyncd_type"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/service-simulator.mjson b/core/model/descriptors/service-simulator.mjson deleted file mode 100644 index 67ebc49843..0000000000 --- a/core/model/descriptors/service-simulator.mjson +++ /dev/null @@ -1,30 +0,0 @@ -{ - "blueprint_servicesimulator_enable": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "enable", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_servicesimulator_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "enumValues": [ - "service-simulator" - ] - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ServiceSimulator", - "propertyBlueprints": [ - {"@": "blueprint_servicesimulator_enable"}, - {"@": "blueprint_servicesimulator_type"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/service-smartd.mjson b/core/model/descriptors/service-smartd.mjson deleted file mode 100644 index 4bf90a169d..0000000000 --- a/core/model/descriptors/service-smartd.mjson +++ /dev/null @@ -1,76 +0,0 @@ -{ - "blueprint_servicesmartd_enable": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "enable", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_servicesmartd_interval": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "interval", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_servicesmartd_power_mode": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "power_mode", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "ServiceSmartdPowermode" - } - }, - "blueprint_servicesmartd_temp_critical": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "temp_critical", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_servicesmartd_temp_difference": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "temp_difference", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_servicesmartd_temp_informational": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "temp_informational", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_servicesmartd_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "enumValues": [ - "service-smartd" - ] - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ServiceSmartd", - "propertyBlueprints": [ - {"@": "blueprint_servicesmartd_enable"}, - {"@": "blueprint_servicesmartd_interval"}, - {"@": "blueprint_servicesmartd_power_mode"}, - {"@": "blueprint_servicesmartd_temp_critical"}, - {"@": "blueprint_servicesmartd_temp_difference"}, - {"@": "blueprint_servicesmartd_temp_informational"}, - {"@": "blueprint_servicesmartd_type"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/service-smb.mjson b/core/model/descriptors/service-smb.mjson deleted file mode 100644 index caa74b1796..0000000000 --- a/core/model/descriptors/service-smb.mjson +++ /dev/null @@ -1,253 +0,0 @@ -{ - "blueprint_servicesmb_auxiliary": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "auxiliary", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_servicesmb_bind_addresses": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "bind_addresses", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_servicesmb_description": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "description", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_servicesmb_dirmask": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "dirmask", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "UnixPermissions" - } - }, - "blueprint_servicesmb_domain_logons": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "domain_logons", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_servicesmb_dos_charset": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "dos_charset", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "ServiceSmbDoscharset" - } - }, - "blueprint_servicesmb_empty_password": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "empty_password", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_servicesmb_enable": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "enable", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_servicesmb_execute_always": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "execute_always", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_servicesmb_filemask": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "filemask", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "UnixPermissions" - } - }, - "blueprint_servicesmb_guest_user": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "guest_user", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_servicesmb_hostlookup": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "hostlookup", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_servicesmb_local_master": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "local_master", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_servicesmb_log_level": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "log_level", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "ServiceSmbLoglevel" - } - }, - "blueprint_servicesmb_max_protocol": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "max_protocol", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "ServiceSmbMaxprotocol" - } - }, - "blueprint_servicesmb_min_protocol": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "min_protocol", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "ServiceSmbMinprotocol" - } - }, - "blueprint_servicesmb_netbiosname": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "netbiosname", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_servicesmb_obey_pam_restrictions": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "obey_pam_restrictions", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_servicesmb_sid": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "sid", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_servicesmb_syslog": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "syslog", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_servicesmb_time_server": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "time_server", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_servicesmb_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "enumValues": [ - "service-smb" - ] - } - }, - "blueprint_servicesmb_unix_charset": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "unix_charset", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "ServiceSmbUnixcharset" - } - }, - "blueprint_servicesmb_unixext": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "unixext", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_servicesmb_workgroup": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "workgroup", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_servicesmb_zeroconf": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "zeroconf", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ServiceSmb", - "propertyBlueprints": [ - {"@": "blueprint_servicesmb_auxiliary"}, - {"@": "blueprint_servicesmb_bind_addresses"}, - {"@": "blueprint_servicesmb_description"}, - {"@": "blueprint_servicesmb_dirmask"}, - {"@": "blueprint_servicesmb_domain_logons"}, - {"@": "blueprint_servicesmb_dos_charset"}, - {"@": "blueprint_servicesmb_empty_password"}, - {"@": "blueprint_servicesmb_enable"}, - {"@": "blueprint_servicesmb_execute_always"}, - {"@": "blueprint_servicesmb_filemask"}, - {"@": "blueprint_servicesmb_guest_user"}, - {"@": "blueprint_servicesmb_hostlookup"}, - {"@": "blueprint_servicesmb_local_master"}, - {"@": "blueprint_servicesmb_log_level"}, - {"@": "blueprint_servicesmb_max_protocol"}, - {"@": "blueprint_servicesmb_min_protocol"}, - {"@": "blueprint_servicesmb_netbiosname"}, - {"@": "blueprint_servicesmb_obey_pam_restrictions"}, - {"@": "blueprint_servicesmb_sid"}, - {"@": "blueprint_servicesmb_syslog"}, - {"@": "blueprint_servicesmb_time_server"}, - {"@": "blueprint_servicesmb_type"}, - {"@": "blueprint_servicesmb_unix_charset"}, - {"@": "blueprint_servicesmb_unixext"}, - {"@": "blueprint_servicesmb_workgroup"}, - {"@": "blueprint_servicesmb_zeroconf"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/service-snmp.mjson b/core/model/descriptors/service-snmp.mjson deleted file mode 100644 index 50e69a21c9..0000000000 --- a/core/model/descriptors/service-snmp.mjson +++ /dev/null @@ -1,122 +0,0 @@ -{ - "blueprint_servicesnmp_auxiliary": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "auxiliary", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_servicesnmp_community": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "community", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_servicesnmp_contact": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "contact", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_servicesnmp_enable": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "enable", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_servicesnmp_location": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "location", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_servicesnmp_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "enumValues": [ - "service-snmp" - ] - } - }, - "blueprint_servicesnmp_v3": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "v3", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_servicesnmp_v3_auth_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "v3_auth_type", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "ServiceSnmpV3authtype" - } - }, - "blueprint_servicesnmp_v3_password": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "v3_password", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_servicesnmp_v3_privacy_passphrase": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "v3_privacy_passphrase", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_servicesnmp_v3_privacy_protocol": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "v3_privacy_protocol", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "ServiceSnmpV3privacyprotocol" - } - }, - "blueprint_servicesnmp_v3_username": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "v3_username", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ServiceSnmp", - "propertyBlueprints": [ - {"@": "blueprint_servicesnmp_auxiliary"}, - {"@": "blueprint_servicesnmp_community"}, - {"@": "blueprint_servicesnmp_contact"}, - {"@": "blueprint_servicesnmp_enable"}, - {"@": "blueprint_servicesnmp_location"}, - {"@": "blueprint_servicesnmp_type"}, - {"@": "blueprint_servicesnmp_v3"}, - {"@": "blueprint_servicesnmp_v3_auth_type"}, - {"@": "blueprint_servicesnmp_v3_password"}, - {"@": "blueprint_servicesnmp_v3_privacy_passphrase"}, - {"@": "blueprint_servicesnmp_v3_privacy_protocol"}, - {"@": "blueprint_servicesnmp_v3_username"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/service-sshd.mjson b/core/model/descriptors/service-sshd.mjson deleted file mode 100644 index 4d3653f647..0000000000 --- a/core/model/descriptors/service-sshd.mjson +++ /dev/null @@ -1,122 +0,0 @@ -{ - "blueprint_servicesshd_allow_gssapi_auth": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "allow_gssapi_auth", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_servicesshd_allow_password_auth": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "allow_password_auth", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_servicesshd_allow_port_forwarding": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "allow_port_forwarding", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_servicesshd_allow_pubkey_auth": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "allow_pubkey_auth", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_servicesshd_auxiliary": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "auxiliary", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_servicesshd_compression": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "compression", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_servicesshd_enable": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "enable", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_servicesshd_permit_root_login": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "permit_root_login", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_servicesshd_port": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "port", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_servicesshd_sftp_log_facility": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "sftp_log_facility", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "ServiceSshdSftplogfacility" - } - }, - "blueprint_servicesshd_sftp_log_level": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "sftp_log_level", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "ServiceSshdSftploglevel" - } - }, - "blueprint_servicesshd_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "enumValues": [ - "service-sshd" - ] - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ServiceSshd", - "propertyBlueprints": [ - {"@": "blueprint_servicesshd_allow_gssapi_auth"}, - {"@": "blueprint_servicesshd_allow_password_auth"}, - {"@": "blueprint_servicesshd_allow_port_forwarding"}, - {"@": "blueprint_servicesshd_allow_pubkey_auth"}, - {"@": "blueprint_servicesshd_auxiliary"}, - {"@": "blueprint_servicesshd_compression"}, - {"@": "blueprint_servicesshd_enable"}, - {"@": "blueprint_servicesshd_permit_root_login"}, - {"@": "blueprint_servicesshd_port"}, - {"@": "blueprint_servicesshd_sftp_log_facility"}, - {"@": "blueprint_servicesshd_sftp_log_level"}, - {"@": "blueprint_servicesshd_type"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/service-tftpd.mjson b/core/model/descriptors/service-tftpd.mjson deleted file mode 100644 index a2c92e41cd..0000000000 --- a/core/model/descriptors/service-tftpd.mjson +++ /dev/null @@ -1,85 +0,0 @@ -{ - "blueprint_servicetftpd_allow_new_files": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "allow_new_files", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_servicetftpd_auxiliary": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "auxiliary", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_servicetftpd_enable": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "enable", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_servicetftpd_path": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "path", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_servicetftpd_port": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "port", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_servicetftpd_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "enumValues": [ - "service-tftpd" - ] - } - }, - "blueprint_servicetftpd_umask": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "umask", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "UnixPermissions" - } - }, - "blueprint_servicetftpd_username": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "username", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ServiceTftpd", - "propertyBlueprints": [ - {"@": "blueprint_servicetftpd_allow_new_files"}, - {"@": "blueprint_servicetftpd_auxiliary"}, - {"@": "blueprint_servicetftpd_enable"}, - {"@": "blueprint_servicetftpd_path"}, - {"@": "blueprint_servicetftpd_port"}, - {"@": "blueprint_servicetftpd_type"}, - {"@": "blueprint_servicetftpd_umask"}, - {"@": "blueprint_servicetftpd_username"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/service-ups.mjson b/core/model/descriptors/service-ups.mjson deleted file mode 100644 index 1ac5fda6e4..0000000000 --- a/core/model/descriptors/service-ups.mjson +++ /dev/null @@ -1,176 +0,0 @@ -{ - "blueprint_serviceups_auxiliary": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "auxiliary", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_serviceups_auxiliary_users": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "auxiliary_users", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_serviceups_description": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "description", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_serviceups_driver": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "driver", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_serviceups_driver_port": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "driver_port", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_serviceups_propagate_alerts": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "propagate_alerts", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_serviceups_enable": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "enable", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_serviceups_identifier": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "identifier", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_serviceups_mode": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "mode", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "ServiceUpsMode" - } - }, - "blueprint_serviceups_monitor_password": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "monitor_password", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_serviceups_allow_remote_connections": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "allow_remote_connections", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_serviceups_monitor_user": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "monitor_user", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_serviceups_powerdown": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "powerdown", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_serviceups_remote_host": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "remote_host", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_serviceups_remote_port": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "remote_port", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_serviceups_shutdown_mode": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "shutdown_mode", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "ServiceUpsShutdownmode" - } - }, - "blueprint_serviceups_shutdown_timer": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "shutdown_timer", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_serviceups_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "enumValues": [ - "service-ups" - ] - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ServiceUps", - "propertyBlueprints": [ - {"@": "blueprint_serviceups_auxiliary"}, - {"@": "blueprint_serviceups_auxiliary_users"}, - {"@": "blueprint_serviceups_description"}, - {"@": "blueprint_serviceups_driver"}, - {"@": "blueprint_serviceups_driver_port"}, - {"@": "blueprint_serviceups_propagate_alerts"}, - {"@": "blueprint_serviceups_enable"}, - {"@": "blueprint_serviceups_identifier"}, - {"@": "blueprint_serviceups_mode"}, - {"@": "blueprint_serviceups_monitor_password"}, - {"@": "blueprint_serviceups_allow_remote_connections"}, - {"@": "blueprint_serviceups_monitor_user"}, - {"@": "blueprint_serviceups_powerdown"}, - {"@": "blueprint_serviceups_remote_host"}, - {"@": "blueprint_serviceups_remote_port"}, - {"@": "blueprint_serviceups_shutdown_mode"}, - {"@": "blueprint_serviceups_shutdown_timer"}, - {"@": "blueprint_serviceups_type"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/service-webdav.mjson b/core/model/descriptors/service-webdav.mjson deleted file mode 100644 index 3a91321ebf..0000000000 --- a/core/model/descriptors/service-webdav.mjson +++ /dev/null @@ -1,85 +0,0 @@ -{ - "blueprint_servicewebdav_authentication": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "authentication", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "ServiceWebdavAuthentication" - } - }, - "blueprint_servicewebdav_certificate": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "certificate", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_servicewebdav_enable": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "enable", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_servicewebdav_http_port": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "http_port", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_servicewebdav_https_port": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "https_port", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_servicewebdav_password": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "password", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_servicewebdav_protocol": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "protocol", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_servicewebdav_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "enumValues": [ - "service-webdav" - ] - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ServiceWebdav", - "propertyBlueprints": [ - {"@": "blueprint_servicewebdav_authentication"}, - {"@": "blueprint_servicewebdav_certificate"}, - {"@": "blueprint_servicewebdav_enable"}, - {"@": "blueprint_servicewebdav_http_port"}, - {"@": "blueprint_servicewebdav_https_port"}, - {"@": "blueprint_servicewebdav_password"}, - {"@": "blueprint_servicewebdav_protocol"}, - {"@": "blueprint_servicewebdav_type"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/service.mjson b/core/model/descriptors/service.mjson deleted file mode 100644 index 11abafadc9..0000000000 --- a/core/model/descriptors/service.mjson +++ /dev/null @@ -1,57 +0,0 @@ -{ - "blueprint_service_builtin": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "builtin", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_service_config": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "config", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "ServiceConfig" - } - }, - "blueprint_service_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_service_pid": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "pid", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_service_state": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "state", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "ServiceState" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "Service", - "propertyBlueprints": [ - {"@": "blueprint_service_builtin"}, - {"@": "blueprint_service_config"}, - {"@": "blueprint_service_id"}, - {"@": "blueprint_service_pid"}, - {"@": "blueprint_service_state"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/session.mjson b/core/model/descriptors/session.mjson deleted file mode 100644 index 4ee02591d2..0000000000 --- a/core/model/descriptors/session.mjson +++ /dev/null @@ -1,64 +0,0 @@ -{ - "blueprint_session_active": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "active", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_session_ended_at": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "ended_at", - "blueprint": {"@": "root"}, - "valueType": "datetime" - } - }, - "blueprint_session_resource": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "resource", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_session_started_at": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "started_at", - "blueprint": {"@": "root"}, - "valueType": "datetime" - } - }, - "blueprint_session_tty": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "tty", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_session_username": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "username", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "Session", - "propertyBlueprints": [ - {"@": "blueprint_session_active"}, - {"@": "blueprint_session_ended_at"}, - {"@": "blueprint_session_resource"}, - {"@": "blueprint_session_started_at"}, - {"@": "blueprint_session_tty"}, - {"@": "blueprint_session_username"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/share-afp.mjson b/core/model/descriptors/share-afp.mjson deleted file mode 100644 index d6058e90eb..0000000000 --- a/core/model/descriptors/share-afp.mjson +++ /dev/null @@ -1,204 +0,0 @@ -{ - "propertyblueprint": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "%type", - "blueprint": {"@": "root"}, - "enumValues": [ - "share-afp" - ] - } - }, - "blueprint_shareafp_afp3_privileges": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "afp3_privileges", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_shareafp_comment": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "comment", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_shareafp_default_directory_perms": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "default_directory_perms", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "UnixPermissions" - } - }, - "blueprint_shareafp_default_file_perms": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "default_file_perms", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "UnixPermissions" - } - }, - "blueprint_shareafp_default_umask": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "default_umask", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "UnixPermissions" - } - }, - "blueprint_shareafp_groups_allow": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "groups_allow", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_shareafp_groups_deny": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "groups_deny", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_shareafp_hosts_allow": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "hosts_allow", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_shareafp_hosts_deny": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "hosts_deny", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_shareafp_no_stat": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "no_stat", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_shareafp_read_only": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "read_only", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_shareafp_ro_groups": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "ro_groups", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_shareafp_ro_users": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "ro_users", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_shareafp_rw_groups": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rw_groups", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_shareafp_rw_users": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rw_users", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_shareafp_time_machine": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "time_machine", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_shareafp_users_allow": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "users_allow", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_shareafp_users_deny": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "users_deny", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_shareafp_zero_dev_numbers": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "zero_dev_numbers", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_shareafp_smb_compatible": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "smb_compatible", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ShareAfp", - "propertyBlueprints": [ - {"@": "propertyblueprint"}, - {"@": "blueprint_shareafp_afp3_privileges"}, - {"@": "blueprint_shareafp_comment"}, - {"@": "blueprint_shareafp_default_directory_perms"}, - {"@": "blueprint_shareafp_default_file_perms"}, - {"@": "blueprint_shareafp_default_umask"}, - {"@": "blueprint_shareafp_groups_allow"}, - {"@": "blueprint_shareafp_groups_deny"}, - {"@": "blueprint_shareafp_hosts_allow"}, - {"@": "blueprint_shareafp_hosts_deny"}, - {"@": "blueprint_shareafp_no_stat"}, - {"@": "blueprint_shareafp_read_only"}, - {"@": "blueprint_shareafp_ro_groups"}, - {"@": "blueprint_shareafp_ro_users"}, - {"@": "blueprint_shareafp_rw_groups"}, - {"@": "blueprint_shareafp_rw_users"}, - {"@": "blueprint_shareafp_time_machine"}, - {"@": "blueprint_shareafp_users_allow"}, - {"@": "blueprint_shareafp_users_deny"}, - {"@": "blueprint_shareafp_zero_dev_numbers"}, - {"@": "blueprint_shareafp_smb_compatible"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/share-client-extra-anonymous.mjson b/core/model/descriptors/share-client-extra-anonymous.mjson deleted file mode 100644 index 10d89b9263..0000000000 --- a/core/model/descriptors/share-client-extra-anonymous.mjson +++ /dev/null @@ -1,8 +0,0 @@ -{ - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ShareClientExtraAnonymous" - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/share-client.mjson b/core/model/descriptors/share-client.mjson deleted file mode 100644 index aca6f9457e..0000000000 --- a/core/model/descriptors/share-client.mjson +++ /dev/null @@ -1,55 +0,0 @@ -{ - "blueprint_shareclient_connected_at": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "connected_at", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_shareclient_extra": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "extra", - "blueprint": {"@": "root"}, - "valueType": "object" - } - }, - "blueprint_shareclient_host": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "host", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_shareclient_share": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "share", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_shareclient_user": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "user", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ShareClient", - "propertyBlueprints": [ - {"@": "blueprint_shareclient_connected_at"}, - {"@": "blueprint_shareclient_extra"}, - {"@": "blueprint_shareclient_host"}, - {"@": "blueprint_shareclient_share"}, - {"@": "blueprint_shareclient_user"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/share-iscsi-auth.mjson b/core/model/descriptors/share-iscsi-auth.mjson deleted file mode 100644 index 2af3a03645..0000000000 --- a/core/model/descriptors/share-iscsi-auth.mjson +++ /dev/null @@ -1,65 +0,0 @@ -{ - "blueprint_shareiscsiauth_description": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "description", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_shareiscsiauth_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_shareiscsiauth_initiators": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "initiators", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_shareiscsiauth_networks": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "networks", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_shareiscsiauth_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "ShareIscsiAuthType" - } - }, - "blueprint_shareiscsiauth_users": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "users", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ShareIscsiAuth", - "propertyBlueprints": [ - {"@": "blueprint_shareiscsiauth_description"}, - {"@": "blueprint_shareiscsiauth_id"}, - {"@": "blueprint_shareiscsiauth_initiators"}, - {"@": "blueprint_shareiscsiauth_networks"}, - {"@": "blueprint_shareiscsiauth_type"}, - {"@": "blueprint_shareiscsiauth_users"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/share-iscsi-portal.mjson b/core/model/descriptors/share-iscsi-portal.mjson deleted file mode 100644 index 9d51df7f71..0000000000 --- a/core/model/descriptors/share-iscsi-portal.mjson +++ /dev/null @@ -1,56 +0,0 @@ -{ - "blueprint_shareiscsiportal_description": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "description", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_shareiscsiportal_discovery_auth_group": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "discovery_auth_group", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_shareiscsiportal_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_shareiscsiportal_listen": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "listen", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "ShareIscsiPortalListen" - } - }, - "blueprint_shareiscsiportal_tag": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "tag", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ShareIscsiPortal", - "propertyBlueprints": [ - {"@": "blueprint_shareiscsiportal_description"}, - {"@": "blueprint_shareiscsiportal_discovery_auth_group"}, - {"@": "blueprint_shareiscsiportal_id"}, - {"@": "blueprint_shareiscsiportal_listen"}, - {"@": "blueprint_shareiscsiportal_tag"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/share-iscsi-target.mjson b/core/model/descriptors/share-iscsi-target.mjson deleted file mode 100644 index 6be542c2ae..0000000000 --- a/core/model/descriptors/share-iscsi-target.mjson +++ /dev/null @@ -1,55 +0,0 @@ -{ - "blueprint_shareiscsitarget_auth_group": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "auth_group", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_shareiscsitarget_description": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "description", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_shareiscsitarget_extents": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "extents", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_shareiscsitarget_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_shareiscsitarget_portal_group": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "portal_group", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ShareIscsiTarget", - "propertyBlueprints": [ - {"@": "blueprint_shareiscsitarget_auth_group"}, - {"@": "blueprint_shareiscsitarget_description"}, - {"@": "blueprint_shareiscsitarget_extents"}, - {"@": "blueprint_shareiscsitarget_id"}, - {"@": "blueprint_shareiscsitarget_portal_group"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/share-iscsi-user.mjson b/core/model/descriptors/share-iscsi-user.mjson deleted file mode 100644 index 2dbc4d7eac..0000000000 --- a/core/model/descriptors/share-iscsi-user.mjson +++ /dev/null @@ -1,46 +0,0 @@ -{ - "blueprint_shareiscsiuser_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_shareiscsiuser_peer_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "peer_name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_shareiscsiuser_peer_secret": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "peer_secret", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_shareiscsiuser_secret": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "secret", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ShareIscsiUser", - "propertyBlueprints": [ - {"@": "blueprint_shareiscsiuser_name"}, - {"@": "blueprint_shareiscsiuser_peer_name"}, - {"@": "blueprint_shareiscsiuser_peer_secret"}, - {"@": "blueprint_shareiscsiuser_secret"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/share-iscsi.mjson b/core/model/descriptors/share-iscsi.mjson deleted file mode 100644 index 2c60c20452..0000000000 --- a/core/model/descriptors/share-iscsi.mjson +++ /dev/null @@ -1,149 +0,0 @@ -{ - "propertyblueprint": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "%type", - "blueprint": {"@": "root"}, - "enumValues": [ - "share-iscsi" - ] - } - }, - "blueprint_shareiscsi_available_space_threshold": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "available_space_threshold", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_shareiscsi_block_size": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "block_size", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "ShareIscsiBlocksize" - } - }, - "blueprint_shareiscsi_ctl_lun": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "ctl_lun", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_shareiscsi_device_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "device_id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_shareiscsi_naa": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "naa", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_shareiscsi_physical_block_size": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "physical_block_size", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_shareiscsi_product_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "product_id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_shareiscsi_read_only": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "read_only", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_shareiscsi_rpm": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rpm", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "ShareIscsiRpm" - } - }, - "blueprint_shareiscsi_serial": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "serial", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_shareiscsi_size": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "size", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_shareiscsi_tpc": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "tpc", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_shareiscsi_vendor_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "vendor_id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_shareiscsi_xen_compat": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "xen_compat", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ShareIscsi", - "propertyBlueprints": [ - {"@": "propertyblueprint"}, - {"@": "blueprint_shareiscsi_available_space_threshold"}, - {"@": "blueprint_shareiscsi_block_size"}, - {"@": "blueprint_shareiscsi_ctl_lun"}, - {"@": "blueprint_shareiscsi_device_id"}, - {"@": "blueprint_shareiscsi_naa"}, - {"@": "blueprint_shareiscsi_physical_block_size"}, - {"@": "blueprint_shareiscsi_product_id"}, - {"@": "blueprint_shareiscsi_read_only"}, - {"@": "blueprint_shareiscsi_rpm"}, - {"@": "blueprint_shareiscsi_serial"}, - {"@": "blueprint_shareiscsi_size"}, - {"@": "blueprint_shareiscsi_tpc"}, - {"@": "blueprint_shareiscsi_vendor_id"}, - {"@": "blueprint_shareiscsi_xen_compat"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/share-nfs.mjson b/core/model/descriptors/share-nfs.mjson deleted file mode 100644 index 5d72bc35a7..0000000000 --- a/core/model/descriptors/share-nfs.mjson +++ /dev/null @@ -1,94 +0,0 @@ -{ - "propertyblueprint": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "%type", - "blueprint": {"@": "root"}, - "enumValues": [ - "share-nfs" - ] - } - }, - "blueprint_sharenfs_alldirs": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "alldirs", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_sharenfs_hosts": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "hosts", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_sharenfs_mapall_group": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "mapall_group", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_sharenfs_mapall_user": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "mapall_user", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_sharenfs_maproot_group": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "maproot_group", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_sharenfs_maproot_user": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "maproot_user", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_sharenfs_read_only": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "read_only", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_sharenfs_security": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "security", - "blueprint": {"@": "root"}, - "valueType": "array", - "valueObjectPrototypeName": "ShareNfsSecurityItems" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ShareNfs", - "propertyBlueprints": [ - {"@": "propertyblueprint"}, - {"@": "blueprint_sharenfs_alldirs"}, - {"@": "blueprint_sharenfs_hosts"}, - {"@": "blueprint_sharenfs_mapall_group"}, - {"@": "blueprint_sharenfs_mapall_user"}, - {"@": "blueprint_sharenfs_maproot_group"}, - {"@": "blueprint_sharenfs_maproot_user"}, - {"@": "blueprint_sharenfs_read_only"}, - {"@": "blueprint_sharenfs_security"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/share-smb-extra-parameters-anonymous.mjson b/core/model/descriptors/share-smb-extra-parameters-anonymous.mjson deleted file mode 100644 index 4d9debeb5f..0000000000 --- a/core/model/descriptors/share-smb-extra-parameters-anonymous.mjson +++ /dev/null @@ -1,8 +0,0 @@ -{ - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ShareSmbExtraParametersAnonymous" - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/share-smb.mjson b/core/model/descriptors/share-smb.mjson deleted file mode 100644 index 015f51433a..0000000000 --- a/core/model/descriptors/share-smb.mjson +++ /dev/null @@ -1,129 +0,0 @@ -{ - "propertyblueprint": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "%type", - "blueprint": {"@": "root"}, - "enumValues": [ - "share-smb" - ] - } - }, - "blueprint_sharesmb_browseable": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "browseable", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_sharesmb_comment": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "comment", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_sharesmb_extra_parameters": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "extra_parameters", - "blueprint": {"@": "root"}, - "valueType": "object" - } - }, - "blueprint_sharesmb_guest_ok": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "guest_ok", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_sharesmb_guest_only": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "guest_only", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_sharesmb_hosts_allow": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "hosts_allow", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_sharesmb_hosts_deny": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "hosts_deny", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_sharesmb_previous_versions": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "previous_versions", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_sharesmb_read_only": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "read_only", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_sharesmb_recyclebin": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "recyclebin", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_sharesmb_show_hidden_files": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "show_hidden_files", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_sharesmb_vfs_objects": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "vfs_objects", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ShareSmb", - "propertyBlueprints": [ - {"@": "propertyblueprint"}, - {"@": "blueprint_sharesmb_browseable"}, - {"@": "blueprint_sharesmb_comment"}, - {"@": "blueprint_sharesmb_extra_parameters"}, - {"@": "blueprint_sharesmb_guest_ok"}, - {"@": "blueprint_sharesmb_guest_only"}, - {"@": "blueprint_sharesmb_hosts_allow"}, - {"@": "blueprint_sharesmb_hosts_deny"}, - {"@": "blueprint_sharesmb_previous_versions"}, - {"@": "blueprint_sharesmb_read_only"}, - {"@": "blueprint_sharesmb_recyclebin"}, - {"@": "blueprint_sharesmb_show_hidden_files"}, - {"@": "blueprint_sharesmb_vfs_objects"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/share-types.mjson b/core/model/descriptors/share-types.mjson deleted file mode 100644 index c4028320b2..0000000000 --- a/core/model/descriptors/share-types.mjson +++ /dev/null @@ -1,8 +0,0 @@ -{ - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ShareTypes" - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/share-webdav.mjson b/core/model/descriptors/share-webdav.mjson deleted file mode 100644 index 72b09882c7..0000000000 --- a/core/model/descriptors/share-webdav.mjson +++ /dev/null @@ -1,48 +0,0 @@ -{ - "propertyblueprint": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "%type", - "blueprint": {"@": "root"}, - "enumValues": [ - "share-webdav" - ] - } - }, - "blueprint_sharewebdav_permission": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "permission", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_sharewebdav_read_only": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "read_only", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_sharewebdav_show_hidden_files": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "show_hidden_files", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ShareWebdav", - "propertyBlueprints": [ - {"@": "propertyblueprint"}, - {"@": "blueprint_sharewebdav_permission"}, - {"@": "blueprint_sharewebdav_read_only"}, - {"@": "blueprint_sharewebdav_show_hidden_files"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/share.mjson b/core/model/descriptors/share.mjson deleted file mode 100644 index 3307f7c1df..0000000000 --- a/core/model/descriptors/share.mjson +++ /dev/null @@ -1,113 +0,0 @@ -{ - "blueprint_share_description": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "description", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_share_enabled": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "enabled", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_share_filesystem_path": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "filesystem_path", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_share_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_share_immutable": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "immutable", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_share_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_share_permissions": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "permissions", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "Permissions" - } - }, - "blueprint_share_properties": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "properties", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "ShareProperties" - } - }, - "blueprint_share_target_path": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "target_path", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_share_target_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "target_type", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "ShareTargettype" - } - }, - "blueprint_share_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "Share", - "propertyBlueprints": [ - {"@": "blueprint_share_description"}, - {"@": "blueprint_share_enabled"}, - {"@": "blueprint_share_filesystem_path"}, - {"@": "blueprint_share_id"}, - {"@": "blueprint_share_immutable"}, - {"@": "blueprint_share_name"}, - {"@": "blueprint_share_permissions"}, - {"@": "blueprint_share_properties"}, - {"@": "blueprint_share_target_path"}, - {"@": "blueprint_share_target_type"}, - {"@": "blueprint_share_type"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/simulator-disk.mjson b/core/model/descriptors/simulator-disk.mjson deleted file mode 100644 index 648b38cd55..0000000000 --- a/core/model/descriptors/simulator-disk.mjson +++ /dev/null @@ -1,92 +0,0 @@ -{ - "blueprint_simulatordisk_block_size": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "block_size", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_simulatordisk_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_simulatordisk_mediasize": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "mediasize", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_simulatordisk_model": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "model", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_simulatordisk_online": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "online", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_simulatordisk_path": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "path", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_simulatordisk_rpm": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rpm", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "SimulatorDiskRpm" - } - }, - "blueprint_simulatordisk_serial": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "serial", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_simulatordisk_vendor": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "vendor", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "SimulatorDisk", - "propertyBlueprints": [ - {"@": "blueprint_simulatordisk_block_size"}, - {"@": "blueprint_simulatordisk_id"}, - {"@": "blueprint_simulatordisk_mediasize"}, - {"@": "blueprint_simulatordisk_model"}, - {"@": "blueprint_simulatordisk_online"}, - {"@": "blueprint_simulatordisk_path"}, - {"@": "blueprint_simulatordisk_rpm"}, - {"@": "blueprint_simulatordisk_serial"}, - {"@": "blueprint_simulatordisk_vendor"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/smart-attribute.mjson b/core/model/descriptors/smart-attribute.mjson deleted file mode 100644 index e6bc0a04f1..0000000000 --- a/core/model/descriptors/smart-attribute.mjson +++ /dev/null @@ -1,91 +0,0 @@ -{ - "blueprint_smartattribute_flags": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "flags", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_smartattribute_num": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "num", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_smartattribute_raw": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "raw", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_smartattribute_threshold": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "threshold", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_smartattribute_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_smartattribute_updated": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "updated", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_smartattribute_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "value", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_smartattribute_when_failed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "when_failed", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_smartattribute_worst": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "worst", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "SmartAttribute", - "propertyBlueprints": [ - {"@": "blueprint_smartattribute_flags"}, - {"@": "blueprint_smartattribute_num"}, - {"@": "blueprint_smartattribute_raw"}, - {"@": "blueprint_smartattribute_threshold"}, - {"@": "blueprint_smartattribute_type"}, - {"@": "blueprint_smartattribute_updated"}, - {"@": "blueprint_smartattribute_value"}, - {"@": "blueprint_smartattribute_when_failed"}, - {"@": "blueprint_smartattribute_worst"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/smart-info-diagnostics-anonymous.mjson b/core/model/descriptors/smart-info-diagnostics-anonymous.mjson deleted file mode 100644 index bd643b03d3..0000000000 --- a/core/model/descriptors/smart-info-diagnostics-anonymous.mjson +++ /dev/null @@ -1,8 +0,0 @@ -{ - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "SmartInfoDiagnosticsAnonymous" - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/smart-info.mjson b/core/model/descriptors/smart-info.mjson deleted file mode 100644 index f6c4f33117..0000000000 --- a/core/model/descriptors/smart-info.mjson +++ /dev/null @@ -1,119 +0,0 @@ -{ - "blueprint_smartinfo_attributes": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "attributes", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_smartinfo_diagnostics": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "diagnostics", - "blueprint": {"@": "root"}, - "valueType": "object" - } - }, - "blueprint_smartinfo_firmware": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "firmware", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_smartinfo_interface": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "interface", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_smartinfo_messages": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "messages", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_smartinfo_model": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "model", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_smartinfo_smart_capable": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "smart_capable", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_smartinfo_smart_enabled": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "smart_enabled", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_smartinfo_smart_status": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "smart_status", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_smartinfo_temperature": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "temperature", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_smartinfo_test_capabilities": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "test_capabilities", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "SupportedSmartTests" - } - }, - "blueprint_smartinfo_tests": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "tests", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "SmartInfo", - "propertyBlueprints": [ - {"@": "blueprint_smartinfo_attributes"}, - {"@": "blueprint_smartinfo_diagnostics"}, - {"@": "blueprint_smartinfo_firmware"}, - {"@": "blueprint_smartinfo_interface"}, - {"@": "blueprint_smartinfo_messages"}, - {"@": "blueprint_smartinfo_model"}, - {"@": "blueprint_smartinfo_smart_capable"}, - {"@": "blueprint_smartinfo_smart_enabled"}, - {"@": "blueprint_smartinfo_smart_status"}, - {"@": "blueprint_smartinfo_temperature"}, - {"@": "blueprint_smartinfo_test_capabilities"}, - {"@": "blueprint_smartinfo_tests"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/smart-test-result.mjson b/core/model/descriptors/smart-test-result.mjson deleted file mode 100644 index 2d3a880032..0000000000 --- a/core/model/descriptors/smart-test-result.mjson +++ /dev/null @@ -1,100 +0,0 @@ -{ - "blueprint_smarttestresult_asc": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "asc", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_smarttestresult_ascq": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "ascq", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_smarttestresult_hours": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "hours", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_smarttestresult_lba": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "lba", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_smarttestresult_num": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "num", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_smarttestresult_remain": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "remain", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_smarttestresult_segment": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "segment", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_smarttestresult_sense": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "sense", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_smarttestresult_status": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "status", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_smarttestresult_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "SmartTestResult", - "propertyBlueprints": [ - {"@": "blueprint_smarttestresult_asc"}, - {"@": "blueprint_smarttestresult_ascq"}, - {"@": "blueprint_smarttestresult_hours"}, - {"@": "blueprint_smarttestresult_lba"}, - {"@": "blueprint_smarttestresult_num"}, - {"@": "blueprint_smarttestresult_remain"}, - {"@": "blueprint_smarttestresult_segment"}, - {"@": "blueprint_smarttestresult_sense"}, - {"@": "blueprint_smarttestresult_status"}, - {"@": "blueprint_smarttestresult_type"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/snapshot-info.mjson b/core/model/descriptors/snapshot-info.mjson deleted file mode 100644 index d32a4ad71a..0000000000 --- a/core/model/descriptors/snapshot-info.mjson +++ /dev/null @@ -1,47 +0,0 @@ -{ - "blueprint_snapshotinfo_created_at": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "created_at", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_snapshotinfo_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_snapshotinfo_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "SnapshotInfoType" - } - }, - "blueprint_snapshotinfo_uuid": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "uuid", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "SnapshotInfo", - "propertyBlueprints": [ - {"@": "blueprint_snapshotinfo_created_at"}, - {"@": "blueprint_snapshotinfo_name"}, - {"@": "blueprint_snapshotinfo_type"}, - {"@": "blueprint_snapshotinfo_uuid"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/ssh-credentials.mjson b/core/model/descriptors/ssh-credentials.mjson deleted file mode 100644 index 472bc6575a..0000000000 --- a/core/model/descriptors/ssh-credentials.mjson +++ /dev/null @@ -1,75 +0,0 @@ -{ - "propertyblueprint": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "%type", - "blueprint": {"@": "root"}, - "enumValues": [ - "ssh-credentials" - ] - } - }, - "blueprint_sshcredentials_address": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "address", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_sshcredentials_hostkey": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "hostkey", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_sshcredentials_password": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "password", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_sshcredentials_port": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "port", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_sshcredentials_privkey": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "privkey", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_sshcredentials_username": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "username", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "SshCredentials", - "propertyBlueprints": [ - {"@": "propertyblueprint"}, - {"@": "blueprint_sshcredentials_address"}, - {"@": "blueprint_sshcredentials_hostkey"}, - {"@": "blueprint_sshcredentials_password"}, - {"@": "blueprint_sshcredentials_port"}, - {"@": "blueprint_sshcredentials_privkey"}, - {"@": "blueprint_sshcredentials_username"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/stat.mjson b/core/model/descriptors/stat.mjson deleted file mode 100644 index 7f22a2ba3b..0000000000 --- a/core/model/descriptors/stat.mjson +++ /dev/null @@ -1,74 +0,0 @@ -{ - "blueprint_stat_atime": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "atime", - "blueprint": {"@": "root"}, - "valueType": "datetime" - } - }, - "blueprint_stat_ctime": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "ctime", - "blueprint": {"@": "root"}, - "valueType": "datetime" - } - }, - "blueprint_stat_mtime": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "mtime", - "blueprint": {"@": "root"}, - "valueType": "datetime" - } - }, - "blueprint_stat_path": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "path", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_stat_permissions": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "permissions", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "Permissions" - } - }, - "blueprint_stat_size": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "size", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_stat_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "Stat", - "propertyBlueprints": [ - {"@": "blueprint_stat_atime"}, - {"@": "blueprint_stat_ctime"}, - {"@": "blueprint_stat_mtime"}, - {"@": "blueprint_stat_path"}, - {"@": "blueprint_stat_permissions"}, - {"@": "blueprint_stat_size"}, - {"@": "blueprint_stat_type"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/statistic-alert.mjson b/core/model/descriptors/statistic-alert.mjson deleted file mode 100644 index 4ea1943542..0000000000 --- a/core/model/descriptors/statistic-alert.mjson +++ /dev/null @@ -1,64 +0,0 @@ -{ - "blueprint_statisticalert_alert_high": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "alert_high", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_statisticalert_alert_high_enabled": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "alert_high_enabled", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_statisticalert_alert_low": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "alert_low", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_statisticalert_alert_low_enabled": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "alert_low_enabled", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_statisticalert_normalized_alert_high": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "normalized_alert_high", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_statisticalert_normalized_alert_low": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "normalized_alert_low", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "StatisticAlert", - "propertyBlueprints": [ - {"@": "blueprint_statisticalert_alert_high"}, - {"@": "blueprint_statisticalert_alert_high_enabled"}, - {"@": "blueprint_statisticalert_alert_low"}, - {"@": "blueprint_statisticalert_alert_low_enabled"}, - {"@": "blueprint_statisticalert_normalized_alert_high"}, - {"@": "blueprint_statisticalert_normalized_alert_low"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/statistic.mjson b/core/model/descriptors/statistic.mjson deleted file mode 100644 index 83957361ee..0000000000 --- a/core/model/descriptors/statistic.mjson +++ /dev/null @@ -1,56 +0,0 @@ -{ - "blueprint_statistic_alerts": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "alerts", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "StatisticAlert" - } - }, - "blueprint_statistic_last_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "last_value", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_statistic_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_statistic_short_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "short_name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_statistic_unit": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "unit", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "Statistic", - "propertyBlueprints": [ - {"@": "blueprint_statistic_alerts"}, - {"@": "blueprint_statistic_last_value"}, - {"@": "blueprint_statistic_name"}, - {"@": "blueprint_statistic_short_name"}, - {"@": "blueprint_statistic_unit"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/support-ticket.mjson b/core/model/descriptors/support-ticket.mjson deleted file mode 100644 index f95567eb82..0000000000 --- a/core/model/descriptors/support-ticket.mjson +++ /dev/null @@ -1,93 +0,0 @@ -{ - "blueprint_supportticket_attachments": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "attachments", - "blueprint": {"@": "root"}, - "mandatory": true, - "valueType": "array" - } - }, - "blueprint_supportticket_category": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "category", - "blueprint": {"@": "root"}, - "mandatory": true, - "valueType": "String" - } - }, - "blueprint_supportticket_debug": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "debug", - "blueprint": {"@": "root"}, - "mandatory": true, - "valueType": "boolean" - } - }, - "blueprint_supportticket_description": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "description", - "blueprint": {"@": "root"}, - "mandatory": true, - "valueType": "String" - } - }, - "blueprint_supportticket_password": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "password", - "blueprint": {"@": "root"}, - "mandatory": true, - "valueType": "String" - } - }, - "blueprint_supportticket_subject": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "subject", - "blueprint": {"@": "root"}, - "mandatory": true, - "valueType": "String" - } - }, - "blueprint_supportticket_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "mandatory": true, - "valueType": "String", - "enumValues": [ - "bug", - "feature" - ] - } - }, - "blueprint_supportticket_username": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "username", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "SupportTicket", - "propertyBlueprints": [ - {"@": "blueprint_supportticket_attachments"}, - {"@": "blueprint_supportticket_category"}, - {"@": "blueprint_supportticket_debug"}, - {"@": "blueprint_supportticket_description"}, - {"@": "blueprint_supportticket_password"}, - {"@": "blueprint_supportticket_subject"}, - {"@": "blueprint_supportticket_type"}, - {"@": "blueprint_supportticket_username"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/supported-smart-tests.mjson b/core/model/descriptors/supported-smart-tests.mjson deleted file mode 100644 index a5baf8c7ee..0000000000 --- a/core/model/descriptors/supported-smart-tests.mjson +++ /dev/null @@ -1,55 +0,0 @@ -{ - "blueprint_supportedsmarttests_conveyance": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "conveyance", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_supportedsmarttests_long": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "long", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_supportedsmarttests_offline": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "offline", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_supportedsmarttests_selective": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "selective", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_supportedsmarttests_short": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "short", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "SupportedSmartTests", - "propertyBlueprints": [ - {"@": "blueprint_supportedsmarttests_conveyance"}, - {"@": "blueprint_supportedsmarttests_long"}, - {"@": "blueprint_supportedsmarttests_offline"}, - {"@": "blueprint_supportedsmarttests_selective"}, - {"@": "blueprint_supportedsmarttests_short"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/swap-mirror.mjson b/core/model/descriptors/swap-mirror.mjson deleted file mode 100644 index 0cdac62706..0000000000 --- a/core/model/descriptors/swap-mirror.mjson +++ /dev/null @@ -1,28 +0,0 @@ -{ - "blueprint_swapmirror_disks": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "disks", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_swapmirror_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "SwapMirror", - "propertyBlueprints": [ - {"@": "blueprint_swapmirror_disks"}, - {"@": "blueprint_swapmirror_name"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/system-advanced.mjson b/core/model/descriptors/system-advanced.mjson deleted file mode 100644 index 2377afa88f..0000000000 --- a/core/model/descriptors/system-advanced.mjson +++ /dev/null @@ -1,146 +0,0 @@ -{ - "blueprint_systemadvanced_boot_scrub_internal": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "boot_scrub_internal", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_systemadvanced_console_cli": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "console_cli", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_systemadvanced_console_screensaver": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "console_screensaver", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_systemadvanced_debugkernel": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "debugkernel", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_systemadvanced_freenas_token_lifetime": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "freenas_token_lifetime", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_systemadvanced_graphite_servers": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "graphite_servers", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_systemadvanced_home_directory_root": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "home_directory_root", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_systemadvanced_motd": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "motd", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_systemadvanced_periodic_notify_user": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "periodic_notify_user", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_systemadvanced_powerd": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "powerd", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_systemadvanced_serial_console": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "serial_console", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_systemadvanced_serial_port": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "serial_port", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_systemadvanced_serial_speed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "serial_speed", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "SystemAdvancedSerialspeed" - } - }, - "blueprint_systemadvanced_swapondrive": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "swapondrive", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_systemadvanced_uploadcrash": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "uploadcrash", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "SystemAdvanced", - "propertyBlueprints": [ - {"@": "blueprint_systemadvanced_boot_scrub_internal"}, - {"@": "blueprint_systemadvanced_console_cli"}, - {"@": "blueprint_systemadvanced_console_screensaver"}, - {"@": "blueprint_systemadvanced_debugkernel"}, - {"@": "blueprint_systemadvanced_freenas_token_lifetime"}, - {"@": "blueprint_systemadvanced_graphite_servers"}, - {"@": "blueprint_systemadvanced_home_directory_root"}, - {"@": "blueprint_systemadvanced_motd"}, - {"@": "blueprint_systemadvanced_periodic_notify_user"}, - {"@": "blueprint_systemadvanced_powerd"}, - {"@": "blueprint_systemadvanced_serial_console"}, - {"@": "blueprint_systemadvanced_serial_port"}, - {"@": "blueprint_systemadvanced_serial_speed"}, - {"@": "blueprint_systemadvanced_swapondrive"}, - {"@": "blueprint_systemadvanced_uploadcrash"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/system-general.mjson b/core/model/descriptors/system-general.mjson deleted file mode 100644 index 84f8e4309a..0000000000 --- a/core/model/descriptors/system-general.mjson +++ /dev/null @@ -1,73 +0,0 @@ -{ - "blueprint_systemgeneral_console_keymap": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "console_keymap", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_systemgeneral_description": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "description", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_systemgeneral_hostname": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "hostname", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_systemgeneral_language": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "language", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_systemgeneral_syslog_server": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "syslog_server", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_systemgeneral_tags": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "tags", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_systemgeneral_timezone": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "timezone", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "SystemGeneral", - "propertyBlueprints": [ - {"@": "blueprint_systemgeneral_console_keymap"}, - {"@": "blueprint_systemgeneral_description"}, - {"@": "blueprint_systemgeneral_hostname"}, - {"@": "blueprint_systemgeneral_language"}, - {"@": "blueprint_systemgeneral_syslog_server"}, - {"@": "blueprint_systemgeneral_tags"}, - {"@": "blueprint_systemgeneral_timezone"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/system-time.mjson b/core/model/descriptors/system-time.mjson deleted file mode 100644 index 57956a6554..0000000000 --- a/core/model/descriptors/system-time.mjson +++ /dev/null @@ -1,46 +0,0 @@ -{ - "blueprint_systemtime_boot_time": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "boot_time", - "blueprint": {"@": "root"}, - "valueType": "datetime" - } - }, - "blueprint_systemtime_system_time": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "system_time", - "blueprint": {"@": "root"}, - "valueType": "datetime" - } - }, - "blueprint_systemtime_timezone": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "timezone", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_systemtime_uptime": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "uptime", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "SystemTime", - "propertyBlueprints": [ - {"@": "blueprint_systemtime_boot_time"}, - {"@": "blueprint_systemtime_system_time"}, - {"@": "blueprint_systemtime_timezone"}, - {"@": "blueprint_systemtime_uptime"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/system-ui.mjson b/core/model/descriptors/system-ui.mjson deleted file mode 100644 index d9d0238d7d..0000000000 --- a/core/model/descriptors/system-ui.mjson +++ /dev/null @@ -1,64 +0,0 @@ -{ - "blueprint_systemui_webui_http_port": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "webui_http_port", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_systemui_webui_http_redirect_https": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "webui_http_redirect_https", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_systemui_webui_https_certificate": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "webui_https_certificate", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_systemui_webui_https_port": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "webui_https_port", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_systemui_webui_listen": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "webui_listen", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_systemui_webui_protocol": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "webui_protocol", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "SystemUi", - "propertyBlueprints": [ - {"@": "blueprint_systemui_webui_http_port"}, - {"@": "blueprint_systemui_webui_http_redirect_https"}, - {"@": "blueprint_systemui_webui_https_certificate"}, - {"@": "blueprint_systemui_webui_https_port"}, - {"@": "blueprint_systemui_webui_listen"}, - {"@": "blueprint_systemui_webui_protocol"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/task-args-anonymous.mjson b/core/model/descriptors/task-args-anonymous.mjson deleted file mode 100644 index c35079eb7b..0000000000 --- a/core/model/descriptors/task-args-anonymous.mjson +++ /dev/null @@ -1,8 +0,0 @@ -{ - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "TaskArgsAnonymous" - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/task-description-anonymous.mjson b/core/model/descriptors/task-description-anonymous.mjson deleted file mode 100644 index 01779fdd0b..0000000000 --- a/core/model/descriptors/task-description-anonymous.mjson +++ /dev/null @@ -1,36 +0,0 @@ -{ - "blueprint_taskdescriptionanonymous_format": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "format", - "blueprint": {"@": "root"} - } - }, - "blueprint_taskdescriptionanonymous_message": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "message", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_taskdescriptionanonymous_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "TaskDescriptionAnonymous", - "propertyBlueprints": [ - {"@": "blueprint_taskdescriptionanonymous_format"}, - {"@": "blueprint_taskdescriptionanonymous_message"}, - {"@": "blueprint_taskdescriptionanonymous_name"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/task.mjson b/core/model/descriptors/task.mjson deleted file mode 100644 index f231f5f0c7..0000000000 --- a/core/model/descriptors/task.mjson +++ /dev/null @@ -1,187 +0,0 @@ -{ - "blueprint_task_args": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "args", - "blueprint": {"@": "root"}, - "valueType": "object" - } - }, - "blueprint_task_created_at": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "created_at", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "IsoDatetime" - } - }, - "blueprint_task_debugger": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "debugger", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_task_description": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "description", - "blueprint": {"@": "root"}, - "valueType": "object" - } - }, - "blueprint_task_error": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "error", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "Error" - } - }, - "blueprint_task_finished_at": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "finished_at", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "IsoDatetime" - } - }, - "blueprint_task_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_task_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_task_output": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "output", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_task_parent": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parent", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_task_resources": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "resources", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_task_rusage": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rusage", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "Rusage" - } - }, - "blueprint_task_session": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "session", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_task_started_at": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "started_at", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "IsoDatetime" - } - }, - "blueprint_task_state": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "state", - "blueprint": {"@": "root"}, - "valueType": "String", - "enumValues": [ - "CREATED", - "WAITING", - "EXECUTING", - "ROLLBACK", - "FINISHED", - "FAILED", - "ABORTED" - ] - } - }, - "blueprint_task_updated_at": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "updated_at", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "IsoDatetime" - } - }, - "blueprint_task_user": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "user", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_task_warnings": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "warnings", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "Task", - "propertyBlueprints": [ - {"@": "blueprint_task_args"}, - {"@": "blueprint_task_created_at"}, - {"@": "blueprint_task_debugger"}, - {"@": "blueprint_task_description"}, - {"@": "blueprint_task_error"}, - {"@": "blueprint_task_finished_at"}, - {"@": "blueprint_task_id"}, - {"@": "blueprint_task_name"}, - {"@": "blueprint_task_output"}, - {"@": "blueprint_task_parent"}, - {"@": "blueprint_task_resources"}, - {"@": "blueprint_task_rusage"}, - {"@": "blueprint_task_session"}, - {"@": "blueprint_task_started_at"}, - {"@": "blueprint_task_state"}, - {"@": "blueprint_task_updated_at"}, - {"@": "blueprint_task_user"}, - {"@": "blueprint_task_warnings"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/throttle-replication-transport-option.mjson b/core/model/descriptors/throttle-replication-transport-option.mjson deleted file mode 100644 index 5a98f08953..0000000000 --- a/core/model/descriptors/throttle-replication-transport-option.mjson +++ /dev/null @@ -1,30 +0,0 @@ -{ - "propertyblueprint": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "%type", - "blueprint": {"@": "root"}, - "enumValues": [ - "throttle-replication-transport-option" - ] - } - }, - "blueprint_throttlereplicationtransportoption_buffer_size": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "buffer_size", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ThrottleReplicationTransportOption", - "propertyBlueprints": [ - {"@": "propertyblueprint"}, - {"@": "blueprint_throttlereplicationtransportoption_buffer_size"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/throttle-replication-transport-plugin.mjson b/core/model/descriptors/throttle-replication-transport-plugin.mjson deleted file mode 100644 index 98ac03601f..0000000000 --- a/core/model/descriptors/throttle-replication-transport-plugin.mjson +++ /dev/null @@ -1,48 +0,0 @@ -{ - "propertyblueprint": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "%type", - "blueprint": {"@": "root"}, - "enumValues": [ - "throttle-replication-transport-plugin" - ] - } - }, - "blueprint_throttlereplicationtransportplugin_buffer_size": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "buffer_size", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_throttlereplicationtransportplugin_read_fd": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "read_fd", - "blueprint": {"@": "root"}, - "valueType": "fd" - } - }, - "blueprint_throttlereplicationtransportplugin_write_fd": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "write_fd", - "blueprint": {"@": "root"}, - "valueType": "fd" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ThrottleReplicationTransportPlugin", - "propertyBlueprints": [ - {"@": "propertyblueprint"}, - {"@": "blueprint_throttlereplicationtransportplugin_buffer_size"}, - {"@": "blueprint_throttlereplicationtransportplugin_read_fd"}, - {"@": "blueprint_throttlereplicationtransportplugin_write_fd"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/tunable.mjson b/core/model/descriptors/tunable.mjson deleted file mode 100644 index 2da007022a..0000000000 --- a/core/model/descriptors/tunable.mjson +++ /dev/null @@ -1,65 +0,0 @@ -{ - "blueprint_tunable_comment": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "comment", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_tunable_enabled": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "enabled", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_tunable_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_tunable_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "TunableType" - } - }, - "blueprint_tunable_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "value", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_tunable_var": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "var", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "Tunable", - "propertyBlueprints": [ - {"@": "blueprint_tunable_comment"}, - {"@": "blueprint_tunable_enabled"}, - {"@": "blueprint_tunable_id"}, - {"@": "blueprint_tunable_type"}, - {"@": "blueprint_tunable_value"}, - {"@": "blueprint_tunable_var"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/ui-transaction.mjson b/core/model/descriptors/ui-transaction.mjson deleted file mode 100644 index 8a6a24d71b..0000000000 --- a/core/model/descriptors/ui-transaction.mjson +++ /dev/null @@ -1,28 +0,0 @@ -{ - "blueprint_uitransaction_identifier": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "identifier", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_uitransaction_sessions": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "sessions", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "UiTransaction", - "propertyBlueprints": [ - {"@": "blueprint_uitransaction_identifier"}, - {"@": "blueprint_uitransaction_sessions"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/unix-mode-tuple.mjson b/core/model/descriptors/unix-mode-tuple.mjson deleted file mode 100644 index 7be568f986..0000000000 --- a/core/model/descriptors/unix-mode-tuple.mjson +++ /dev/null @@ -1,37 +0,0 @@ -{ - "blueprint_unixmodetuple_execute": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "execute", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_unixmodetuple_read": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "read", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_unixmodetuple_write": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "write", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "UnixModeTuple", - "propertyBlueprints": [ - {"@": "blueprint_unixmodetuple_execute"}, - {"@": "blueprint_unixmodetuple_read"}, - {"@": "blueprint_unixmodetuple_write"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/unix-permissions.mjson b/core/model/descriptors/unix-permissions.mjson deleted file mode 100644 index e962861c3c..0000000000 --- a/core/model/descriptors/unix-permissions.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "blueprint_unixpermissions_group": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "group", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "UnixModeTuple" - } - }, - "blueprint_unixpermissions_others": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "others", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "UnixModeTuple" - } - }, - "blueprint_unixpermissions_user": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "user", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "UnixModeTuple" - } - }, - "blueprint_unixpermissions_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "value", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "UnixPermissions", - "propertyBlueprints": [ - {"@": "blueprint_unixpermissions_group"}, - {"@": "blueprint_unixpermissions_others"}, - {"@": "blueprint_unixpermissions_user"}, - {"@": "blueprint_unixpermissions_value"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/update-info-notes-anonymous.mjson b/core/model/descriptors/update-info-notes-anonymous.mjson deleted file mode 100644 index aaaa9b7785..0000000000 --- a/core/model/descriptors/update-info-notes-anonymous.mjson +++ /dev/null @@ -1,8 +0,0 @@ -{ - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "UpdateInfoNotesAnonymous" - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/update-info.mjson b/core/model/descriptors/update-info.mjson deleted file mode 100644 index 246c166869..0000000000 --- a/core/model/descriptors/update-info.mjson +++ /dev/null @@ -1,92 +0,0 @@ -{ - "blueprint_updateinfo_available": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "available", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_updateinfo_changelog": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "changelog", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_updateinfo_downloaded": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "downloaded", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_updateinfo_installed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "installed", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_updateinfo_installed_version": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "installed_version", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_updateinfo_notes": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "notes", - "blueprint": {"@": "root"}, - "valueType": "object" - } - }, - "blueprint_updateinfo_notice": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "notice", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_updateinfo_operations": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "operations", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "UpdateOps" - } - }, - "blueprint_updateinfo_version": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "version", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "UpdateInfo", - "propertyBlueprints": [ - {"@": "blueprint_updateinfo_available"}, - {"@": "blueprint_updateinfo_changelog"}, - {"@": "blueprint_updateinfo_downloaded"}, - {"@": "blueprint_updateinfo_installed"}, - {"@": "blueprint_updateinfo_installed_version"}, - {"@": "blueprint_updateinfo_notes"}, - {"@": "blueprint_updateinfo_notice"}, - {"@": "blueprint_updateinfo_operations"}, - {"@": "blueprint_updateinfo_version"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/update-ops.mjson b/core/model/descriptors/update-ops.mjson deleted file mode 100644 index c009a720c7..0000000000 --- a/core/model/descriptors/update-ops.mjson +++ /dev/null @@ -1,56 +0,0 @@ -{ - "blueprint_updateops_new_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "new_name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_updateops_new_version": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "new_version", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_updateops_operation": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "operation", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "UpdateOpsOperation" - } - }, - "blueprint_updateops_previous_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "previous_name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_updateops_previous_version": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "previous_version", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "UpdateOps", - "propertyBlueprints": [ - {"@": "blueprint_updateops_new_name"}, - {"@": "blueprint_updateops_new_version"}, - {"@": "blueprint_updateops_operation"}, - {"@": "blueprint_updateops_previous_name"}, - {"@": "blueprint_updateops_previous_version"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/update-progress.mjson b/core/model/descriptors/update-progress.mjson deleted file mode 100644 index a07f9d40f0..0000000000 --- a/core/model/descriptors/update-progress.mjson +++ /dev/null @@ -1,119 +0,0 @@ -{ - "blueprint_updateprogress_details": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "details", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_updateprogress_error": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "error", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_updateprogress_filesize": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "filesize", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_updateprogress_finished": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "finished", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_updateprogress_indeterminate": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "indeterminate", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_updateprogress_num_files_done": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "num_files_done", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_updateprogress_num_files_total": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "num_files_total", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_updateprogress_operation": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "operation", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "UpdateProgressOperation" - } - }, - "blueprint_updateprogress_percent": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "percent", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_updateprogress_pkg_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "pkg_name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_updateprogress_pkg_version": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "pkg_version", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_updateprogress_reboot": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "reboot", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "UpdateProgress", - "propertyBlueprints": [ - {"@": "blueprint_updateprogress_details"}, - {"@": "blueprint_updateprogress_error"}, - {"@": "blueprint_updateprogress_filesize"}, - {"@": "blueprint_updateprogress_finished"}, - {"@": "blueprint_updateprogress_indeterminate"}, - {"@": "blueprint_updateprogress_num_files_done"}, - {"@": "blueprint_updateprogress_num_files_total"}, - {"@": "blueprint_updateprogress_operation"}, - {"@": "blueprint_updateprogress_percent"}, - {"@": "blueprint_updateprogress_pkg_name"}, - {"@": "blueprint_updateprogress_pkg_version"}, - {"@": "blueprint_updateprogress_reboot"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/update-train.mjson b/core/model/descriptors/update-train.mjson deleted file mode 100644 index 9c429ce68c..0000000000 --- a/core/model/descriptors/update-train.mjson +++ /dev/null @@ -1,46 +0,0 @@ -{ - "blueprint_updatetrain_current": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "current", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_updatetrain_description": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "description", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_updatetrain_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_updatetrain_sequence": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "sequence", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "UpdateTrain", - "propertyBlueprints": [ - {"@": "blueprint_updatetrain_current"}, - {"@": "blueprint_updatetrain_description"}, - {"@": "blueprint_updatetrain_name"}, - {"@": "blueprint_updatetrain_sequence"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/update.mjson b/core/model/descriptors/update.mjson deleted file mode 100644 index 41d69ae183..0000000000 --- a/core/model/descriptors/update.mjson +++ /dev/null @@ -1,38 +0,0 @@ -{ - "blueprint_update_check_auto": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "check_auto", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_update_train": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "train", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_update_update_server": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "update_server", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "Update", - "propertyBlueprints": [ - {"@": "blueprint_update_check_auto"}, - {"@": "blueprint_update_train"}, - {"@": "blueprint_update_update_server"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/usb-device.mjson b/core/model/descriptors/usb-device.mjson deleted file mode 100644 index 6ee2e80f2d..0000000000 --- a/core/model/descriptors/usb-device.mjson +++ /dev/null @@ -1,73 +0,0 @@ -{ - "blueprint_usbdevice_address": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "address", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_usbdevice_bus": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "bus", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_usbdevice_class": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "class", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_usbdevice_manufacturer": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "manufacturer", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_usbdevice_pid": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "pid", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_usbdevice_product": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "product", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_usbdevice_vid": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "vid", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "UsbDevice", - "propertyBlueprints": [ - {"@": "blueprint_usbdevice_address"}, - {"@": "blueprint_usbdevice_bus"}, - {"@": "blueprint_usbdevice_class"}, - {"@": "blueprint_usbdevice_manufacturer"}, - {"@": "blueprint_usbdevice_pid"}, - {"@": "blueprint_usbdevice_product"}, - {"@": "blueprint_usbdevice_vid"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/user-attributes-anonymous.mjson b/core/model/descriptors/user-attributes-anonymous.mjson deleted file mode 100644 index 56b171dcbe..0000000000 --- a/core/model/descriptors/user-attributes-anonymous.mjson +++ /dev/null @@ -1,8 +0,0 @@ -{ - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "UserAttributesAnonymous" - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/user-origin-anonymous.mjson b/core/model/descriptors/user-origin-anonymous.mjson deleted file mode 100644 index 10a737520e..0000000000 --- a/core/model/descriptors/user-origin-anonymous.mjson +++ /dev/null @@ -1,46 +0,0 @@ -{ - "blueprint_useroriginanonymous_cached_at": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "cached_at", - "blueprint": {"@": "root"}, - "valueType": "datetime" - } - }, - "blueprint_useroriginanonymous_directory": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "directory", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_useroriginanonymous_read_only": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "read_only", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_useroriginanonymous_ttl": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "ttl", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "UserOriginAnonymous", - "propertyBlueprints": [ - {"@": "blueprint_useroriginanonymous_cached_at"}, - {"@": "blueprint_useroriginanonymous_directory"}, - {"@": "blueprint_useroriginanonymous_read_only"}, - {"@": "blueprint_useroriginanonymous_ttl"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/user.mjson b/core/model/descriptors/user.mjson deleted file mode 100644 index cf3541a7c5..0000000000 --- a/core/model/descriptors/user.mjson +++ /dev/null @@ -1,221 +0,0 @@ -{ - "blueprint_user_attributes": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "attributes", - "blueprint": {"@": "root"}, - "valueType": "object" - } - }, - "blueprint_user_builtin": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "builtin", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "boolean" - } - }, - "blueprint_user_email": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "email", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "Email" - } - }, - "blueprint_user_full_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "full_name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_user_gid": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "gid", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_user_group": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "group", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_user_groups": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "groups", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_user_home": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "home", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_user_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_user_lmhash": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "lmhash", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_user_locked": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "locked", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_user_nthash": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "nthash", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_user_origin": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "origin", - "blueprint": {"@": "root"}, - "valueType": "object" - } - }, - "blueprint_user_password": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "password", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_user_password_changed_at": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "password_changed_at", - "blueprint": {"@": "root"}, - "valueType": "datetime" - } - }, - "blueprint_user_password_disabled": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "password_disabled", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_user_shell": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "shell", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_user_sid": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "sid", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_user_sshpubkey": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "sshpubkey", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_user_sudo": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "sudo", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_user_uid": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "uid", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_user_unixhash": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "unixhash", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_user_username": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "username", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "User", - "propertyBlueprints": [ - {"@": "blueprint_user_attributes"}, - {"@": "blueprint_user_builtin"}, - {"@": "blueprint_user_email"}, - {"@": "blueprint_user_full_name"}, - {"@": "blueprint_user_gid"}, - {"@": "blueprint_user_group"}, - {"@": "blueprint_user_groups"}, - {"@": "blueprint_user_home"}, - {"@": "blueprint_user_id"}, - {"@": "blueprint_user_lmhash"}, - {"@": "blueprint_user_locked"}, - {"@": "blueprint_user_nthash"}, - {"@": "blueprint_user_origin"}, - {"@": "blueprint_user_password"}, - {"@": "blueprint_user_password_changed_at"}, - {"@": "blueprint_user_password_disabled"}, - {"@": "blueprint_user_shell"}, - {"@": "blueprint_user_sid"}, - {"@": "blueprint_user_sshpubkey"}, - {"@": "blueprint_user_sudo"}, - {"@": "blueprint_user_uid"}, - {"@": "blueprint_user_unixhash"}, - {"@": "blueprint_user_username"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/vm-config-anonymous.mjson b/core/model/descriptors/vm-config-anonymous.mjson deleted file mode 100644 index 7d32731707..0000000000 --- a/core/model/descriptors/vm-config-anonymous.mjson +++ /dev/null @@ -1,119 +0,0 @@ -{ - "blueprint_vmconfiganonymous_autostart": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "autostart", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_vmconfiganonymous_boot_device": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "boot_device", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_vmconfiganonymous_boot_directory": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "boot_directory", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_vmconfiganonymous_boot_partition": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "boot_partition", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_vmconfiganonymous_bootloader": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "bootloader", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VmConfigBootloader" - } - }, - "blueprint_vmconfiganonymous_cloud_init": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "cloud_init", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_vmconfiganonymous_docker_host": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "docker_host", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_vmconfiganonymous_logging": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "logging", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_vmconfiganonymous_memsize": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "memsize", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_vmconfiganonymous_ncpus": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "ncpus", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_vmconfiganonymous_readme": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "readme", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_vmconfiganonymous_vnc_password": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "vnc_password", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VmConfigAnonymous", - "propertyBlueprints": [ - {"@": "blueprint_vmconfiganonymous_autostart"}, - {"@": "blueprint_vmconfiganonymous_boot_device"}, - {"@": "blueprint_vmconfiganonymous_boot_directory"}, - {"@": "blueprint_vmconfiganonymous_boot_partition"}, - {"@": "blueprint_vmconfiganonymous_bootloader"}, - {"@": "blueprint_vmconfiganonymous_cloud_init"}, - {"@": "blueprint_vmconfiganonymous_docker_host"}, - {"@": "blueprint_vmconfiganonymous_logging"}, - {"@": "blueprint_vmconfiganonymous_memsize"}, - {"@": "blueprint_vmconfiganonymous_ncpus"}, - {"@": "blueprint_vmconfiganonymous_readme"}, - {"@": "blueprint_vmconfiganonymous_vnc_password"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/vm-config-network-anonymous.mjson b/core/model/descriptors/vm-config-network-anonymous.mjson deleted file mode 100644 index 76a499cea2..0000000000 --- a/core/model/descriptors/vm-config-network-anonymous.mjson +++ /dev/null @@ -1,28 +0,0 @@ -{ - "blueprint_vmconfignetworkanonymous_management": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "management", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_vmconfignetworkanonymous_nat": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "nat", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VmConfigNetworkAnonymous", - "propertyBlueprints": [ - {"@": "blueprint_vmconfignetworkanonymous_management"}, - {"@": "blueprint_vmconfignetworkanonymous_nat"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/vm-config.mjson b/core/model/descriptors/vm-config.mjson deleted file mode 100644 index c6bcd1cdd1..0000000000 --- a/core/model/descriptors/vm-config.mjson +++ /dev/null @@ -1,29 +0,0 @@ -{ - "blueprint_vmconfig_additional_templates": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "additional_templates", - "blueprint": {"@": "root"}, - "valueType": "array", - "valueObjectPrototypeName": "VmTemplateSource" - } - }, - "blueprint_vmconfig_network": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "network", - "blueprint": {"@": "root"}, - "valueType": "object" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VmConfig", - "propertyBlueprints": [ - {"@": "blueprint_vmconfig_additional_templates"}, - {"@": "blueprint_vmconfig_network"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/vm-datastore-capabilities.mjson b/core/model/descriptors/vm-datastore-capabilities.mjson deleted file mode 100644 index 32121e7223..0000000000 --- a/core/model/descriptors/vm-datastore-capabilities.mjson +++ /dev/null @@ -1,37 +0,0 @@ -{ - "blueprint_vmdatastorecapabilities_block_devices": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "block_devices", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_vmdatastorecapabilities_clones": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "clones", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_vmdatastorecapabilities_snapshots": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "snapshots", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VmDatastoreCapabilities", - "propertyBlueprints": [ - {"@": "blueprint_vmdatastorecapabilities_block_devices"}, - {"@": "blueprint_vmdatastorecapabilities_clones"}, - {"@": "blueprint_vmdatastorecapabilities_snapshots"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/vm-datastore-properties-local.mjson b/core/model/descriptors/vm-datastore-properties-local.mjson deleted file mode 100644 index ef2206dda8..0000000000 --- a/core/model/descriptors/vm-datastore-properties-local.mjson +++ /dev/null @@ -1,30 +0,0 @@ -{ - "propertyblueprint": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "%type", - "blueprint": {"@": "root"}, - "enumValues": [ - "vm-datastore-local" - ] - } - }, - "blueprint_vmdatastorepropertieslocal_path": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "path", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VmDatastorePropertiesLocal", - "propertyBlueprints": [ - {"@": "propertyblueprint"}, - {"@": "blueprint_vmdatastorepropertieslocal_path"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/vm-datastore-properties-nfs.mjson b/core/model/descriptors/vm-datastore-properties-nfs.mjson deleted file mode 100644 index 2f81da5634..0000000000 --- a/core/model/descriptors/vm-datastore-properties-nfs.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "propertyblueprint": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "%type", - "blueprint": {"@": "root"}, - "enumValues": [ - "vm-datastore-nfs" - ] - } - }, - "blueprint_vmdatastorepropertiesnfs_address": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "address", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_vmdatastorepropertiesnfs_path": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "path", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_vmdatastorepropertiesnfs_version": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "version", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VmDatastoreNfsVersion" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VmDatastorePropertiesNfs", - "propertyBlueprints": [ - {"@": "propertyblueprint"}, - {"@": "blueprint_vmdatastorepropertiesnfs_address"}, - {"@": "blueprint_vmdatastorepropertiesnfs_path"}, - {"@": "blueprint_vmdatastorepropertiesnfs_version"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/vm-datastore.mjson b/core/model/descriptors/vm-datastore.mjson deleted file mode 100644 index ac3119f775..0000000000 --- a/core/model/descriptors/vm-datastore.mjson +++ /dev/null @@ -1,67 +0,0 @@ -{ - "blueprint_vmdatastore_capabilities": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "capabilities", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VmDatastoreCapabilities" - } - }, - "blueprint_vmdatastore_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_vmdatastore_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_vmdatastore_properties": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "properties", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VmDatastoreProperties" - } - }, - "blueprint_vmdatastore_state": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "state", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VmDatastoreState" - } - }, - "blueprint_vmdatastore_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VmDatastore", - "propertyBlueprints": [ - {"@": "blueprint_vmdatastore_capabilities"}, - {"@": "blueprint_vmdatastore_id"}, - {"@": "blueprint_vmdatastore_name"}, - {"@": "blueprint_vmdatastore_properties"}, - {"@": "blueprint_vmdatastore_state"}, - {"@": "blueprint_vmdatastore_type"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/vm-device-cdrom.mjson b/core/model/descriptors/vm-device-cdrom.mjson deleted file mode 100644 index acc2deb756..0000000000 --- a/core/model/descriptors/vm-device-cdrom.mjson +++ /dev/null @@ -1,31 +0,0 @@ -{ - "propertyblueprint": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "%type", - "blueprint": {"@": "root"}, - "mandatory": true, - "enumValues": [ - "vm-device-cdrom" - ] - } - }, - "blueprint_vmdevicecdrom_path": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "path", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VmDeviceCdrom", - "propertyBlueprints": [ - {"@": "propertyblueprint"}, - {"@": "blueprint_vmdevicecdrom_path"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/vm-device-disk.mjson b/core/model/descriptors/vm-device-disk.mjson deleted file mode 100644 index 8b4659f60e..0000000000 --- a/core/model/descriptors/vm-device-disk.mjson +++ /dev/null @@ -1,73 +0,0 @@ -{ - "propertyblueprint": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "%type", - "blueprint": {"@": "root"}, - "mandatory": true, - "enumValues": [ - "vm-device-disk" - ] - } - }, - "blueprint_vmdevicedisk_mode": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "mode", - "blueprint": {"@": "root"}, - "mandatory": true, - "valueType": "object", - "valueObjectPrototypeName": "VmDeviceDiskMode" - } - }, - "blueprint_vmdevicedisk_size": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "size", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_vmdevicedisk_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "mandatory": true, - "valueType": "String" - } - }, - "blueprint_vmdevicedisk_target_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "target_type", - "blueprint": {"@": "root"}, - "mandatory": true, - "valueType": "object", - "valueObjectPrototypeName": "VmDeviceDiskTargetType" - } - }, - "blueprint_vmdevicedisk_target_path": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "target_path", - "blueprint": {"@": "root"}, - "mandatory": true, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VmDeviceDisk", - "propertyBlueprints": [ - {"@": "propertyblueprint"}, - {"@": "blueprint_vmdevicedisk_mode"}, - {"@": "blueprint_vmdevicedisk_size"}, - {"@": "blueprint_vmdevicedisk_source"}, - {"@": "blueprint_vmdevicedisk_target_type"}, - {"@": "blueprint_vmdevicedisk_target_path"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/vm-device-graphics.mjson b/core/model/descriptors/vm-device-graphics.mjson deleted file mode 100644 index a215c440b2..0000000000 --- a/core/model/descriptors/vm-device-graphics.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "propertyblueprint": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "%type", - "blueprint": {"@": "root"}, - "enumValues": [ - "vm-device-graphics" - ] - } - }, - "blueprint_vmdevicegraphics_resolution": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "resolution", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VmDeviceGraphicsResolution" - } - }, - "blueprint_vmdevicegraphics_vnc_enabled": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "vnc_enabled", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_vmdevicegraphics_vnc_port": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "vnc_port", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VmDeviceGraphics", - "propertyBlueprints": [ - {"@": "propertyblueprint"}, - {"@": "blueprint_vmdevicegraphics_resolution"}, - {"@": "blueprint_vmdevicegraphics_vnc_enabled"}, - {"@": "blueprint_vmdevicegraphics_vnc_port"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/vm-device-nic.mjson b/core/model/descriptors/vm-device-nic.mjson deleted file mode 100644 index 14968cfdf8..0000000000 --- a/core/model/descriptors/vm-device-nic.mjson +++ /dev/null @@ -1,59 +0,0 @@ -{ - "propertyblueprint": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "%type", - "blueprint": {"@": "root"}, - "enumValues": [ - "vm-device-nic" - ] - } - }, - "blueprint_vmdevicenic_bridge": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "bridge", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_vmdevicenic_device": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "device", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VmDeviceNicDevice" - } - }, - "blueprint_vmdevicenic_link_address": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "link_address", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_vmdevicenic_mode": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "mode", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VmDeviceNicMode" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VmDeviceNic", - "propertyBlueprints": [ - {"@": "propertyblueprint"}, - {"@": "blueprint_vmdevicenic_bridge"}, - {"@": "blueprint_vmdevicenic_device"}, - {"@": "blueprint_vmdevicenic_link_address"}, - {"@": "blueprint_vmdevicenic_mode"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/vm-device-usb-config-anonymous.mjson b/core/model/descriptors/vm-device-usb-config-anonymous.mjson deleted file mode 100644 index e33cc73f27..0000000000 --- a/core/model/descriptors/vm-device-usb-config-anonymous.mjson +++ /dev/null @@ -1,8 +0,0 @@ -{ - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VmDeviceUsbConfigAnonymous" - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/vm-device-usb.mjson b/core/model/descriptors/vm-device-usb.mjson deleted file mode 100644 index 979f12c03d..0000000000 --- a/core/model/descriptors/vm-device-usb.mjson +++ /dev/null @@ -1,42 +0,0 @@ -{ - "propertyblueprint": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "%type", - "blueprint": {"@": "root"}, - "mandatory": true, - "enumValues": [ - "vm-device-usb" - ] - } - }, - "blueprint_vmdeviceusb_config": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "config", - "blueprint": {"@": "root"}, - "mandatory": true, - "valueType": "object" - } - }, - "blueprint_vmdeviceusb_device": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "device", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VmDeviceUsbDevice" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VmDeviceUsb", - "propertyBlueprints": [ - {"@": "propertyblueprint"}, - {"@": "blueprint_vmdeviceusb_config"}, - {"@": "blueprint_vmdeviceusb_device"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/vm-device-volume.mjson b/core/model/descriptors/vm-device-volume.mjson deleted file mode 100644 index dc4d1198bb..0000000000 --- a/core/model/descriptors/vm-device-volume.mjson +++ /dev/null @@ -1,58 +0,0 @@ -{ - "propertyblueprint": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "%type", - "blueprint": {"@": "root"}, - "enumValues": [ - "vm-device-volume" - ] - } - }, - "blueprint_vmdevicevolume_auto": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "auto", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_vmdevicevolume_destination": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "destination", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_vmdevicevolume_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_vmdevicevolume_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VmDeviceVolumeType" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VmDeviceVolume", - "propertyBlueprints": [ - {"@": "propertyblueprint"}, - {"@": "blueprint_vmdevicevolume_auto"}, - {"@": "blueprint_vmdevicevolume_destination"}, - {"@": "blueprint_vmdevicevolume_source"}, - {"@": "blueprint_vmdevicevolume_type"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/vm-device.mjson b/core/model/descriptors/vm-device.mjson deleted file mode 100644 index 7495c6b237..0000000000 --- a/core/model/descriptors/vm-device.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "blueprint_vmdevice_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "mandatory": true, - "valueType": "String" - } - }, - "blueprint_vmdevice_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_vmdevice_properties": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "properties", - "blueprint": {"@": "root"}, - "mandatory": true - } - }, - "blueprint_vmdevice_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "mandatory": true, - "valueType": "object", - "valueObjectPrototypeName": "VmDeviceType" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VmDevice", - "propertyBlueprints": [ - {"@": "blueprint_vmdevice_id"}, - {"@": "blueprint_vmdevice_name"}, - {"@": "blueprint_vmdevice_properties"}, - {"@": "blueprint_vmdevice_type"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/vm-guest-info-interfaces-anonymous.mjson b/core/model/descriptors/vm-guest-info-interfaces-anonymous.mjson deleted file mode 100644 index a58b0c4191..0000000000 --- a/core/model/descriptors/vm-guest-info-interfaces-anonymous.mjson +++ /dev/null @@ -1,8 +0,0 @@ -{ - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VmGuestInfoInterfacesAnonymous" - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/vm-guest-info.mjson b/core/model/descriptors/vm-guest-info.mjson deleted file mode 100644 index b03c41ed2d..0000000000 --- a/core/model/descriptors/vm-guest-info.mjson +++ /dev/null @@ -1,46 +0,0 @@ -{ - "blueprint_vmguestinfo_interfaces": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "interfaces", - "blueprint": {"@": "root"}, - "valueType": "object" - } - }, - "blueprint_vmguestinfo_load_avg": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "load_avg", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_vmguestinfo_time": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "time", - "blueprint": {"@": "root"}, - "valueType": "datetime" - } - }, - "blueprint_vmguestinfo_vm_tools_version": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "vm_tools_version", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VmGuestInfo", - "propertyBlueprints": [ - {"@": "blueprint_vmguestinfo_interfaces"}, - {"@": "blueprint_vmguestinfo_load_avg"}, - {"@": "blueprint_vmguestinfo_time"}, - {"@": "blueprint_vmguestinfo_vm_tools_version"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/vm-snapshot.mjson b/core/model/descriptors/vm-snapshot.mjson deleted file mode 100644 index 9d441eeafe..0000000000 --- a/core/model/descriptors/vm-snapshot.mjson +++ /dev/null @@ -1,47 +0,0 @@ -{ - "blueprint_vmsnapshot_description": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "description", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_vmsnapshot_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_vmsnapshot_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_vmsnapshot_parent": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parent", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "Vm" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VmSnapshot", - "propertyBlueprints": [ - {"@": "blueprint_vmsnapshot_description"}, - {"@": "blueprint_vmsnapshot_id"}, - {"@": "blueprint_vmsnapshot_name"}, - {"@": "blueprint_vmsnapshot_parent"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/vm-status-lease.mjson b/core/model/descriptors/vm-status-lease.mjson deleted file mode 100644 index 0ed956f7a2..0000000000 --- a/core/model/descriptors/vm-status-lease.mjson +++ /dev/null @@ -1,19 +0,0 @@ -{ - "blueprint_vmstatuslease_client_ip": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "client_ip", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VmStatusLease", - "propertyBlueprints": [ - {"@": "blueprint_vmstatuslease_client_ip"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/vm-status.mjson b/core/model/descriptors/vm-status.mjson deleted file mode 100644 index 7caa606af2..0000000000 --- a/core/model/descriptors/vm-status.mjson +++ /dev/null @@ -1,59 +0,0 @@ -{ - "blueprint_vmstatus_health": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "health", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VmStatusHealth" - } - }, - "blueprint_vmstatus_management_lease": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "management_lease", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VmStatusLease" - } - }, - "blueprint_vmstatus_nat_lease": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "nat_lease", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VmStatusLease" - } - }, - "blueprint_vmstatus_state": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "state", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VmStatusState" - } - }, - "blueprint_vmstatus_vm_tools_available": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "vm_tools_available", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VmStatus", - "propertyBlueprints": [ - {"@": "blueprint_vmstatus_health"}, - {"@": "blueprint_vmstatus_management_lease"}, - {"@": "blueprint_vmstatus_nat_lease"}, - {"@": "blueprint_vmstatus_state"}, - {"@": "blueprint_vmstatus_vm_tools_available"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/vm-template-source.mjson b/core/model/descriptors/vm-template-source.mjson deleted file mode 100644 index 7f2174ead3..0000000000 --- a/core/model/descriptors/vm-template-source.mjson +++ /dev/null @@ -1,37 +0,0 @@ -{ - "blueprint_vmtemplatesource_driver": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "driver", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_vmtemplatesource_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_vmtemplatesource_url": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "url", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VmTemplateSource", - "propertyBlueprints": [ - {"@": "blueprint_vmtemplatesource_driver"}, - {"@": "blueprint_vmtemplatesource_id"}, - {"@": "blueprint_vmtemplatesource_url"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/vm.mjson b/core/model/descriptors/vm.mjson deleted file mode 100644 index 89bedb6682..0000000000 --- a/core/model/descriptors/vm.mjson +++ /dev/null @@ -1,112 +0,0 @@ -{ - "blueprint_vm_config": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "config", - "blueprint": {"@": "root"}, - "valueType": "object" - } - }, - "blueprint_vm_description": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "description", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_vm_devices": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "devices", - "blueprint": {"@": "root"}, - "valueType": "array", - "valueObjectPrototypeName": "VmDevice" - } - }, - "blueprint_vm_enabled": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "enabled", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_vm_guest_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "guest_type", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VmGuestType" - } - }, - "blueprint_vm_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_vm_immutable": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "immutable", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_vm_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_vm_status": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "status", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VmStatus" - } - }, - "blueprint_vm_target": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "target", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_vm_template": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "template", - "blueprint": {"@": "root"}, - "valueType": "object" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "Vm", - "propertyBlueprints": [ - {"@": "blueprint_vm_config"}, - {"@": "blueprint_vm_description"}, - {"@": "blueprint_vm_devices"}, - {"@": "blueprint_vm_enabled"}, - {"@": "blueprint_vm_guest_type"}, - {"@": "blueprint_vm_id"}, - {"@": "blueprint_vm_immutable"}, - {"@": "blueprint_vm_name"}, - {"@": "blueprint_vm_status"}, - {"@": "blueprint_vm_target"}, - {"@": "blueprint_vm_template"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/vmware-credentials.mjson b/core/model/descriptors/vmware-credentials.mjson deleted file mode 100644 index 30956da36e..0000000000 --- a/core/model/descriptors/vmware-credentials.mjson +++ /dev/null @@ -1,48 +0,0 @@ -{ - "propertyblueprint": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "%type", - "blueprint": {"@": "root"}, - "enumValues": [ - "vmware-credentials" - ] - } - }, - "blueprint_vmwarecredentials_address": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "address", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_vmwarecredentials_password": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "password", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_vmwarecredentials_username": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "username", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VmwareCredentials", - "propertyBlueprints": [ - {"@": "propertyblueprint"}, - {"@": "blueprint_vmwarecredentials_address"}, - {"@": "blueprint_vmwarecredentials_password"}, - {"@": "blueprint_vmwarecredentials_username"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/vmware-dataset.mjson b/core/model/descriptors/vmware-dataset.mjson deleted file mode 100644 index 90b360703c..0000000000 --- a/core/model/descriptors/vmware-dataset.mjson +++ /dev/null @@ -1,74 +0,0 @@ -{ - "blueprint_vmwaredataset_dataset": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "dataset", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_vmwaredataset_datastore": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "datastore", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_vmwaredataset_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_vmwaredataset_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_vmwaredataset_peer": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "peer", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_vmwaredataset_vm_filter_entries": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "vm_filter_entries", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_vmwaredataset_vm_filter_op": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "vm_filter_op", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VmwareDatasetFilterOp" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VmwareDataset", - "propertyBlueprints": [ - {"@": "blueprint_vmwaredataset_dataset"}, - {"@": "blueprint_vmwaredataset_datastore"}, - {"@": "blueprint_vmwaredataset_id"}, - {"@": "blueprint_vmwaredataset_name"}, - {"@": "blueprint_vmwaredataset_peer"}, - {"@": "blueprint_vmwaredataset_vm_filter_entries"}, - {"@": "blueprint_vmwaredataset_vm_filter_op"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/vmware-datastore.mjson b/core/model/descriptors/vmware-datastore.mjson deleted file mode 100644 index 3a0874cee8..0000000000 --- a/core/model/descriptors/vmware-datastore.mjson +++ /dev/null @@ -1,46 +0,0 @@ -{ - "blueprint_vmwaredatastore_free_space": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "free_space", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_vmwaredatastore_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_vmwaredatastore_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_vmwaredatastore_virtual_machines": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "virtual_machines", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VmwareDatastore", - "propertyBlueprints": [ - {"@": "blueprint_vmwaredatastore_free_space"}, - {"@": "blueprint_vmwaredatastore_id"}, - {"@": "blueprint_vmwaredatastore_name"}, - {"@": "blueprint_vmwaredatastore_virtual_machines"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-attributes-anonymous.mjson b/core/model/descriptors/volume-attributes-anonymous.mjson deleted file mode 100644 index 59744614ef..0000000000 --- a/core/model/descriptors/volume-attributes-anonymous.mjson +++ /dev/null @@ -1,8 +0,0 @@ -{ - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumeAttributesAnonymous" - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-dataset-properties.mjson b/core/model/descriptors/volume-dataset-properties.mjson deleted file mode 100644 index 560813e06b..0000000000 --- a/core/model/descriptors/volume-dataset-properties.mjson +++ /dev/null @@ -1,250 +0,0 @@ -{ - "blueprint_volumedatasetproperties_atime": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "atime", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPropertyAtime" - } - }, - "blueprint_volumedatasetproperties_available": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "available", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPropertyAvailable" - } - }, - "blueprint_volumedatasetproperties_casesensitivity": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "casesensitivity", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPropertyCasesensitivity" - } - }, - "blueprint_volumedatasetproperties_compression": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "compression", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPropertyCompression" - } - }, - "blueprint_volumedatasetproperties_compressratio": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "compressratio", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPropertyCompressratio" - } - }, - "blueprint_volumedatasetproperties_dedup": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "dedup", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPropertyDedup" - } - }, - "blueprint_volumedatasetproperties_logicalreferenced": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "logicalreferenced", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPropertyLogicalreferenced" - } - }, - "blueprint_volumedatasetproperties_logicalused": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "logicalused", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPropertyLogicalused" - } - }, - "blueprint_volumedatasetproperties_numclones": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "numclones", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPropertyNumclones" - } - }, - "blueprint_volumedatasetproperties_quota": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "quota", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPropertyQuota" - } - }, - "blueprint_volumedatasetproperties_readonly": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "readonly", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPropertyReadonly" - } - }, - "blueprint_volumedatasetproperties_refcompressratio": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "refcompressratio", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPropertyRefcompressratio" - } - }, - "blueprint_volumedatasetproperties_referenced": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "referenced", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPropertyReferenced" - } - }, - "blueprint_volumedatasetproperties_refquota": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "refquota", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPropertyRefquota" - } - }, - "blueprint_volumedatasetproperties_refreservation": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "refreservation", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPropertyRefreservation" - } - }, - "blueprint_volumedatasetproperties_reservation": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "reservation", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPropertyReservation" - } - }, - "blueprint_volumedatasetproperties_used": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "used", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPropertyUsed" - } - }, - "blueprint_volumedatasetproperties_usedbychildren": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "usedbychildren", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPropertyUsedbychildren" - } - }, - "blueprint_volumedatasetproperties_usedbydataset": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "usedbydataset", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPropertyUsedbydataset" - } - }, - "blueprint_volumedatasetproperties_usedbyrefreservation": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "usedbyrefreservation", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPropertyUsedbyrefreservation" - } - }, - "blueprint_volumedatasetproperties_usedbysnapshots": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "usedbysnapshots", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPropertyUsedbysnapshots" - } - }, - "blueprint_volumedatasetproperties_volblocksize": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "volblocksize", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPropertyVolblocksize" - } - }, - "blueprint_volumedatasetproperties_volsize": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "volsize", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPropertyVolsize" - } - }, - "blueprint_volumedatasetproperties_written": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "written", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPropertyWritten" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumeDatasetProperties", - "propertyBlueprints": [ - {"@": "blueprint_volumedatasetproperties_atime"}, - {"@": "blueprint_volumedatasetproperties_available"}, - {"@": "blueprint_volumedatasetproperties_casesensitivity"}, - {"@": "blueprint_volumedatasetproperties_compression"}, - {"@": "blueprint_volumedatasetproperties_compressratio"}, - {"@": "blueprint_volumedatasetproperties_dedup"}, - {"@": "blueprint_volumedatasetproperties_logicalreferenced"}, - {"@": "blueprint_volumedatasetproperties_logicalused"}, - {"@": "blueprint_volumedatasetproperties_numclones"}, - {"@": "blueprint_volumedatasetproperties_quota"}, - {"@": "blueprint_volumedatasetproperties_readonly"}, - {"@": "blueprint_volumedatasetproperties_refcompressratio"}, - {"@": "blueprint_volumedatasetproperties_referenced"}, - {"@": "blueprint_volumedatasetproperties_refquota"}, - {"@": "blueprint_volumedatasetproperties_refreservation"}, - {"@": "blueprint_volumedatasetproperties_reservation"}, - {"@": "blueprint_volumedatasetproperties_used"}, - {"@": "blueprint_volumedatasetproperties_usedbychildren"}, - {"@": "blueprint_volumedatasetproperties_usedbydataset"}, - {"@": "blueprint_volumedatasetproperties_usedbyrefreservation"}, - {"@": "blueprint_volumedatasetproperties_usedbysnapshots"}, - {"@": "blueprint_volumedatasetproperties_volblocksize"}, - {"@": "blueprint_volumedatasetproperties_volsize"}, - {"@": "blueprint_volumedatasetproperties_written"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-dataset-property-atime.mjson b/core/model/descriptors/volume-dataset-property-atime.mjson deleted file mode 100644 index db46a5b9c7..0000000000 --- a/core/model/descriptors/volume-dataset-property-atime.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "blueprint_volumedatasetpropertyatime_parsed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parsed", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPropertyAtimeValue" - } - }, - "blueprint_volumedatasetpropertyatime_rawvalue": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rawvalue", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_volumedatasetpropertyatime_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertySource" - } - }, - "blueprint_volumedatasetpropertyatime_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "value", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumeDatasetPropertyAtime", - "propertyBlueprints": [ - {"@": "blueprint_volumedatasetpropertyatime_parsed"}, - {"@": "blueprint_volumedatasetpropertyatime_rawvalue"}, - {"@": "blueprint_volumedatasetpropertyatime_source"}, - {"@": "blueprint_volumedatasetpropertyatime_value"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-dataset-property-available.mjson b/core/model/descriptors/volume-dataset-property-available.mjson deleted file mode 100644 index b696cc7c55..0000000000 --- a/core/model/descriptors/volume-dataset-property-available.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "blueprint_volumedatasetpropertyavailable_parsed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parsed", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPropertyAvailableValue" - } - }, - "blueprint_volumedatasetpropertyavailable_rawvalue": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rawvalue", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_volumedatasetpropertyavailable_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertySource" - } - }, - "blueprint_volumedatasetpropertyavailable_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "value", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumeDatasetPropertyAvailable", - "propertyBlueprints": [ - {"@": "blueprint_volumedatasetpropertyavailable_parsed"}, - {"@": "blueprint_volumedatasetpropertyavailable_rawvalue"}, - {"@": "blueprint_volumedatasetpropertyavailable_source"}, - {"@": "blueprint_volumedatasetpropertyavailable_value"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-dataset-property-casesensitivity.mjson b/core/model/descriptors/volume-dataset-property-casesensitivity.mjson deleted file mode 100644 index f4eef864bd..0000000000 --- a/core/model/descriptors/volume-dataset-property-casesensitivity.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "blueprint_volumedatasetpropertycasesensitivity_parsed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parsed", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPropertyCasesensitivityValue" - } - }, - "blueprint_volumedatasetpropertycasesensitivity_rawvalue": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rawvalue", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_volumedatasetpropertycasesensitivity_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertySource" - } - }, - "blueprint_volumedatasetpropertycasesensitivity_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "value", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumeDatasetPropertyCasesensitivity", - "propertyBlueprints": [ - {"@": "blueprint_volumedatasetpropertycasesensitivity_parsed"}, - {"@": "blueprint_volumedatasetpropertycasesensitivity_rawvalue"}, - {"@": "blueprint_volumedatasetpropertycasesensitivity_source"}, - {"@": "blueprint_volumedatasetpropertycasesensitivity_value"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-dataset-property-compression.mjson b/core/model/descriptors/volume-dataset-property-compression.mjson deleted file mode 100644 index ca18debb35..0000000000 --- a/core/model/descriptors/volume-dataset-property-compression.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "blueprint_volumedatasetpropertycompression_parsed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parsed", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPropertyCompressionValue" - } - }, - "blueprint_volumedatasetpropertycompression_rawvalue": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rawvalue", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_volumedatasetpropertycompression_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertySource" - } - }, - "blueprint_volumedatasetpropertycompression_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "value", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumeDatasetPropertyCompression", - "propertyBlueprints": [ - {"@": "blueprint_volumedatasetpropertycompression_parsed"}, - {"@": "blueprint_volumedatasetpropertycompression_rawvalue"}, - {"@": "blueprint_volumedatasetpropertycompression_source"}, - {"@": "blueprint_volumedatasetpropertycompression_value"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-dataset-property-compressratio.mjson b/core/model/descriptors/volume-dataset-property-compressratio.mjson deleted file mode 100644 index 893d6d3461..0000000000 --- a/core/model/descriptors/volume-dataset-property-compressratio.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "blueprint_volumedatasetpropertycompressratio_parsed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parsed", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPropertyCompressratioValue" - } - }, - "blueprint_volumedatasetpropertycompressratio_rawvalue": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rawvalue", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_volumedatasetpropertycompressratio_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertySource" - } - }, - "blueprint_volumedatasetpropertycompressratio_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "value", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumeDatasetPropertyCompressratio", - "propertyBlueprints": [ - {"@": "blueprint_volumedatasetpropertycompressratio_parsed"}, - {"@": "blueprint_volumedatasetpropertycompressratio_rawvalue"}, - {"@": "blueprint_volumedatasetpropertycompressratio_source"}, - {"@": "blueprint_volumedatasetpropertycompressratio_value"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-dataset-property-dedup.mjson b/core/model/descriptors/volume-dataset-property-dedup.mjson deleted file mode 100644 index 4f713a731d..0000000000 --- a/core/model/descriptors/volume-dataset-property-dedup.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "blueprint_volumedatasetpropertydedup_parsed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parsed", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPropertyDedupValue" - } - }, - "blueprint_volumedatasetpropertydedup_rawvalue": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rawvalue", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_volumedatasetpropertydedup_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertySource" - } - }, - "blueprint_volumedatasetpropertydedup_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "value", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumeDatasetPropertyDedup", - "propertyBlueprints": [ - {"@": "blueprint_volumedatasetpropertydedup_parsed"}, - {"@": "blueprint_volumedatasetpropertydedup_rawvalue"}, - {"@": "blueprint_volumedatasetpropertydedup_source"}, - {"@": "blueprint_volumedatasetpropertydedup_value"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-dataset-property-logicalreferenced.mjson b/core/model/descriptors/volume-dataset-property-logicalreferenced.mjson deleted file mode 100644 index 2309f3cbc2..0000000000 --- a/core/model/descriptors/volume-dataset-property-logicalreferenced.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "blueprint_volumedatasetpropertylogicalreferenced_parsed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parsed", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPropertyLogicalreferencedValue" - } - }, - "blueprint_volumedatasetpropertylogicalreferenced_rawvalue": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rawvalue", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_volumedatasetpropertylogicalreferenced_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertySource" - } - }, - "blueprint_volumedatasetpropertylogicalreferenced_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "value", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumeDatasetPropertyLogicalreferenced", - "propertyBlueprints": [ - {"@": "blueprint_volumedatasetpropertylogicalreferenced_parsed"}, - {"@": "blueprint_volumedatasetpropertylogicalreferenced_rawvalue"}, - {"@": "blueprint_volumedatasetpropertylogicalreferenced_source"}, - {"@": "blueprint_volumedatasetpropertylogicalreferenced_value"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-dataset-property-logicalused.mjson b/core/model/descriptors/volume-dataset-property-logicalused.mjson deleted file mode 100644 index 56f80f0993..0000000000 --- a/core/model/descriptors/volume-dataset-property-logicalused.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "blueprint_volumedatasetpropertylogicalused_parsed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parsed", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPropertyLogicalusedValue" - } - }, - "blueprint_volumedatasetpropertylogicalused_rawvalue": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rawvalue", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_volumedatasetpropertylogicalused_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertySource" - } - }, - "blueprint_volumedatasetpropertylogicalused_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "value", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumeDatasetPropertyLogicalused", - "propertyBlueprints": [ - {"@": "blueprint_volumedatasetpropertylogicalused_parsed"}, - {"@": "blueprint_volumedatasetpropertylogicalused_rawvalue"}, - {"@": "blueprint_volumedatasetpropertylogicalused_source"}, - {"@": "blueprint_volumedatasetpropertylogicalused_value"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-dataset-property-numclones.mjson b/core/model/descriptors/volume-dataset-property-numclones.mjson deleted file mode 100644 index 735c277eac..0000000000 --- a/core/model/descriptors/volume-dataset-property-numclones.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "blueprint_volumedatasetpropertynumclones_parsed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parsed", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPropertyNumclonesValue" - } - }, - "blueprint_volumedatasetpropertynumclones_rawvalue": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rawvalue", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_volumedatasetpropertynumclones_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertySource" - } - }, - "blueprint_volumedatasetpropertynumclones_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "value", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumeDatasetPropertyNumclones", - "propertyBlueprints": [ - {"@": "blueprint_volumedatasetpropertynumclones_parsed"}, - {"@": "blueprint_volumedatasetpropertynumclones_rawvalue"}, - {"@": "blueprint_volumedatasetpropertynumclones_source"}, - {"@": "blueprint_volumedatasetpropertynumclones_value"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-dataset-property-quota.mjson b/core/model/descriptors/volume-dataset-property-quota.mjson deleted file mode 100644 index a580eb6f47..0000000000 --- a/core/model/descriptors/volume-dataset-property-quota.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "blueprint_volumedatasetpropertyquota_parsed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parsed", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPropertyQuotaValue" - } - }, - "blueprint_volumedatasetpropertyquota_rawvalue": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rawvalue", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_volumedatasetpropertyquota_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertySource" - } - }, - "blueprint_volumedatasetpropertyquota_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "value", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumeDatasetPropertyQuota", - "propertyBlueprints": [ - {"@": "blueprint_volumedatasetpropertyquota_parsed"}, - {"@": "blueprint_volumedatasetpropertyquota_rawvalue"}, - {"@": "blueprint_volumedatasetpropertyquota_source"}, - {"@": "blueprint_volumedatasetpropertyquota_value"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-dataset-property-readonly.mjson b/core/model/descriptors/volume-dataset-property-readonly.mjson deleted file mode 100644 index 0e4ed52161..0000000000 --- a/core/model/descriptors/volume-dataset-property-readonly.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "blueprint_volumedatasetpropertyreadonly_parsed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parsed", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPropertyReadonlyValue" - } - }, - "blueprint_volumedatasetpropertyreadonly_rawvalue": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rawvalue", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_volumedatasetpropertyreadonly_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertySource" - } - }, - "blueprint_volumedatasetpropertyreadonly_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "value", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumeDatasetPropertyReadonly", - "propertyBlueprints": [ - {"@": "blueprint_volumedatasetpropertyreadonly_parsed"}, - {"@": "blueprint_volumedatasetpropertyreadonly_rawvalue"}, - {"@": "blueprint_volumedatasetpropertyreadonly_source"}, - {"@": "blueprint_volumedatasetpropertyreadonly_value"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-dataset-property-refcompressratio.mjson b/core/model/descriptors/volume-dataset-property-refcompressratio.mjson deleted file mode 100644 index 3846b76379..0000000000 --- a/core/model/descriptors/volume-dataset-property-refcompressratio.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "blueprint_volumedatasetpropertyrefcompressratio_parsed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parsed", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPropertyRefcompressratioValue" - } - }, - "blueprint_volumedatasetpropertyrefcompressratio_rawvalue": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rawvalue", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_volumedatasetpropertyrefcompressratio_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertySource" - } - }, - "blueprint_volumedatasetpropertyrefcompressratio_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "value", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumeDatasetPropertyRefcompressratio", - "propertyBlueprints": [ - {"@": "blueprint_volumedatasetpropertyrefcompressratio_parsed"}, - {"@": "blueprint_volumedatasetpropertyrefcompressratio_rawvalue"}, - {"@": "blueprint_volumedatasetpropertyrefcompressratio_source"}, - {"@": "blueprint_volumedatasetpropertyrefcompressratio_value"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-dataset-property-referenced.mjson b/core/model/descriptors/volume-dataset-property-referenced.mjson deleted file mode 100644 index 9519ad263a..0000000000 --- a/core/model/descriptors/volume-dataset-property-referenced.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "blueprint_volumedatasetpropertyreferenced_parsed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parsed", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPropertyReferencedValue" - } - }, - "blueprint_volumedatasetpropertyreferenced_rawvalue": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rawvalue", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_volumedatasetpropertyreferenced_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertySource" - } - }, - "blueprint_volumedatasetpropertyreferenced_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "value", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumeDatasetPropertyReferenced", - "propertyBlueprints": [ - {"@": "blueprint_volumedatasetpropertyreferenced_parsed"}, - {"@": "blueprint_volumedatasetpropertyreferenced_rawvalue"}, - {"@": "blueprint_volumedatasetpropertyreferenced_source"}, - {"@": "blueprint_volumedatasetpropertyreferenced_value"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-dataset-property-refquota.mjson b/core/model/descriptors/volume-dataset-property-refquota.mjson deleted file mode 100644 index 60155c2cbc..0000000000 --- a/core/model/descriptors/volume-dataset-property-refquota.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "blueprint_volumedatasetpropertyrefquota_parsed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parsed", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPropertyRefquotaValue" - } - }, - "blueprint_volumedatasetpropertyrefquota_rawvalue": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rawvalue", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_volumedatasetpropertyrefquota_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertySource" - } - }, - "blueprint_volumedatasetpropertyrefquota_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "value", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumeDatasetPropertyRefquota", - "propertyBlueprints": [ - {"@": "blueprint_volumedatasetpropertyrefquota_parsed"}, - {"@": "blueprint_volumedatasetpropertyrefquota_rawvalue"}, - {"@": "blueprint_volumedatasetpropertyrefquota_source"}, - {"@": "blueprint_volumedatasetpropertyrefquota_value"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-dataset-property-refreservation.mjson b/core/model/descriptors/volume-dataset-property-refreservation.mjson deleted file mode 100644 index 584f989336..0000000000 --- a/core/model/descriptors/volume-dataset-property-refreservation.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "blueprint_volumedatasetpropertyrefreservation_parsed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parsed", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPropertyRefreservationValue" - } - }, - "blueprint_volumedatasetpropertyrefreservation_rawvalue": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rawvalue", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_volumedatasetpropertyrefreservation_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertySource" - } - }, - "blueprint_volumedatasetpropertyrefreservation_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "value", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumeDatasetPropertyRefreservation", - "propertyBlueprints": [ - {"@": "blueprint_volumedatasetpropertyrefreservation_parsed"}, - {"@": "blueprint_volumedatasetpropertyrefreservation_rawvalue"}, - {"@": "blueprint_volumedatasetpropertyrefreservation_source"}, - {"@": "blueprint_volumedatasetpropertyrefreservation_value"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-dataset-property-reservation.mjson b/core/model/descriptors/volume-dataset-property-reservation.mjson deleted file mode 100644 index a3233548a2..0000000000 --- a/core/model/descriptors/volume-dataset-property-reservation.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "blueprint_volumedatasetpropertyreservation_parsed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parsed", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPropertyReservationValue" - } - }, - "blueprint_volumedatasetpropertyreservation_rawvalue": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rawvalue", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_volumedatasetpropertyreservation_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertySource" - } - }, - "blueprint_volumedatasetpropertyreservation_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "value", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumeDatasetPropertyReservation", - "propertyBlueprints": [ - {"@": "blueprint_volumedatasetpropertyreservation_parsed"}, - {"@": "blueprint_volumedatasetpropertyreservation_rawvalue"}, - {"@": "blueprint_volumedatasetpropertyreservation_source"}, - {"@": "blueprint_volumedatasetpropertyreservation_value"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-dataset-property-used.mjson b/core/model/descriptors/volume-dataset-property-used.mjson deleted file mode 100644 index f0aff4387a..0000000000 --- a/core/model/descriptors/volume-dataset-property-used.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "blueprint_volumedatasetpropertyused_parsed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parsed", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPropertyUsedValue" - } - }, - "blueprint_volumedatasetpropertyused_rawvalue": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rawvalue", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_volumedatasetpropertyused_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertySource" - } - }, - "blueprint_volumedatasetpropertyused_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "value", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumeDatasetPropertyUsed", - "propertyBlueprints": [ - {"@": "blueprint_volumedatasetpropertyused_parsed"}, - {"@": "blueprint_volumedatasetpropertyused_rawvalue"}, - {"@": "blueprint_volumedatasetpropertyused_source"}, - {"@": "blueprint_volumedatasetpropertyused_value"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-dataset-property-usedbychildren.mjson b/core/model/descriptors/volume-dataset-property-usedbychildren.mjson deleted file mode 100644 index e904521cce..0000000000 --- a/core/model/descriptors/volume-dataset-property-usedbychildren.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "blueprint_volumedatasetpropertyusedbychildren_parsed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parsed", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPropertyUsedbychildrenValue" - } - }, - "blueprint_volumedatasetpropertyusedbychildren_rawvalue": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rawvalue", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_volumedatasetpropertyusedbychildren_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertySource" - } - }, - "blueprint_volumedatasetpropertyusedbychildren_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "value", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumeDatasetPropertyUsedbychildren", - "propertyBlueprints": [ - {"@": "blueprint_volumedatasetpropertyusedbychildren_parsed"}, - {"@": "blueprint_volumedatasetpropertyusedbychildren_rawvalue"}, - {"@": "blueprint_volumedatasetpropertyusedbychildren_source"}, - {"@": "blueprint_volumedatasetpropertyusedbychildren_value"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-dataset-property-usedbydataset.mjson b/core/model/descriptors/volume-dataset-property-usedbydataset.mjson deleted file mode 100644 index 77ddb7ca1e..0000000000 --- a/core/model/descriptors/volume-dataset-property-usedbydataset.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "blueprint_volumedatasetpropertyusedbydataset_parsed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parsed", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPropertyUsedbydatasetValue" - } - }, - "blueprint_volumedatasetpropertyusedbydataset_rawvalue": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rawvalue", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_volumedatasetpropertyusedbydataset_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertySource" - } - }, - "blueprint_volumedatasetpropertyusedbydataset_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "value", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumeDatasetPropertyUsedbydataset", - "propertyBlueprints": [ - {"@": "blueprint_volumedatasetpropertyusedbydataset_parsed"}, - {"@": "blueprint_volumedatasetpropertyusedbydataset_rawvalue"}, - {"@": "blueprint_volumedatasetpropertyusedbydataset_source"}, - {"@": "blueprint_volumedatasetpropertyusedbydataset_value"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-dataset-property-usedbyrefreservation.mjson b/core/model/descriptors/volume-dataset-property-usedbyrefreservation.mjson deleted file mode 100644 index 77f8ffe4d8..0000000000 --- a/core/model/descriptors/volume-dataset-property-usedbyrefreservation.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "blueprint_volumedatasetpropertyusedbyrefreservation_parsed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parsed", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPropertyUsedbyrefreservationValue" - } - }, - "blueprint_volumedatasetpropertyusedbyrefreservation_rawvalue": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rawvalue", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_volumedatasetpropertyusedbyrefreservation_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertySource" - } - }, - "blueprint_volumedatasetpropertyusedbyrefreservation_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "value", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumeDatasetPropertyUsedbyrefreservation", - "propertyBlueprints": [ - {"@": "blueprint_volumedatasetpropertyusedbyrefreservation_parsed"}, - {"@": "blueprint_volumedatasetpropertyusedbyrefreservation_rawvalue"}, - {"@": "blueprint_volumedatasetpropertyusedbyrefreservation_source"}, - {"@": "blueprint_volumedatasetpropertyusedbyrefreservation_value"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-dataset-property-usedbysnapshots.mjson b/core/model/descriptors/volume-dataset-property-usedbysnapshots.mjson deleted file mode 100644 index e0753cd845..0000000000 --- a/core/model/descriptors/volume-dataset-property-usedbysnapshots.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "blueprint_volumedatasetpropertyusedbysnapshots_parsed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parsed", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPropertyUsedbysnapshotsValue" - } - }, - "blueprint_volumedatasetpropertyusedbysnapshots_rawvalue": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rawvalue", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_volumedatasetpropertyusedbysnapshots_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertySource" - } - }, - "blueprint_volumedatasetpropertyusedbysnapshots_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "value", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumeDatasetPropertyUsedbysnapshots", - "propertyBlueprints": [ - {"@": "blueprint_volumedatasetpropertyusedbysnapshots_parsed"}, - {"@": "blueprint_volumedatasetpropertyusedbysnapshots_rawvalue"}, - {"@": "blueprint_volumedatasetpropertyusedbysnapshots_source"}, - {"@": "blueprint_volumedatasetpropertyusedbysnapshots_value"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-dataset-property-volblocksize.mjson b/core/model/descriptors/volume-dataset-property-volblocksize.mjson deleted file mode 100644 index f399852d45..0000000000 --- a/core/model/descriptors/volume-dataset-property-volblocksize.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "blueprint_volumedatasetpropertyvolblocksize_parsed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parsed", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPropertyVolblocksizeValue" - } - }, - "blueprint_volumedatasetpropertyvolblocksize_rawvalue": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rawvalue", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_volumedatasetpropertyvolblocksize_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertySource" - } - }, - "blueprint_volumedatasetpropertyvolblocksize_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "value", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumeDatasetPropertyVolblocksize", - "propertyBlueprints": [ - {"@": "blueprint_volumedatasetpropertyvolblocksize_parsed"}, - {"@": "blueprint_volumedatasetpropertyvolblocksize_rawvalue"}, - {"@": "blueprint_volumedatasetpropertyvolblocksize_source"}, - {"@": "blueprint_volumedatasetpropertyvolblocksize_value"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-dataset-property-volsize.mjson b/core/model/descriptors/volume-dataset-property-volsize.mjson deleted file mode 100644 index 0c9b2f102f..0000000000 --- a/core/model/descriptors/volume-dataset-property-volsize.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "blueprint_volumedatasetpropertyvolsize_parsed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parsed", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPropertyVolsizeValue" - } - }, - "blueprint_volumedatasetpropertyvolsize_rawvalue": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rawvalue", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_volumedatasetpropertyvolsize_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertySource" - } - }, - "blueprint_volumedatasetpropertyvolsize_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "value", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumeDatasetPropertyVolsize", - "propertyBlueprints": [ - {"@": "blueprint_volumedatasetpropertyvolsize_parsed"}, - {"@": "blueprint_volumedatasetpropertyvolsize_rawvalue"}, - {"@": "blueprint_volumedatasetpropertyvolsize_source"}, - {"@": "blueprint_volumedatasetpropertyvolsize_value"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-dataset-property-written.mjson b/core/model/descriptors/volume-dataset-property-written.mjson deleted file mode 100644 index 1f07bc6c0a..0000000000 --- a/core/model/descriptors/volume-dataset-property-written.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "blueprint_volumedatasetpropertywritten_parsed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parsed", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPropertyWrittenValue" - } - }, - "blueprint_volumedatasetpropertywritten_rawvalue": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rawvalue", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_volumedatasetpropertywritten_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertySource" - } - }, - "blueprint_volumedatasetpropertywritten_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "value", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumeDatasetPropertyWritten", - "propertyBlueprints": [ - {"@": "blueprint_volumedatasetpropertywritten_parsed"}, - {"@": "blueprint_volumedatasetpropertywritten_rawvalue"}, - {"@": "blueprint_volumedatasetpropertywritten_source"}, - {"@": "blueprint_volumedatasetpropertywritten_value"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-dataset.mjson b/core/model/descriptors/volume-dataset.mjson deleted file mode 100644 index c75368793a..0000000000 --- a/core/model/descriptors/volume-dataset.mjson +++ /dev/null @@ -1,140 +0,0 @@ -{ - "blueprint_volumedataset_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_volumedataset_last_replicated_at": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "last_replicated_at", - "blueprint": {"@": "root"}, - "valueType": "datetime" - } - }, - "blueprint_volumedataset_last_replicated_by": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "last_replicated_by", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_volumedataset_mounted": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "mounted", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_volumedataset_mountpoint": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "mountpoint", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_volumedataset_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_volumedataset_permissions": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "permissions", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "Permissions" - } - }, - "blueprint_volumedataset_permissions_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "permissions_type", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetPermissionstype" - } - }, - "blueprint_volumedataset_properties": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "properties", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeDatasetProperties" - } - }, - "blueprint_volumedataset_rname": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rname", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_volumedataset_temp_mountpoint": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "temp_mountpoint", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_volumedataset_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"} - } - }, - "blueprint_volumedataset_volsize": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "volsize", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_volumedataset_volume": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "volume", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumeDataset", - "propertyBlueprints": [ - {"@": "blueprint_volumedataset_id"}, - {"@": "blueprint_volumedataset_last_replicated_at"}, - {"@": "blueprint_volumedataset_last_replicated_by"}, - {"@": "blueprint_volumedataset_mounted"}, - {"@": "blueprint_volumedataset_mountpoint"}, - {"@": "blueprint_volumedataset_name"}, - {"@": "blueprint_volumedataset_permissions"}, - {"@": "blueprint_volumedataset_permissions_type"}, - {"@": "blueprint_volumedataset_properties"}, - {"@": "blueprint_volumedataset_rname"}, - {"@": "blueprint_volumedataset_temp_mountpoint"}, - {"@": "blueprint_volumedataset_type"}, - {"@": "blueprint_volumedataset_volsize"}, - {"@": "blueprint_volumedataset_volume"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-disk-label.mjson b/core/model/descriptors/volume-disk-label.mjson deleted file mode 100644 index b438d7b2f7..0000000000 --- a/core/model/descriptors/volume-disk-label.mjson +++ /dev/null @@ -1,55 +0,0 @@ -{ - "blueprint_volumedisklabel_hostid": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "hostid", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_volumedisklabel_hostname": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "hostname", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_volumedisklabel_vdev_guid": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "vdev_guid", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_volumedisklabel_volume_guid": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "volume_guid", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_volumedisklabel_volume_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "volume_id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumeDiskLabel", - "propertyBlueprints": [ - {"@": "blueprint_volumedisklabel_hostid"}, - {"@": "blueprint_volumedisklabel_hostname"}, - {"@": "blueprint_volumedisklabel_vdev_guid"}, - {"@": "blueprint_volumedisklabel_volume_guid"}, - {"@": "blueprint_volumedisklabel_volume_id"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-encryption.mjson b/core/model/descriptors/volume-encryption.mjson deleted file mode 100644 index 0aeb0092d7..0000000000 --- a/core/model/descriptors/volume-encryption.mjson +++ /dev/null @@ -1,46 +0,0 @@ -{ - "blueprint_volumeencryption_hashed_password": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "hashed_password", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_volumeencryption_key": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "key", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_volumeencryption_salt": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "salt", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_volumeencryption_slot": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "slot", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumeEncryption", - "propertyBlueprints": [ - {"@": "blueprint_volumeencryption_hashed_password"}, - {"@": "blueprint_volumeencryption_key"}, - {"@": "blueprint_volumeencryption_salt"}, - {"@": "blueprint_volumeencryption_slot"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-import-params.mjson b/core/model/descriptors/volume-import-params.mjson deleted file mode 100644 index fe820aecde..0000000000 --- a/core/model/descriptors/volume-import-params.mjson +++ /dev/null @@ -1,37 +0,0 @@ -{ - "blueprint_volumeimportparams_disks": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "disks", - "blueprint": {"@": "root"}, - "valueType": "array" - } - }, - "blueprint_volumeimportparams_key": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "key", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_volumeimportparams_key_fd": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "key_fd", - "blueprint": {"@": "root"}, - "valueType": "fd" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumeImportParams", - "propertyBlueprints": [ - {"@": "blueprint_volumeimportparams_disks"}, - {"@": "blueprint_volumeimportparams_key"}, - {"@": "blueprint_volumeimportparams_key_fd"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-properties.mjson b/core/model/descriptors/volume-properties.mjson deleted file mode 100644 index f850db75f3..0000000000 --- a/core/model/descriptors/volume-properties.mjson +++ /dev/null @@ -1,160 +0,0 @@ -{ - "blueprint_volumeproperties_allocated": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "allocated", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertyAllocated" - } - }, - "blueprint_volumeproperties_autoreplace": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "autoreplace", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertyAutoreplace" - } - }, - "blueprint_volumeproperties_capacity": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "capacity", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertyCapacity" - } - }, - "blueprint_volumeproperties_comment": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "comment", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertyComment" - } - }, - "blueprint_volumeproperties_dedupratio": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "dedupratio", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertyDedupratio" - } - }, - "blueprint_volumeproperties_delegation": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "delegation", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertyDelegation" - } - }, - "blueprint_volumeproperties_expandsize": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "expandsize", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertyExpandsize" - } - }, - "blueprint_volumeproperties_failmode": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "failmode", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertyFailmode" - } - }, - "blueprint_volumeproperties_fragmentation": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "fragmentation", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertyFragmentation" - } - }, - "blueprint_volumeproperties_free": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "free", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertyFree" - } - }, - "blueprint_volumeproperties_health": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "health", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertyHealth" - } - }, - "blueprint_volumeproperties_leaked": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "leaked", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertyLeaked" - } - }, - "blueprint_volumeproperties_readonly": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "readonly", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertyReadonly" - } - }, - "blueprint_volumeproperties_size": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "size", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertySize" - } - }, - "blueprint_volumeproperties_version": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "version", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertyVersion" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumeProperties", - "propertyBlueprints": [ - {"@": "blueprint_volumeproperties_allocated"}, - {"@": "blueprint_volumeproperties_autoreplace"}, - {"@": "blueprint_volumeproperties_capacity"}, - {"@": "blueprint_volumeproperties_comment"}, - {"@": "blueprint_volumeproperties_dedupratio"}, - {"@": "blueprint_volumeproperties_delegation"}, - {"@": "blueprint_volumeproperties_expandsize"}, - {"@": "blueprint_volumeproperties_failmode"}, - {"@": "blueprint_volumeproperties_fragmentation"}, - {"@": "blueprint_volumeproperties_free"}, - {"@": "blueprint_volumeproperties_health"}, - {"@": "blueprint_volumeproperties_leaked"}, - {"@": "blueprint_volumeproperties_readonly"}, - {"@": "blueprint_volumeproperties_size"}, - {"@": "blueprint_volumeproperties_version"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-property-allocated.mjson b/core/model/descriptors/volume-property-allocated.mjson deleted file mode 100644 index 57a0f5dcf1..0000000000 --- a/core/model/descriptors/volume-property-allocated.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "blueprint_volumepropertyallocated_parsed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parsed", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertyAllocatedValue" - } - }, - "blueprint_volumepropertyallocated_rawvalue": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rawvalue", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_volumepropertyallocated_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertySource" - } - }, - "blueprint_volumepropertyallocated_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "value", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumePropertyAllocated", - "propertyBlueprints": [ - {"@": "blueprint_volumepropertyallocated_parsed"}, - {"@": "blueprint_volumepropertyallocated_rawvalue"}, - {"@": "blueprint_volumepropertyallocated_source"}, - {"@": "blueprint_volumepropertyallocated_value"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-property-autoreplace.mjson b/core/model/descriptors/volume-property-autoreplace.mjson deleted file mode 100644 index f330bc570c..0000000000 --- a/core/model/descriptors/volume-property-autoreplace.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "blueprint_volumepropertyautoreplace_parsed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parsed", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertyAutoreplaceValue" - } - }, - "blueprint_volumepropertyautoreplace_rawvalue": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rawvalue", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_volumepropertyautoreplace_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertySource" - } - }, - "blueprint_volumepropertyautoreplace_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "value", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumePropertyAutoreplace", - "propertyBlueprints": [ - {"@": "blueprint_volumepropertyautoreplace_parsed"}, - {"@": "blueprint_volumepropertyautoreplace_rawvalue"}, - {"@": "blueprint_volumepropertyautoreplace_source"}, - {"@": "blueprint_volumepropertyautoreplace_value"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-property-capacity.mjson b/core/model/descriptors/volume-property-capacity.mjson deleted file mode 100644 index 3f4fbbf681..0000000000 --- a/core/model/descriptors/volume-property-capacity.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "blueprint_volumepropertycapacity_parsed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parsed", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertyCapacityValue" - } - }, - "blueprint_volumepropertycapacity_rawvalue": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rawvalue", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_volumepropertycapacity_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertySource" - } - }, - "blueprint_volumepropertycapacity_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "value", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumePropertyCapacity", - "propertyBlueprints": [ - {"@": "blueprint_volumepropertycapacity_parsed"}, - {"@": "blueprint_volumepropertycapacity_rawvalue"}, - {"@": "blueprint_volumepropertycapacity_source"}, - {"@": "blueprint_volumepropertycapacity_value"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-property-comment.mjson b/core/model/descriptors/volume-property-comment.mjson deleted file mode 100644 index e25e9d7ddc..0000000000 --- a/core/model/descriptors/volume-property-comment.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "blueprint_volumepropertycomment_parsed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parsed", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertyCommentValue" - } - }, - "blueprint_volumepropertycomment_rawvalue": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rawvalue", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_volumepropertycomment_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertySource" - } - }, - "blueprint_volumepropertycomment_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "value", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumePropertyComment", - "propertyBlueprints": [ - {"@": "blueprint_volumepropertycomment_parsed"}, - {"@": "blueprint_volumepropertycomment_rawvalue"}, - {"@": "blueprint_volumepropertycomment_source"}, - {"@": "blueprint_volumepropertycomment_value"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-property-dedupratio.mjson b/core/model/descriptors/volume-property-dedupratio.mjson deleted file mode 100644 index 33badcab3a..0000000000 --- a/core/model/descriptors/volume-property-dedupratio.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "blueprint_volumepropertydedupratio_parsed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parsed", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertyDedupratioValue" - } - }, - "blueprint_volumepropertydedupratio_rawvalue": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rawvalue", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_volumepropertydedupratio_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertySource" - } - }, - "blueprint_volumepropertydedupratio_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "value", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumePropertyDedupratio", - "propertyBlueprints": [ - {"@": "blueprint_volumepropertydedupratio_parsed"}, - {"@": "blueprint_volumepropertydedupratio_rawvalue"}, - {"@": "blueprint_volumepropertydedupratio_source"}, - {"@": "blueprint_volumepropertydedupratio_value"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-property-delegation.mjson b/core/model/descriptors/volume-property-delegation.mjson deleted file mode 100644 index 36b98a60f1..0000000000 --- a/core/model/descriptors/volume-property-delegation.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "blueprint_volumepropertydelegation_parsed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parsed", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertyDelegationValue" - } - }, - "blueprint_volumepropertydelegation_rawvalue": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rawvalue", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_volumepropertydelegation_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertySource" - } - }, - "blueprint_volumepropertydelegation_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "value", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumePropertyDelegation", - "propertyBlueprints": [ - {"@": "blueprint_volumepropertydelegation_parsed"}, - {"@": "blueprint_volumepropertydelegation_rawvalue"}, - {"@": "blueprint_volumepropertydelegation_source"}, - {"@": "blueprint_volumepropertydelegation_value"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-property-expandsize.mjson b/core/model/descriptors/volume-property-expandsize.mjson deleted file mode 100644 index c9f8946345..0000000000 --- a/core/model/descriptors/volume-property-expandsize.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "blueprint_volumepropertyexpandsize_parsed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parsed", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertyExpandsizeValue" - } - }, - "blueprint_volumepropertyexpandsize_rawvalue": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rawvalue", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_volumepropertyexpandsize_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertySource" - } - }, - "blueprint_volumepropertyexpandsize_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "value", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumePropertyExpandsize", - "propertyBlueprints": [ - {"@": "blueprint_volumepropertyexpandsize_parsed"}, - {"@": "blueprint_volumepropertyexpandsize_rawvalue"}, - {"@": "blueprint_volumepropertyexpandsize_source"}, - {"@": "blueprint_volumepropertyexpandsize_value"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-property-failmode.mjson b/core/model/descriptors/volume-property-failmode.mjson deleted file mode 100644 index 31427401fa..0000000000 --- a/core/model/descriptors/volume-property-failmode.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "blueprint_volumepropertyfailmode_parsed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parsed", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertyFailmodeValue" - } - }, - "blueprint_volumepropertyfailmode_rawvalue": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rawvalue", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_volumepropertyfailmode_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertySource" - } - }, - "blueprint_volumepropertyfailmode_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "value", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumePropertyFailmode", - "propertyBlueprints": [ - {"@": "blueprint_volumepropertyfailmode_parsed"}, - {"@": "blueprint_volumepropertyfailmode_rawvalue"}, - {"@": "blueprint_volumepropertyfailmode_source"}, - {"@": "blueprint_volumepropertyfailmode_value"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-property-fragmentation.mjson b/core/model/descriptors/volume-property-fragmentation.mjson deleted file mode 100644 index be47d6e937..0000000000 --- a/core/model/descriptors/volume-property-fragmentation.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "blueprint_volumepropertyfragmentation_parsed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parsed", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertyFragmentationValue" - } - }, - "blueprint_volumepropertyfragmentation_rawvalue": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rawvalue", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_volumepropertyfragmentation_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertySource" - } - }, - "blueprint_volumepropertyfragmentation_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "value", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumePropertyFragmentation", - "propertyBlueprints": [ - {"@": "blueprint_volumepropertyfragmentation_parsed"}, - {"@": "blueprint_volumepropertyfragmentation_rawvalue"}, - {"@": "blueprint_volumepropertyfragmentation_source"}, - {"@": "blueprint_volumepropertyfragmentation_value"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-property-free.mjson b/core/model/descriptors/volume-property-free.mjson deleted file mode 100644 index a5b32a4722..0000000000 --- a/core/model/descriptors/volume-property-free.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "blueprint_volumepropertyfree_parsed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parsed", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertyFreeValue" - } - }, - "blueprint_volumepropertyfree_rawvalue": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rawvalue", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_volumepropertyfree_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertySource" - } - }, - "blueprint_volumepropertyfree_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "value", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumePropertyFree", - "propertyBlueprints": [ - {"@": "blueprint_volumepropertyfree_parsed"}, - {"@": "blueprint_volumepropertyfree_rawvalue"}, - {"@": "blueprint_volumepropertyfree_source"}, - {"@": "blueprint_volumepropertyfree_value"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-property-health.mjson b/core/model/descriptors/volume-property-health.mjson deleted file mode 100644 index d30ee6ec5d..0000000000 --- a/core/model/descriptors/volume-property-health.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "blueprint_volumepropertyhealth_parsed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parsed", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertyHealthValue" - } - }, - "blueprint_volumepropertyhealth_rawvalue": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rawvalue", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_volumepropertyhealth_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertySource" - } - }, - "blueprint_volumepropertyhealth_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "value", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumePropertyHealth", - "propertyBlueprints": [ - {"@": "blueprint_volumepropertyhealth_parsed"}, - {"@": "blueprint_volumepropertyhealth_rawvalue"}, - {"@": "blueprint_volumepropertyhealth_source"}, - {"@": "blueprint_volumepropertyhealth_value"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-property-leaked.mjson b/core/model/descriptors/volume-property-leaked.mjson deleted file mode 100644 index 310366d96f..0000000000 --- a/core/model/descriptors/volume-property-leaked.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "blueprint_volumepropertyleaked_parsed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parsed", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertyLeakedValue" - } - }, - "blueprint_volumepropertyleaked_rawvalue": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rawvalue", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_volumepropertyleaked_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertySource" - } - }, - "blueprint_volumepropertyleaked_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "value", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumePropertyLeaked", - "propertyBlueprints": [ - {"@": "blueprint_volumepropertyleaked_parsed"}, - {"@": "blueprint_volumepropertyleaked_rawvalue"}, - {"@": "blueprint_volumepropertyleaked_source"}, - {"@": "blueprint_volumepropertyleaked_value"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-property-readonly.mjson b/core/model/descriptors/volume-property-readonly.mjson deleted file mode 100644 index 9e91d6ad1f..0000000000 --- a/core/model/descriptors/volume-property-readonly.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "blueprint_volumepropertyreadonly_parsed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parsed", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertyReadonlyValue" - } - }, - "blueprint_volumepropertyreadonly_rawvalue": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rawvalue", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_volumepropertyreadonly_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertySource" - } - }, - "blueprint_volumepropertyreadonly_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "value", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumePropertyReadonly", - "propertyBlueprints": [ - {"@": "blueprint_volumepropertyreadonly_parsed"}, - {"@": "blueprint_volumepropertyreadonly_rawvalue"}, - {"@": "blueprint_volumepropertyreadonly_source"}, - {"@": "blueprint_volumepropertyreadonly_value"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-property-size.mjson b/core/model/descriptors/volume-property-size.mjson deleted file mode 100644 index 164927723e..0000000000 --- a/core/model/descriptors/volume-property-size.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "blueprint_volumepropertysize_parsed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parsed", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertySizeValue" - } - }, - "blueprint_volumepropertysize_rawvalue": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rawvalue", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_volumepropertysize_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertySource" - } - }, - "blueprint_volumepropertysize_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "value", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumePropertySize", - "propertyBlueprints": [ - {"@": "blueprint_volumepropertysize_parsed"}, - {"@": "blueprint_volumepropertysize_rawvalue"}, - {"@": "blueprint_volumepropertysize_source"}, - {"@": "blueprint_volumepropertysize_value"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-property-version.mjson b/core/model/descriptors/volume-property-version.mjson deleted file mode 100644 index 4b7a475f8e..0000000000 --- a/core/model/descriptors/volume-property-version.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "blueprint_volumepropertyversion_parsed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parsed", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertyVersionValue" - } - }, - "blueprint_volumepropertyversion_rawvalue": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rawvalue", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_volumepropertyversion_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertySource" - } - }, - "blueprint_volumepropertyversion_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "value", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumePropertyVersion", - "propertyBlueprints": [ - {"@": "blueprint_volumepropertyversion_parsed"}, - {"@": "blueprint_volumepropertyversion_rawvalue"}, - {"@": "blueprint_volumepropertyversion_source"}, - {"@": "blueprint_volumepropertyversion_value"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-snapshot-holds-anonymous.mjson b/core/model/descriptors/volume-snapshot-holds-anonymous.mjson deleted file mode 100644 index 556cb352fd..0000000000 --- a/core/model/descriptors/volume-snapshot-holds-anonymous.mjson +++ /dev/null @@ -1,8 +0,0 @@ -{ - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumeSnapshotHoldsAnonymous" - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-snapshot-properties.mjson b/core/model/descriptors/volume-snapshot-properties.mjson deleted file mode 100644 index 543edf6a54..0000000000 --- a/core/model/descriptors/volume-snapshot-properties.mjson +++ /dev/null @@ -1,60 +0,0 @@ -{ - "blueprint_volumesnapshotproperties_clones": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "clones", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeSnapshotPropertyClones" - } - }, - "blueprint_volumesnapshotproperties_compressratio": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "compressratio", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeSnapshotPropertyCompressratio" - } - }, - "blueprint_volumesnapshotproperties_creation": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "creation", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeSnapshotPropertyCreation" - } - }, - "blueprint_volumesnapshotproperties_referenced": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "referenced", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeSnapshotPropertyReferenced" - } - }, - "blueprint_volumesnapshotproperties_used": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "used", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeSnapshotPropertyUsed" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumeSnapshotProperties", - "propertyBlueprints": [ - {"@": "blueprint_volumesnapshotproperties_clones"}, - {"@": "blueprint_volumesnapshotproperties_compressratio"}, - {"@": "blueprint_volumesnapshotproperties_creation"}, - {"@": "blueprint_volumesnapshotproperties_referenced"}, - {"@": "blueprint_volumesnapshotproperties_used"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-snapshot-property-clones.mjson b/core/model/descriptors/volume-snapshot-property-clones.mjson deleted file mode 100644 index 980d6060d1..0000000000 --- a/core/model/descriptors/volume-snapshot-property-clones.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "blueprint_volumesnapshotpropertyclones_parsed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parsed", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeSnapshotPropertyClonesValue" - } - }, - "blueprint_volumesnapshotpropertyclones_rawvalue": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rawvalue", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_volumesnapshotpropertyclones_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertySource" - } - }, - "blueprint_volumesnapshotpropertyclones_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "value", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumeSnapshotPropertyClones", - "propertyBlueprints": [ - {"@": "blueprint_volumesnapshotpropertyclones_parsed"}, - {"@": "blueprint_volumesnapshotpropertyclones_rawvalue"}, - {"@": "blueprint_volumesnapshotpropertyclones_source"}, - {"@": "blueprint_volumesnapshotpropertyclones_value"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-snapshot-property-compressratio.mjson b/core/model/descriptors/volume-snapshot-property-compressratio.mjson deleted file mode 100644 index 85be8c88d0..0000000000 --- a/core/model/descriptors/volume-snapshot-property-compressratio.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "blueprint_volumesnapshotpropertycompressratio_parsed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parsed", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeSnapshotPropertyCompressratioValue" - } - }, - "blueprint_volumesnapshotpropertycompressratio_rawvalue": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rawvalue", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_volumesnapshotpropertycompressratio_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertySource" - } - }, - "blueprint_volumesnapshotpropertycompressratio_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "value", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumeSnapshotPropertyCompressratio", - "propertyBlueprints": [ - {"@": "blueprint_volumesnapshotpropertycompressratio_parsed"}, - {"@": "blueprint_volumesnapshotpropertycompressratio_rawvalue"}, - {"@": "blueprint_volumesnapshotpropertycompressratio_source"}, - {"@": "blueprint_volumesnapshotpropertycompressratio_value"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-snapshot-property-creation.mjson b/core/model/descriptors/volume-snapshot-property-creation.mjson deleted file mode 100644 index 0290448703..0000000000 --- a/core/model/descriptors/volume-snapshot-property-creation.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "blueprint_volumesnapshotpropertycreation_parsed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parsed", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeSnapshotPropertyCreationValue" - } - }, - "blueprint_volumesnapshotpropertycreation_rawvalue": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rawvalue", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_volumesnapshotpropertycreation_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertySource" - } - }, - "blueprint_volumesnapshotpropertycreation_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "value", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumeSnapshotPropertyCreation", - "propertyBlueprints": [ - {"@": "blueprint_volumesnapshotpropertycreation_parsed"}, - {"@": "blueprint_volumesnapshotpropertycreation_rawvalue"}, - {"@": "blueprint_volumesnapshotpropertycreation_source"}, - {"@": "blueprint_volumesnapshotpropertycreation_value"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-snapshot-property-referenced.mjson b/core/model/descriptors/volume-snapshot-property-referenced.mjson deleted file mode 100644 index b00921ee4e..0000000000 --- a/core/model/descriptors/volume-snapshot-property-referenced.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "blueprint_volumesnapshotpropertyreferenced_parsed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parsed", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeSnapshotPropertyReferencedValue" - } - }, - "blueprint_volumesnapshotpropertyreferenced_rawvalue": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rawvalue", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_volumesnapshotpropertyreferenced_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertySource" - } - }, - "blueprint_volumesnapshotpropertyreferenced_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "value", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumeSnapshotPropertyReferenced", - "propertyBlueprints": [ - {"@": "blueprint_volumesnapshotpropertyreferenced_parsed"}, - {"@": "blueprint_volumesnapshotpropertyreferenced_rawvalue"}, - {"@": "blueprint_volumesnapshotpropertyreferenced_source"}, - {"@": "blueprint_volumesnapshotpropertyreferenced_value"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-snapshot-property-used.mjson b/core/model/descriptors/volume-snapshot-property-used.mjson deleted file mode 100644 index 23829b9a11..0000000000 --- a/core/model/descriptors/volume-snapshot-property-used.mjson +++ /dev/null @@ -1,49 +0,0 @@ -{ - "blueprint_volumesnapshotpropertyused_parsed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parsed", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeSnapshotPropertyUsedValue" - } - }, - "blueprint_volumesnapshotpropertyused_rawvalue": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rawvalue", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_volumesnapshotpropertyused_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumePropertySource" - } - }, - "blueprint_volumesnapshotpropertyused_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "value", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumeSnapshotPropertyUsed", - "propertyBlueprints": [ - {"@": "blueprint_volumesnapshotpropertyused_parsed"}, - {"@": "blueprint_volumesnapshotpropertyused_rawvalue"}, - {"@": "blueprint_volumesnapshotpropertyused_source"}, - {"@": "blueprint_volumesnapshotpropertyused_value"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-snapshot.mjson b/core/model/descriptors/volume-snapshot.mjson deleted file mode 100644 index 4f364c2c99..0000000000 --- a/core/model/descriptors/volume-snapshot.mjson +++ /dev/null @@ -1,92 +0,0 @@ -{ - "blueprint_volumesnapshot_dataset": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "dataset", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_volumesnapshot_hidden": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "hidden", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_volumesnapshot_holds": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "holds", - "blueprint": {"@": "root"}, - "valueType": "object" - } - }, - "blueprint_volumesnapshot_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_volumesnapshot_lifetime": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "lifetime", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_volumesnapshot_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_volumesnapshot_properties": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "properties", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeSnapshotProperties" - } - }, - "blueprint_volumesnapshot_replicable": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "replicable", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_volumesnapshot_volume": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "volume", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumeSnapshot", - "propertyBlueprints": [ - {"@": "blueprint_volumesnapshot_dataset"}, - {"@": "blueprint_volumesnapshot_hidden"}, - {"@": "blueprint_volumesnapshot_holds"}, - {"@": "blueprint_volumesnapshot_id"}, - {"@": "blueprint_volumesnapshot_lifetime"}, - {"@": "blueprint_volumesnapshot_name"}, - {"@": "blueprint_volumesnapshot_properties"}, - {"@": "blueprint_volumesnapshot_replicable"}, - {"@": "blueprint_volumesnapshot_volume"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-vdev-recommendation.mjson b/core/model/descriptors/volume-vdev-recommendation.mjson deleted file mode 100644 index 9415dd267d..0000000000 --- a/core/model/descriptors/volume-vdev-recommendation.mjson +++ /dev/null @@ -1,28 +0,0 @@ -{ - "blueprint_volumevdevrecommendation_drives": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "drives", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_volumevdevrecommendation_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumeVdevRecommendation", - "propertyBlueprints": [ - {"@": "blueprint_volumevdevrecommendation_drives"}, - {"@": "blueprint_volumevdevrecommendation_type"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-vdev-recommendations-redundancy-anonymous.mjson b/core/model/descriptors/volume-vdev-recommendations-redundancy-anonymous.mjson deleted file mode 100644 index ce8a81647c..0000000000 --- a/core/model/descriptors/volume-vdev-recommendations-redundancy-anonymous.mjson +++ /dev/null @@ -1,40 +0,0 @@ -{ - "blueprint_volumevdevrecommendationsredundancyanonymous_redundancy": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "redundancy", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeVdevRecommendation" - } - }, - "blueprint_volumevdevrecommendationsredundancyanonymous_speed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "speed", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeVdevRecommendation" - } - }, - "blueprint_volumevdevrecommendationsredundancyanonymous_storage": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "storage", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeVdevRecommendation" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumeVdevRecommendationsRedundancyAnonymous", - "propertyBlueprints": [ - {"@": "blueprint_volumevdevrecommendationsredundancyanonymous_redundancy"}, - {"@": "blueprint_volumevdevrecommendationsredundancyanonymous_speed"}, - {"@": "blueprint_volumevdevrecommendationsredundancyanonymous_storage"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-vdev-recommendations-speed-anonymous.mjson b/core/model/descriptors/volume-vdev-recommendations-speed-anonymous.mjson deleted file mode 100644 index f1820a1901..0000000000 --- a/core/model/descriptors/volume-vdev-recommendations-speed-anonymous.mjson +++ /dev/null @@ -1,40 +0,0 @@ -{ - "blueprint_volumevdevrecommendationsspeedanonymous_redundancy": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "redundancy", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeVdevRecommendation" - } - }, - "blueprint_volumevdevrecommendationsspeedanonymous_speed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "speed", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeVdevRecommendation" - } - }, - "blueprint_volumevdevrecommendationsspeedanonymous_storage": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "storage", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeVdevRecommendation" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumeVdevRecommendationsSpeedAnonymous", - "propertyBlueprints": [ - {"@": "blueprint_volumevdevrecommendationsspeedanonymous_redundancy"}, - {"@": "blueprint_volumevdevrecommendationsspeedanonymous_speed"}, - {"@": "blueprint_volumevdevrecommendationsspeedanonymous_storage"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-vdev-recommendations-storage-anonymous.mjson b/core/model/descriptors/volume-vdev-recommendations-storage-anonymous.mjson deleted file mode 100644 index cff26d9e75..0000000000 --- a/core/model/descriptors/volume-vdev-recommendations-storage-anonymous.mjson +++ /dev/null @@ -1,40 +0,0 @@ -{ - "blueprint_volumevdevrecommendationsstorageanonymous_redundancy": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "redundancy", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeVdevRecommendation" - } - }, - "blueprint_volumevdevrecommendationsstorageanonymous_speed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "speed", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeVdevRecommendation" - } - }, - "blueprint_volumevdevrecommendationsstorageanonymous_storage": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "storage", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeVdevRecommendation" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumeVdevRecommendationsStorageAnonymous", - "propertyBlueprints": [ - {"@": "blueprint_volumevdevrecommendationsstorageanonymous_redundancy"}, - {"@": "blueprint_volumevdevrecommendationsstorageanonymous_speed"}, - {"@": "blueprint_volumevdevrecommendationsstorageanonymous_storage"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume-vdev-recommendations.mjson b/core/model/descriptors/volume-vdev-recommendations.mjson deleted file mode 100644 index 7470e19384..0000000000 --- a/core/model/descriptors/volume-vdev-recommendations.mjson +++ /dev/null @@ -1,37 +0,0 @@ -{ - "blueprint_volumevdevrecommendations_redundancy": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "redundancy", - "blueprint": {"@": "root"}, - "valueType": "object" - } - }, - "blueprint_volumevdevrecommendations_speed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "speed", - "blueprint": {"@": "root"}, - "valueType": "object" - } - }, - "blueprint_volumevdevrecommendations_storage": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "storage", - "blueprint": {"@": "root"}, - "valueType": "object" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "VolumeVdevRecommendations", - "propertyBlueprints": [ - {"@": "blueprint_volumevdevrecommendations_redundancy"}, - {"@": "blueprint_volumevdevrecommendations_speed"}, - {"@": "blueprint_volumevdevrecommendations_storage"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/volume.mjson b/core/model/descriptors/volume.mjson deleted file mode 100644 index 653b17fd8b..0000000000 --- a/core/model/descriptors/volume.mjson +++ /dev/null @@ -1,177 +0,0 @@ -{ - "blueprint_volume_attributes": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "attributes", - "blueprint": {"@": "root"}, - "valueType": "object" - } - }, - "blueprint_volume_auto_unlock": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "auto_unlock", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_volume_encryption": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "encryption", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeEncryption" - } - }, - "blueprint_volume_guid": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "guid", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_volume_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_volume_key_encrypted": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "key_encrypted", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_volume_mountpoint": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "mountpoint", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_volume_params": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "params", - "blueprint": {"@": "root"}, - "valueType": "object" - } - }, - "blueprint_volume_password_encrypted": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "password_encrypted", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_volume_properties": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "properties", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "object", - "valueObjectPrototypeName": "VolumeProperties" - } - }, - "blueprint_volume_providers_presence": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "providers_presence", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "object", - "valueObjectPrototypeName": "VolumeProviderspresence" - } - }, - "blueprint_volume_rname": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rname", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_volume_scan": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "scan", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "ZfsScan" - } - }, - "blueprint_volume_status": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "status", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "VolumeStatus" - } - }, - "blueprint_volume_topology": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "topology", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "ZfsTopology" - } - }, - "blueprint_volume_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "valueType": "String", - "enumValues": [ - "zfs" - ] - } - }, - "blueprint_volume_upgraded": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "upgraded", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "boolean" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "Volume", - "propertyBlueprints": [ - {"@": "blueprint_volume_attributes"}, - {"@": "blueprint_volume_auto_unlock"}, - {"@": "blueprint_volume_encryption"}, - {"@": "blueprint_volume_guid"}, - {"@": "blueprint_volume_id"}, - {"@": "blueprint_volume_key_encrypted"}, - {"@": "blueprint_volume_mountpoint"}, - {"@": "blueprint_volume_params"}, - {"@": "blueprint_volume_password_encrypted"}, - {"@": "blueprint_volume_properties"}, - {"@": "blueprint_volume_providers_presence"}, - {"@": "blueprint_volume_rname"}, - {"@": "blueprint_volume_scan"}, - {"@": "blueprint_volume_status"}, - {"@": "blueprint_volume_topology"}, - {"@": "blueprint_volume_type"}, - {"@": "blueprint_volume_upgraded"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/winbind-directory-params.mjson b/core/model/descriptors/winbind-directory-params.mjson deleted file mode 100644 index 4c049c7881..0000000000 --- a/core/model/descriptors/winbind-directory-params.mjson +++ /dev/null @@ -1,103 +0,0 @@ -{ - "propertyblueprint": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "%type", - "blueprint": {"@": "root"}, - "enumValues": [ - "winbind-directory-params" - ] - } - }, - "blueprint_winbinddirectoryparams_allow_dns_updates": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "allow_dns_updates", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_winbinddirectoryparams_dc_address": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "dc_address", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_winbinddirectoryparams_gcs_address": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "gcs_address", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_winbinddirectoryparams_krb_principal": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "krb_principal", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_winbinddirectoryparams_password": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "password", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_winbinddirectoryparams_realm": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "realm", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_winbinddirectoryparams_sasl_wrapping": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "sasl_wrapping", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "LdapDirectoryParamsSaslWrapping" - } - }, - "blueprint_winbinddirectoryparams_site_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "site_name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_winbinddirectoryparams_username": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "username", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "WinbindDirectoryParams", - "propertyBlueprints": [ - {"@": "propertyblueprint"}, - {"@": "blueprint_winbinddirectoryparams_allow_dns_updates"}, - {"@": "blueprint_winbinddirectoryparams_dc_address"}, - {"@": "blueprint_winbinddirectoryparams_gcs_address"}, - {"@": "blueprint_winbinddirectoryparams_krb_principal"}, - {"@": "blueprint_winbinddirectoryparams_password"}, - {"@": "blueprint_winbinddirectoryparams_realm"}, - {"@": "blueprint_winbinddirectoryparams_sasl_wrapping"}, - {"@": "blueprint_winbinddirectoryparams_site_name"}, - {"@": "blueprint_winbinddirectoryparams_username"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/winbind-directory-status.mjson b/core/model/descriptors/winbind-directory-status.mjson deleted file mode 100644 index df495fd19c..0000000000 --- a/core/model/descriptors/winbind-directory-status.mjson +++ /dev/null @@ -1,48 +0,0 @@ -{ - "blueprint_winbinddirectorystatus_domain_controller": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "domain_controller", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_winbinddirectorystatus_joined": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "joined", - "blueprint": {"@": "root"}, - "valueType": "boolean" - } - }, - "blueprint_winbinddirectorystatus_server_time": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "server_time", - "blueprint": {"@": "root"}, - "valueType": "datetime" - } - }, - "blueprint_winbinddirectorystatus_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "enumValues": [ - "winbind-directory-status" - ] - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "WinbindDirectoryStatus", - "propertyBlueprints": [ - {"@": "blueprint_winbinddirectorystatus_domain_controller"}, - {"@": "blueprint_winbinddirectorystatus_joined"}, - {"@": "blueprint_winbinddirectorystatus_server_time"}, - {"@": "blueprint_winbinddirectorystatus_type"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/zfs-dataset-properties-anonymous.mjson b/core/model/descriptors/zfs-dataset-properties-anonymous.mjson deleted file mode 100644 index 76715a42f0..0000000000 --- a/core/model/descriptors/zfs-dataset-properties-anonymous.mjson +++ /dev/null @@ -1,8 +0,0 @@ -{ - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ZfsDatasetPropertiesAnonymous" - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/zfs-dataset.mjson b/core/model/descriptors/zfs-dataset.mjson deleted file mode 100644 index 2b67c8ccf5..0000000000 --- a/core/model/descriptors/zfs-dataset.mjson +++ /dev/null @@ -1,57 +0,0 @@ -{ - "blueprint_zfsdataset_children": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "children", - "blueprint": {"@": "root"}, - "valueType": "array", - "valueObjectPrototypeName": "ZfsDataset" - } - }, - "blueprint_zfsdataset_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_zfsdataset_pool": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "pool", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_zfsdataset_properties": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "properties", - "blueprint": {"@": "root"}, - "valueType": "object" - } - }, - "blueprint_zfsdataset_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "DatasetType" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ZfsDataset", - "propertyBlueprints": [ - {"@": "blueprint_zfsdataset_children"}, - {"@": "blueprint_zfsdataset_name"}, - {"@": "blueprint_zfsdataset_pool"}, - {"@": "blueprint_zfsdataset_properties"}, - {"@": "blueprint_zfsdataset_type"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/zfs-pool.mjson b/core/model/descriptors/zfs-pool.mjson deleted file mode 100644 index d8716adeac..0000000000 --- a/core/model/descriptors/zfs-pool.mjson +++ /dev/null @@ -1,87 +0,0 @@ -{ - "blueprint_zfspool_groups": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "groups", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "ZfsTopology" - } - }, - "blueprint_zfspool_guid": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "guid", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_zfspool_hostname": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "hostname", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_zfspool_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_zfspool_properties": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "properties", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "ZfsProperties" - } - }, - "blueprint_zfspool_root_dataset": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "root_dataset", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "ZfsDataset" - } - }, - "blueprint_zfspool_scan": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "scan", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "ZfsScan" - } - }, - "blueprint_zfspool_status": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "status", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "ZfsPoolStatus" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ZfsPool", - "propertyBlueprints": [ - {"@": "blueprint_zfspool_groups"}, - {"@": "blueprint_zfspool_guid"}, - {"@": "blueprint_zfspool_hostname"}, - {"@": "blueprint_zfspool_name"}, - {"@": "blueprint_zfspool_properties"}, - {"@": "blueprint_zfspool_root_dataset"}, - {"@": "blueprint_zfspool_scan"}, - {"@": "blueprint_zfspool_status"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/zfs-property.mjson b/core/model/descriptors/zfs-property.mjson deleted file mode 100644 index 66032fe787..0000000000 --- a/core/model/descriptors/zfs-property.mjson +++ /dev/null @@ -1,47 +0,0 @@ -{ - "blueprint_zfsproperty_parsed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "parsed", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_zfsproperty_rawvalue": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "rawvalue", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_zfsproperty_source": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "source", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "ZfsPropertySource" - } - }, - "blueprint_zfsproperty_value": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "value", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ZfsProperty", - "propertyBlueprints": [ - {"@": "blueprint_zfsproperty_parsed"}, - {"@": "blueprint_zfsproperty_rawvalue"}, - {"@": "blueprint_zfsproperty_source"}, - {"@": "blueprint_zfsproperty_value"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/zfs-scan.mjson b/core/model/descriptors/zfs-scan.mjson deleted file mode 100644 index 3aeb139056..0000000000 --- a/core/model/descriptors/zfs-scan.mjson +++ /dev/null @@ -1,82 +0,0 @@ -{ - "blueprint_zfsscan_bytes_processed": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "bytes_processed", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_zfsscan_bytes_to_process": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "bytes_to_process", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_zfsscan_end_time": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "end_time", - "blueprint": {"@": "root"}, - "valueType": "datetime" - } - }, - "blueprint_zfsscan_errors": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "errors", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_zfsscan_func": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "func", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_zfsscan_percentage": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "percentage", - "blueprint": {"@": "root"}, - "valueType": "number" - } - }, - "blueprint_zfsscan_start_time": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "start_time", - "blueprint": {"@": "root"}, - "valueType": "datetime" - } - }, - "blueprint_zfsscan_state": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "state", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ZfsScan", - "propertyBlueprints": [ - {"@": "blueprint_zfsscan_bytes_processed"}, - {"@": "blueprint_zfsscan_bytes_to_process"}, - {"@": "blueprint_zfsscan_end_time"}, - {"@": "blueprint_zfsscan_errors"}, - {"@": "blueprint_zfsscan_func"}, - {"@": "blueprint_zfsscan_percentage"}, - {"@": "blueprint_zfsscan_start_time"}, - {"@": "blueprint_zfsscan_state"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/zfs-snapshot-holds-anonymous.mjson b/core/model/descriptors/zfs-snapshot-holds-anonymous.mjson deleted file mode 100644 index c2d7c04764..0000000000 --- a/core/model/descriptors/zfs-snapshot-holds-anonymous.mjson +++ /dev/null @@ -1,8 +0,0 @@ -{ - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ZfsSnapshotHoldsAnonymous" - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/zfs-snapshot-properties-anonymous.mjson b/core/model/descriptors/zfs-snapshot-properties-anonymous.mjson deleted file mode 100644 index a2d9e95d2e..0000000000 --- a/core/model/descriptors/zfs-snapshot-properties-anonymous.mjson +++ /dev/null @@ -1,8 +0,0 @@ -{ - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ZfsSnapshotPropertiesAnonymous" - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/zfs-snapshot.mjson b/core/model/descriptors/zfs-snapshot.mjson deleted file mode 100644 index 46769b7bd5..0000000000 --- a/core/model/descriptors/zfs-snapshot.mjson +++ /dev/null @@ -1,65 +0,0 @@ -{ - "blueprint_zfssnapshot_dataset": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "dataset", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_zfssnapshot_holds": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "holds", - "blueprint": {"@": "root"}, - "valueType": "object" - } - }, - "blueprint_zfssnapshot_name": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "name", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_zfssnapshot_pool": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "pool", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_zfssnapshot_properties": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "properties", - "blueprint": {"@": "root"}, - "valueType": "object" - } - }, - "blueprint_zfssnapshot_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "DatasetType" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ZfsSnapshot", - "propertyBlueprints": [ - {"@": "blueprint_zfssnapshot_dataset"}, - {"@": "blueprint_zfssnapshot_holds"}, - {"@": "blueprint_zfssnapshot_name"}, - {"@": "blueprint_zfssnapshot_pool"}, - {"@": "blueprint_zfssnapshot_properties"}, - {"@": "blueprint_zfssnapshot_type"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/zfs-topology.mjson b/core/model/descriptors/zfs-topology.mjson deleted file mode 100644 index 90df2bbe1e..0000000000 --- a/core/model/descriptors/zfs-topology.mjson +++ /dev/null @@ -1,50 +0,0 @@ -{ - "blueprint_zfstopology_cache": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "cache", - "blueprint": {"@": "root"}, - "valueType": "array", - "valueObjectPrototypeName": "ZfsVdev" - } - }, - "blueprint_zfstopology_data": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "data", - "blueprint": {"@": "root"}, - "valueType": "array", - "valueObjectPrototypeName": "ZfsVdev" - } - }, - "blueprint_zfstopology_log": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "log", - "blueprint": {"@": "root"}, - "valueType": "array", - "valueObjectPrototypeName": "ZfsVdev" - } - }, - "blueprint_zfstopology_spare": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "spare", - "blueprint": {"@": "root"}, - "valueType": "array", - "valueObjectPrototypeName": "ZfsVdev" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ZfsTopology", - "propertyBlueprints": [ - {"@": "blueprint_zfstopology_cache"}, - {"@": "blueprint_zfstopology_data"}, - {"@": "blueprint_zfstopology_log"}, - {"@": "blueprint_zfstopology_spare"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/zfs-vdev-extension.mjson b/core/model/descriptors/zfs-vdev-extension.mjson deleted file mode 100644 index 96cf7a41be..0000000000 --- a/core/model/descriptors/zfs-vdev-extension.mjson +++ /dev/null @@ -1,29 +0,0 @@ -{ - "blueprint_zfsvdevextension_target_guid": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "target_guid", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_zfsvdevextension_vdev": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "vdev", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "ZfsVdev" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ZfsVdevExtension", - "propertyBlueprints": [ - {"@": "blueprint_zfsvdevextension_target_guid"}, - {"@": "blueprint_zfsvdevextension_vdev"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/zfs-vdev-stats-anonymous.mjson b/core/model/descriptors/zfs-vdev-stats-anonymous.mjson deleted file mode 100644 index 68e281e472..0000000000 --- a/core/model/descriptors/zfs-vdev-stats-anonymous.mjson +++ /dev/null @@ -1,8 +0,0 @@ -{ - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ZfsVdevStatsAnonymous" - } - } -} \ No newline at end of file diff --git a/core/model/descriptors/zfs-vdev.mjson b/core/model/descriptors/zfs-vdev.mjson deleted file mode 100644 index 061c58c145..0000000000 --- a/core/model/descriptors/zfs-vdev.mjson +++ /dev/null @@ -1,77 +0,0 @@ -{ - "blueprint_zfsvdev_children": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "children", - "blueprint": {"@": "root"}, - "valueType": "array", - "valueObjectPrototypeName": "ZfsVdev" - } - }, - "blueprint_zfsvdev_disk_id": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "disk_id", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_zfsvdev_guid": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "guid", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_zfsvdev_path": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "path", - "blueprint": {"@": "root"}, - "valueType": "String" - } - }, - "blueprint_zfsvdev_stats": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "stats", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "object" - } - }, - "blueprint_zfsvdev_status": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "status", - "blueprint": {"@": "root"}, - "readOnly": true, - "valueType": "String" - } - }, - "blueprint_zfsvdev_type": { - "prototype": "montage/core/meta/property-blueprint", - "properties": { - "name": "type", - "blueprint": {"@": "root"}, - "valueType": "object", - "valueObjectPrototypeName": "ZfsVdevType" - } - }, - "root": { - "prototype": "core/model/model-descriptor", - "properties": { - "name": "ZfsVdev", - "propertyBlueprints": [ - {"@": "blueprint_zfsvdev_children"}, - {"@": "blueprint_zfsvdev_disk_id"}, - {"@": "blueprint_zfsvdev_guid"}, - {"@": "blueprint_zfsvdev_path"}, - {"@": "blueprint_zfsvdev_stats"}, - {"@": "blueprint_zfsvdev_status"}, - {"@": "blueprint_zfsvdev_type"} - ] - } - } -} \ No newline at end of file diff --git a/core/model/enumerations/acl-entry-tag.js b/core/model/enumerations/acl-entry-tag.js deleted file mode 100644 index 2d97416c27..0000000000 --- a/core/model/enumerations/acl-entry-tag.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.AclEntryTag = new Enum().initWithMembersAndValues(["EVERYONE","GROUP","GROUP_OBJ","MASK","OTHER","USER","USER_OBJ"], ["EVERYONE","GROUP","GROUP_OBJ","MASK","OTHER","USER","USER_OBJ"]); diff --git a/core/model/enumerations/acl-entry-type.js b/core/model/enumerations/acl-entry-type.js deleted file mode 100644 index 8e9e0a209e..0000000000 --- a/core/model/enumerations/acl-entry-type.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.AclEntryType = new Enum().initWithMembersAndValues(["ALLOW","DENY"], ["ALLOW","DENY"]); diff --git a/core/model/enumerations/alert-class-id.js b/core/model/enumerations/alert-class-id.js deleted file mode 100644 index bbad657834..0000000000 --- a/core/model/enumerations/alert-class-id.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.AlertClassId = new Enum().initWithMembersAndValues(["CalendarTaskFailed","DirectoryServiceBindFailed","DiskControllerFirmwareMismatch","DockerContainerDied","SmartFail","SmartWarn","SystemReboot","SystemShutdown","UpdateAvailable","UpdateDownloaded","UpdateInstalled","UserLogin","UserLogout","UserMessage","VMwareSnapshotFailed","VolumeDegraded","VolumeDiskReplaced","VolumeUpgradePossible"], ["CalendarTaskFailed","DirectoryServiceBindFailed","DiskControllerFirmwareMismatch","DockerContainerDied","SmartFail","SmartWarn","SystemReboot","SystemShutdown","UpdateAvailable","UpdateDownloaded","UpdateInstalled","UserLogin","UserLogout","UserMessage","VMwareSnapshotFailed","VolumeDegraded","VolumeDiskReplaced","VolumeUpgradePossible"]); diff --git a/core/model/enumerations/alert-severity.js b/core/model/enumerations/alert-severity.js deleted file mode 100644 index bb2106c2b7..0000000000 --- a/core/model/enumerations/alert-severity.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.AlertSeverity = new Enum().initWithMembersAndValues(["CRITICAL","INFO","WARNING"], ["CRITICAL","INFO","WARNING"]); diff --git a/core/model/enumerations/alert-type.js b/core/model/enumerations/alert-type.js deleted file mode 100644 index ac1f38706c..0000000000 --- a/core/model/enumerations/alert-type.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.AlertType = new Enum().initWithMembersAndValues(["DISK","SYSTEM","VOLUME"], ["DISK","SYSTEM","VOLUME"]); diff --git a/core/model/enumerations/backup-compression-type.js b/core/model/enumerations/backup-compression-type.js deleted file mode 100644 index e8b00ebc41..0000000000 --- a/core/model/enumerations/backup-compression-type.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.BackupCompressionType = new Enum().initWithMembersAndValues(["GZIP","NONE"], ["GZIP","NONE"]); diff --git a/core/model/enumerations/compress-plugin-level.js b/core/model/enumerations/compress-plugin-level.js deleted file mode 100644 index 1d180996a9..0000000000 --- a/core/model/enumerations/compress-plugin-level.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.CompressPluginLevel = new Enum().initWithMembersAndValues(["BEST","DEFAULT","FAST"], ["BEST","DEFAULT","FAST"]); diff --git a/core/model/enumerations/crypto-certificate-digestalgorithm.js b/core/model/enumerations/crypto-certificate-digestalgorithm.js deleted file mode 100644 index b52e2c5127..0000000000 --- a/core/model/enumerations/crypto-certificate-digestalgorithm.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.CryptoCertificateDigestalgorithm = new Enum().initWithMembersAndValues(["SHA1","SHA224","SHA256","SHA384","SHA512"], ["SHA1","SHA224","SHA256","SHA384","SHA512"]); diff --git a/core/model/enumerations/crypto-certificate-type.js b/core/model/enumerations/crypto-certificate-type.js deleted file mode 100644 index efde413e04..0000000000 --- a/core/model/enumerations/crypto-certificate-type.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.CryptoCertificateType = new Enum().initWithMembersAndValues(["CA_EXISTING","CA_INTERMEDIATE","CA_INTERNAL","CERT_CSR","CERT_EXISTING","CERT_INTERMEDIATE","CERT_INTERNAL"], ["CA_EXISTING","CA_INTERMEDIATE","CA_INTERNAL","CERT_CSR","CERT_EXISTING","CERT_INTERMEDIATE","CERT_INTERNAL"]); diff --git a/core/model/enumerations/dataset-type.js b/core/model/enumerations/dataset-type.js deleted file mode 100644 index 6c0a4d2524..0000000000 --- a/core/model/enumerations/dataset-type.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.DatasetType = new Enum().initWithMembersAndValues(["BOOKMARK","FILESYSTEM","SNAPSHOT","VOLUME"], ["BOOKMARK","FILESYSTEM","SNAPSHOT","VOLUME"]); diff --git a/core/model/enumerations/disk-acousticlevel.js b/core/model/enumerations/disk-acousticlevel.js deleted file mode 100644 index f3887ee42b..0000000000 --- a/core/model/enumerations/disk-acousticlevel.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.DiskAcousticlevel = new Enum().initWithMembersAndValues(["DISABLED","MAXIMUM","MEDIUM","MINIMUM"], ["DISABLED","MAXIMUM","MEDIUM","MINIMUM"]); diff --git a/core/model/enumerations/disk-erase-method.js b/core/model/enumerations/disk-erase-method.js deleted file mode 100644 index 82d7f4af0f..0000000000 --- a/core/model/enumerations/disk-erase-method.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.DiskEraseMethod = new Enum().initWithMembersAndValues(["QUICK","RANDOM","ZEROS"], ["QUICK","RANDOM","ZEROS"]); diff --git a/core/model/enumerations/disk-selftest-type.js b/core/model/enumerations/disk-selftest-type.js deleted file mode 100644 index 9dd10449b8..0000000000 --- a/core/model/enumerations/disk-selftest-type.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.DiskSelftestType = new Enum().initWithMembersAndValues(["CONVEYANCE","LONG","OFFLINE","SHORT"], ["CONVEYANCE","LONG","OFFLINE","SHORT"]); diff --git a/core/model/enumerations/disks-allocation-type.js b/core/model/enumerations/disks-allocation-type.js deleted file mode 100644 index 2addcd7d4f..0000000000 --- a/core/model/enumerations/disks-allocation-type.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.DisksAllocationType = new Enum().initWithMembersAndValues(["BOOT","EXPORTED_VOLUME","ISCSI","VOLUME"], ["BOOT","EXPORTED_VOLUME","ISCSI","VOLUME"]); diff --git a/core/model/enumerations/docker-host-state.js b/core/model/enumerations/docker-host-state.js deleted file mode 100644 index fd561af05b..0000000000 --- a/core/model/enumerations/docker-host-state.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.DockerHostState = new Enum().initWithMembersAndValues(["DOWN","UP"], ["DOWN","UP"]); diff --git a/core/model/enumerations/docker-port-protocol.js b/core/model/enumerations/docker-port-protocol.js deleted file mode 100644 index 255a6f052c..0000000000 --- a/core/model/enumerations/docker-port-protocol.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.DockerPortProtocol = new Enum().initWithMembersAndValues(["TCP","UDP"], ["TCP","UDP"]); diff --git a/core/model/enumerations/docker-volume-host-path-source.js b/core/model/enumerations/docker-volume-host-path-source.js deleted file mode 100644 index f80ef8511a..0000000000 --- a/core/model/enumerations/docker-volume-host-path-source.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.DockerVolumeHostPathSource = new Enum().initWithMembersAndValues(["HOST","VM"], ["HOST","VM"]); diff --git a/core/model/enumerations/enclosure-element-status.js b/core/model/enumerations/enclosure-element-status.js deleted file mode 100644 index 57627e558a..0000000000 --- a/core/model/enumerations/enclosure-element-status.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.EnclosureElementStatus = new Enum().initWithMembersAndValues(["CRIT","NOACCESS","NONCRIT","NOTAVAIL","NOTINSTALLED","OK","UNKNOWN","UNKNOWN","UNRECOV","UNSUPPORTED"], ["CRIT","NOACCESS","NONCRIT","NOTAVAIL","NOTINSTALLED","OK","UNKNOWN","UNKNOWN","UNRECOV","UNSUPPORTED"]); diff --git a/core/model/enumerations/enclosure-status.js b/core/model/enumerations/enclosure-status.js deleted file mode 100644 index b63ee4a790..0000000000 --- a/core/model/enumerations/enclosure-status.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.EnclosureStatus = new Enum().initWithMembersAndValues(["CRITICAL","INFO","INVOP","NONCRITICAL","OK","UNRECOV"], ["CRITICAL","INFO","INVOP","NONCRITICAL","OK","UNRECOV"]); diff --git a/core/model/enumerations/encrypt-plugin-type.js b/core/model/enumerations/encrypt-plugin-type.js deleted file mode 100644 index 3a54246e54..0000000000 --- a/core/model/enumerations/encrypt-plugin-type.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.EncryptPluginType = new Enum().initWithMembersAndValues(["AES128","AES192","AES256"], ["AES128","AES192","AES256"]); diff --git a/core/model/enumerations/ldap-directory-params-encryption.js b/core/model/enumerations/ldap-directory-params-encryption.js deleted file mode 100644 index 5fd6ec0d4f..0000000000 --- a/core/model/enumerations/ldap-directory-params-encryption.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.LdapDirectoryParamsEncryption = new Enum().initWithMembersAndValues(["OFF","SSL","TLS"], ["OFF","SSL","TLS"]); diff --git a/core/model/enumerations/mail-encryption-type.js b/core/model/enumerations/mail-encryption-type.js deleted file mode 100644 index a5da2dea7e..0000000000 --- a/core/model/enumerations/mail-encryption-type.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.MailEncryptionType = new Enum().initWithMembersAndValues(["PLAIN","SSL","TLS"], ["PLAIN","SSL","TLS"]); diff --git a/core/model/enumerations/neighbor-type.js b/core/model/enumerations/neighbor-type.js deleted file mode 100644 index 90d13b9bf5..0000000000 --- a/core/model/enumerations/neighbor-type.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.NeighborType = new Enum().initWithMembersAndValues(["freenas","ssh"], ["freenas","ssh"]); diff --git a/core/model/enumerations/network-aggregation-protocols.js b/core/model/enumerations/network-aggregation-protocols.js deleted file mode 100644 index 6035249e61..0000000000 --- a/core/model/enumerations/network-aggregation-protocols.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.NetworkAggregationProtocols = new Enum().initWithMembersAndValues(["ETHERCHANNEL","FAILOVER","LACP","LOADBALANCE","NONE","ROUNDROBIN"], ["ETHERCHANNEL","FAILOVER","LACP","LOADBALANCE","NONE","ROUNDROBIN"]); diff --git a/core/model/enumerations/network-interface-alias-type.js b/core/model/enumerations/network-interface-alias-type.js deleted file mode 100644 index 9346966bdb..0000000000 --- a/core/model/enumerations/network-interface-alias-type.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.NetworkInterfaceAliasType = new Enum().initWithMembersAndValues(["INET","INET6"], ["INET","INET6"]); diff --git a/core/model/enumerations/network-interface-capabilities-items.js b/core/model/enumerations/network-interface-capabilities-items.js deleted file mode 100644 index f7ce2b6e52..0000000000 --- a/core/model/enumerations/network-interface-capabilities-items.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.NetworkInterfaceCapabilitiesItems = new Enum().initWithMembersAndValues(["HWSTATS","JUMBO_MTU","LINKSTATE","LRO","NETCONS","NETMAP","POLLING","POLLING_NOCOUNT","RXCSUM","RXCSUM_IPV6","TOE4","TOE6","TSO4","TSO6","TXCSUM","TXCSUM_IPV6","VLAN_HWCSUM","VLAN_HWFILTER","VLAN_HWTAGGING","VLAN_HWTSO","VLAN_MTU","WOL_MAGIC","WOL_MCAST","WOL_UCAST"], ["HWSTATS","JUMBO_MTU","LINKSTATE","LRO","NETCONS","NETMAP","POLLING","POLLING_NOCOUNT","RXCSUM","RXCSUM_IPV6","TOE4","TOE6","TSO4","TSO6","TXCSUM","TXCSUM_IPV6","VLAN_HWCSUM","VLAN_HWFILTER","VLAN_HWTAGGING","VLAN_HWTSO","VLAN_MTU","WOL_MAGIC","WOL_MCAST","WOL_UCAST"]); diff --git a/core/model/enumerations/network-interface-dhcp-state.js b/core/model/enumerations/network-interface-dhcp-state.js deleted file mode 100644 index fbcfc04f4b..0000000000 --- a/core/model/enumerations/network-interface-dhcp-state.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.NetworkInterfaceDhcpState = new Enum().initWithMembersAndValues(["BOUND","INIT","INIT_REBOOT","REBINDING","REBOOTING","RENEWING","REQUESTING","SELECTING"], ["BOUND","INIT","INIT_REBOOT","REBINDING","REBOOTING","RENEWING","REQUESTING","SELECTING"]); diff --git a/core/model/enumerations/network-interface-flags-items.js b/core/model/enumerations/network-interface-flags-items.js deleted file mode 100644 index a51488b126..0000000000 --- a/core/model/enumerations/network-interface-flags-items.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.NetworkInterfaceFlagsItems = new Enum().initWithMembersAndValues(["ALLMULTI","BROADCAST","CANTCONFIG","DEBUG","DRV_OACTIVE","DRV_RUNNING","DYING","LINK0","LINK1","LINK2","LOOPBACK","MONITOR","MULTICAST","NOARP","POINTOPOINT","PPROMISC","PROMISC","RENAMING","SIMPLEX","STATICARP","UP"], ["ALLMULTI","BROADCAST","CANTCONFIG","DEBUG","DRV_OACTIVE","DRV_RUNNING","DYING","LINK0","LINK1","LINK2","LOOPBACK","MONITOR","MULTICAST","NOARP","POINTOPOINT","PPROMISC","PROMISC","RENAMING","SIMPLEX","STATICARP","UP"]); diff --git a/core/model/enumerations/network-interface-mediaopts-items.js b/core/model/enumerations/network-interface-mediaopts-items.js deleted file mode 100644 index 14b3272a2b..0000000000 --- a/core/model/enumerations/network-interface-mediaopts-items.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.NetworkInterfaceMediaoptsItems = new Enum().initWithMembersAndValues(["AUTO","FDX","FLAG0","FLAG1","FLAG2","FLOW","HDX","LOOP","MANUAL","NONE"], ["AUTO","FDX","FLAG0","FLAG1","FLAG2","FLOW","HDX","LOOP","MANUAL","NONE"]); diff --git a/core/model/enumerations/network-interface-nd6-flag-items.js b/core/model/enumerations/network-interface-nd6-flag-items.js deleted file mode 100644 index 1081609443..0000000000 --- a/core/model/enumerations/network-interface-nd6-flag-items.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.NetworkInterfaceNd6FlagItems = new Enum().initWithMembersAndValues(["ACCEPT_RTADV","AUTO_LINKLOCAL","DONT_SET_IFROUTE","IFDISABLED","NO_PREFER_IFACE","NO_RADR","PERFORMNUD","PREFER_SOURCE"], ["ACCEPT_RTADV","AUTO_LINKLOCAL","DONT_SET_IFROUTE","IFDISABLED","NO_PREFER_IFACE","NO_RADR","PERFORMNUD","PREFER_SOURCE"]); diff --git a/core/model/enumerations/network-interface-status-linkstate.js b/core/model/enumerations/network-interface-status-linkstate.js deleted file mode 100644 index 37efed9b56..0000000000 --- a/core/model/enumerations/network-interface-status-linkstate.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.NetworkInterfaceStatusLinkstate = new Enum().initWithMembersAndValues(["LINK_STATE_DOWN","LINK_STATE_UNKNOWN","LINK_STATE_UP"], ["LINK_STATE_DOWN","LINK_STATE_UNKNOWN","LINK_STATE_UP"]); diff --git a/core/model/enumerations/network-interface-type.js b/core/model/enumerations/network-interface-type.js deleted file mode 100644 index 68b986a84e..0000000000 --- a/core/model/enumerations/network-interface-type.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.NetworkInterfaceType = new Enum().initWithMembersAndValues(["BRIDGE","ETHER","LAGG","LOOPBACK","VLAN"], ["BRIDGE","ETHER","LAGG","LOOPBACK","VLAN"]); diff --git a/core/model/enumerations/network-lagg-port-flags-items.js b/core/model/enumerations/network-lagg-port-flags-items.js deleted file mode 100644 index 7511300400..0000000000 --- a/core/model/enumerations/network-lagg-port-flags-items.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.NetworkLaggPortFlagsItems = new Enum().initWithMembersAndValues(["ACTIVE","COLLECTING","DISABLED","DISTRIBUTING","MASTER","SLAVE","STACK"], ["ACTIVE","COLLECTING","DISABLED","DISTRIBUTING","MASTER","SLAVE","STACK"]); diff --git a/core/model/enumerations/network-route-type.js b/core/model/enumerations/network-route-type.js deleted file mode 100644 index e1c16d8b04..0000000000 --- a/core/model/enumerations/network-route-type.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.NetworkRouteType = new Enum().initWithMembersAndValues(["INET","INET6"], ["INET","INET6"]); diff --git a/core/model/enumerations/power-changed-operation.js b/core/model/enumerations/power-changed-operation.js deleted file mode 100644 index ce5db1f3e7..0000000000 --- a/core/model/enumerations/power-changed-operation.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.PowerChangedOperation = new Enum().initWithMembersAndValues(["REBOOT","SHUTDOWN"], ["REBOOT","SHUTDOWN"]); diff --git a/core/model/enumerations/rsync-copy-rsyncdirection.js b/core/model/enumerations/rsync-copy-rsyncdirection.js deleted file mode 100644 index efd93f766b..0000000000 --- a/core/model/enumerations/rsync-copy-rsyncdirection.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.RsyncCopyRsyncdirection = new Enum().initWithMembersAndValues(["PULL","PUSH"], ["PULL","PUSH"]); diff --git a/core/model/enumerations/rsync-copy-rsyncmode.js b/core/model/enumerations/rsync-copy-rsyncmode.js deleted file mode 100644 index 026b0baa78..0000000000 --- a/core/model/enumerations/rsync-copy-rsyncmode.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.RsyncCopyRsyncmode = new Enum().initWithMembersAndValues(["MODULE","SSH"], ["MODULE","SSH"]); diff --git a/core/model/enumerations/rsyncd-module-mode.js b/core/model/enumerations/rsyncd-module-mode.js deleted file mode 100644 index c777adf6f7..0000000000 --- a/core/model/enumerations/rsyncd-module-mode.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.RsyncdModuleMode = new Enum().initWithMembersAndValues(["READONLY","READWRITE","WRITEONLY"], ["READONLY","READWRITE","WRITEONLY"]); diff --git a/core/model/enumerations/service-dyndns-provider.js b/core/model/enumerations/service-dyndns-provider.js deleted file mode 100644 index ed30f9e664..0000000000 --- a/core/model/enumerations/service-dyndns-provider.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.ServiceDyndnsProvider = new Enum().initWithMembersAndValues(["default@dhis.org","default@dnsomatic.com","default@dynsip.org","default@easydns.com","default@freedns.afraid.org","default@majimoto.net","default@no-ip.com","default@sitelutions.com","default@tzo.com","default@zerigo.com","default@zoneedit.com","dyndns@3322.org","dyndns@dyndns.org","ipv6tb@he.net"], ["default@dhis.org","default@dnsomatic.com","default@dynsip.org","default@easydns.com","default@freedns.afraid.org","default@majimoto.net","default@no-ip.com","default@sitelutions.com","default@tzo.com","default@zerigo.com","default@zoneedit.com","dyndns@3322.org","dyndns@dyndns.org","ipv6tb@he.net"]); diff --git a/core/model/enumerations/service-ftp-tlsoptions-items.js b/core/model/enumerations/service-ftp-tlsoptions-items.js deleted file mode 100644 index 0dc117bbe5..0000000000 --- a/core/model/enumerations/service-ftp-tlsoptions-items.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.ServiceFtpTlsoptionsItems = new Enum().initWithMembersAndValues(["ALLOW_CLIENT_RENEGOTIATIONS","ALLOW_DOT_LOGIN","ALLOW_PER_USER","COMMON_NAME_REQUIRED","DNS_NAME_REQUIRED","ENABLE_DIAGNOSTICS","EXPORT_CERTIFICATE_DATA","IP_ADDRESS_REQUIRED","NO_CERTIFICATE_REQUEST","NO_EMPTY_FRAGMENTS","NO_SESSION_REUSE_REQUIRED","STANDARD_ENV_VARS"], ["ALLOW_CLIENT_RENEGOTIATIONS","ALLOW_DOT_LOGIN","ALLOW_PER_USER","COMMON_NAME_REQUIRED","DNS_NAME_REQUIRED","ENABLE_DIAGNOSTICS","EXPORT_CERTIFICATE_DATA","IP_ADDRESS_REQUIRED","NO_CERTIFICATE_REQUEST","NO_EMPTY_FRAGMENTS","NO_SESSION_REUSE_REQUIRED","STANDARD_ENV_VARS"]); diff --git a/core/model/enumerations/service-ftp-tlspolicy.js b/core/model/enumerations/service-ftp-tlspolicy.js deleted file mode 100644 index 9d86e5c1e2..0000000000 --- a/core/model/enumerations/service-ftp-tlspolicy.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.ServiceFtpTlspolicy = new Enum().initWithMembersAndValues(["!DATA","AUTH","AUTH+!DATA","AUTH+DATA","CTRL","CTRL+!DATA","CTRL+DATA","DATA","OFF","ON"], ["!DATA","AUTH","AUTH+!DATA","AUTH+DATA","CTRL","CTRL+!DATA","CTRL+DATA","DATA","OFF","ON"]); diff --git a/core/model/enumerations/service-smartd-powermode.js b/core/model/enumerations/service-smartd-powermode.js deleted file mode 100644 index 0d0010e878..0000000000 --- a/core/model/enumerations/service-smartd-powermode.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.ServiceSmartdPowermode = new Enum().initWithMembersAndValues(["IDLE","NEVER","SLEEP","STANDBY"], ["IDLE","NEVER","SLEEP","STANDBY"]); diff --git a/core/model/enumerations/service-smb-doscharset.js b/core/model/enumerations/service-smb-doscharset.js deleted file mode 100644 index e2c615cb09..0000000000 --- a/core/model/enumerations/service-smb-doscharset.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.ServiceSmbDoscharset = new Enum().initWithMembersAndValues(["ASCII","CP1029","CP1251","CP437","CP850","CP852","CP866","CP932","CP949","CP950"], ["ASCII","CP1029","CP1251","CP437","CP850","CP852","CP866","CP932","CP949","CP950"]); diff --git a/core/model/enumerations/service-smb-loglevel.js b/core/model/enumerations/service-smb-loglevel.js deleted file mode 100644 index 489e20ba83..0000000000 --- a/core/model/enumerations/service-smb-loglevel.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.ServiceSmbLoglevel = new Enum().initWithMembersAndValues(["DEBUG","FULL","MINIMUM","NONE","NORMAL"], ["DEBUG","FULL","MINIMUM","NONE","NORMAL"]); diff --git a/core/model/enumerations/service-smb-maxprotocol.js b/core/model/enumerations/service-smb-maxprotocol.js deleted file mode 100644 index 8b13fdc1c7..0000000000 --- a/core/model/enumerations/service-smb-maxprotocol.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.ServiceSmbMaxprotocol = new Enum().initWithMembersAndValues(["CORE","COREPLUS","LANMAN1","LANMAN2","NT1","SMB2","SMB2_02","SMB2_10","SMB2_22","SMB2_24","SMB3","SMB3_00"], ["CORE","COREPLUS","LANMAN1","LANMAN2","NT1","SMB2","SMB2_02","SMB2_10","SMB2_22","SMB2_24","SMB3","SMB3_00"]); diff --git a/core/model/enumerations/service-smb-minprotocol.js b/core/model/enumerations/service-smb-minprotocol.js deleted file mode 100644 index 4b1fe79488..0000000000 --- a/core/model/enumerations/service-smb-minprotocol.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.ServiceSmbMinprotocol = new Enum().initWithMembersAndValues(["CORE","COREPLUS","LANMAN1","LANMAN2","NT1","SMB2","SMB2_02","SMB2_10","SMB2_22","SMB2_24","SMB3","SMB3_00"], ["CORE","COREPLUS","LANMAN1","LANMAN2","NT1","SMB2","SMB2_02","SMB2_10","SMB2_22","SMB2_24","SMB3","SMB3_00"]); diff --git a/core/model/enumerations/service-smb-unixcharset.js b/core/model/enumerations/service-smb-unixcharset.js deleted file mode 100644 index 82e0383d77..0000000000 --- a/core/model/enumerations/service-smb-unixcharset.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.ServiceSmbUnixcharset = new Enum().initWithMembersAndValues(["ASCII","EUC-JP","UTF-8","gb2312","iso-8859-1","iso-8859-15"], ["ASCII","EUC-JP","UTF-8","gb2312","iso-8859-1","iso-8859-15"]); diff --git a/core/model/enumerations/service-snmp-v3authtype.js b/core/model/enumerations/service-snmp-v3authtype.js deleted file mode 100644 index 84e06acd0d..0000000000 --- a/core/model/enumerations/service-snmp-v3authtype.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.ServiceSnmpV3authtype = new Enum().initWithMembersAndValues(["MD5","SHA"], ["MD5","SHA"]); diff --git a/core/model/enumerations/service-snmp-v3privacyprotocol.js b/core/model/enumerations/service-snmp-v3privacyprotocol.js deleted file mode 100644 index 7bbc2fb4d7..0000000000 --- a/core/model/enumerations/service-snmp-v3privacyprotocol.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.ServiceSnmpV3privacyprotocol = new Enum().initWithMembersAndValues(["AES","DES"], ["AES","DES"]); diff --git a/core/model/enumerations/service-sshd-sftplogfacility.js b/core/model/enumerations/service-sshd-sftplogfacility.js deleted file mode 100644 index c0f7d3ea49..0000000000 --- a/core/model/enumerations/service-sshd-sftplogfacility.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.ServiceSshdSftplogfacility = new Enum().initWithMembersAndValues(["AUTH","DAEMON","LOCAL0","LOCAL1","LOCAL2","LOCAL3","LOCAL4","LOCAL5","LOCAL6","LOCAL7","USER"], ["AUTH","DAEMON","LOCAL0","LOCAL1","LOCAL2","LOCAL3","LOCAL4","LOCAL5","LOCAL6","LOCAL7","USER"]); diff --git a/core/model/enumerations/service-sshd-sftploglevel.js b/core/model/enumerations/service-sshd-sftploglevel.js deleted file mode 100644 index 4a1867793c..0000000000 --- a/core/model/enumerations/service-sshd-sftploglevel.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.ServiceSshdSftploglevel = new Enum().initWithMembersAndValues(["DEBUG","DEBUG2","DEBUG3","ERROR","FATAL","INFO","QUIET","VERBOSE"], ["DEBUG","DEBUG2","DEBUG3","ERROR","FATAL","INFO","QUIET","VERBOSE"]); diff --git a/core/model/enumerations/service-state.js b/core/model/enumerations/service-state.js deleted file mode 100644 index 21ef34b2cd..0000000000 --- a/core/model/enumerations/service-state.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.ServiceState = new Enum().initWithMembersAndValues(["RUNNING","STOPPED","UNKNOWN"], ["RUNNING","STOPPED","UNKNOWN"]); diff --git a/core/model/enumerations/service-ups-mode.js b/core/model/enumerations/service-ups-mode.js deleted file mode 100644 index 0c1003da9c..0000000000 --- a/core/model/enumerations/service-ups-mode.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.ServiceUpsMode = new Enum().initWithMembersAndValues(["MASTER","SLAVE"], ["MASTER","SLAVE"]); diff --git a/core/model/enumerations/service-ups-shutdownmode.js b/core/model/enumerations/service-ups-shutdownmode.js deleted file mode 100644 index 7037656d52..0000000000 --- a/core/model/enumerations/service-ups-shutdownmode.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.ServiceUpsShutdownmode = new Enum().initWithMembersAndValues(["BATT","LOWBATT"], ["BATT","LOWBATT"]); diff --git a/core/model/enumerations/service-webdav-authentication.js b/core/model/enumerations/service-webdav-authentication.js deleted file mode 100644 index d8494d7fc9..0000000000 --- a/core/model/enumerations/service-webdav-authentication.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.ServiceWebdavAuthentication = new Enum().initWithMembersAndValues(["BASIC","DIGEST"], ["BASIC","DIGEST"]); diff --git a/core/model/enumerations/service-webdav-protocol-items.js b/core/model/enumerations/service-webdav-protocol-items.js deleted file mode 100644 index b37e50e064..0000000000 --- a/core/model/enumerations/service-webdav-protocol-items.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.ServiceWebdavProtocolItems = new Enum().initWithMembersAndValues(["HTTP","HTTPS"], ["HTTP","HTTPS"]); diff --git a/core/model/enumerations/share-iscsi-auth-type.js b/core/model/enumerations/share-iscsi-auth-type.js deleted file mode 100644 index 1fc6181289..0000000000 --- a/core/model/enumerations/share-iscsi-auth-type.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.ShareIscsiAuthType = new Enum().initWithMembersAndValues(["CHAP","CHAP_MUTUAL","DENY","NONE"], ["CHAP","CHAP_MUTUAL","DENY","NONE"]); diff --git a/core/model/enumerations/share-iscsi-blocksize.js b/core/model/enumerations/share-iscsi-blocksize.js deleted file mode 100644 index 07f3e7710b..0000000000 --- a/core/model/enumerations/share-iscsi-blocksize.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.ShareIscsiBlocksize = new Enum().initWithMembersAndValues([1024,2048,4096,512], [1024,2048,4096,512]); diff --git a/core/model/enumerations/share-iscsi-rpm.js b/core/model/enumerations/share-iscsi-rpm.js deleted file mode 100644 index 048f3493ce..0000000000 --- a/core/model/enumerations/share-iscsi-rpm.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.ShareIscsiRpm = new Enum().initWithMembersAndValues(["10000","15000","5400","7200","SSD","UNKNOWN"], ["10000","15000","5400","7200","SSD","UNKNOWN"]); diff --git a/core/model/enumerations/share-nfs-security-items.js b/core/model/enumerations/share-nfs-security-items.js deleted file mode 100644 index a836f08997..0000000000 --- a/core/model/enumerations/share-nfs-security-items.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.ShareNfsSecurityItems = new Enum().initWithMembersAndValues(["krb5","krb5i","krb5p","sys"], ["krb5","krb5i","krb5p","sys"]); diff --git a/core/model/enumerations/share-targettype.js b/core/model/enumerations/share-targettype.js deleted file mode 100644 index 81cf088d50..0000000000 --- a/core/model/enumerations/share-targettype.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.ShareTargettype = new Enum().initWithMembersAndValues(["DATASET","DIRECTORY","FILE","ZVOL"], ["DATASET","DIRECTORY","FILE","ZVOL"]); diff --git a/core/model/enumerations/share-types-permtype.js b/core/model/enumerations/share-types-permtype.js deleted file mode 100644 index 2793f5990d..0000000000 --- a/core/model/enumerations/share-types-permtype.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.ShareTypesPermtype = new Enum().initWithMembersAndValues(["ACL","PERM"], ["ACL","PERM"]); diff --git a/core/model/enumerations/share-types-subtype.js b/core/model/enumerations/share-types-subtype.js deleted file mode 100644 index 6a3687c4ed..0000000000 --- a/core/model/enumerations/share-types-subtype.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.ShareTypesSubtype = new Enum().initWithMembersAndValues(["BLOCK","FILE"], ["BLOCK","FILE"]); diff --git a/core/model/enumerations/simulator-disk-rpm.js b/core/model/enumerations/simulator-disk-rpm.js deleted file mode 100644 index 3f5eae139c..0000000000 --- a/core/model/enumerations/simulator-disk-rpm.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.SimulatorDiskRpm = new Enum().initWithMembersAndValues(["10000","15000","5400","7200","SSD","UNKNOWN"], ["10000","15000","5400","7200","SSD","UNKNOWN"]); diff --git a/core/model/enumerations/snapshot-info-type.js b/core/model/enumerations/snapshot-info-type.js deleted file mode 100644 index c655036028..0000000000 --- a/core/model/enumerations/snapshot-info-type.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.SnapshotInfoType = new Enum().initWithMembersAndValues(["FILESYSTEM","VOLUME"], ["FILESYSTEM","VOLUME"]); diff --git a/core/model/enumerations/system-advanced-serialspeed.js b/core/model/enumerations/system-advanced-serialspeed.js deleted file mode 100644 index 6f03ff1716..0000000000 --- a/core/model/enumerations/system-advanced-serialspeed.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.SystemAdvancedSerialspeed = new Enum().initWithMembersAndValues([110,115200,1200,14400,19200,2400,300,38400,4800,57600,600,9600], [110,115200,1200,14400,19200,2400,300,38400,4800,57600,600,9600]); diff --git a/core/model/enumerations/system-ui-webuiprotocol-items.js b/core/model/enumerations/system-ui-webuiprotocol-items.js deleted file mode 100644 index ebbb24ad4b..0000000000 --- a/core/model/enumerations/system-ui-webuiprotocol-items.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.SystemUiWebuiprotocolItems = new Enum().initWithMembersAndValues(["HTTP","HTTPS"], ["HTTP","HTTPS"]); diff --git a/core/model/enumerations/tunable-type.js b/core/model/enumerations/tunable-type.js deleted file mode 100644 index 54fb14e63b..0000000000 --- a/core/model/enumerations/tunable-type.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.TunableType = new Enum().initWithMembersAndValues(["LOADER","RC","SYSCTL"], ["LOADER","RC","SYSCTL"]); diff --git a/core/model/enumerations/update-ops-operation.js b/core/model/enumerations/update-ops-operation.js deleted file mode 100644 index fdc63f4bda..0000000000 --- a/core/model/enumerations/update-ops-operation.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.UpdateOpsOperation = new Enum().initWithMembersAndValues(["delete","install","upgrade"], ["delete","install","upgrade"]); diff --git a/core/model/enumerations/update-progress-operation.js b/core/model/enumerations/update-progress-operation.js deleted file mode 100644 index 6790deba2f..0000000000 --- a/core/model/enumerations/update-progress-operation.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.UpdateProgressOperation = new Enum().initWithMembersAndValues(["DOWNLOADING","INSTALLING"], ["DOWNLOADING","INSTALLING"]); diff --git a/core/model/enumerations/vm-config-bootloader.js b/core/model/enumerations/vm-config-bootloader.js deleted file mode 100644 index 4923d1e0e7..0000000000 --- a/core/model/enumerations/vm-config-bootloader.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.VmConfigBootloader = new Enum().initWithMembersAndValues(["BHYVELOAD","GRUB","UEFI","UEFI_CSM"], ["BHYVELOAD","GRUB","UEFI","UEFI_CSM"]); diff --git a/core/model/enumerations/vm-datastore-nfs-version.js b/core/model/enumerations/vm-datastore-nfs-version.js deleted file mode 100644 index b22fed1992..0000000000 --- a/core/model/enumerations/vm-datastore-nfs-version.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.VmDatastoreNfsVersion = new Enum().initWithMembersAndValues(["NFSV3","NFSV4"], ["NFSV3","NFSV4"]); diff --git a/core/model/enumerations/vm-datastore-state.js b/core/model/enumerations/vm-datastore-state.js deleted file mode 100644 index 309800065c..0000000000 --- a/core/model/enumerations/vm-datastore-state.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.VmDatastoreState = new Enum().initWithMembersAndValues(["OFFLINE","ONLINE"], ["OFFLINE","ONLINE"]); diff --git a/core/model/enumerations/vm-device-disk-mode.js b/core/model/enumerations/vm-device-disk-mode.js deleted file mode 100644 index a3f99b976a..0000000000 --- a/core/model/enumerations/vm-device-disk-mode.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.VmDeviceDiskMode = new Enum().initWithMembersAndValues(["AHCI","VIRTIO"], ["AHCI","VIRTIO"]); diff --git a/core/model/enumerations/vm-device-disk-target-type.js b/core/model/enumerations/vm-device-disk-target-type.js deleted file mode 100644 index 0926432c4f..0000000000 --- a/core/model/enumerations/vm-device-disk-target-type.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.VmDeviceDiskTargetType = new Enum().initWithMembersAndValues(["FILE","BLOCK", "DISK"], ["FILE","BLOCK", "DISK"]); diff --git a/core/model/enumerations/vm-device-graphics-resolution.js b/core/model/enumerations/vm-device-graphics-resolution.js deleted file mode 100644 index e152d0b836..0000000000 --- a/core/model/enumerations/vm-device-graphics-resolution.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.VmDeviceGraphicsResolution = new Enum().initWithMembersAndValues(["1024x768","1280x1024","1280x720","1600x1200","1600x900","1920x1080","1920x1200","640x480","800x600"], ["1024x768","1280x1024","1280x720","1600x1200","1600x900","1920x1080","1920x1200","640x480","800x600"]); diff --git a/core/model/enumerations/vm-device-nic-device.js b/core/model/enumerations/vm-device-nic-device.js deleted file mode 100644 index fdad80209e..0000000000 --- a/core/model/enumerations/vm-device-nic-device.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.VmDeviceNicDevice = new Enum().initWithMembersAndValues(["E1000","NE2K","VIRTIO"], ["E1000","NE2K","VIRTIO"]); diff --git a/core/model/enumerations/vm-device-nic-mode.js b/core/model/enumerations/vm-device-nic-mode.js deleted file mode 100644 index b4560547e8..0000000000 --- a/core/model/enumerations/vm-device-nic-mode.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.VmDeviceNicMode = new Enum().initWithMembersAndValues(["BRIDGED","HOSTONLY","MANAGEMENT","NAT"], ["BRIDGED","HOSTONLY","MANAGEMENT","NAT"]); diff --git a/core/model/enumerations/vm-device-type.js b/core/model/enumerations/vm-device-type.js deleted file mode 100644 index 6fa58b8856..0000000000 --- a/core/model/enumerations/vm-device-type.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.VmDeviceType = new Enum().initWithMembersAndValues(["CDROM","DISK","GRAPHICS","NIC","USB","VOLUME"], ["CDROM","DISK","GRAPHICS","NIC","USB","VOLUME"]); diff --git a/core/model/enumerations/vm-device-usb-device.js b/core/model/enumerations/vm-device-usb-device.js deleted file mode 100644 index 6de631c838..0000000000 --- a/core/model/enumerations/vm-device-usb-device.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.VmDeviceUsbDevice = new Enum().initWithMembersAndValues(["tablet"], ["tablet"]); diff --git a/core/model/enumerations/vm-device-volume-type.js b/core/model/enumerations/vm-device-volume-type.js deleted file mode 100644 index 64486e5ba8..0000000000 --- a/core/model/enumerations/vm-device-volume-type.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.VmDeviceVolumeType = new Enum().initWithMembersAndValues(["NFS","VT9P"], ["NFS","VT9P"]); diff --git a/core/model/enumerations/vm-guest-type.js b/core/model/enumerations/vm-guest-type.js deleted file mode 100644 index e30516c97f..0000000000 --- a/core/model/enumerations/vm-guest-type.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.VmGuestType = new Enum().initWithMembersAndValues(["freebsd32","freebsd64","linux64","netbsd64","openbsd32","openbsd64","other","solaris64","windows64"], ["freebsd32","freebsd64","linux64","netbsd64","openbsd32","openbsd64","other","solaris64","windows64"]); diff --git a/core/model/enumerations/vm-status-health.js b/core/model/enumerations/vm-status-health.js deleted file mode 100644 index ccd7dd9a89..0000000000 --- a/core/model/enumerations/vm-status-health.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.VmStatusHealth = new Enum().initWithMembersAndValues(["DEAD","DYING","HEALTHY","UNKNOWN"], ["DEAD","DYING","HEALTHY","UNKNOWN"]); diff --git a/core/model/enumerations/vm-status-state.js b/core/model/enumerations/vm-status-state.js deleted file mode 100644 index b3a8b4804b..0000000000 --- a/core/model/enumerations/vm-status-state.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.VmStatusState = new Enum().initWithMembersAndValues(["BOOTLOADER","RUNNING","STOPPED"], ["BOOTLOADER","RUNNING","STOPPED"]); diff --git a/core/model/enumerations/vmware-dataset-filter-op.js b/core/model/enumerations/vmware-dataset-filter-op.js deleted file mode 100644 index 03ca160fe6..0000000000 --- a/core/model/enumerations/vmware-dataset-filter-op.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.VmwareDatasetFilterOp = new Enum().initWithMembersAndValues(["EXCLUDE","INCLUDE","NONE"], ["EXCLUDE","INCLUDE","NONE"]); diff --git a/core/model/enumerations/volume-dataset-permissionstype.js b/core/model/enumerations/volume-dataset-permissionstype.js deleted file mode 100644 index f3a697ae85..0000000000 --- a/core/model/enumerations/volume-dataset-permissionstype.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.VolumeDatasetPermissionstype = new Enum().initWithMembersAndValues(["ACL","PERM"], ["ACL","PERM"]); diff --git a/core/model/enumerations/volume-dataset-property-casesensitivity-value.js b/core/model/enumerations/volume-dataset-property-casesensitivity-value.js deleted file mode 100644 index 57a4d532ec..0000000000 --- a/core/model/enumerations/volume-dataset-property-casesensitivity-value.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.VolumeDatasetPropertyCasesensitivityValue = new Enum().initWithMembersAndValues(["insensitive","mixed","sensitive"], ["insensitive","mixed","sensitive"]); diff --git a/core/model/enumerations/volume-dataset-property-compression-value.js b/core/model/enumerations/volume-dataset-property-compression-value.js deleted file mode 100644 index 30c5246896..0000000000 --- a/core/model/enumerations/volume-dataset-property-compression-value.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.VolumeDatasetPropertyCompressionValue = new Enum().initWithMembersAndValues(["gzip","gzip-1","gzip-2","gzip-3","gzip-4","gzip-5","gzip-6","gzip-7","gzip-8","gzip-9","lz4","lzjb","off","on","zle"], ["gzip","gzip-1","gzip-2","gzip-3","gzip-4","gzip-5","gzip-6","gzip-7","gzip-8","gzip-9","lz4","lzjb","off","on","zle"]); diff --git a/core/model/enumerations/volume-dataset-property-dedup-value.js b/core/model/enumerations/volume-dataset-property-dedup-value.js deleted file mode 100644 index f0097f9583..0000000000 --- a/core/model/enumerations/volume-dataset-property-dedup-value.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.VolumeDatasetPropertyDedupValue = new Enum().initWithMembersAndValues(["off","on","verify"], ["off","on","verify"]); diff --git a/core/model/enumerations/volume-dataset-property-volblocksize-value.js b/core/model/enumerations/volume-dataset-property-volblocksize-value.js deleted file mode 100644 index 3883d373c3..0000000000 --- a/core/model/enumerations/volume-dataset-property-volblocksize-value.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.VolumeDatasetPropertyVolblocksizeValue = new Enum().initWithMembersAndValues([1024,131072,16384,2048,32768,4096,512,65536,8192], [1024,131072,16384,2048,32768,4096,512,65536,8192]); diff --git a/core/model/enumerations/volume-dataset-type.js b/core/model/enumerations/volume-dataset-type.js deleted file mode 100644 index 893bfb7f9c..0000000000 --- a/core/model/enumerations/volume-dataset-type.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.VolumeDatasetType = new Enum().initWithMembersAndValues(["FILESYSTEM","VOLUME"], ["FILESYSTEM","VOLUME"]); diff --git a/core/model/enumerations/volume-property-failmode-value.js b/core/model/enumerations/volume-property-failmode-value.js deleted file mode 100644 index 277ee13ec0..0000000000 --- a/core/model/enumerations/volume-property-failmode-value.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.VolumePropertyFailmodeValue = new Enum().initWithMembersAndValues(["continue","panic","wait"], ["continue","panic","wait"]); diff --git a/core/model/enumerations/volume-property-health-value.js b/core/model/enumerations/volume-property-health-value.js deleted file mode 100644 index 47b057b106..0000000000 --- a/core/model/enumerations/volume-property-health-value.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.VolumePropertyHealthValue = new Enum().initWithMembersAndValues(["DEGRADED","FAULTED","LOCKED","OFFLINE","ONLINE","REMOVED","UNAVAIL"], ["DEGRADED","FAULTED","LOCKED","OFFLINE","ONLINE","REMOVED","UNAVAIL"]); diff --git a/core/model/enumerations/volume-property-source.js b/core/model/enumerations/volume-property-source.js deleted file mode 100644 index b903664540..0000000000 --- a/core/model/enumerations/volume-property-source.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.VolumePropertySource = new Enum().initWithMembersAndValues(["DEFAULT","INHERITED","LOCAL","NONE"], ["DEFAULT","INHERITED","LOCAL","NONE"]); diff --git a/core/model/enumerations/volume-providerspresence.js b/core/model/enumerations/volume-providerspresence.js deleted file mode 100644 index ad3e58d7fa..0000000000 --- a/core/model/enumerations/volume-providerspresence.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.VolumeProviderspresence = new Enum().initWithMembersAndValues(["ALL","NONE","PART"], ["ALL","NONE","PART"]); diff --git a/core/model/enumerations/volume-status.js b/core/model/enumerations/volume-status.js deleted file mode 100644 index 43354c2d30..0000000000 --- a/core/model/enumerations/volume-status.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.VolumeStatus = new Enum().initWithMembersAndValues(["LOCKED","ONLINE","UNAVAIL","UNKNOWN"], ["LOCKED","ONLINE","UNAVAIL","UNKNOWN"]); diff --git a/core/model/enumerations/zfs-pool-status.js b/core/model/enumerations/zfs-pool-status.js deleted file mode 100644 index 563d0b2fa0..0000000000 --- a/core/model/enumerations/zfs-pool-status.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.ZfsPoolStatus = new Enum().initWithMembersAndValues(["DEGRADED","FAULTED","OFFLINE","ONLINE","REMOVED","UNAVAIL"], ["DEGRADED","FAULTED","OFFLINE","ONLINE","REMOVED","UNAVAIL"]); diff --git a/core/model/enumerations/zfs-property-source.js b/core/model/enumerations/zfs-property-source.js deleted file mode 100644 index 7a0eace2ab..0000000000 --- a/core/model/enumerations/zfs-property-source.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.ZfsPropertySource = new Enum().initWithMembersAndValues(["DEFAULT","INHERITED","LOCAL","NONE","RECEIVED"], ["DEFAULT","INHERITED","LOCAL","NONE","RECEIVED"]); diff --git a/core/model/enumerations/zfs-vdev-type.js b/core/model/enumerations/zfs-vdev-type.js deleted file mode 100644 index bce3953f19..0000000000 --- a/core/model/enumerations/zfs-vdev-type.js +++ /dev/null @@ -1,3 +0,0 @@ -var Enum = require("montage/core/enum").Enum; - -exports.ZfsVdevType = new Enum().initWithMembersAndValues(["disk","file","mirror","raidz1","raidz2","raidz3"], ["disk","file","mirror","raidz1","raidz2","raidz3"]); diff --git a/core/model/events.mjson b/core/model/events.mjson deleted file mode 100644 index 2b10e2d8c7..0000000000 --- a/core/model/events.mjson +++ /dev/null @@ -1,60 +0,0 @@ -{ - "Alert": "entity-subscriber.alert.changed", - "AlertFilter": "entity-subscriber.alert.filter.changed", - "Backup": "entity-subscriber.backup.changed", - "BootEnvironment": "entity-subscriber.boot.environment.changed", - "BootPool": "entity-subscriber.boot.pool.changed", - "CalendarTask": "entity-subscriber.calendar_task.changed", - "CryptoCertificate": "entity-subscriber.crypto.certificate.changed", - "Directory": "entity-subscriber.directory.changed", - "Disk": "entity-subscriber.disk.changed", - "DiskEnclosure": "entity-subscriber.disk.enclosure.changed", - "DiskIscsiTarget": "entity-subscriber.disk.iscsi.target.changed", - "DockerCollection": "entity-subscriber.docker.collection.changed", - "DockerContainer": "entity-subscriber.docker.container.changed", - "DockerHost": "entity-subscriber.docker.host.changed", - "DockerImage": "entity-subscriber.docker.image.changed", - "DockerNetwork": "entity-subscriber.docker.network.changed", - "Group": "entity-subscriber.group.changed", - "KerberosKeytab": "entity-subscriber.kerberos.keytab.changed", - "KerberosRealm": "entity-subscriber.kerberos.realm.changed", - "Network": "entity-subscriber.network.changed", - "NetworkConfig": "entity-subscriber.network.config.changed", - "NetworkHost": "entity-subscriber.network.host.changed", - "NetworkInterface": "entity-subscriber.network.interface.changed", - "NetworkRoute": "entity-subscriber.network.route.changed", - "NtpServer": "entity-subscriber.ntp_server.changed", - "Peer": "entity-subscriber.peer.changed", - "Power": "entity-subscriber.power.changed", - "Replication": "entity-subscriber.replication.changed", - "RsyncdModule": "entity-subscriber.rsyncd.module.changed", - "Service": "entity-subscriber.service.changed", - "Session": "entity-subscriber.session.changed", - "Share": "entity-subscriber.share.changed", - "ShareAfp": "entity-subscriber.share.afp.changed", - "ShareIscsi": "entity-subscriber.share.iscsi.changed", - "ShareNfs": "entity-subscriber.share.nfs.changed", - "ShareSmb": "entity-subscriber.share.smb.changed", - "ShareWebdav": "entity-subscriber.share.webdav.changed", - "StatAlert": "entity-subscriber.stat.alert.changed", - "Support": "entity-subscriber.support.changed", - "Syslog": "entity-subscriber.syslog.changed", - "SystemAdvanced": "entity-subscriber.system.advanced.changed", - "SystemDevice": "entity-subscriber.system.device.changed", - "SystemGeneral": "entity-subscriber.system.general.changed", - "SystemUi": "entity-subscriber.system.ui.changed", - "Task": "entity-subscriber.task.changed", - "Tunable": "entity-subscriber.tunable.changed", - "Update": "entity-subscriber.update.changed", - "User": "entity-subscriber.user.changed", - "Vm": "entity-subscriber.vm.changed", - "VmDatastore": "entity-subscriber.vm.datastore.changed", - "VmSnapshot": "entity-subscriber.vm.snapshot.changed", - "VmwareDataset": "entity-subscriber.vmware.dataset.changed", - "Volume": "entity-subscriber.volume.changed", - "VolumeDataset": "entity-subscriber.volume.dataset.changed", - "VolumeSnapshot": "entity-subscriber.volume.snapshot.changed", - "ZfsDataset": "entity-subscriber.zfs.dataset.changed", - "ZfsPool": "entity-subscriber.zfs.pool.changed", - "ZfsSnapshot": "entity-subscriber.zfs.snapshot.changed" -} \ No newline at end of file diff --git a/core/model/model-descriptor.js b/core/model/model-descriptor.js deleted file mode 100644 index e4d21184bd..0000000000 --- a/core/model/model-descriptor.js +++ /dev/null @@ -1,78 +0,0 @@ -//FIXME: NEED to merge to descriptor. - -var Blueprint = require("montage/core/meta/blueprint").Blueprint; -var Deserializer = require("montage/core/serialization/deserializer/montage-deserializer").MontageDeserializer; -var ModuleReference = require("montage/core/module-reference").ModuleReference; - -// Cache all loaded descriptor -var DESCRIPTOR_CACHE = Object.create(null); - -/** - * @class ModelDescriptor - * @extends Blueprint - */ -var ModelDescriptor = exports.ModelDescriptor = Blueprint.specialize(/* @lends ModelDescriptor# */ null, { - - /** - * Gets a descriptor from a serialized file at the given model ID - * @function - * @param {string} descriptor model ID - * @param {function} require function - */ - getDescriptorWithModelId: { - value: function (modelId, _require) { - if (modelId.search(/\.mjson/) === -1) { - throw new Error(modelId + " descriptor module id does not end in '.mjson'"); - } - if (!_require) { - throw new Error("Require needed to get descriptor " + modelId); - } - - var targetRequire; - - var key = _require.location + "#" + modelId; - if (key in DESCRIPTOR_CACHE) { - return DESCRIPTOR_CACHE[key]; - } - - return DESCRIPTOR_CACHE[key] = _require.async(modelId) - .then(function (object) { - targetRequire = getModelRequire(_require, modelId); - return new Deserializer().init(JSON.stringify(object), targetRequire).deserializeObject(); - }).then(function (blueprint) { - blueprint.blueprintInstanceModule = new ModuleReference().initWithIdAndRequire(modelId, _require); - - if (blueprint._parentReference) { - // Load parent "synchronously" so that all the properties - // through the blueprint chain are available - return blueprint._parentReference.promise(targetRequire) // MARK - .then(function (parentBlueprint) { - blueprint._parent = parentBlueprint; - return blueprint; - }); - } - - return blueprint; - }); - } - } -}); - -// Adapted from mr/sandbox -function getModelRequire(parentRequire, modelId) { - var topId = parentRequire.resolve(modelId); - var module = parentRequire.getModuleDescriptor(topId); - - while (module.redirect || module.mappingRedirect) { - if (module.redirect) { - topId = module.redirect; - } else { - parentRequire = module.mappingRequire; - topId = module.mappingRedirect; - } - module = parentRequire.getModuleDescriptor(topId); - } - - return module.require; -} - diff --git a/core/model/model.js b/core/model/model.js deleted file mode 100644 index 64926fa36d..0000000000 --- a/core/model/model.js +++ /dev/null @@ -1,149 +0,0 @@ -var Promise = require("montage/core/promise").Promise, - Services = require("./services").Services, - ObjectDescriptor = require("montage-data/logic/model/object-descriptor").ObjectDescriptor, - backendBridge = require("../backend/backend-bridge").defaultBackendBridge, - modelsMJSON = require("./models.mjson"), - - EMPTY_ARRAY = []; - -var MiddlewareClient = require("core/service/middleware-client").MiddlewareClient; - -var _Model = null, - _middlewareClient = null; - -Object.defineProperty(exports, "Model", { - get: function () { - if (!_Model) { - _initialize(); - } - - return _Model; - } -}); - - -function _initialize () { - _middlewareClient = MiddlewareClient.getInstance(); - var models = modelsMJSON.models, - model; - - _Model = Object.create(null); - - if (models) { - for (var i = 0, length = models.length; i < length; i++) { - model = models[i]; - - _setGetterForType(model.type, model.modelId); - } - } - - _Model.populateObjectPrototypeForType = function (type) { - var objectDescriptor = _Model[typeof type === "string" ? type : type.typeName]; - - if (!objectDescriptor) { - return Promise.reject(new Error("wrong type given!")); - } - - if (!objectDescriptor.objectPrototype) { - // Set objectPrototype to a promise while building it - // in order to avoid to require for a second time the object Prototype. - - return (objectDescriptor.objectPrototype = require.async(objectDescriptor.modelId).then(function (_exports) { - var constructor = _exports[objectDescriptor.typeName], - objectPrototype = constructor.prototype, - classServices = Services.findClassServicesForType(objectDescriptor), - instanceServices = Services.findInstanceServicesForType(objectDescriptor); - - if (instanceServices) { - _applyServicesOnObject(instanceServices, objectPrototype); - } - - if (classServices) { - _applyServicesOnObject(classServices, constructor); - } - - constructor.Type = objectPrototype.Type = objectDescriptor; - objectDescriptor.constructor = constructor; - - return (objectDescriptor.objectPrototype = objectPrototype); - })); - } else if (Promise.is(objectDescriptor.objectPrototype)) { - return objectDescriptor.objectPrototype; - } - - return Promise.resolve(objectDescriptor.objectPrototype); - }; - - _Model.getModelIdForType = function (type) { - return this[type].modelId; - }; -} - - -function _setGetterForType (type, modelId) { - var types = _Model, - camelCaseType = type.toCamelCase(); - - Object.defineProperty(types, camelCaseType, { - get: function () { - var privateType = "_" + camelCaseType, - objectDescriptor = types[privateType]; - - if (!objectDescriptor) { - objectDescriptor = types[privateType] = new ObjectDescriptor(); - objectDescriptor.typeName = camelCaseType; - objectDescriptor.modelId = modelId; - objectDescriptor.objectPrototype = null; // override default value (Montage.prototype) - } - - return objectDescriptor; - } - }); -} - - -function _applyServicesOnObject (instanceServices, object) { - var instanceServicesKeys = Object.keys(instanceServices), - instanceServicesKey; - - for (var i = 0, length = instanceServicesKeys.length; i < length; i++) { - instanceServicesKey = instanceServicesKeys[i]; - _applyServiceOnPrototype(instanceServicesKey, instanceServices[instanceServicesKey], object); - } -} - - -function _applyServiceOnPrototype (serviceName, serviceDescriptor, object) { - if (!object.services) { - object.services = {}; - } - Object.defineProperty(object.services, serviceName, { - value: function () { - var argumentsLength = arguments.length, - isTask = !!serviceDescriptor.task, - args; - - if (argumentsLength) { - if (argumentsLength === 1) { - args = [arguments[0]]; - } else { - args = Array.apply(null, arguments); - } - } - - if (isTask) { - args = args ? [serviceDescriptor.task, args] : [serviceDescriptor.task, []]; - } else { - args = args ? args : EMPTY_ARRAY; - } - - return _middlewareClient.callRpcMethod(serviceDescriptor.method, args).then(function (response) { - return response.data; - }).catch(function (response) { - console.warn(response.error || response); - - throw response; - }); - } - }); -} diff --git a/core/model/models.mjson b/core/model/models.mjson deleted file mode 100644 index 29486c8b72..0000000000 --- a/core/model/models.mjson +++ /dev/null @@ -1,1188 +0,0 @@ -{ - "models": [ - { - "modelId": "core/model/models/account-category.js", - "type": "AccountCategory" - }, - { - "modelId": "core/model/models/account-system.js", - "type": "AccountSystem" - }, - { - "modelId": "core/model/models/acl-entry-flags.js", - "type": "AclEntryFlags" - }, - { - "modelId": "core/model/models/acl-entry-perms.js", - "type": "AclEntryPerms" - }, - { - "modelId": "core/model/models/acl-entry.js", - "type": "AclEntry" - }, - { - "modelId": "core/model/models/alert-class.js", - "type": "AlertClass" - }, - { - "modelId": "core/model/models/alert-emitter-email.js", - "type": "AlertEmitterEmail" - }, - { - "modelId": "core/model/models/alert-filter.js", - "type": "AlertFilter" - }, - { - "modelId": "core/model/models/alert.js", - "type": "Alert" - }, - { - "modelId": "core/model/models/amazon-s3-credentials.js", - "type": "AmazonS3Credentials" - }, - { - "modelId": "core/model/models/application-context.js", - "type": "ApplicationContext" - }, - { - "modelId": "core/model/models/backup-file.js", - "type": "BackupFile" - }, - { - "modelId": "core/model/models/backup-providers.js", - "type": "BackupProviders" - }, - { - "modelId": "core/model/models/backup-s3.js", - "type": "BackupS3" - }, - { - "modelId": "core/model/models/backup-ssh.js", - "type": "BackupSsh" - }, - { - "modelId": "core/model/models/backup-state.js", - "type": "BackupState" - }, - { - "modelId": "core/model/models/backup.js", - "type": "Backup" - }, - { - "modelId": "core/model/models/boot-environment.js", - "type": "BootEnvironment" - }, - { - "modelId": "core/model/models/calendar-custom-schedule.js", - "type": "CalendarCustomSchedule" - }, - { - "modelId": "core/model/models/calendar-task-schedule-anonymous.js", - "type": "CalendarTaskScheduleAnonymous" - }, - { - "modelId": "core/model/models/calendar-task-status.js", - "type": "CalendarTaskStatus" - }, - { - "modelId": "core/model/models/calendar-task.js", - "type": "CalendarTask" - }, - { - "modelId": "core/model/models/calendar.js", - "type": "Calendar" - }, - { - "modelId": "core/model/models/compress-replication-transport-option.js", - "type": "CompressReplicationTransportOption" - }, - { - "modelId": "core/model/models/compress-replication-transport-plugin.js", - "type": "CompressReplicationTransportPlugin" - }, - { - "modelId": "core/model/models/cpu-device.js", - "type": "CpuDevice" - }, - { - "modelId": "core/model/models/crypto-certificate.js", - "type": "CryptoCertificate" - }, - { - "modelId": "core/model/models/detached-volume.js", - "type": "DetachedVolume" - }, - { - "modelId": "core/model/models/directory-services.js", - "type": "DirectoryServices" - }, - { - "modelId": "core/model/models/directory-status-anonymous.js", - "type": "DirectoryStatusAnonymous" - }, - { - "modelId": "core/model/models/directory.js", - "type": "Directory" - }, - { - "modelId": "core/model/models/directoryservice-config.js", - "type": "DirectoryserviceConfig" - }, - { - "modelId": "core/model/models/disk-attach-params.js", - "type": "DiskAttachParams" - }, - { - "modelId": "core/model/models/disk-device.js", - "type": "DiskDevice" - }, - { - "modelId": "core/model/models/disk-metadata.js", - "type": "DiskMetadata" - }, - { - "modelId": "core/model/models/disk-partition.js", - "type": "DiskPartition" - }, - { - "modelId": "core/model/models/disk-set-key-params.js", - "type": "DiskSetKeyParams" - }, - { - "modelId": "core/model/models/disk-status-controller-anonymous.js", - "type": "DiskStatusControllerAnonymous" - }, - { - "modelId": "core/model/models/disk-status-multipath-anonymous-members-anonymous.js", - "type": "DiskStatusMultipathAnonymousMembersAnonymous" - }, - { - "modelId": "core/model/models/disk-status-multipath-anonymous.js", - "type": "DiskStatusMultipathAnonymous" - }, - { - "modelId": "core/model/models/disk-status.js", - "type": "DiskStatus" - }, - { - "modelId": "core/model/models/disk.js", - "type": "Disk" - }, - { - "modelId": "core/model/models/disks-allocation.js", - "type": "DisksAllocation" - }, - { - "modelId": "core/model/models/docker-collection.js", - "type": "DockerCollection" - }, - { - "modelId": "core/model/models/docker-config.js", - "type": "DockerConfig" - }, - { - "modelId": "core/model/models/docker-container-bridge.js", - "type": "DockerContainerBridge" - }, - { - "modelId": "core/model/models/docker-container-creator.js", - "type": "DockerContainerCreator" - }, - { - "modelId": "core/model/models/docker-container-logs.js", - "type": "DockerContainerLogs" - }, - { - "modelId": "core/model/models/docker-container-section.js", - "type": "DockerContainerSection" - }, - { - "modelId": "core/model/models/docker-container.js", - "type": "DockerContainer" - }, - { - "modelId": "core/model/models/docker-host-status.js", - "type": "DockerHostStatus" - }, - { - "modelId": "core/model/models/docker-host.js", - "type": "DockerHost" - }, - { - "modelId": "core/model/models/docker-hub-image.js", - "type": "DockerHubImage" - }, - { - "modelId": "core/model/models/docker-image-pull.js", - "type": "DockerImagePull" - }, - { - "modelId": "core/model/models/docker-image.js", - "type": "DockerImage" - }, - { - "modelId": "core/model/models/docker-volume.js", - "type": "DockerVolume" - }, - { - "modelId": "core/model/models/enclosure.js", - "type": "Enclosure" - }, - { - "modelId": "core/model/models/encrypt-replication-transport-option.js", - "type": "EncryptReplicationTransportOption" - }, - { - "modelId": "core/model/models/encrypt-replication-transport-plugin.js", - "type": "EncryptReplicationTransportPlugin" - }, - { - "modelId": "core/model/models/encrypted-volume-actions.js", - "type": "EncryptedVolumeActions" - }, - { - "modelId": "core/model/models/encrypted-volume-importer.js", - "type": "EncryptedVolumeImporter" - }, - { - "modelId": "core/model/models/error.js", - "type": "Error" - }, - { - "modelId": "core/model/models/file-index.js", - "type": "FileIndex" - }, - { - "modelId": "core/model/models/freeipa-directory-params.js", - "type": "FreeipaDirectoryParams" - }, - { - "modelId": "core/model/models/freenas-credentials.js", - "type": "FreenasCredentials" - }, - { - "modelId": "core/model/models/freenas-initial-credentials.js", - "type": "FreenasInitialCredentials" - }, - { - "modelId": "core/model/models/get-stats-params.js", - "type": "GetStatsParams" - }, - { - "modelId": "core/model/models/get-stats-result.js", - "type": "GetStatsResult" - }, - { - "modelId": "core/model/models/group-origin-anonymous.js", - "type": "GroupOriginAnonymous" - }, - { - "modelId": "core/model/models/group.js", - "type": "Group" - }, - { - "modelId": "core/model/models/importable-disk.js", - "type": "ImportableDisk" - }, - { - "modelId": "core/model/models/ipfs-info.js", - "type": "IpfsInfo" - }, - { - "modelId": "core/model/models/ipmi.js", - "type": "Ipmi" - }, - { - "modelId": "core/model/models/iscsi-target-status.js", - "type": "IscsiTargetStatus" - }, - { - "modelId": "core/model/models/iscsi-target.js", - "type": "IscsiTarget" - }, - { - "modelId": "core/model/models/kerberos-keytab-entry.js", - "type": "KerberosKeytabEntry" - }, - { - "modelId": "core/model/models/kerberos-keytab.js", - "type": "KerberosKeytab" - }, - { - "modelId": "core/model/models/kerberos-realm.js", - "type": "KerberosRealm" - }, - { - "modelId": "core/model/models/ldap-directory-params.js", - "type": "LdapDirectoryParams" - }, - { - "modelId": "core/model/models/mail-message-extra-headers-anonymous.js", - "type": "MailMessageExtraHeadersAnonymous" - }, - { - "modelId": "core/model/models/mail-message.js", - "type": "MailMessage" - }, - { - "modelId": "core/model/models/mail.js", - "type": "Mail" - }, - { - "modelId": "core/model/models/neighbor-properties-anonymous.js", - "type": "NeighborPropertiesAnonymous" - }, - { - "modelId": "core/model/models/neighbor.js", - "type": "Neighbor" - }, - { - "modelId": "core/model/models/network-config-dhcp-anonymous.js", - "type": "NetworkConfigDhcpAnonymous" - }, - { - "modelId": "core/model/models/network-config-dns-anonymous.js", - "type": "NetworkConfigDnsAnonymous" - }, - { - "modelId": "core/model/models/network-config-gateway-anonymous.js", - "type": "NetworkConfigGatewayAnonymous" - }, - { - "modelId": "core/model/models/network-config-netwait-anonymous.js", - "type": "NetworkConfigNetwaitAnonymous" - }, - { - "modelId": "core/model/models/network-config.js", - "type": "NetworkConfig" - }, - { - "modelId": "core/model/models/network-device.js", - "type": "NetworkDevice" - }, - { - "modelId": "core/model/models/network-host.js", - "type": "NetworkHost" - }, - { - "modelId": "core/model/models/network-interface-alias.js", - "type": "NetworkInterfaceAlias" - }, - { - "modelId": "core/model/models/network-interface-bridge-properties.js", - "type": "NetworkInterfaceBridgeProperties" - }, - { - "modelId": "core/model/models/network-interface-capabilities-anonymous.js", - "type": "NetworkInterfaceCapabilitiesAnonymous" - }, - { - "modelId": "core/model/models/network-interface-lagg-properties.js", - "type": "NetworkInterfaceLaggProperties" - }, - { - "modelId": "core/model/models/network-interface-status-dhcp-anonymous.js", - "type": "NetworkInterfaceStatusDhcpAnonymous" - }, - { - "modelId": "core/model/models/network-interface-status.js", - "type": "NetworkInterfaceStatus" - }, - { - "modelId": "core/model/models/network-interface-vlan-properties.js", - "type": "NetworkInterfaceVlanProperties" - }, - { - "modelId": "core/model/models/network-interface.js", - "type": "NetworkInterface" - }, - { - "modelId": "core/model/models/network-overview.js", - "type": "NetworkOverview" - }, - { - "modelId": "core/model/models/network-route.js", - "type": "NetworkRoute" - }, - { - "modelId": "core/model/models/network-status-dns-anonymous.js", - "type": "NetworkStatusDnsAnonymous" - }, - { - "modelId": "core/model/models/network-status-gateway-anonymous.js", - "type": "NetworkStatusGatewayAnonymous" - }, - { - "modelId": "core/model/models/network-status.js", - "type": "NetworkStatus" - }, - { - "modelId": "core/model/models/nis-directory-params.js", - "type": "NisDirectoryParams" - }, - { - "modelId": "core/model/models/ntp-server.js", - "type": "NtpServer" - }, - { - "modelId": "core/model/models/open-file.js", - "type": "OpenFile" - }, - { - "modelId": "core/model/models/peer-status.js", - "type": "PeerStatus" - }, - { - "modelId": "core/model/models/peer.js", - "type": "Peer" - }, - { - "modelId": "core/model/models/permissions.js", - "type": "Permissions" - }, - { - "modelId": "core/model/models/power-changed.js", - "type": "PowerChanged" - }, - { - "modelId": "core/model/models/remote-debug-status.js", - "type": "RemoteDebugStatus" - }, - { - "modelId": "core/model/models/replication-options.js", - "type": "ReplicationOptions" - }, - { - "modelId": "core/model/models/replication-status.js", - "type": "ReplicationStatus" - }, - { - "modelId": "core/model/models/replication-transport.js", - "type": "ReplicationTransport" - }, - { - "modelId": "core/model/models/replication.js", - "type": "Replication" - }, - { - "modelId": "core/model/models/rsync-copy-rsync-properties-anonymous.js", - "type": "RsyncCopyRsyncPropertiesAnonymous" - }, - { - "modelId": "core/model/models/rsync-copy.js", - "type": "RsyncCopy" - }, - { - "modelId": "core/model/models/rsyncd-module.js", - "type": "RsyncdModule" - }, - { - "modelId": "core/model/models/rusage.js", - "type": "Rusage" - }, - { - "modelId": "core/model/models/scrub.js", - "type": "Scrub" - }, - { - "modelId": "core/model/models/section-settings.js", - "type": "SectionSettings" - }, - { - "modelId": "core/model/models/section.js", - "type": "Section" - }, - { - "modelId": "core/model/models/serial-port-device.js", - "type": "SerialPortDevice" - }, - { - "modelId": "core/model/models/service-afp.js", - "type": "ServiceAfp" - }, - { - "modelId": "core/model/models/service-consul.js", - "type": "ServiceConsul" - }, - { - "modelId": "core/model/models/service-dc.js", - "type": "ServiceDc" - }, - { - "modelId": "core/model/models/service-dyndns.js", - "type": "ServiceDyndns" - }, - { - "modelId": "core/model/models/service-ftp.js", - "type": "ServiceFtp" - }, - { - "modelId": "core/model/models/service-ipfs.js", - "type": "ServiceIpfs" - }, - { - "modelId": "core/model/models/service-iscsi.js", - "type": "ServiceIscsi" - }, - { - "modelId": "core/model/models/service-lldp.js", - "type": "ServiceLldp" - }, - { - "modelId": "core/model/models/service-nfs.js", - "type": "ServiceNfs" - }, - { - "modelId": "core/model/models/service-openvpn.js", - "type": "ServiceOpenvpn" - }, - { - "modelId": "core/model/models/service-rsyncd.js", - "type": "ServiceRsyncd" - }, - { - "modelId": "core/model/models/service-simulator.js", - "type": "ServiceSimulator" - }, - { - "modelId": "core/model/models/service-smartd.js", - "type": "ServiceSmartd" - }, - { - "modelId": "core/model/models/service-smb.js", - "type": "ServiceSmb" - }, - { - "modelId": "core/model/models/service-snmp.js", - "type": "ServiceSnmp" - }, - { - "modelId": "core/model/models/service-sshd.js", - "type": "ServiceSshd" - }, - { - "modelId": "core/model/models/service-tftpd.js", - "type": "ServiceTftpd" - }, - { - "modelId": "core/model/models/service-ups.js", - "type": "ServiceUps" - }, - { - "modelId": "core/model/models/service-webdav.js", - "type": "ServiceWebdav" - }, - { - "modelId": "core/model/models/service.js", - "type": "Service" - }, - { - "modelId": "core/model/models/services-category.js", - "type": "ServicesCategory" - }, - { - "modelId": "core/model/models/session.js", - "type": "Session" - }, - { - "modelId": "core/model/models/share-afp.js", - "type": "ShareAfp" - }, - { - "modelId": "core/model/models/share-client-extra-anonymous.js", - "type": "ShareClientExtraAnonymous" - }, - { - "modelId": "core/model/models/share-client.js", - "type": "ShareClient" - }, - { - "modelId": "core/model/models/share-iscsi-auth.js", - "type": "ShareIscsiAuth" - }, - { - "modelId": "core/model/models/share-iscsi-portal.js", - "type": "ShareIscsiPortal" - }, - { - "modelId": "core/model/models/share-iscsi-target.js", - "type": "ShareIscsiTarget" - }, - { - "modelId": "core/model/models/share-iscsi-user.js", - "type": "ShareIscsiUser" - }, - { - "modelId": "core/model/models/share-iscsi.js", - "type": "ShareIscsi" - }, - { - "modelId": "core/model/models/share-nfs.js", - "type": "ShareNfs" - }, - { - "modelId": "core/model/models/share-smb-extra-parameters-anonymous.js", - "type": "ShareSmbExtraParametersAnonymous" - }, - { - "modelId": "core/model/models/share-smb.js", - "type": "ShareSmb" - }, - { - "modelId": "core/model/models/share-types.js", - "type": "ShareTypes" - }, - { - "modelId": "core/model/models/share-webdav.js", - "type": "ShareWebdav" - }, - { - "modelId": "core/model/models/share.js", - "type": "Share" - }, - { - "modelId": "core/model/models/simulator-disk.js", - "type": "SimulatorDisk" - }, - { - "modelId": "core/model/models/smart-attribute.js", - "type": "SmartAttribute" - }, - { - "modelId": "core/model/models/smart-info-diagnostics-anonymous.js", - "type": "SmartInfoDiagnosticsAnonymous" - }, - { - "modelId": "core/model/models/smart-info.js", - "type": "SmartInfo" - }, - { - "modelId": "core/model/models/smart-test-result.js", - "type": "SmartTestResult" - }, - { - "modelId": "core/model/models/snapshot-info.js", - "type": "SnapshotInfo" - }, - { - "modelId": "core/model/models/ssh-credentials.js", - "type": "SshCredentials" - }, - { - "modelId": "core/model/models/stat.js", - "type": "Stat" - }, - { - "modelId": "core/model/models/statistic-alert.js", - "type": "StatisticAlert" - }, - { - "modelId": "core/model/models/statistic.js", - "type": "Statistic" - }, - { - "modelId": "core/model/models/support-ticket.js", - "type": "SupportTicket" - }, - { - "modelId": "core/model/models/supported-smart-tests.js", - "type": "SupportedSmartTests" - }, - { - "modelId": "core/model/models/swap-mirror.js", - "type": "SwapMirror" - }, - { - "modelId": "core/model/models/system-advanced.js", - "type": "SystemAdvanced" - }, - { - "modelId": "core/model/models/system-general.js", - "type": "SystemGeneral" - }, - { - "modelId": "core/model/models/system-section.js", - "type": "SystemSection" - }, - { - "modelId": "core/model/models/system-time.js", - "type": "SystemTime" - }, - { - "modelId": "core/model/models/system-ui.js", - "type": "SystemUi" - }, - { - "modelId": "core/model/models/task-args-anonymous.js", - "type": "TaskArgsAnonymous" - }, - { - "modelId": "core/model/models/task-description-anonymous.js", - "type": "TaskDescriptionAnonymous" - }, - { - "modelId": "core/model/models/task.js", - "type": "Task" - }, - { - "modelId": "core/model/models/throttle-replication-transport-option.js", - "type": "ThrottleReplicationTransportOption" - }, - { - "modelId": "core/model/models/throttle-replication-transport-plugin.js", - "type": "ThrottleReplicationTransportPlugin" - }, - { - "modelId": "core/model/models/tunable.js", - "type": "Tunable" - }, - { - "modelId": "core/model/models/ui-transaction.js", - "type": "UiTransaction" - }, - { - "modelId": "core/model/models/unix-mode-tuple.js", - "type": "UnixModeTuple" - }, - { - "modelId": "core/model/models/unix-permissions.js", - "type": "UnixPermissions" - }, - { - "modelId": "core/model/models/update-info-notes-anonymous.js", - "type": "UpdateInfoNotesAnonymous" - }, - { - "modelId": "core/model/models/update-info.js", - "type": "UpdateInfo" - }, - { - "modelId": "core/model/models/update-ops.js", - "type": "UpdateOps" - }, - { - "modelId": "core/model/models/update-progress.js", - "type": "UpdateProgress" - }, - { - "modelId": "core/model/models/update-train.js", - "type": "UpdateTrain" - }, - { - "modelId": "core/model/models/update.js", - "type": "Update" - }, - { - "modelId": "core/model/models/usb-device.js", - "type": "UsbDevice" - }, - { - "modelId": "core/model/models/user-attributes-anonymous.js", - "type": "UserAttributesAnonymous" - }, - { - "modelId": "core/model/models/user-origin-anonymous.js", - "type": "UserOriginAnonymous" - }, - { - "modelId": "core/model/models/user.js", - "type": "User" - }, - { - "modelId": "core/model/models/vm-config-anonymous.js", - "type": "VmConfigAnonymous" - }, - { - "modelId": "core/model/models/vm-config-network-anonymous.js", - "type": "VmConfigNetworkAnonymous" - }, - { - "modelId": "core/model/models/vm-config.js", - "type": "VmConfig" - }, - { - "modelId": "core/model/models/vm-device-cdrom.js", - "type": "VmDeviceCdrom" - }, - { - "modelId": "core/model/models/vm-device-disk.js", - "type": "VmDeviceDisk" - }, - { - "modelId": "core/model/models/vm-device-graphics.js", - "type": "VmDeviceGraphics" - }, - { - "modelId": "core/model/models/vm-device-nic.js", - "type": "VmDeviceNic" - }, - { - "modelId": "core/model/models/vm-device-usb-config-anonymous.js", - "type": "VmDeviceUsbConfigAnonymous" - }, - { - "modelId": "core/model/models/vm-device-usb.js", - "type": "VmDeviceUsb" - }, - { - "modelId": "core/model/models/vm-device-volume.js", - "type": "VmDeviceVolume" - }, - { - "modelId": "core/model/models/vm-device.js", - "type": "VmDevice" - }, - { - "modelId": "core/model/models/vm-guest-info-interfaces-anonymous.js", - "type": "VmGuestInfoInterfacesAnonymous" - }, - { - "modelId": "core/model/models/vm-guest-info.js", - "type": "VmGuestInfo" - }, - { - "modelId": "core/model/models/vm-hw-capabilites.js", - "type": "VmHwCapabilites" - }, - { - "modelId": "core/model/models/vm-readme.js", - "type": "VmReadme" - }, - { - "modelId": "core/model/models/vm-snapshot.js", - "type": "VmSnapshot" - }, - { - "modelId": "core/model/models/vm-status-lease.js", - "type": "VmStatusLease" - }, - { - "modelId": "core/model/models/vm-status.js", - "type": "VmStatus" - }, - { - "modelId": "core/model/models/vm-template-source.js", - "type": "VmTemplateSource" - }, - { - "modelId": "core/model/models/vm-volume.js", - "type": "VmVolume" - }, - { - "modelId": "core/model/models/vm.js", - "type": "Vm" - }, - { - "modelId": "core/model/models/vmware-credentials.js", - "type": "VmwareCredentials" - }, - { - "modelId": "core/model/models/vmware-dataset.js", - "type": "VmwareDataset" - }, - { - "modelId": "core/model/models/vmware-datastore.js", - "type": "VmwareDatastore" - }, - { - "modelId": "core/model/models/volume-attributes-anonymous.js", - "type": "VolumeAttributesAnonymous" - }, - { - "modelId": "core/model/models/volume-dataset-properties.js", - "type": "VolumeDatasetProperties" - }, - { - "modelId": "core/model/models/volume-dataset-property-atime.js", - "type": "VolumeDatasetPropertyAtime" - }, - { - "modelId": "core/model/models/volume-dataset-property-available.js", - "type": "VolumeDatasetPropertyAvailable" - }, - { - "modelId": "core/model/models/volume-dataset-property-casesensitivity.js", - "type": "VolumeDatasetPropertyCasesensitivity" - }, - { - "modelId": "core/model/models/volume-dataset-property-compression.js", - "type": "VolumeDatasetPropertyCompression" - }, - { - "modelId": "core/model/models/volume-dataset-property-compressratio.js", - "type": "VolumeDatasetPropertyCompressratio" - }, - { - "modelId": "core/model/models/volume-dataset-property-dedup.js", - "type": "VolumeDatasetPropertyDedup" - }, - { - "modelId": "core/model/models/volume-dataset-property-logicalreferenced.js", - "type": "VolumeDatasetPropertyLogicalreferenced" - }, - { - "modelId": "core/model/models/volume-dataset-property-logicalused.js", - "type": "VolumeDatasetPropertyLogicalused" - }, - { - "modelId": "core/model/models/volume-dataset-property-numclones.js", - "type": "VolumeDatasetPropertyNumclones" - }, - { - "modelId": "core/model/models/volume-dataset-property-quota.js", - "type": "VolumeDatasetPropertyQuota" - }, - { - "modelId": "core/model/models/volume-dataset-property-readonly.js", - "type": "VolumeDatasetPropertyReadonly" - }, - { - "modelId": "core/model/models/volume-dataset-property-refcompressratio.js", - "type": "VolumeDatasetPropertyRefcompressratio" - }, - { - "modelId": "core/model/models/volume-dataset-property-referenced.js", - "type": "VolumeDatasetPropertyReferenced" - }, - { - "modelId": "core/model/models/volume-dataset-property-refquota.js", - "type": "VolumeDatasetPropertyRefquota" - }, - { - "modelId": "core/model/models/volume-dataset-property-refreservation.js", - "type": "VolumeDatasetPropertyRefreservation" - }, - { - "modelId": "core/model/models/volume-dataset-property-reservation.js", - "type": "VolumeDatasetPropertyReservation" - }, - { - "modelId": "core/model/models/volume-dataset-property-used.js", - "type": "VolumeDatasetPropertyUsed" - }, - { - "modelId": "core/model/models/volume-dataset-property-usedbychildren.js", - "type": "VolumeDatasetPropertyUsedbychildren" - }, - { - "modelId": "core/model/models/volume-dataset-property-usedbydataset.js", - "type": "VolumeDatasetPropertyUsedbydataset" - }, - { - "modelId": "core/model/models/volume-dataset-property-usedbyrefreservation.js", - "type": "VolumeDatasetPropertyUsedbyrefreservation" - }, - { - "modelId": "core/model/models/volume-dataset-property-usedbysnapshots.js", - "type": "VolumeDatasetPropertyUsedbysnapshots" - }, - { - "modelId": "core/model/models/volume-dataset-property-volblocksize.js", - "type": "VolumeDatasetPropertyVolblocksize" - }, - { - "modelId": "core/model/models/volume-dataset-property-volsize.js", - "type": "VolumeDatasetPropertyVolsize" - }, - { - "modelId": "core/model/models/volume-dataset-property-written.js", - "type": "VolumeDatasetPropertyWritten" - }, - { - "modelId": "core/model/models/volume-dataset.js", - "type": "VolumeDataset" - }, - { - "modelId": "core/model/models/volume-disk-label.js", - "type": "VolumeDiskLabel" - }, - { - "modelId": "core/model/models/volume-encryption.js", - "type": "VolumeEncryption" - }, - { - "modelId": "core/model/models/volume-import-params.js", - "type": "VolumeImportParams" - }, - { - "modelId": "core/model/models/volume-importer.js", - "type": "VolumeImporter" - }, - { - "modelId": "core/model/models/volume-properties.js", - "type": "VolumeProperties" - }, - { - "modelId": "core/model/models/volume-property-allocated.js", - "type": "VolumePropertyAllocated" - }, - { - "modelId": "core/model/models/volume-property-autoreplace.js", - "type": "VolumePropertyAutoreplace" - }, - { - "modelId": "core/model/models/volume-property-capacity.js", - "type": "VolumePropertyCapacity" - }, - { - "modelId": "core/model/models/volume-property-comment.js", - "type": "VolumePropertyComment" - }, - { - "modelId": "core/model/models/volume-property-dedupratio.js", - "type": "VolumePropertyDedupratio" - }, - { - "modelId": "core/model/models/volume-property-delegation.js", - "type": "VolumePropertyDelegation" - }, - { - "modelId": "core/model/models/volume-property-expandsize.js", - "type": "VolumePropertyExpandsize" - }, - { - "modelId": "core/model/models/volume-property-failmode.js", - "type": "VolumePropertyFailmode" - }, - { - "modelId": "core/model/models/volume-property-fragmentation.js", - "type": "VolumePropertyFragmentation" - }, - { - "modelId": "core/model/models/volume-property-free.js", - "type": "VolumePropertyFree" - }, - { - "modelId": "core/model/models/volume-property-health.js", - "type": "VolumePropertyHealth" - }, - { - "modelId": "core/model/models/volume-property-leaked.js", - "type": "VolumePropertyLeaked" - }, - { - "modelId": "core/model/models/volume-property-readonly.js", - "type": "VolumePropertyReadonly" - }, - { - "modelId": "core/model/models/volume-property-size.js", - "type": "VolumePropertySize" - }, - { - "modelId": "core/model/models/volume-property-version.js", - "type": "VolumePropertyVersion" - }, - { - "modelId": "core/model/models/volume-snapshot-holds-anonymous.js", - "type": "VolumeSnapshotHoldsAnonymous" - }, - { - "modelId": "core/model/models/volume-snapshot-properties.js", - "type": "VolumeSnapshotProperties" - }, - { - "modelId": "core/model/models/volume-snapshot-property-clones.js", - "type": "VolumeSnapshotPropertyClones" - }, - { - "modelId": "core/model/models/volume-snapshot-property-compressratio.js", - "type": "VolumeSnapshotPropertyCompressratio" - }, - { - "modelId": "core/model/models/volume-snapshot-property-creation.js", - "type": "VolumeSnapshotPropertyCreation" - }, - { - "modelId": "core/model/models/volume-snapshot-property-referenced.js", - "type": "VolumeSnapshotPropertyReferenced" - }, - { - "modelId": "core/model/models/volume-snapshot-property-used.js", - "type": "VolumeSnapshotPropertyUsed" - }, - { - "modelId": "core/model/models/volume-snapshot.js", - "type": "VolumeSnapshot" - }, - { - "modelId": "core/model/models/volume-vdev-recommendation.js", - "type": "VolumeVdevRecommendation" - }, - { - "modelId": "core/model/models/volume-vdev-recommendations-redundancy-anonymous.js", - "type": "VolumeVdevRecommendationsRedundancyAnonymous" - }, - { - "modelId": "core/model/models/volume-vdev-recommendations-speed-anonymous.js", - "type": "VolumeVdevRecommendationsSpeedAnonymous" - }, - { - "modelId": "core/model/models/volume-vdev-recommendations-storage-anonymous.js", - "type": "VolumeVdevRecommendationsStorageAnonymous" - }, - { - "modelId": "core/model/models/volume-vdev-recommendations.js", - "type": "VolumeVdevRecommendations" - }, - { - "modelId": "core/model/models/volume.js", - "type": "Volume" - }, - { - "modelId": "core/model/models/winbind-directory-params.js", - "type": "WinbindDirectoryParams" - }, - { - "modelId": "core/model/models/winbind-directory-status.js", - "type": "WinbindDirectoryStatus" - }, - { - "modelId": "core/model/models/zfs-dataset-properties-anonymous.js", - "type": "ZfsDatasetPropertiesAnonymous" - }, - { - "modelId": "core/model/models/zfs-dataset.js", - "type": "ZfsDataset" - }, - { - "modelId": "core/model/models/zfs-pool.js", - "type": "ZfsPool" - }, - { - "modelId": "core/model/models/zfs-property.js", - "type": "ZfsProperty" - }, - { - "modelId": "core/model/models/zfs-scan.js", - "type": "ZfsScan" - }, - { - "modelId": "core/model/models/zfs-snapshot-holds-anonymous.js", - "type": "ZfsSnapshotHoldsAnonymous" - }, - { - "modelId": "core/model/models/zfs-snapshot-properties-anonymous.js", - "type": "ZfsSnapshotPropertiesAnonymous" - }, - { - "modelId": "core/model/models/zfs-snapshot.js", - "type": "ZfsSnapshot" - }, - { - "modelId": "core/model/models/zfs-topology.js", - "type": "ZfsTopology" - }, - { - "modelId": "core/model/models/zfs-vdev-extension.js", - "type": "ZfsVdevExtension" - }, - { - "modelId": "core/model/models/zfs-vdev-stats-anonymous.js", - "type": "ZfsVdevStatsAnonymous" - }, - { - "modelId": "core/model/models/zfs-vdev.js", - "type": "ZfsVdev" - } - ] -} \ No newline at end of file diff --git a/core/model/models/account-category.js b/core/model/models/account-category.js deleted file mode 100644 index 0c33f5521b..0000000000 --- a/core/model/models/account-category.js +++ /dev/null @@ -1,78 +0,0 @@ -var Montage = require("montage").Montage; - -exports.AccountCategory = Montage.specialize({ - _user: { - value: null - }, - user: { - set: function (value) { - if (this._user !== value) { - this._user = value; - } - }, - get: function () { - return this._user; - } - }, - _group: { - value: null - }, - group: { - set: function (value) { - if (this._group !== value) { - this._group = value; - } - }, - get: function () { - return this._group; - } - }, - _system: { - value: null - }, - system: { - set: function (value) { - if (this._system !== value) { - this._system = value; - } - }, - get: function () { - return this._system; - } - }, - _directoryService: { - value: null - }, - directoryService: { - set: function (value) { - if (this._directoryService !== value) { - this._directoryService = value; - } - }, - get: function () { - return this._directoryService; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "user" - }, { - mandatory: false, - name: "group" - }, { - mandatory: false, - name: "system" - }, { - mandatory: false, - name: "directoryService" - }] - }, - userInterfaceDescriptor: { - value: { - nameExpression: "'Accounts'", - helpMessage: "'Lorem ipsum dolor sit amet, consectetur adipisicing elit. Distinctio soluta asperiores ipsum. Possimus, excepturi atque omnis corporis, laudantium ea perspiciatis quam nobis asperiores fugit ipsa nulla! Aliquam molestiae hic distinctio? Lorem ipsum dolor sit amet, consectetur adipisicing elit. Distinctio soluta asperiores ipsum. Possimus, excepturi atque omnis corporis, laudantium ea perspiciatis quam nobis asperiores fugit ipsa nulla! Aliquam molestiae hic distinctio?'" - } - } -}); diff --git a/core/model/models/account-system.js b/core/model/models/account-system.js deleted file mode 100644 index 0caa3bf13b..0000000000 --- a/core/model/models/account-system.js +++ /dev/null @@ -1,15 +0,0 @@ -var Montage = require("montage").Montage; - -exports.AccountSystem = Montage.specialize(null, { - userInterfaceDescriptor: { - value: { - collectionInspectorComponentModule: { - id: 'ui/controls/viewer.reel' - }, - iconComponentModule: { - id: 'ui/icons/freenas-icon.reel' - }, - collectionNameExpression: "'System'" - } - } -}); diff --git a/core/model/models/acl-entry-flags.js b/core/model/models/acl-entry-flags.js deleted file mode 100644 index 671cf29b0c..0000000000 --- a/core/model/models/acl-entry-flags.js +++ /dev/null @@ -1,76 +0,0 @@ -var Montage = require("montage").Montage; - -exports.AclEntryFlags = Montage.specialize({ - _DIRECTORY_INHERIT: { - value: null - }, - DIRECTORY_INHERIT: { - set: function (value) { - if (this._DIRECTORY_INHERIT !== value) { - this._DIRECTORY_INHERIT = value; - } - }, - get: function () { - return this._DIRECTORY_INHERIT; - } - }, - _FILE_INHERIT: { - value: null - }, - FILE_INHERIT: { - set: function (value) { - if (this._FILE_INHERIT !== value) { - this._FILE_INHERIT = value; - } - }, - get: function () { - return this._FILE_INHERIT; - } - }, - _INHERIT_ONLY: { - value: null - }, - INHERIT_ONLY: { - set: function (value) { - if (this._INHERIT_ONLY !== value) { - this._INHERIT_ONLY = value; - } - }, - get: function () { - return this._INHERIT_ONLY; - } - }, - _NO_PROPAGATE_INHERIT: { - value: null - }, - NO_PROPAGATE_INHERIT: { - set: function (value) { - if (this._NO_PROPAGATE_INHERIT !== value) { - this._NO_PROPAGATE_INHERIT = value; - } - }, - get: function () { - return this._NO_PROPAGATE_INHERIT; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "DIRECTORY_INHERIT", - valueType: "boolean" - }, { - mandatory: false, - name: "FILE_INHERIT", - valueType: "boolean" - }, { - mandatory: false, - name: "INHERIT_ONLY", - valueType: "boolean" - }, { - mandatory: false, - name: "NO_PROPAGATE_INHERIT", - valueType: "boolean" - }] - } -}); diff --git a/core/model/models/acl-entry-perms.js b/core/model/models/acl-entry-perms.js deleted file mode 100644 index 5b291cd1d0..0000000000 --- a/core/model/models/acl-entry-perms.js +++ /dev/null @@ -1,280 +0,0 @@ -var Montage = require("montage").Montage; - -exports.AclEntryPerms = Montage.specialize({ - _ADD_FILE: { - value: null - }, - ADD_FILE: { - set: function (value) { - if (this._ADD_FILE !== value) { - this._ADD_FILE = value; - } - }, - get: function () { - return this._ADD_FILE; - } - }, - _ADD_SUBDIRECTORY: { - value: null - }, - ADD_SUBDIRECTORY: { - set: function (value) { - if (this._ADD_SUBDIRECTORY !== value) { - this._ADD_SUBDIRECTORY = value; - } - }, - get: function () { - return this._ADD_SUBDIRECTORY; - } - }, - _APPEND_DATA: { - value: null - }, - APPEND_DATA: { - set: function (value) { - if (this._APPEND_DATA !== value) { - this._APPEND_DATA = value; - } - }, - get: function () { - return this._APPEND_DATA; - } - }, - _DELETE: { - value: null - }, - DELETE: { - set: function (value) { - if (this._DELETE !== value) { - this._DELETE = value; - } - }, - get: function () { - return this._DELETE; - } - }, - _DELETE_CHILD: { - value: null - }, - DELETE_CHILD: { - set: function (value) { - if (this._DELETE_CHILD !== value) { - this._DELETE_CHILD = value; - } - }, - get: function () { - return this._DELETE_CHILD; - } - }, - _EXECUTE: { - value: null - }, - EXECUTE: { - set: function (value) { - if (this._EXECUTE !== value) { - this._EXECUTE = value; - } - }, - get: function () { - return this._EXECUTE; - } - }, - _LIST_DIRECTORY: { - value: null - }, - LIST_DIRECTORY: { - set: function (value) { - if (this._LIST_DIRECTORY !== value) { - this._LIST_DIRECTORY = value; - } - }, - get: function () { - return this._LIST_DIRECTORY; - } - }, - _READ_ACL: { - value: null - }, - READ_ACL: { - set: function (value) { - if (this._READ_ACL !== value) { - this._READ_ACL = value; - } - }, - get: function () { - return this._READ_ACL; - } - }, - _READ_ATTRIBUTES: { - value: null - }, - READ_ATTRIBUTES: { - set: function (value) { - if (this._READ_ATTRIBUTES !== value) { - this._READ_ATTRIBUTES = value; - } - }, - get: function () { - return this._READ_ATTRIBUTES; - } - }, - _READ_DATA: { - value: null - }, - READ_DATA: { - set: function (value) { - if (this._READ_DATA !== value) { - this._READ_DATA = value; - } - }, - get: function () { - return this._READ_DATA; - } - }, - _READ_NAMED_ATTRS: { - value: null - }, - READ_NAMED_ATTRS: { - set: function (value) { - if (this._READ_NAMED_ATTRS !== value) { - this._READ_NAMED_ATTRS = value; - } - }, - get: function () { - return this._READ_NAMED_ATTRS; - } - }, - _SYNCHRONIZE: { - value: null - }, - SYNCHRONIZE: { - set: function (value) { - if (this._SYNCHRONIZE !== value) { - this._SYNCHRONIZE = value; - } - }, - get: function () { - return this._SYNCHRONIZE; - } - }, - _WRITE_ACL: { - value: null - }, - WRITE_ACL: { - set: function (value) { - if (this._WRITE_ACL !== value) { - this._WRITE_ACL = value; - } - }, - get: function () { - return this._WRITE_ACL; - } - }, - _WRITE_ATTRIBUTES: { - value: null - }, - WRITE_ATTRIBUTES: { - set: function (value) { - if (this._WRITE_ATTRIBUTES !== value) { - this._WRITE_ATTRIBUTES = value; - } - }, - get: function () { - return this._WRITE_ATTRIBUTES; - } - }, - _WRITE_DATA: { - value: null - }, - WRITE_DATA: { - set: function (value) { - if (this._WRITE_DATA !== value) { - this._WRITE_DATA = value; - } - }, - get: function () { - return this._WRITE_DATA; - } - }, - _WRITE_NAMED_ATTRS: { - value: null - }, - WRITE_NAMED_ATTRS: { - set: function (value) { - if (this._WRITE_NAMED_ATTRS !== value) { - this._WRITE_NAMED_ATTRS = value; - } - }, - get: function () { - return this._WRITE_NAMED_ATTRS; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "ADD_FILE", - valueType: "boolean" - }, { - mandatory: false, - name: "ADD_SUBDIRECTORY", - valueType: "boolean" - }, { - mandatory: false, - name: "APPEND_DATA", - valueType: "boolean" - }, { - mandatory: false, - name: "DELETE", - valueType: "boolean" - }, { - mandatory: false, - name: "DELETE_CHILD", - valueType: "boolean" - }, { - mandatory: false, - name: "EXECUTE", - valueType: "boolean" - }, { - mandatory: false, - name: "LIST_DIRECTORY", - valueType: "boolean" - }, { - mandatory: false, - name: "READ_ACL", - valueType: "boolean" - }, { - mandatory: false, - name: "READ_ATTRIBUTES", - valueType: "boolean" - }, { - mandatory: false, - name: "READ_DATA", - valueType: "boolean" - }, { - mandatory: false, - name: "READ_NAMED_ATTRS", - valueType: "boolean" - }, { - mandatory: false, - name: "SYNCHRONIZE", - valueType: "boolean" - }, { - mandatory: false, - name: "WRITE_ACL", - valueType: "boolean" - }, { - mandatory: false, - name: "WRITE_ATTRIBUTES", - valueType: "boolean" - }, { - mandatory: false, - name: "WRITE_DATA", - valueType: "boolean" - }, { - mandatory: false, - name: "WRITE_NAMED_ATTRS", - valueType: "boolean" - }] - } -}); diff --git a/core/model/models/acl-entry.js b/core/model/models/acl-entry.js deleted file mode 100644 index 03c951c30c..0000000000 --- a/core/model/models/acl-entry.js +++ /dev/null @@ -1,131 +0,0 @@ -var Montage = require("montage").Montage; - -exports.AclEntry = Montage.specialize({ - _flags: { - value: null - }, - flags: { - set: function (value) { - if (this._flags !== value) { - this._flags = value; - } - }, - get: function () { - return this._flags; - } - }, - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _name: { - value: null - }, - name: { - set: function (value) { - if (this._name !== value) { - this._name = value; - } - }, - get: function () { - return this._name; - } - }, - _perms: { - value: null - }, - perms: { - set: function (value) { - if (this._perms !== value) { - this._perms = value; - } - }, - get: function () { - return this._perms; - } - }, - _tag: { - value: null - }, - tag: { - set: function (value) { - if (this._tag !== value) { - this._tag = value; - } - }, - get: function () { - return this._tag; - } - }, - _text: { - value: null - }, - text: { - set: function (value) { - if (this._text !== value) { - this._text = value; - } - }, - get: function () { - return this._text; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "flags", - valueObjectPrototypeName: "AclEntryFlags", - valueType: "object" - }, { - mandatory: false, - name: "id", - valueType: "String" - }, { - mandatory: false, - name: "name", - valueType: "String" - }, { - mandatory: false, - name: "perms", - valueObjectPrototypeName: "AclEntryPerms", - valueType: "object" - }, { - mandatory: false, - name: "tag", - valueObjectPrototypeName: "AclEntryTag", - valueType: "object" - }, { - mandatory: false, - name: "text", - valueType: "String" - }, { - mandatory: false, - name: "type", - valueObjectPrototypeName: "AclEntryType", - valueType: "object" - }] - } -}); diff --git a/core/model/models/alert-class.js b/core/model/models/alert-class.js deleted file mode 100644 index aa28ef0772..0000000000 --- a/core/model/models/alert-class.js +++ /dev/null @@ -1,3 +0,0 @@ -var Montage = require("montage").Montage; - -exports.AlertClass = Montage.specialize(); diff --git a/core/model/models/alert-emitter-email.js b/core/model/models/alert-emitter-email.js deleted file mode 100644 index 650a487d84..0000000000 --- a/core/model/models/alert-emitter-email.js +++ /dev/null @@ -1,41 +0,0 @@ -var Montage = require("montage").Montage; - -exports.AlertEmitterEmail = Montage.specialize({ - "_%type": { - value: null - }, - "%type": { - set: function (value) { - if (this["_%type"] !== value) { - this["_%type"] = value; - } - }, - get: function () { - return this["_%type"]; - } - }, - _addresses: { - value: null - }, - addresses: { - set: function (value) { - if (this._addresses !== value) { - this._addresses = value; - } - }, - get: function () { - return this._addresses; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "%type" - }, { - mandatory: false, - name: "addresses", - valueType: "array" - }] - } -}); diff --git a/core/model/models/alert-filter.js b/core/model/models/alert-filter.js deleted file mode 100644 index ba1d767b1a..0000000000 --- a/core/model/models/alert-filter.js +++ /dev/null @@ -1,92 +0,0 @@ -var Montage = require("montage").Montage; - -exports.AlertFilter = Montage.specialize({ - _emitter: { - value: null - }, - emitter: { - set: function (value) { - if (this._emitter !== value) { - this._emitter = value; - } - }, - get: function () { - return this._emitter; - } - }, - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _parameters: { - value: null - }, - parameters: { - set: function (value) { - if (this._parameters !== value) { - this._parameters = value; - } - }, - get: function () { - return this._parameters; - } - }, - _predicates: { - value: null - }, - predicates: { - set: function (value) { - if (this._predicates !== value) { - this._predicates = value; - } - }, - get: function () { - return this._predicates; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "emitter", - valueType: "String" - }, { - mandatory: false, - name: "id", - valueType: "String" - }, { - mandatory: false, - name: "parameters", - valueObjectPrototypeName: "AlertEmitterEmail", - valueType: "object" - }, { - mandatory: false, - name: "predicates", - valueType: "array" - }] - }, - userInterfaceDescriptor: { - value: { - collectionInspectorComponentModule: { - id: 'ui/controls/viewer.reel' - }, - collectionNameExpression: "'Alert Filters'", - inspectorComponentModule: { - id: 'ui/sections/system/inspectors/alert.reel/alert-filter.reel' - }, - creatorComponentModule: { - id: 'ui/sections/system/inspectors/alert.reel/alert-filter.reel' - }, - nameExpression: "!_isNew && id.defined() ? id : 'Create an Alert filter'" - } - } -}); diff --git a/core/model/models/alert.js b/core/model/models/alert.js deleted file mode 100644 index ec2e0d9902..0000000000 --- a/core/model/models/alert.js +++ /dev/null @@ -1,299 +0,0 @@ -var Montage = require("montage").Montage; - -exports.Alert = Montage.specialize({ - _active: { - value: null - }, - active: { - set: function (value) { - if (this._active !== value) { - this._active = value; - } - }, - get: function () { - return this._active; - } - }, - _cancelled_at: { - value: null - }, - cancelled_at: { - set: function (value) { - if (this._cancelled_at !== value) { - this._cancelled_at = value; - } - }, - get: function () { - return this._cancelled_at; - } - }, - _class: { - value: null - }, - class: { - set: function (value) { - if (this._class !== value) { - this._class = value; - } - }, get: function () { - return this._class; - } - }, - _description: { - value: null - }, - description: { - set: function (value) { - if (this._description !== value) { - this._description = value; - } - }, - get: function () { - return this._description; - } - }, - _dismissed: { - value: null - }, - dismissed: { - set: function (value) { - if (this._dismissed !== value) { - this._dismissed = value; - } - }, - get: function () { - return this._dismissed; - } - }, - _dismissed_at: { - value: null - }, - dismissed_at: { - set: function (value) { - if (this._dismissed_at !== value) { - this._dismissed_at = value; - } - }, - get: function () { - return this._dismissed_at; - } - }, - _happened_at: { - value: null - }, - happened_at: { - set: function (value) { - if (this._happened_at !== value) { - this._happened_at = value; - } - }, - get: function () { - return this._happened_at; - } - }, - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _last_emitted_at: { - value: null - }, - last_emitted_at: { - set: function (value) { - if (this._last_emitted_at !== value) { - this._last_emitted_at = value; - } - }, - get: function () { - return this._last_emitted_at; - } - }, - _one_shot: { - value: null - }, - one_shot: { - set: function (value) { - if (this._one_shot !== value) { - this._one_shot = value; - } - }, - get: function () { - return this._one_shot; - } - }, - _send_count: { - value: null - }, - send_count: { - set: function (value) { - if (this._send_count !== value) { - this._send_count = value; - } - }, - get: function () { - return this._send_count; - } - }, - _severity: { - value: null - }, - severity: { - set: function (value) { - if (this._severity !== value) { - this._severity = value; - } - }, - get: function () { - return this._severity; - } - }, - _subtype: { - value: null - }, - subtype: { - set: function (value) { - if (this._subtype !== value) { - this._subtype = value; - } - }, - get: function () { - return this._subtype; - } - }, - _target: { - value: null - }, - target: { - set: function (value) { - if (this._target !== value) { - this._target = value; - } - }, - get: function () { - return this._target; - } - }, - _title: { - value: null - }, - title: { - set: function (value) { - if (this._title !== value) { - this._title = value; - } - }, - get: function () { - return this._title; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - }, - _user: { - value: null - }, - user: { - set: function (value) { - if (this._user !== value) { - this._user = value; - } - }, - get: function () { - return this._user; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "active", - valueType: "boolean" - }, { - mandatory: false, - name: "cancelled_at", - valueType: "String" - }, { - mandatory: false, - name: "class", - valueObjectPrototypeName: "AlertClassId", - valueType: "object" - }, { - mandatory: false, - name: "description", - valueType: "String" - }, { - mandatory: false, - name: "dismissed", - valueType: "boolean" - }, { - mandatory: false, - name: "dismissed_at", - valueType: "String" - }, { - mandatory: false, - name: "happened_at", - valueType: "String" - }, { - mandatory: false, - name: "id", - valueType: "number" - }, { - mandatory: false, - name: "last_emitted_at", - valueType: "String" - }, { - mandatory: false, - name: "one_shot", - valueType: "boolean" - }, { - mandatory: false, - name: "send_count", - valueType: "number" - }, { - mandatory: false, - name: "severity", - valueObjectPrototypeName: "AlertSeverity", - valueType: "object" - }, { - mandatory: false, - name: "subtype", - valueType: "String" - }, { - mandatory: false, - name: "target", - valueType: "String" - }, { - mandatory: false, - name: "title", - valueType: "String" - }, { - mandatory: false, - name: "type", - valueObjectPrototypeName: "AlertType", - valueType: "object" - }, { - mandatory: false, - name: "user", - valueType: "String" - }] - } -}); diff --git a/core/model/models/amazon-s3-credentials.js b/core/model/models/amazon-s3-credentials.js deleted file mode 100644 index 1ed41c9e71..0000000000 --- a/core/model/models/amazon-s3-credentials.js +++ /dev/null @@ -1,109 +0,0 @@ -var Montage = require("montage").Montage; - -exports.AmazonS3Credentials = Montage.specialize({ - "_%type": { - value: null - }, - "%type": { - set: function (value) { - if (this["_%type"] !== value) { - this["_%type"] = value; - } - }, - get: function () { - return this["_%type"]; - } - }, - _access_key: { - value: null - }, - access_key: { - set: function (value) { - if (this._access_key !== value) { - this._access_key = value; - } - }, - get: function () { - return this._access_key; - } - }, - _bucket: { - value: null - }, - bucket: { - set: function (value) { - if (this._bucket !== value) { - this._bucket = value; - } - }, - get: function () { - return this._bucket; - } - }, - _folder: { - value: null - }, - folder: { - set: function (value) { - if (this._folder !== value) { - this._folder = value; - } - }, - get: function () { - return this._folder; - } - }, - _region: { - value: null - }, - region: { - set: function (value) { - if (this._region !== value) { - this._region = value; - } - }, - get: function () { - return this._region; - } - }, - _secret_key: { - value: null - }, - secret_key: { - set: function (value) { - if (this._secret_key !== value) { - this._secret_key = value; - } - }, - get: function () { - return this._secret_key; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "%type" - }, { - mandatory: false, - name: "access_key", - valueType: "String" - }, { - mandatory: false, - name: "bucket", - valueType: "String" - }, { - mandatory: false, - name: "folder", - valueType: "String" - }, { - mandatory: false, - name: "region", - valueType: "String" - }, { - mandatory: false, - name: "secret_key", - valueType: "String" - }] - } -}); diff --git a/core/model/models/application-context.js b/core/model/models/application-context.js deleted file mode 100644 index 8ecc2adddc..0000000000 --- a/core/model/models/application-context.js +++ /dev/null @@ -1,59 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ApplicationContext = Montage.specialize({ - _dashboardContext: { - value: null - }, - dashboardContext: { - set: function (value) { - if (this._dashboardContext !== value) { - this._dashboardContext = value; - } - }, - get: function () { - return this._dashboardContext; - } - }, - _sideBoardContext: { - value: null - }, - sideBoardContext: { - set: function (value) { - if (this._sideBoardContext !== value) { - this._sideBoardContext = value; - } - }, - get: function () { - return this._sideBoardContext; - } - }, - _userSettings: { - value: null - }, - userSettings: { - set: function (value) { - if (this._userSettings !== value) { - this._userSettings = value; - } - }, - get: function () { - return this._userSettings; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "dashboardContext", - valueType: "object" - }, { - mandatory: false, - name: "sideBoardContext", - valueType: "object" - }, { - mandatory: false, - name: "userSettings", - valueType: "object" - }] - } -}); diff --git a/core/model/models/backup-file.js b/core/model/models/backup-file.js deleted file mode 100644 index 0904968cc4..0000000000 --- a/core/model/models/backup-file.js +++ /dev/null @@ -1,59 +0,0 @@ -var Montage = require("montage").Montage; - -exports.BackupFile = Montage.specialize({ - _content_type: { - value: null - }, - content_type: { - set: function (value) { - if (this._content_type !== value) { - this._content_type = value; - } - }, - get: function () { - return this._content_type; - } - }, - _name: { - value: null - }, - name: { - set: function (value) { - if (this._name !== value) { - this._name = value; - } - }, - get: function () { - return this._name; - } - }, - _size: { - value: null - }, - size: { - set: function (value) { - if (this._size !== value) { - this._size = value; - } - }, - get: function () { - return this._size; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "content_type", - valueType: "String" - }, { - mandatory: false, - name: "name", - valueType: "String" - }, { - mandatory: false, - name: "size", - valueType: "number" - }] - } -}); diff --git a/core/model/models/backup-providers.js b/core/model/models/backup-providers.js deleted file mode 100644 index dbfda329f5..0000000000 --- a/core/model/models/backup-providers.js +++ /dev/null @@ -1,3 +0,0 @@ -var Montage = require("montage").Montage; - -exports.BackupProviders = Montage.specialize(); diff --git a/core/model/models/backup-s3.js b/core/model/models/backup-s3.js deleted file mode 100644 index f1b4eaf419..0000000000 --- a/core/model/models/backup-s3.js +++ /dev/null @@ -1,75 +0,0 @@ -var Montage = require("montage").Montage; - -exports.BackupS3 = Montage.specialize({ - "_%type": { - value: null - }, - "%type": { - set: function (value) { - if (this["_%type"] !== value) { - this["_%type"] = value; - } - }, - get: function () { - return this["_%type"]; - } - }, - _bucket: { - value: null - }, - bucket: { - set: function (value) { - if (this._bucket !== value) { - this._bucket = value; - } - }, - get: function () { - return this._bucket; - } - }, - _folder: { - value: null - }, - folder: { - set: function (value) { - if (this._folder !== value) { - this._folder = value; - } - }, - get: function () { - return this._folder; - } - }, - _peer: { - value: null - }, - peer: { - set: function (value) { - if (this._peer !== value) { - this._peer = value; - } - }, - get: function () { - return this._peer; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "%type" - }, { - mandatory: false, - name: "bucket", - valueType: "String" - }, { - mandatory: false, - name: "folder", - valueType: "String" - }, { - mandatory: false, - name: "peer", - valueType: "String" - }] - } -}); diff --git a/core/model/models/backup-ssh.js b/core/model/models/backup-ssh.js deleted file mode 100644 index 0842015cb0..0000000000 --- a/core/model/models/backup-ssh.js +++ /dev/null @@ -1,58 +0,0 @@ -var Montage = require("montage").Montage; - -exports.BackupSsh = Montage.specialize({ - "_%type": { - value: null - }, - "%type": { - set: function (value) { - if (this["_%type"] !== value) { - this["_%type"] = value; - } - }, - get: function () { - return this["_%type"]; - } - }, - _directory: { - value: null - }, - directory: { - set: function (value) { - if (this._directory !== value) { - this._directory = value; - } - }, - get: function () { - return this._directory; - } - }, - _peer: { - value: null - }, - peer: { - set: function (value) { - if (this._peer !== value) { - this._peer = value; - } - }, - get: function () { - return this._peer; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "%type" - }, { - mandatory: false, - name: "directory", - valueType: "String" - }, { - mandatory: false, - name: "peer", - valueType: "String" - }] - } -}); diff --git a/core/model/models/backup-state.js b/core/model/models/backup-state.js deleted file mode 100644 index e20fe67c48..0000000000 --- a/core/model/models/backup-state.js +++ /dev/null @@ -1,59 +0,0 @@ -var Montage = require("montage").Montage; - -exports.BackupState = Montage.specialize({ - _dataset: { - value: null - }, - dataset: { - set: function (value) { - if (this._dataset !== value) { - this._dataset = value; - } - }, - get: function () { - return this._dataset; - } - }, - _hostname: { - value: null - }, - hostname: { - set: function (value) { - if (this._hostname !== value) { - this._hostname = value; - } - }, - get: function () { - return this._hostname; - } - }, - _snapshots: { - value: null - }, - snapshots: { - set: function (value) { - if (this._snapshots !== value) { - this._snapshots = value; - } - }, - get: function () { - return this._snapshots; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "dataset", - valueType: "String" - }, { - mandatory: false, - name: "hostname", - valueType: "String" - }, { - mandatory: false, - name: "snapshots", - valueType: "array" - }] - } -}); diff --git a/core/model/models/backup.js b/core/model/models/backup.js deleted file mode 100644 index e2d4c2a682..0000000000 --- a/core/model/models/backup.js +++ /dev/null @@ -1,129 +0,0 @@ -var Montage = require("montage").Montage; - -exports.Backup = Montage.specialize({ - _compression: { - value: null - }, - compression: { - set: function (value) { - if (this._compression !== value) { - this._compression = value; - } - }, - get: function () { - return this._compression; - } - }, - _dataset: { - value: null - }, - dataset: { - set: function (value) { - if (this._dataset !== value) { - this._dataset = value; - } - }, - get: function () { - return this._dataset; - } - }, - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _name: { - value: null - }, - name: { - set: function (value) { - if (this._name !== value) { - this._name = value; - } - }, - get: function () { - return this._name; - } - }, - _properties: { - value: null - }, - properties: { - set: function (value) { - if (this._properties !== value) { - this._properties = value; - } - }, - get: function () { - return this._properties; - } - }, - _provider: { - value: null - }, - provider: { - set: function (value) { - if (this._provider !== value) { - this._provider = value; - } - }, - get: function () { - return this._provider; - } - }, - _recursive: { - value: null - }, - recursive: { - set: function (value) { - if (this._recursive !== value) { - this._recursive = value; - } - }, - get: function () { - return this._recursive; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "compression", - valueObjectPrototypeName: "BackupCompressionType", - valueType: "object" - }, { - mandatory: false, - name: "dataset", - valueType: "String" - }, { - mandatory: false, - name: "id", - valueType: "String" - }, { - mandatory: false, - name: "name", - valueType: "String" - }, { - mandatory: false, - name: "properties", - valueObjectPrototypeName: "BackupProperties", - valueType: "object" - }, { - mandatory: false, - name: "provider", - valueType: "String" - }, { - mandatory: false, - name: "recursive", - valueType: "boolean" - }] - } -}); diff --git a/core/model/models/boot-environment.js b/core/model/models/boot-environment.js deleted file mode 100644 index 4da6c2dddc..0000000000 --- a/core/model/models/boot-environment.js +++ /dev/null @@ -1,149 +0,0 @@ -var Montage = require("montage").Montage; - -exports.BootEnvironment = Montage.specialize({ - _active: { - value: null - }, - active: { - set: function (value) { - if (this._active !== value) { - this._active = value; - } - }, - get: function () { - return this._active; - } - }, - _created: { - value: null - }, - created: { - set: function (value) { - if (this._created !== value) { - this._created = value; - } - }, - get: function () { - return this._created; - } - }, - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _keep: { - value: null - }, - keep: { - set: function (value) { - if (this._keep !== value) { - this._keep = value; - } - }, - get: function () { - return this._keep; - } - }, - _mountpoint: { - value: null - }, - mountpoint: { - set: function (value) { - if (this._mountpoint !== value) { - this._mountpoint = value; - } - }, - get: function () { - return this._mountpoint; - } - }, - _on_reboot: { - value: null - }, - on_reboot: { - set: function (value) { - if (this._on_reboot !== value) { - this._on_reboot = value; - } - }, - get: function () { - return this._on_reboot; - } - }, - _realname: { - value: null - }, - realname: { - set: function (value) { - if (this._realname !== value) { - this._realname = value; - } - }, - get: function () { - return this._realname; - } - }, - _space: { - value: null - }, - space: { - set: function (value) { - if (this._space !== value) { - this._space = value; - } - }, - get: function () { - return this._space; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "active", - valueType: "boolean" - }, { - mandatory: false, - name: "created", - readOnly: true, - valueType: "datetime" - }, { - mandatory: false, - name: "id", - valueType: "String" - }, { - mandatory: false, - name: "keep", - valueType: "boolean" - }, { - mandatory: false, - name: "mountpoint", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "on_reboot", - readOnly: true, - valueType: "boolean" - }, { - mandatory: false, - name: "realname", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "space", - readOnly: true, - valueType: "number" - }] - } -}); diff --git a/core/model/models/calendar-custom-schedule.js b/core/model/models/calendar-custom-schedule.js deleted file mode 100644 index 87e0aa5c10..0000000000 --- a/core/model/models/calendar-custom-schedule.js +++ /dev/null @@ -1,12 +0,0 @@ -var Montage = require("montage").Montage; - -exports.CalendarCustomSchedule = Montage.specialize(null, { - userInterfaceDescriptor: { - value: { - inspectorComponentModule: { - id: 'ui/inspectors/cron-job.reel' - }, - nameExpression: "'Custom Schedule Options'" - } - } -}); diff --git a/core/model/models/calendar-task-schedule-anonymous.js b/core/model/models/calendar-task-schedule-anonymous.js deleted file mode 100644 index b25872fc47..0000000000 --- a/core/model/models/calendar-task-schedule-anonymous.js +++ /dev/null @@ -1,178 +0,0 @@ -var Montage = require("montage").Montage; - -exports.CalendarTaskScheduleAnonymous = Montage.specialize({ - _coalesce: { - value: null - }, - coalesce: { - set: function (value) { - if (this._coalesce !== value) { - this._coalesce = value; - } - }, - get: function () { - return this._coalesce; - } - }, - _day: { - value: null - }, - day: { - set: function (value) { - if (this._day !== value) { - this._day = value; - } - }, - get: function () { - return this._day; - } - }, - _day_of_week: { - value: null - }, - day_of_week: { - set: function (value) { - if (this._day_of_week !== value) { - this._day_of_week = value; - } - }, - get: function () { - return this._day_of_week; - } - }, - _hour: { - value: null - }, - hour: { - set: function (value) { - if (this._hour !== value) { - this._hour = value; - } - }, - get: function () { - return this._hour; - } - }, - _minute: { - value: null - }, - minute: { - set: function (value) { - if (this._minute !== value) { - this._minute = value; - } - }, - get: function () { - return this._minute; - } - }, - _month: { - value: null - }, - month: { - set: function (value) { - if (this._month !== value) { - this._month = value; - } - }, - get: function () { - return this._month; - } - }, - _second: { - value: null - }, - second: { - set: function (value) { - if (this._second !== value) { - this._second = value; - } - }, - get: function () { - return this._second; - } - }, - _timezone: { - value: null - }, - timezone: { - set: function (value) { - if (this._timezone !== value) { - this._timezone = value; - } - }, - get: function () { - return this._timezone; - } - }, - _week: { - value: null - }, - week: { - set: function (value) { - if (this._week !== value) { - this._week = value; - } - }, - get: function () { - return this._week; - } - }, - _year: { - value: null - }, - year: { - set: function (value) { - if (this._year !== value) { - this._year = value; - } - }, - get: function () { - return this._year; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "coalesce", - valueType: "boolean" - }, { - mandatory: false, - name: "day", - valueType: "String" - }, { - mandatory: false, - name: "day_of_week", - valueType: "String" - }, { - mandatory: false, - name: "hour", - valueType: "String" - }, { - mandatory: false, - name: "minute", - valueType: "String" - }, { - mandatory: false, - name: "month", - valueType: "String" - }, { - mandatory: false, - name: "second", - valueType: "String" - }, { - mandatory: false, - name: "timezone", - valueType: "String" - }, { - mandatory: false, - name: "week", - valueType: "String" - }, { - mandatory: false, - name: "year", - valueType: "String" - }] - } -}); diff --git a/core/model/models/calendar-task-status.js b/core/model/models/calendar-task-status.js deleted file mode 100644 index 933f850db8..0000000000 --- a/core/model/models/calendar-task-status.js +++ /dev/null @@ -1,76 +0,0 @@ -var Montage = require("montage").Montage; - -exports.CalendarTaskStatus = Montage.specialize({ - _current_run_progress: { - value: null - }, - current_run_progress: { - set: function (value) { - if (this._current_run_progress !== value) { - this._current_run_progress = value; - } - }, - get: function () { - return this._current_run_progress; - } - }, - _current_run_status: { - value: null - }, - current_run_status: { - set: function (value) { - if (this._current_run_status !== value) { - this._current_run_status = value; - } - }, - get: function () { - return this._current_run_status; - } - }, - _last_run_status: { - value: null - }, - last_run_status: { - set: function (value) { - if (this._last_run_status !== value) { - this._last_run_status = value; - } - }, - get: function () { - return this._last_run_status; - } - }, - _next_run_time: { - value: null - }, - next_run_time: { - set: function (value) { - if (this._next_run_time !== value) { - this._next_run_time = value; - } - }, - get: function () { - return this._next_run_time; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "current_run_progress", - valueType: "object" - }, { - mandatory: false, - name: "current_run_status", - valueType: "String" - }, { - mandatory: false, - name: "last_run_status", - valueType: "String" - }, { - mandatory: false, - name: "next_run_time", - valueType: "String" - }] - } -}); diff --git a/core/model/models/calendar-task.js b/core/model/models/calendar-task.js deleted file mode 100644 index b0fd494d02..0000000000 --- a/core/model/models/calendar-task.js +++ /dev/null @@ -1,170 +0,0 @@ -var Montage = require("montage").Montage; - -exports.CalendarTask = Montage.specialize({ - _args: { - value: null - }, - args: { - set: function (value) { - if (this._args !== value) { - this._args = value; - } - }, - get: function () { - return this._args; - } - }, - _enabled: { - value: null - }, - enabled: { - set: function (value) { - if (this._enabled !== value) { - this._enabled = value; - } - }, - get: function () { - return this._enabled; - } - }, - _hidden: { - value: null - }, - hidden: { - set: function (value) { - if (this._hidden !== value) { - this._hidden = value; - } - }, - get: function () { - return this._hidden; - } - }, - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _name: { - value: null - }, - name: { - set: function (value) { - if (this._name !== value) { - this._name = value; - } - }, - get: function () { - return this._name; - } - }, - _protected: { - value: null - }, - protected: { - set: function (value) { - if (this._protected !== value) { - this._protected = value; - } - }, - get: function () { - return this._protected; - } - }, - _schedule: { - value: null - }, - schedule: { - set: function (value) { - if (this._schedule !== value) { - this._schedule = value; - } - }, - get: function () { - return this._schedule; - } - }, - _status: { - value: null - }, - status: { - set: function (value) { - if (this._status !== value) { - this._status = value; - } - }, - get: function () { - return this._status; - } - }, - _task: { - value: null - }, - task: { - set: function (value) { - if (this._task !== value) { - this._task = value; - } - }, - get: function () { - return this._task; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "args", - valueType: "array" - }, { - mandatory: false, - name: "enabled", - valueType: "boolean" - }, { - mandatory: false, - name: "hidden", - valueType: "boolean" - }, { - mandatory: false, - name: "id", - valueType: "String" - }, { - mandatory: false, - name: "name", - valueType: "String" - }, { - mandatory: false, - name: "protected", - valueType: "boolean" - }, { - mandatory: false, - name: "schedule", - valueType: "object" - }, { - mandatory: false, - name: "status", - valueObjectPrototypeName: "CalendarTaskStatus", - valueType: "object" - }, { - mandatory: false, - name: "task", - valueType: "String" - }] - }, - userInterfaceDescriptor: { - value: { - inspectorComponentModule: { - id: 'ui/inspectors/calendar-task.reel' - }, - nameExpression: "name.defined() ? name : 'Create an event'" - } - } -}); diff --git a/core/model/models/calendar.js b/core/model/models/calendar.js deleted file mode 100644 index bed239d338..0000000000 --- a/core/model/models/calendar.js +++ /dev/null @@ -1,12 +0,0 @@ -var Montage = require("montage").Montage; - -exports.Calendar = Montage.specialize(null, { - userInterfaceDescriptor: { - value: { - inspectorComponentModule: { - id: 'ui/inspectors/calendar.reel' - }, - nameExpression: "'Calendar'" - } - } -}); diff --git a/core/model/models/compress-replication-transport-option.js b/core/model/models/compress-replication-transport-option.js deleted file mode 100644 index 67665a66a3..0000000000 --- a/core/model/models/compress-replication-transport-option.js +++ /dev/null @@ -1,42 +0,0 @@ -var Montage = require("montage").Montage; - -exports.CompressReplicationTransportOption = Montage.specialize({ - "_%type": { - value: null - }, - "%type": { - set: function (value) { - if (this["_%type"] !== value) { - this["_%type"] = value; - } - }, - get: function () { - return this["_%type"]; - } - }, - _level: { - value: null - }, - level: { - set: function (value) { - if (this._level !== value) { - this._level = value; - } - }, - get: function () { - return this._level; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "%type" - }, { - mandatory: false, - name: "level", - valueObjectPrototypeName: "CompressPluginLevel", - valueType: "object" - }] - } -}); diff --git a/core/model/models/compress-replication-transport-plugin.js b/core/model/models/compress-replication-transport-plugin.js deleted file mode 100644 index be12051c41..0000000000 --- a/core/model/models/compress-replication-transport-plugin.js +++ /dev/null @@ -1,93 +0,0 @@ -var Montage = require("montage").Montage; - -exports.CompressReplicationTransportPlugin = Montage.specialize({ - "_%type": { - value: null - }, - "%type": { - set: function (value) { - if (this["_%type"] !== value) { - this["_%type"] = value; - } - }, - get: function () { - return this["_%type"]; - } - }, - _buffer_size: { - value: null - }, - buffer_size: { - set: function (value) { - if (this._buffer_size !== value) { - this._buffer_size = value; - } - }, - get: function () { - return this._buffer_size; - } - }, - _level: { - value: null - }, - level: { - set: function (value) { - if (this._level !== value) { - this._level = value; - } - }, - get: function () { - return this._level; - } - }, - _read_fd: { - value: null - }, - read_fd: { - set: function (value) { - if (this._read_fd !== value) { - this._read_fd = value; - } - }, - get: function () { - return this._read_fd; - } - }, - _write_fd: { - value: null - }, - write_fd: { - set: function (value) { - if (this._write_fd !== value) { - this._write_fd = value; - } - }, - get: function () { - return this._write_fd; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "%type" - }, { - mandatory: false, - name: "buffer_size", - valueType: "number" - }, { - mandatory: false, - name: "level", - valueObjectPrototypeName: "CompressPluginLevel", - valueType: "object" - }, { - mandatory: false, - name: "read_fd", - valueType: "fd" - }, { - mandatory: false, - name: "write_fd", - valueType: "fd" - }] - } -}); diff --git a/core/model/models/cpu-device.js b/core/model/models/cpu-device.js deleted file mode 100644 index fd349588fc..0000000000 --- a/core/model/models/cpu-device.js +++ /dev/null @@ -1,42 +0,0 @@ -var Montage = require("montage").Montage; - -exports.CpuDevice = Montage.specialize({ - _description: { - value: null - }, - description: { - set: function (value) { - if (this._description !== value) { - this._description = value; - } - }, - get: function () { - return this._description; - } - }, - _name: { - value: null - }, - name: { - set: function (value) { - if (this._name !== value) { - this._name = value; - } - }, - get: function () { - return this._name; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "description", - valueType: "String" - }, { - mandatory: false, - name: "name", - valueType: "String" - }] - } -}); diff --git a/core/model/models/crypto-certificate.js b/core/model/models/crypto-certificate.js deleted file mode 100644 index 83af9186fd..0000000000 --- a/core/model/models/crypto-certificate.js +++ /dev/null @@ -1,512 +0,0 @@ -var Montage = require("montage").Montage; - -exports.CryptoCertificate = Montage.specialize({ - _certificate: { - value: null - }, - certificate: { - set: function (value) { - if (this._certificate !== value) { - this._certificate = value; - } - }, - get: function () { - return this._certificate; - } - }, - _certificate_path: { - value: null - }, - certificate_path: { - set: function (value) { - if (this._certificate_path !== value) { - this._certificate_path = value; - } - }, - get: function () { - return this._certificate_path; - } - }, - _city: { - value: null - }, - city: { - set: function (value) { - if (this._city !== value) { - this._city = value; - } - }, - get: function () { - return this._city; - } - }, - _common: { - value: null - }, - common: { - set: function (value) { - if (this._common !== value) { - this._common = value; - } - }, - get: function () { - return this._common; - } - }, - _country: { - value: null - }, - country: { - set: function (value) { - if (this._country !== value) { - this._country = value; - } - }, - get: function () { - return this._country; - } - }, - _csr: { - value: null - }, - csr: { - set: function (value) { - if (this._csr !== value) { - this._csr = value; - } - }, - get: function () { - return this._csr; - } - }, - _csr_path: { - value: null - }, - csr_path: { - set: function (value) { - if (this._csr_path !== value) { - this._csr_path = value; - } - }, - get: function () { - return this._csr_path; - } - }, - _digest_algorithm: { - value: null - }, - digest_algorithm: { - set: function (value) { - if (this._digest_algorithm !== value) { - this._digest_algorithm = value; - } - }, - get: function () { - return this._digest_algorithm; - } - }, - _dn: { - value: null - }, - dn: { - set: function (value) { - if (this._dn !== value) { - this._dn = value; - } - }, - get: function () { - return this._dn; - } - }, - _email: { - value: null - }, - email: { - set: function (value) { - if (this._email !== value) { - this._email = value; - } - }, - get: function () { - return this._email; - } - }, - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _key_length: { - value: null - }, - key_length: { - set: function (value) { - if (this._key_length !== value) { - this._key_length = value; - } - }, - get: function () { - return this._key_length; - } - }, - _lifetime: { - value: null - }, - lifetime: { - set: function (value) { - if (this._lifetime !== value) { - this._lifetime = value; - } - }, - get: function () { - return this._lifetime; - } - }, - _name: { - value: null - }, - name: { - set: function (value) { - if (this._name !== value) { - this._name = value; - } - }, - get: function () { - return this._name; - } - }, - _not_after: { - value: null - }, - not_after: { - set: function (value) { - if (this._not_after !== value) { - this._not_after = value; - } - }, - get: function () { - return this._not_after; - } - }, - _not_before: { - value: null - }, - not_before: { - set: function (value) { - if (this._not_before !== value) { - this._not_before = value; - } - }, - get: function () { - return this._not_before; - } - }, - _organization: { - value: null - }, - organization: { - set: function (value) { - if (this._organization !== value) { - this._organization = value; - } - }, - get: function () { - return this._organization; - } - }, - _passphrase: { - value: null - }, - passphrase: { - set: function (value) { - if (this._passphrase !== value) { - this._passphrase = value; - } - }, - get: function () { - return this._passphrase; - } - }, - _privatekey: { - value: null - }, - privatekey: { - set: function (value) { - if (this._privatekey !== value) { - this._privatekey = value; - } - }, - get: function () { - return this._privatekey; - } - }, - _privatekey_path: { - value: null - }, - privatekey_path: { - set: function (value) { - if (this._privatekey_path !== value) { - this._privatekey_path = value; - } - }, - get: function () { - return this._privatekey_path; - } - }, - _selfsigned: { - value: null - }, - selfsigned: { - set: function (value) { - if (this._selfsigned !== value) { - this._selfsigned = value; - } - }, - get: function () { - return this._selfsigned; - } - }, - _serial: { - value: null - }, - serial: { - set: function (value) { - if (this._serial !== value) { - this._serial = value; - } - }, - get: function () { - return this._serial; - } - }, - _signing_ca_id: { - value: null - }, - signing_ca_id: { - set: function (value) { - if (this._signing_ca_id !== value) { - this._signing_ca_id = value; - } - }, - get: function () { - return this._signing_ca_id; - } - }, - _signing_ca_name: { - value: null - }, - signing_ca_name: { - set: function (value) { - if (this._signing_ca_name !== value) { - this._signing_ca_name = value; - } - }, - get: function () { - return this._signing_ca_name; - } - }, - _state: { - value: null - }, - state: { - set: function (value) { - if (this._state !== value) { - this._state = value; - } - }, - get: function () { - return this._state; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - }, - _valid_from: { - value: null - }, - valid_from: { - set: function (value) { - if (this._valid_from !== value) { - this._valid_from = value; - } - }, - get: function () { - return this._valid_from; - } - }, - _valid_until: { - value: null - }, - valid_until: { - set: function (value) { - if (this._valid_until !== value) { - this._valid_until = value; - } - }, - get: function () { - return this._valid_until; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "certificate", - valueType: "String" - }, { - mandatory: false, - name: "certificate_path", - valueType: "String" - }, { - mandatory: false, - name: "city", - valueType: "String" - }, { - mandatory: false, - name: "common", - valueType: "String" - }, { - mandatory: false, - name: "country", - valueType: "String" - }, { - mandatory: false, - name: "csr", - valueType: "String" - }, { - mandatory: false, - name: "csr_path", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "digest_algorithm", - valueObjectPrototypeName: "CryptoCertificateDigestalgorithm", - valueType: "object" - }, { - mandatory: false, - name: "dn", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "email", - valueType: "String" - }, { - mandatory: false, - name: "id", - valueType: "String" - }, { - mandatory: false, - name: "key_length", - valueType: "number" - }, { - mandatory: false, - name: "lifetime", - valueType: "number" - }, { - mandatory: false, - name: "name", - valueType: "String" - }, { - mandatory: false, - name: "not_after", - valueType: "String" - }, { - mandatory: false, - name: "not_before", - valueType: "String" - }, { - mandatory: false, - name: "organization", - valueType: "String" - }, { - mandatory: false, - name: "passphrase", - valueType: "String" - }, { - mandatory: false, - name: "privatekey", - valueType: "String" - }, { - mandatory: false, - name: "privatekey_path", - valueType: "String" - }, { - mandatory: false, - name: "selfsigned", - valueType: "boolean" - }, { - mandatory: false, - name: "serial", - valueType: "String" - }, { - mandatory: false, - name: "signing_ca_id", - valueType: "String" - }, { - mandatory: false, - name: "signing_ca_name", - valueType: "String" - }, { - mandatory: false, - name: "state", - valueType: "String" - }, { - mandatory: false, - name: "type", - valueObjectPrototypeName: "CryptoCertificateType", - valueType: "object" - }, { - mandatory: false, - name: "valid_from", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "valid_until", - readOnly: true, - valueType: "String" - }] - }, - userInterfaceDescriptor: { - value: { - collectionInspectorComponentModule: { - id: 'ui/controls/viewer.reel' - }, - iconValueMapping: { - "CERT_INTERNAL": "ui/icons/certificates/certificate.reel", - "CERT_CSR": "ui/icons/certificates/certificate.reel", - "CA_INTERNAL": "ui/icons/certificates/ca.reel", - "CA_INTERMEDIATE": "ui/icons/certificates/ca.reel" - }, - iconValueExpression: "type", - collectionNameExpression: "'Certificates'", - inspectorComponentModule: { - id: 'ui/sections/system/inspectors/crypto-certificate.reel' - }, - creatorComponentModule: { - id: 'ui/sections/system/inspectors/crypto-certificate-creator.reel' - }, - nameExpression: "!!id ? !!name ? name : id : !!_label ? _label: 'Choose a certificate type'" - } - } -}); diff --git a/core/model/models/detached-volume.js b/core/model/models/detached-volume.js deleted file mode 100644 index a88f5c7875..0000000000 --- a/core/model/models/detached-volume.js +++ /dev/null @@ -1,90 +0,0 @@ -var Montage = require("montage").Montage; - -exports.DetachedVolume = Montage.specialize({ - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _name: { - value: null - }, - name: { - set: function (value) { - if (this._name !== value) { - this._name = value; - } - }, - get: function () { - return this._name; - } - }, - _status: { - value: null - }, - status: { - set: function (value) { - if (this._status !== value) { - this._status = value; - } - }, - get: function () { - return this._status; - } - }, - _topology: { - value: null - }, - topology: { - set: function (value) { - if (this._topology !== value) { - this._topology = value; - } - }, - get: function () { - return this._topology; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "id", - valueType: "String" - }, { - mandatory: false, - name: "name", - valueType: "String" - }, { - mandatory: false, - name: "status", - valueType: "String" - }, { - mandatory: false, - name: "topology", - valueObjectPrototypeName: "ZfsTopology", - valueType: "object" - }] - }, - userInterfaceDescriptor: { - value: { - collectionInspectorComponentModule: { - id: 'ui/controls/viewer.reel' - }, - collectionNameExpression: "'Volumes'", - inspectorComponentModule: { - id: 'ui/sections/storage/inspectors/detached-volume.reel' - }, - nameExpression: "name + ' (detached)'", - sortExpression: "name.defined() + '' + id" - } - } -}); diff --git a/core/model/models/directory-services.js b/core/model/models/directory-services.js deleted file mode 100644 index 2c2eca303e..0000000000 --- a/core/model/models/directory-services.js +++ /dev/null @@ -1,17 +0,0 @@ -var Montage = require("montage").Montage; - -exports.DirectoryServices = Montage.specialize(null, { - userInterfaceDescriptor: { - value: { - inspectorComponentModule: { - id: 'ui/sections/accounts/inspectors/directory-services.reel' - }, - iconComponentModule: { - id: 'ui/icons/directory-services.reel' - }, - nameExpression: "'Directory Services'", - wizardComponentModuleId: "ui/sections/wizard/inspectors/directory-services.reel", - wizardTitle: "Set up a directory service" - } - } -}); diff --git a/core/model/models/directory-status-anonymous.js b/core/model/models/directory-status-anonymous.js deleted file mode 100644 index 282fcaa5d2..0000000000 --- a/core/model/models/directory-status-anonymous.js +++ /dev/null @@ -1,59 +0,0 @@ -var Montage = require("montage").Montage; - -exports.DirectoryStatusAnonymous = Montage.specialize({ - _state: { - value: null - }, - state: { - set: function (value) { - if (this._state !== value) { - this._state = value; - } - }, - get: function () { - return this._state; - } - }, - _status_code: { - value: null - }, - status_code: { - set: function (value) { - if (this._status_code !== value) { - this._status_code = value; - } - }, - get: function () { - return this._status_code; - } - }, - _status_message: { - value: null - }, - status_message: { - set: function (value) { - if (this._status_message !== value) { - this._status_message = value; - } - }, - get: function () { - return this._status_message; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "state", - valueType: "String" - }, { - mandatory: false, - name: "status_code", - valueType: "number" - }, { - mandatory: false, - name: "status_message", - valueType: "String" - }] - } -}); diff --git a/core/model/models/directory.js b/core/model/models/directory.js deleted file mode 100644 index 11b8242431..0000000000 --- a/core/model/models/directory.js +++ /dev/null @@ -1,178 +0,0 @@ -var Montage = require("montage").Montage; - -exports.Directory = Montage.specialize({ - _enabled: { - value: null - }, - enabled: { - set: function (value) { - if (this._enabled !== value) { - this._enabled = value; - } - }, - get: function () { - return this._enabled; - } - }, - _enumerate: { - value: null - }, - enumerate: { - set: function (value) { - if (this._enumerate !== value) { - this._enumerate = value; - } - }, - get: function () { - return this._enumerate; - } - }, - _gid_range: { - value: null - }, - gid_range: { - set: function (value) { - if (this._gid_range !== value) { - this._gid_range = value; - } - }, - get: function () { - return this._gid_range; - } - }, - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _name: { - value: null - }, - name: { - set: function (value) { - if (this._name !== value) { - this._name = value; - } - }, - get: function () { - return this._name; - } - }, - _parameters: { - value: null - }, - parameters: { - set: function (value) { - if (this._parameters !== value) { - this._parameters = value; - } - }, - get: function () { - return this._parameters; - } - }, - _status: { - value: null - }, - status: { - set: function (value) { - if (this._status !== value) { - this._status = value; - } - }, - get: function () { - return this._status; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - }, - _uid_range: { - value: null - }, - uid_range: { - set: function (value) { - if (this._uid_range !== value) { - this._uid_range = value; - } - }, - get: function () { - return this._uid_range; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "enabled", - valueType: "boolean" - }, { - mandatory: false, - name: "enumerate", - valueType: "boolean" - }, { - mandatory: false, - name: "gid_range", - valueType: "array" - }, { - mandatory: false, - name: "id", - valueType: "String" - }, { - mandatory: false, - name: "name", - valueType: "String" - }, { - mandatory: false, - name: "parameters", - valueObjectPrototypeName: "DirectoryParams", - valueType: "object" - }, { - mandatory: false, - name: "status", - valueType: "object" - }, { - mandatory: false, - name: "type", - valueType: "String" - }, { - mandatory: false, - name: "uid_range", - valueType: "array" - }] - }, - userInterfaceDescriptor: { - value: { - inspectorComponentModule: { - id: 'ui/sections/accounts/inspectors/directory-services.reel/directory-service.reel' - }, - nameExpression: "label", - statusColorMapping: { - "BOUND": "green", - "FAILURE": "red", - "DISABLED": "grey", - "JOINING": "yellow", - "EXITING": "yellow" - }, - statusValueExpression: "!enabled || !status || !status.state ? 'DISABLED' : status.state" - } - } -}); diff --git a/core/model/models/directoryservice-config.js b/core/model/models/directoryservice-config.js deleted file mode 100644 index c76f2c9fb4..0000000000 --- a/core/model/models/directoryservice-config.js +++ /dev/null @@ -1,76 +0,0 @@ -var Montage = require("montage").Montage; - -exports.DirectoryserviceConfig = Montage.specialize({ - _cache_enumerations: { - value: null - }, - cache_enumerations: { - set: function (value) { - if (this._cache_enumerations !== value) { - this._cache_enumerations = value; - } - }, - get: function () { - return this._cache_enumerations; - } - }, - _cache_lookups: { - value: null - }, - cache_lookups: { - set: function (value) { - if (this._cache_lookups !== value) { - this._cache_lookups = value; - } - }, - get: function () { - return this._cache_lookups; - } - }, - _cache_ttl: { - value: null - }, - cache_ttl: { - set: function (value) { - if (this._cache_ttl !== value) { - this._cache_ttl = value; - } - }, - get: function () { - return this._cache_ttl; - } - }, - _search_order: { - value: null - }, - search_order: { - set: function (value) { - if (this._search_order !== value) { - this._search_order = value; - } - }, - get: function () { - return this._search_order; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "cache_enumerations", - valueType: "boolean" - }, { - mandatory: false, - name: "cache_lookups", - valueType: "boolean" - }, { - mandatory: false, - name: "cache_ttl", - valueType: "number" - }, { - mandatory: false, - name: "search_order", - valueType: "array" - }] - } -}); diff --git a/core/model/models/disk-attach-params.js b/core/model/models/disk-attach-params.js deleted file mode 100644 index c465f1bfa7..0000000000 --- a/core/model/models/disk-attach-params.js +++ /dev/null @@ -1,42 +0,0 @@ -var Montage = require("montage").Montage; - -exports.DiskAttachParams = Montage.specialize({ - _key: { - value: null - }, - key: { - set: function (value) { - if (this._key !== value) { - this._key = value; - } - }, - get: function () { - return this._key; - } - }, - _password: { - value: null - }, - password: { - set: function (value) { - if (this._password !== value) { - this._password = value; - } - }, - get: function () { - return this._password; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "key", - valueType: "String" - }, { - mandatory: false, - name: "password", - valueType: "String" - }] - } -}); diff --git a/core/model/models/disk-device.js b/core/model/models/disk-device.js deleted file mode 100644 index 3a23640cdf..0000000000 --- a/core/model/models/disk-device.js +++ /dev/null @@ -1,59 +0,0 @@ -var Montage = require("montage").Montage; - -exports.DiskDevice = Montage.specialize({ - _description: { - value: null - }, - description: { - set: function (value) { - if (this._description !== value) { - this._description = value; - } - }, - get: function () { - return this._description; - } - }, - _mediasize: { - value: null - }, - mediasize: { - set: function (value) { - if (this._mediasize !== value) { - this._mediasize = value; - } - }, - get: function () { - return this._mediasize; - } - }, - _name: { - value: null - }, - name: { - set: function (value) { - if (this._name !== value) { - this._name = value; - } - }, - get: function () { - return this._name; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "description", - valueType: "String" - }, { - mandatory: false, - name: "mediasize", - valueType: "number" - }, { - mandatory: false, - name: "name", - valueType: "String" - }] - } -}); diff --git a/core/model/models/disk-metadata.js b/core/model/models/disk-metadata.js deleted file mode 100644 index 3b3443a883..0000000000 --- a/core/model/models/disk-metadata.js +++ /dev/null @@ -1,42 +0,0 @@ -var Montage = require("montage").Montage; - -exports.DiskMetadata = Montage.specialize({ - _disk: { - value: null - }, - disk: { - set: function (value) { - if (this._disk !== value) { - this._disk = value; - } - }, - get: function () { - return this._disk; - } - }, - _metadata: { - value: null - }, - metadata: { - set: function (value) { - if (this._metadata !== value) { - this._metadata = value; - } - }, - get: function () { - return this._metadata; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "disk", - valueType: "String" - }, { - mandatory: false, - name: "metadata", - valueType: "String" - }] - } -}); diff --git a/core/model/models/disk-partition.js b/core/model/models/disk-partition.js deleted file mode 100644 index 3fe05ea55c..0000000000 --- a/core/model/models/disk-partition.js +++ /dev/null @@ -1,110 +0,0 @@ -var Montage = require("montage").Montage; - -exports.DiskPartition = Montage.specialize({ - _label: { - value: null - }, - label: { - set: function (value) { - if (this._label !== value) { - this._label = value; - } - }, - get: function () { - return this._label; - } - }, - _mediasize: { - value: null - }, - mediasize: { - set: function (value) { - if (this._mediasize !== value) { - this._mediasize = value; - } - }, - get: function () { - return this._mediasize; - } - }, - _name: { - value: null - }, - name: { - set: function (value) { - if (this._name !== value) { - this._name = value; - } - }, - get: function () { - return this._name; - } - }, - _paths: { - value: null - }, - paths: { - set: function (value) { - if (this._paths !== value) { - this._paths = value; - } - }, - get: function () { - return this._paths; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - }, - _uuid: { - value: null - }, - uuid: { - set: function (value) { - if (this._uuid !== value) { - this._uuid = value; - } - }, - get: function () { - return this._uuid; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "label", - valueType: "String" - }, { - mandatory: false, - name: "mediasize", - valueType: "number" - }, { - mandatory: false, - name: "name", - valueType: "String" - }, { - mandatory: false, - name: "paths", - valueType: "array" - }, { - mandatory: false, - name: "type", - valueType: "String" - }, { - mandatory: false, - name: "uuid", - valueType: "String" - }] - } -}); diff --git a/core/model/models/disk-set-key-params.js b/core/model/models/disk-set-key-params.js deleted file mode 100644 index 7282e7f367..0000000000 --- a/core/model/models/disk-set-key-params.js +++ /dev/null @@ -1,59 +0,0 @@ -var Montage = require("montage").Montage; - -exports.DiskSetKeyParams = Montage.specialize({ - _key: { - value: null - }, - key: { - set: function (value) { - if (this._key !== value) { - this._key = value; - } - }, - get: function () { - return this._key; - } - }, - _password: { - value: null - }, - password: { - set: function (value) { - if (this._password !== value) { - this._password = value; - } - }, - get: function () { - return this._password; - } - }, - _slot: { - value: null - }, - slot: { - set: function (value) { - if (this._slot !== value) { - this._slot = value; - } - }, - get: function () { - return this._slot; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "key", - valueType: "String" - }, { - mandatory: false, - name: "password", - valueType: "String" - }, { - mandatory: false, - name: "slot", - valueType: "number" - }] - } -}); diff --git a/core/model/models/disk-status-controller-anonymous.js b/core/model/models/disk-status-controller-anonymous.js deleted file mode 100644 index b92f1bb074..0000000000 --- a/core/model/models/disk-status-controller-anonymous.js +++ /dev/null @@ -1,3 +0,0 @@ -var Montage = require("montage").Montage; - -exports.DiskStatusControllerAnonymous = Montage.specialize(); diff --git a/core/model/models/disk-status-multipath-anonymous-members-anonymous.js b/core/model/models/disk-status-multipath-anonymous-members-anonymous.js deleted file mode 100644 index 0a8bb3be9f..0000000000 --- a/core/model/models/disk-status-multipath-anonymous-members-anonymous.js +++ /dev/null @@ -1,3 +0,0 @@ -var Montage = require("montage").Montage; - -exports.DiskStatusMultipathAnonymousMembersAnonymous = Montage.specialize(); diff --git a/core/model/models/disk-status-multipath-anonymous.js b/core/model/models/disk-status-multipath-anonymous.js deleted file mode 100644 index 8f2b2b1e9e..0000000000 --- a/core/model/models/disk-status-multipath-anonymous.js +++ /dev/null @@ -1,59 +0,0 @@ -var Montage = require("montage").Montage; - -exports.DiskStatusMultipathAnonymous = Montage.specialize({ - _members: { - value: null - }, - members: { - set: function (value) { - if (this._members !== value) { - this._members = value; - } - }, - get: function () { - return this._members; - } - }, - _node: { - value: null - }, - node: { - set: function (value) { - if (this._node !== value) { - this._node = value; - } - }, - get: function () { - return this._node; - } - }, - _status: { - value: null - }, - status: { - set: function (value) { - if (this._status !== value) { - this._status = value; - } - }, - get: function () { - return this._status; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "members", - valueType: "object" - }, { - mandatory: false, - name: "node", - valueType: "String" - }, { - mandatory: false, - name: "status", - valueType: "String" - }] - } -}); diff --git a/core/model/models/disk-status.js b/core/model/models/disk-status.js deleted file mode 100644 index dc051d2bd4..0000000000 --- a/core/model/models/disk-status.js +++ /dev/null @@ -1,401 +0,0 @@ -var Montage = require("montage").Montage; - -exports.DiskStatus = Montage.specialize({ - _controller: { - value: null - }, - controller: { - set: function (value) { - if (this._controller !== value) { - this._controller = value; - } - }, - get: function () { - return this._controller; - } - }, - _data_partition_path: { - value: null - }, - data_partition_path: { - set: function (value) { - if (this._data_partition_path !== value) { - this._data_partition_path = value; - } - }, - get: function () { - return this._data_partition_path; - } - }, - _data_partition_uuid: { - value: null - }, - data_partition_uuid: { - set: function (value) { - if (this._data_partition_uuid !== value) { - this._data_partition_uuid = value; - } - }, - get: function () { - return this._data_partition_uuid; - } - }, - _description: { - value: null - }, - description: { - set: function (value) { - if (this._description !== value) { - this._description = value; - } - }, - get: function () { - return this._description; - } - }, - _empty: { - value: null - }, - empty: { - set: function (value) { - if (this._empty !== value) { - this._empty = value; - } - }, - get: function () { - return this._empty; - } - }, - _enclosure: { - value: null - }, - enclosure: { - set: function (value) { - if (this._enclosure !== value) { - this._enclosure = value; - } - }, - get: function () { - return this._enclosure; - } - }, - _encrypted: { - value: null - }, - encrypted: { - set: function (value) { - if (this._encrypted !== value) { - this._encrypted = value; - } - }, - get: function () { - return this._encrypted; - } - }, - _gdisk_name: { - value: null - }, - gdisk_name: { - set: function (value) { - if (this._gdisk_name !== value) { - this._gdisk_name = value; - } - }, - get: function () { - return this._gdisk_name; - } - }, - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _is_encrypted: { - value: null - }, - is_encrypted: { - set: function (value) { - if (this._is_encrypted !== value) { - this._is_encrypted = value; - } - }, - get: function () { - return this._is_encrypted; - } - }, - _is_multipath: { - value: null - }, - is_multipath: { - set: function (value) { - if (this._is_multipath !== value) { - this._is_multipath = value; - } - }, - get: function () { - return this._is_multipath; - } - }, - _is_ssd: { - value: null - }, - is_ssd: { - set: function (value) { - if (this._is_ssd !== value) { - this._is_ssd = value; - } - }, - get: function () { - return this._is_ssd; - } - }, - _lunid: { - value: null - }, - lunid: { - set: function (value) { - if (this._lunid !== value) { - this._lunid = value; - } - }, - get: function () { - return this._lunid; - } - }, - _max_rotation: { - value: null - }, - max_rotation: { - set: function (value) { - if (this._max_rotation !== value) { - this._max_rotation = value; - } - }, - get: function () { - return this._max_rotation; - } - }, - _mediasize: { - value: null - }, - mediasize: { - set: function (value) { - if (this._mediasize !== value) { - this._mediasize = value; - } - }, - get: function () { - return this._mediasize; - } - }, - _multipath: { - value: null - }, - multipath: { - set: function (value) { - if (this._multipath !== value) { - this._multipath = value; - } - }, - get: function () { - return this._multipath; - } - }, - _partitions: { - value: null - }, - partitions: { - set: function (value) { - if (this._partitions !== value) { - this._partitions = value; - } - }, - get: function () { - return this._partitions; - } - }, - _schema: { - value: null - }, - schema: { - set: function (value) { - if (this._schema !== value) { - this._schema = value; - } - }, - get: function () { - return this._schema; - } - }, - _sectorsize: { - value: null - }, - sectorsize: { - set: function (value) { - if (this._sectorsize !== value) { - this._sectorsize = value; - } - }, - get: function () { - return this._sectorsize; - } - }, - _serial: { - value: null - }, - serial: { - set: function (value) { - if (this._serial !== value) { - this._serial = value; - } - }, - get: function () { - return this._serial; - } - }, - _smart_info: { - value: null - }, - smart_info: { - set: function (value) { - if (this._smart_info !== value) { - this._smart_info = value; - } - }, - get: function () { - return this._smart_info; - } - }, - _swap_partition_path: { - value: null - }, - swap_partition_path: { - set: function (value) { - if (this._swap_partition_path !== value) { - this._swap_partition_path = value; - } - }, - get: function () { - return this._swap_partition_path; - } - }, - _swap_partition_uuid: { - value: null - }, - swap_partition_uuid: { - set: function (value) { - if (this._swap_partition_uuid !== value) { - this._swap_partition_uuid = value; - } - }, - get: function () { - return this._swap_partition_uuid; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "controller", - valueType: "object" - }, { - mandatory: false, - name: "data_partition_path", - valueType: "String" - }, { - mandatory: false, - name: "data_partition_uuid", - valueType: "String" - }, { - mandatory: false, - name: "description", - valueType: "String" - }, { - mandatory: false, - name: "empty", - valueType: "boolean" - }, { - mandatory: false, - name: "enclosure", - valueType: "String" - }, { - mandatory: false, - name: "encrypted", - valueType: "boolean" - }, { - mandatory: false, - name: "gdisk_name", - valueType: "String" - }, { - mandatory: false, - name: "id", - valueType: "String" - }, { - mandatory: false, - name: "is_encrypted", - valueType: "boolean" - }, { - mandatory: false, - name: "is_multipath", - valueType: "boolean" - }, { - mandatory: false, - name: "is_ssd", - valueType: "boolean" - }, { - mandatory: false, - name: "lunid", - valueType: "String" - }, { - mandatory: false, - name: "max_rotation", - valueType: "number" - }, { - mandatory: false, - name: "mediasize", - valueType: "number" - }, { - mandatory: false, - name: "multipath", - valueType: "object" - }, { - mandatory: false, - name: "partitions", - valueObjectPrototypeName: "DiskPartition", - valueType: "array" - }, { - mandatory: false, - name: "schema", - valueType: "String" - }, { - mandatory: false, - name: "sectorsize", - valueType: "number" - }, { - mandatory: false, - name: "serial", - valueType: "String" - }, { - mandatory: false, - name: "smart_info", - valueObjectPrototypeName: "SmartInfo", - valueType: "object" - }, { - mandatory: false, - name: "swap_partition_path", - valueType: "String" - }, { - mandatory: false, - name: "swap_partition_uuid", - valueType: "String" - }] - } -}); diff --git a/core/model/models/disk.js b/core/model/models/disk.js deleted file mode 100644 index dc24a916ef..0000000000 --- a/core/model/models/disk.js +++ /dev/null @@ -1,260 +0,0 @@ -var Montage = require("montage").Montage; - -exports.Disk = Montage.specialize({ - _acoustic_level: { - value: null - }, - acoustic_level: { - set: function (value) { - if (this._acoustic_level !== value) { - this._acoustic_level = value; - } - }, - get: function () { - return this._acoustic_level; - } - }, - _apm_mode: { - value: null - }, - apm_mode: { - set: function (value) { - if (this._apm_mode !== value) { - this._apm_mode = value; - } - }, - get: function () { - return this._apm_mode; - } - }, - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _is_multipath: { - value: null - }, - is_multipath: { - set: function (value) { - if (this._is_multipath !== value) { - this._is_multipath = value; - } - }, - get: function () { - return this._is_multipath; - } - }, - _mediasize: { - value: null - }, - mediasize: { - set: function (value) { - if (this._mediasize !== value) { - this._mediasize = value; - } - }, - get: function () { - return this._mediasize; - } - }, - _name: { - value: null - }, - name: { - set: function (value) { - if (this._name !== value) { - this._name = value; - } - }, - get: function () { - return this._name; - } - }, - _path: { - value: null - }, - path: { - set: function (value) { - if (this._path !== value) { - this._path = value; - } - }, - get: function () { - return this._path; - } - }, - _rname: { - value: null - }, - rname: { - set: function (value) { - if (this._rname !== value) { - this._rname = value; - } - }, - get: function () { - return this._rname; - } - }, - _serial: { - value: null - }, - serial: { - set: function (value) { - if (this._serial !== value) { - this._serial = value; - } - }, - get: function () { - return this._serial; - } - }, - _smart: { - value: null - }, - smart: { - set: function (value) { - if (this._smart !== value) { - this._smart = value; - } - }, - get: function () { - return this._smart; - } - }, - _online: { - value: null - }, - online: { - set: function (value) { - if (this._online !== value) { - this._online = value; - } - }, - get: function () { - return this._online; - } - }, - _smart_options: { - value: null - }, - smart_options: { - set: function (value) { - if (this._smart_options !== value) { - this._smart_options = value; - } - }, - get: function () { - return this._smart_options; - } - }, - _standby_mode: { - value: null - }, - standby_mode: { - set: function (value) { - if (this._standby_mode !== value) { - this._standby_mode = value; - } - }, - get: function () { - return this._standby_mode; - } - }, - _status: { - value: null - }, - status: { - set: function (value) { - if (this._status !== value) { - this._status = value; - } - }, - get: function () { - return this._status; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "acoustic_level", - valueObjectPrototypeName: "DiskAcousticlevel", - valueType: "object" - }, { - mandatory: false, - name: "apm_mode", - valueType: "number" - }, { - mandatory: false, - name: "id", - valueType: "String" - }, { - mandatory: false, - name: "is_multipath", - valueType: "boolean" - }, { - mandatory: false, - name: "mediasize", - valueType: "number" - }, { - mandatory: false, - name: "name", - valueType: "String" - }, { - mandatory: false, - name: "path", - valueType: "String" - }, { - mandatory: false, - name: "rname", - valueType: "String" - }, { - mandatory: false, - name: "serial", - valueType: "String" - }, { - mandatory: false, - name: "smart", - valueType: "boolean" - }, { - mandatory: false, - name: "smart_options", - valueType: "String" - }, { - mandatory: false, - name: "online", - valueType: "boolean" - }, { - mandatory: false, - name: "standby_mode", - valueType: "number" - }, { - mandatory: false, - name: "status", - valueObjectPrototypeName: "DiskStatus", - valueType: "object" - }] - }, - userInterfaceDescriptor: { - value: { - inspectorComponentModule: { - id: 'ui/sections/storage/inspectors/disk.reel' - }, - collectionInspectorComponentModule: { - id: 'ui/controls/viewer.reel' - }, - collectionNameExpression: "'Available disks'", - nameExpression: "path" - } - } -}); diff --git a/core/model/models/disks-allocation.js b/core/model/models/disks-allocation.js deleted file mode 100644 index 24f7cac4a9..0000000000 --- a/core/model/models/disks-allocation.js +++ /dev/null @@ -1,3 +0,0 @@ -var Montage = require("montage").Montage; - -exports.DisksAllocation = Montage.specialize(); diff --git a/core/model/models/docker-collection.js b/core/model/models/docker-collection.js deleted file mode 100644 index 3c841b059c..0000000000 --- a/core/model/models/docker-collection.js +++ /dev/null @@ -1,107 +0,0 @@ -var Montage = require("montage").Montage; - -exports.DockerCollection = Montage.specialize({ - _collection: { - value: null - }, - collection: { - set: function (value) { - if (this._collection !== value) { - this._collection = value; - } - }, - get: function () { - return this._collection; - } - }, - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _images: { - value: null - }, - images: { - set: function (value) { - if (this._images !== value) { - this._images = value; - } - }, - get: function () { - return this._images; - } - }, - _match_expr: { - value: null - }, - match_expr: { - set: function (value) { - if (this._match_expr !== value) { - this._match_expr = value; - } - }, - get: function () { - return this._match_expr; - } - }, - _name: { - value: null - }, - name: { - set: function (value) { - if (this._name !== value) { - this._name = value; - } - }, - get: function () { - return this._name; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "collection", - valueType: "String" - }, { - mandatory: false, - name: "id", - valueType: "String" - }, { - mandatory: false, - name: "images", - valueObjectPrototypeName: "DockerHubImage", - valueType: "object" - }, { - mandatory: false, - name: "match_expr", - valueType: "String" - }, { - mandatory: false, - name: "name", - valueType: "String" - }] - }, - userInterfaceDescriptor: { - value: { - nameExpression: "id.defined() ? name : 'Create a collection'", - collectionNameExpression: "'Collections'", - daoModuleId: "core/dao/docker-collection-dao", - inspectorComponentModule: { - id: 'ui/sections/containers/inspectors/docker-collection.reel' - }, - creatorComponentModule: { - id: 'ui/sections/containers/inspectors/docker-collection.reel' - } - } - } -}); diff --git a/core/model/models/docker-config.js b/core/model/models/docker-config.js deleted file mode 100644 index 772402998b..0000000000 --- a/core/model/models/docker-config.js +++ /dev/null @@ -1,76 +0,0 @@ -var Montage = require("montage").Montage; - -exports.DockerConfig = Montage.specialize({ - _api_forwarding: { - value: null - }, - api_forwarding: { - set: function (value) { - if (this._api_forwarding !== value) { - this._api_forwarding = value; - } - }, - get: function () { - return this._api_forwarding; - } - }, - _api_forwarding_enable: { - value: null - }, - api_forwarding_enable: { - set: function (value) { - if (this._api_forwarding_enable !== value) { - this._api_forwarding_enable = value; - } - }, - get: function () { - return this._api_forwarding_enable; - } - }, - _default_collection: { - value: null - }, - default_collection: { - set: function (value) { - if (this._default_collection !== value) { - this._default_collection = value; - } - }, - get: function () { - return this._default_collection; - } - }, - _default_host: { - value: null - }, - default_host: { - set: function (value) { - if (this._default_host !== value) { - this._default_host = value; - } - }, - get: function () { - return this._default_host; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "api_forwarding", - valueType: "String" - }, { - mandatory: false, - name: "api_forwarding_enable", - valueType: "boolean" - }, { - mandatory: false, - name: "default_collection", - valueType: "String" - }, { - mandatory: false, - name: "default_host", - valueType: "String" - }] - } -}); diff --git a/core/model/models/docker-container-bridge.js b/core/model/models/docker-container-bridge.js deleted file mode 100644 index 2f04e90916..0000000000 --- a/core/model/models/docker-container-bridge.js +++ /dev/null @@ -1,42 +0,0 @@ -var Montage = require("montage").Montage; - -exports.DockerContainerBridge = Montage.specialize({ - _address: { - value: null - }, - address: { - set: function (value) { - if (this._address !== value) { - this._address = value; - } - }, - get: function () { - return this._address; - } - }, - _enable: { - value: null - }, - enable: { - set: function (value) { - if (this._enable !== value) { - this._enable = value; - } - }, - get: function () { - return this._enable; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "address", - valueType: "String" - }, { - mandatory: false, - name: "enable", - valueType: "boolean" - }] - } -}); diff --git a/core/model/models/docker-container-creator.js b/core/model/models/docker-container-creator.js deleted file mode 100644 index be697c4958..0000000000 --- a/core/model/models/docker-container-creator.js +++ /dev/null @@ -1,12 +0,0 @@ -var Montage = require("montage").Montage; - -exports.DockerContainerCreator = Montage.specialize(null, { - userInterfaceDescriptor: { - value: { - inspectorComponentModule: { - id: 'ui/sections/containers/inspectors/container-creator.reel' - }, - nameExpression: "'Create a container'" - } - } -}); diff --git a/core/model/models/docker-container-logs.js b/core/model/models/docker-container-logs.js deleted file mode 100644 index 84f6e32bd1..0000000000 --- a/core/model/models/docker-container-logs.js +++ /dev/null @@ -1,12 +0,0 @@ -var Montage = require("montage").Montage; - -exports.DockerContainerLogs = Montage.specialize(null, { - userInterfaceDescriptor: { - value: { - inspectorComponentModule: { - id: 'ui/sections/containers/inspectors/docker-logs.reel' - }, - nameExpression: "'Logs'" - } - } -}); diff --git a/core/model/models/docker-container-section.js b/core/model/models/docker-container-section.js deleted file mode 100644 index 875b1fbd35..0000000000 --- a/core/model/models/docker-container-section.js +++ /dev/null @@ -1,9 +0,0 @@ -var Montage = require("montage").Montage; - -exports.DockerContainerSection = Montage.specialize(null, { - userInterfaceDescriptor: { - value: { - nameExpression: "'Containers'" - } - } -}); diff --git a/core/model/models/docker-container.js b/core/model/models/docker-container.js deleted file mode 100644 index c5a50852f3..0000000000 --- a/core/model/models/docker-container.js +++ /dev/null @@ -1,385 +0,0 @@ -var Montage = require("montage").Montage; - -exports.DockerContainer = Montage.specialize({ - _autostart: { - value: null - }, - autostart: { - set: function (value) { - if (this._autostart !== value) { - this._autostart = value; - } - }, - get: function () { - return this._autostart; - } - }, - _bridge: { - value: null - }, - bridge: { - set: function (value) { - if (this._bridge !== value) { - this._bridge = value; - } - }, - get: function () { - return this._bridge; - } - }, - _command: { - value: null - }, - command: { - set: function (value) { - if (this._command !== value) { - this._command = value; - } - }, - get: function () { - return this._command; - } - }, - _environment: { - value: null - }, - environment: { - set: function (value) { - if (this._environment !== value) { - this._environment = value; - } - }, - get: function () { - return this._environment; - } - }, - _exec_ids: { - value: null - }, - exec_ids: { - set: function (value) { - if (this._exec_ids !== value) { - this._exec_ids = value; - } - }, - get: function () { - return this._exec_ids; - } - }, - _expose_ports: { - value: null - }, - expose_ports: { - set: function (value) { - if (this._expose_ports !== value) { - this._expose_ports = value; - } - }, - get: function () { - return this._expose_ports; - } - }, - _host: { - value: null - }, - host: { - set: function (value) { - if (this._host !== value) { - this._host = value; - } - }, - get: function () { - return this._host; - } - }, - _hostname: { - value: null - }, - hostname: { - set: function (value) { - if (this._hostname !== value) { - this._hostname = value; - } - }, - get: function () { - return this._hostname; - } - }, - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _image: { - value: null - }, - image: { - set: function (value) { - if (this._image !== value) { - this._image = value; - } - }, - get: function () { - return this._image; - } - }, - _interactive: { - value: null - }, - interactive: { - set: function (value) { - if (this._interactive !== value) { - this._interactive = value; - } - }, - get: function () { - return this._interactive; - } - }, - _memory_limit: { - value: null - }, - memory_limit: { - set: function (value) { - if (this._memory_limit !== value) { - this._memory_limit = value; - } - }, - get: function () { - return this._memory_limit; - } - }, - _names: { - value: null - }, - names: { - set: function (value) { - if (this._names !== value) { - this._names = value; - } - }, - get: function () { - return this._names; - } - }, - _parent_directory: { - value: null - }, - parent_directory: { - set: function (value) { - if (this._parent_directory !== value) { - this._parent_directory = value; - } - }, - get: function () { - return this._parent_directory; - } - }, - _ports: { - value: null - }, - ports: { - set: function (value) { - if (this._ports !== value) { - this._ports = value; - } - }, - get: function () { - return this._ports; - } - }, - _running: { - value: null - }, - running: { - set: function (value) { - if (this._running !== value) { - this._running = value; - } - }, - get: function () { - return this._running; - } - }, - _settings: { - value: null - }, - settings: { - set: function (value) { - if (this._settings !== value) { - this._settings = value; - } - }, - get: function () { - return this._settings; - } - }, - _status: { - value: null - }, - status: { - set: function (value) { - if (this._status !== value) { - this._status = value; - } - }, - get: function () { - return this._status; - } - }, - _version: { - value: null - }, - version: { - set: function (value) { - if (this._version !== value) { - this._version = value; - } - }, - get: function () { - return this._version; - } - }, - _volumes: { - value: null - }, - volumes: { - set: function (value) { - if (this._volumes !== value) { - this._volumes = value; - } - }, - get: function () { - return this._volumes; - } - }, - _web_ui_url: { - value: null - }, - web_ui_url: { - set: function (value) { - if (this._web_ui_url !== value) { - this._web_ui_url = value; - } - }, - get: function () { - return this._web_ui_url; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "autostart", - valueType: "boolean" - }, { - mandatory: false, - name: "bridge", - valueObjectPrototypeName: "DockerContainerBridge", - valueType: "object" - }, { - mandatory: false, - name: "command", - valueType: "array" - }, { - mandatory: false, - name: "environment", - valueType: "array" - }, { - mandatory: false, - name: "exec_ids", - valueType: "array" - }, { - mandatory: false, - name: "expose_ports", - valueType: "boolean" - }, { - mandatory: false, - name: "host", - valueType: "String" - }, { - mandatory: false, - name: "hostname", - valueType: "String" - }, { - mandatory: false, - name: "id", - valueType: "String" - }, { - mandatory: false, - name: "image", - valueType: "String" - }, { - mandatory: false, - name: "interactive", - valueType: "boolean" - }, { - mandatory: false, - name: "memory_limit", - valueType: "number" - }, { - mandatory: false, - name: "names", - valueType: "array" - }, { - mandatory: false, - name: "parent_directory", - valueType: "String" - }, { - mandatory: false, - name: "ports", - valueType: "array" - }, { - mandatory: false, - name: "running", - valueType: "boolean" - }, { - mandatory: false, - name: "settings", - valueType: "array" - }, { - mandatory: false, - name: "status", - valueType: "String" - }, { - mandatory: false, - name: "version", - valueType: "String" - }, { - mandatory: false, - name: "volumes", - valueObjectPrototypeName: "DockerVolume", - valueType: "array" - }, { - mandatory: false, - name: "web_ui_url", - valueType: "String" - }] - }, - userInterfaceDescriptor: { - value: { - inspectorComponentModule: { - id: 'ui/sections/containers/inspectors/container.reel' - }, - nameExpression: "id.defined() ? names.0 : 'Choose a collection'", - collectionNameExpression: "'Containers'", - creatorComponentModule: { - id: 'ui/sections/containers/controls/docker-collection-list.reel' - }, - statusColorMapping: { - "running": "green", - "stopped": "grey" - }, - statusValueExpression: "running ? 'running' : 'stopped'", - daoModuleId: "core/dao/docker-container-dao" - } - } -}); diff --git a/core/model/models/docker-host-status.js b/core/model/models/docker-host-status.js deleted file mode 100644 index 531ad2f9c6..0000000000 --- a/core/model/models/docker-host-status.js +++ /dev/null @@ -1,76 +0,0 @@ -var Montage = require("montage").Montage; - -exports.DockerHostStatus = Montage.specialize({ - _hostname: { - value: null - }, - hostname: { - set: function (value) { - if (this._hostname !== value) { - this._hostname = value; - } - }, - get: function () { - return this._hostname; - } - }, - _mem_total: { - value: null - }, - mem_total: { - set: function (value) { - if (this._mem_total !== value) { - this._mem_total = value; - } - }, - get: function () { - return this._mem_total; - } - }, - _os: { - value: null - }, - os: { - set: function (value) { - if (this._os !== value) { - this._os = value; - } - }, - get: function () { - return this._os; - } - }, - _unique_id: { - value: null - }, - unique_id: { - set: function (value) { - if (this._unique_id !== value) { - this._unique_id = value; - } - }, - get: function () { - return this._unique_id; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "hostname", - valueType: "String" - }, { - mandatory: false, - name: "mem_total", - valueType: "number" - }, { - mandatory: false, - name: "os", - valueType: "String" - }, { - mandatory: false, - name: "unique_id", - valueType: "String" - }] - } -}); diff --git a/core/model/models/docker-host.js b/core/model/models/docker-host.js deleted file mode 100644 index b5e78a3992..0000000000 --- a/core/model/models/docker-host.js +++ /dev/null @@ -1,130 +0,0 @@ -var Montage = require("montage").Montage; - -exports.DockerHost = Montage.specialize({ - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _name: { - value: null - }, - name: { - set: function (value) { - if (this._name !== value) { - this._name = value; - } - }, - get: function () { - return this._name; - } - }, - _target: { - value: null - }, - target: { - set: function (value) { - if (this._target !== value) { - this._target = value; - } - }, - get: function () { - return this._target; - } - }, - _config: { - value: null - }, - config: { - set: function (value) { - if (this._config !== value) { - this._config = value; - } - }, - get: function () { - return this._config; - } - }, - _state: { - value: null - }, - state: { - set: function (value) { - if (this._state !== value) { - this._state = value; - } - }, - get: function () { - return this._state; - } - }, - _status: { - value: null - }, - status: { - set: function (value) { - if (this._status !== value) { - this._status = value; - } - }, - get: function () { - return this._status; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "id", - valueType: "String" - }, { - mandatory: false, - name: "name", - valueType: "String" - }, { - mandatory: false, - name: "target", - valueType: "String" - }, { - mandatory: false, - name: "config", - valueType: "object" - }, { - mandatory: false, - name: "state", - valueObjectPrototypeName: "DockerHostState", - valueType: "object" - }, { - mandatory: false, - name: "status", - valueObjectPrototypeName: "DockerHostStatus", - valueType: "object" - }] - }, - userInterfaceDescriptor: { - value: { - nameExpression: "name", - collectionNameExpression: "'Docker Hosts'", - daoModuleId: "core/dao/docker-host-dao", - inspectorComponentModule: { - id: 'ui/sections/containers/inspectors/docker-host.reel' - }, - creatorComponentModule: { - id: 'ui/sections/containers/inspectors/docker-host.reel' - }, - statusColorMapping: { - "UP": "green", - "DOWN": "grey" - }, - statusValueExpression: "state" - } - } -}); diff --git a/core/model/models/docker-hub-image.js b/core/model/models/docker-hub-image.js deleted file mode 100644 index 32c53b2a3a..0000000000 --- a/core/model/models/docker-hub-image.js +++ /dev/null @@ -1,127 +0,0 @@ -var Montage = require("montage").Montage; - -exports.DockerHubImage = Montage.specialize({ - _description: { - value: null - }, - description: { - set: function (value) { - if (this._description !== value) { - this._description = value; - } - }, - get: function () { - return this._description; - } - }, - _icon: { - value: null - }, - icon: { - set: function (value) { - if (this._icon !== value) { - this._icon = value; - } - }, - get: function () { - return this._icon; - } - }, - _name: { - value: null - }, - name: { - set: function (value) { - if (this._name !== value) { - this._name = value; - } - }, - get: function () { - return this._name; - } - }, - _presets: { - value: null - }, - presets: { - set: function (value) { - if (this._presets !== value) { - this._presets = value; - } - }, - get: function () { - return this._presets; - } - }, - _pull_count: { - value: null - }, - pull_count: { - set: function (value) { - if (this._pull_count !== value) { - this._pull_count = value; - } - }, - get: function () { - return this._pull_count; - } - }, - _star_count: { - value: null - }, - star_count: { - set: function (value) { - if (this._star_count !== value) { - this._star_count = value; - } - }, - get: function () { - return this._star_count; - } - }, - _version: { - value: null - }, - version: { - set: function (value) { - if (this._version !== value) { - this._version = value; - } - }, - get: function () { - return this._version; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "description", - valueType: "String" - }, { - mandatory: false, - name: "icon", - valueType: "String" - }, { - mandatory: false, - name: "name", - valueType: "String" - }, { - mandatory: false, - name: "presets", - valueType: "object" - }, { - mandatory: false, - name: "pull_count", - valueType: "number" - }, { - mandatory: false, - name: "star_count", - valueType: "number" - }, { - mandatory: false, - name: "version", - valueType: "String" - }] - } -}); diff --git a/core/model/models/docker-image-pull.js b/core/model/models/docker-image-pull.js deleted file mode 100644 index c1c11439dc..0000000000 --- a/core/model/models/docker-image-pull.js +++ /dev/null @@ -1,12 +0,0 @@ -var Montage = require("montage").Montage; - -exports.DockerImagePull = Montage.specialize(null, { - userInterfaceDescriptor: { - value: { - nameExpression: "'Pull a Image'", - inspectorComponentModule: { - id: 'ui/sections/containers/inspectors/docker-image-pull.reel' - } - } - } -}); diff --git a/core/model/models/docker-image.js b/core/model/models/docker-image.js deleted file mode 100644 index 3f12788874..0000000000 --- a/core/model/models/docker-image.js +++ /dev/null @@ -1,141 +0,0 @@ -var Montage = require("montage").Montage; - -exports.DockerImage = Montage.specialize({ - _created_at: { - value: null - }, - created_at: { - set: function (value) { - if (this._created_at !== value) { - this._created_at = value; - } - }, - get: function () { - return this._created_at; - } - }, - _hosts: { - value: null - }, - hosts: { - set: function (value) { - if (this._hosts !== value) { - this._hosts = value; - } - }, - get: function () { - return this._hosts; - } - }, - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _names: { - value: null - }, - names: { - set: function (value) { - if (this._names !== value) { - this._names = value; - } - }, - get: function () { - return this._names; - } - }, - _presets: { - value: null - }, - presets: { - set: function (value) { - if (this._presets !== value) { - this._presets = value; - } - }, - get: function () { - return this._presets; - } - }, - _size: { - value: null - }, - size: { - set: function (value) { - if (this._size !== value) { - this._size = value; - } - }, - get: function () { - return this._size; - } - }, - _version: { - value: null - }, - version: { - set: function (value) { - if (this._version !== value) { - this._version = value; - } - }, - get: function () { - return this._version; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "created_at", - valueType: "String" - }, { - mandatory: false, - name: "hosts", - valueType: "array" - }, { - mandatory: false, - name: "id", - valueType: "String" - }, { - mandatory: false, - name: "names", - valueType: "array" - }, { - mandatory: false, - name: "presets", - valueType: "object" - }, { - mandatory: false, - name: "size", - valueType: "number" - }, { - mandatory: false, - name: "version", - valueType: "String" - }] - }, - userInterfaceDescriptor: { - value: { - nameExpression: "names.defined() ? names.join(' ') : 'Choose a collection'", - collectionNameExpression: "'Images'", - daoModuleId: "core/dao/docker-image-dao", - inspectorComponentModule: { - id: 'ui/sections/containers/inspectors/docker-image.reel' - }, - creatorComponentModule: { - id: 'ui/sections/containers/controls/docker-collection-list.reel' - }, - createLabel: "Pull" - } - } -}); diff --git a/core/model/models/docker-volume.js b/core/model/models/docker-volume.js deleted file mode 100644 index 570327f511..0000000000 --- a/core/model/models/docker-volume.js +++ /dev/null @@ -1,77 +0,0 @@ -var Montage = require("montage").Montage; - -exports.DockerVolume = Montage.specialize({ - _container_path: { - value: null - }, - container_path: { - set: function (value) { - if (this._container_path !== value) { - this._container_path = value; - } - }, - get: function () { - return this._container_path; - } - }, - _host_path: { - value: null - }, - host_path: { - set: function (value) { - if (this._host_path !== value) { - this._host_path = value; - } - }, - get: function () { - return this._host_path; - } - }, - _readonly: { - value: null - }, - readonly: { - set: function (value) { - if (this._readonly !== value) { - this._readonly = value; - } - }, - get: function () { - return this._readonly; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "container_path", - valueType: "String" - }, { - mandatory: false, - name: "host_path", - valueType: "String" - }, { - mandatory: false, - name: "readonly", - valueType: "boolean" - }, { - mandatory: false, - name: "source", - valueObjectPrototypeName: "DockerVolumeHostPathSource", - valueType: "object" - }] - } -}); diff --git a/core/model/models/enclosure.js b/core/model/models/enclosure.js deleted file mode 100644 index e0e6057c94..0000000000 --- a/core/model/models/enclosure.js +++ /dev/null @@ -1,94 +0,0 @@ -var Montage = require("montage").Montage; - -exports.Enclosure = Montage.specialize({ - _description: { - value: null - }, - description: { - set: function (value) { - if (this._description !== value) { - this._description = value; - } - }, - get: function () { - return this._description; - } - }, - _devices: { - value: null - }, - devices: { - set: function (value) { - if (this._devices !== value) { - this._devices = value; - } - }, - get: function () { - return this._devices; - } - }, - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _name: { - value: null - }, - name: { - set: function (value) { - if (this._name !== value) { - this._name = value; - } - }, - get: function () { - return this._name; - } - }, - _status: { - value: null - }, - status: { - set: function (value) { - if (this._status !== value) { - this._status = value; - } - }, - get: function () { - return this._status; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "description", - valueType: "String" - }, { - mandatory: false, - name: "devices", - valueType: "array" - }, { - mandatory: false, - name: "id", - valueType: "String" - }, { - mandatory: false, - name: "name", - valueType: "String" - }, { - mandatory: false, - name: "status", - valueObjectPrototypeName: "EnclosureStatus", - valueType: "array" - }] - } -}); diff --git a/core/model/models/encrypt-replication-transport-option.js b/core/model/models/encrypt-replication-transport-option.js deleted file mode 100644 index 95a1510221..0000000000 --- a/core/model/models/encrypt-replication-transport-option.js +++ /dev/null @@ -1,42 +0,0 @@ -var Montage = require("montage").Montage; - -exports.EncryptReplicationTransportOption = Montage.specialize({ - "_%type": { - value: null - }, - "%type": { - set: function (value) { - if (this["_%type"] !== value) { - this["_%type"] = value; - } - }, - get: function () { - return this["_%type"]; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "%type" - }, { - mandatory: false, - name: "type", - valueObjectPrototypeName: "EncryptPluginType", - valueType: "object" - }] - } -}); diff --git a/core/model/models/encrypt-replication-transport-plugin.js b/core/model/models/encrypt-replication-transport-plugin.js deleted file mode 100644 index 7694031040..0000000000 --- a/core/model/models/encrypt-replication-transport-plugin.js +++ /dev/null @@ -1,144 +0,0 @@ -var Montage = require("montage").Montage; - -exports.EncryptReplicationTransportPlugin = Montage.specialize({ - "_%type": { - value: null - }, - "%type": { - set: function (value) { - if (this["_%type"] !== value) { - this["_%type"] = value; - } - }, - get: function () { - return this["_%type"]; - } - }, - _auth_token: { - value: null - }, - auth_token: { - set: function (value) { - if (this._auth_token !== value) { - this._auth_token = value; - } - }, - get: function () { - return this._auth_token; - } - }, - _buffer_size: { - value: null - }, - buffer_size: { - set: function (value) { - if (this._buffer_size !== value) { - this._buffer_size = value; - } - }, - get: function () { - return this._buffer_size; - } - }, - _read_fd: { - value: null - }, - read_fd: { - set: function (value) { - if (this._read_fd !== value) { - this._read_fd = value; - } - }, - get: function () { - return this._read_fd; - } - }, - _remote: { - value: null - }, - remote: { - set: function (value) { - if (this._remote !== value) { - this._remote = value; - } - }, - get: function () { - return this._remote; - } - }, - _renewal_interval: { - value: null - }, - renewal_interval: { - set: function (value) { - if (this._renewal_interval !== value) { - this._renewal_interval = value; - } - }, - get: function () { - return this._renewal_interval; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - }, - _write_fd: { - value: null - }, - write_fd: { - set: function (value) { - if (this._write_fd !== value) { - this._write_fd = value; - } - }, - get: function () { - return this._write_fd; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "%type" - }, { - mandatory: false, - name: "auth_token", - valueType: "String" - }, { - mandatory: false, - name: "buffer_size", - valueType: "number" - }, { - mandatory: false, - name: "read_fd", - valueType: "fd" - }, { - mandatory: false, - name: "remote", - valueType: "String" - }, { - mandatory: false, - name: "renewal_interval", - valueType: "number" - }, { - mandatory: false, - name: "type", - valueObjectPrototypeName: "EncryptPluginType", - valueType: "object" - }, { - mandatory: false, - name: "write_fd", - valueType: "fd" - }] - } -}); diff --git a/core/model/models/encrypted-volume-actions.js b/core/model/models/encrypted-volume-actions.js deleted file mode 100644 index b91c4bdb03..0000000000 --- a/core/model/models/encrypted-volume-actions.js +++ /dev/null @@ -1,12 +0,0 @@ -var Montage = require("montage").Montage; - -exports.EncryptedVolumeActions = Montage.specialize(null, { - userInterfaceDescriptor: { - value: { - inspectorComponentModule: { - id: 'ui/sections/storage/inspectors/encrypted-volume-actions.reel' - }, - nameExpression: "'Encrypted Actions'" - } - } -}); diff --git a/core/model/models/encrypted-volume-importer.js b/core/model/models/encrypted-volume-importer.js deleted file mode 100644 index df4c44218d..0000000000 --- a/core/model/models/encrypted-volume-importer.js +++ /dev/null @@ -1,48 +0,0 @@ -var Montage = require("montage").Montage; - -exports.EncryptedVolumeImporter = Montage.specialize({ - _key: { - value: null - }, - key: { - set: function (value) { - if (this._key !== value) { - this._key = value; - } - }, - get: function () { - return this._key; - } - }, - _disks: { - value: null - }, - disks: { - set: function (value) { - if (this._disks !== value) { - this._disks = value; - } - }, - get: function () { - return this._disks; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "key" - }, { - mandatory: false, - name: "disks" - }] - }, - userInterfaceDescriptor: { - value: { - inspectorComponentModule: { - id: 'ui/sections/storage/inspectors/encrypted-volume-importer.reel' - }, - nameExpression: "'Import an encrypted volume'" - } - } -}); diff --git a/core/model/models/error.js b/core/model/models/error.js deleted file mode 100644 index 925757df92..0000000000 --- a/core/model/models/error.js +++ /dev/null @@ -1,94 +0,0 @@ -var Montage = require("montage").Montage; - -exports.Error = Montage.specialize({ - _code: { - value: null - }, - code: { - set: function (value) { - if (this._code !== value) { - this._code = value; - } - }, - get: function () { - return this._code; - } - }, - _extra: { - value: null - }, - extra: { - set: function (value) { - if (this._extra !== value) { - this._extra = value; - } - }, - get: function () { - return this._extra; - } - }, - _message: { - value: null - }, - message: { - set: function (value) { - if (this._message !== value) { - this._message = value; - } - }, - get: function () { - return this._message; - } - }, - _stacktrace: { - value: null - }, - stacktrace: { - set: function (value) { - if (this._stacktrace !== value) { - this._stacktrace = value; - } - }, - get: function () { - return this._stacktrace; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "code", - valueType: "number" - }, { - mandatory: false, - name: "extra", - valueObjectPrototypeName: "ValidationError", - valueType: "object" - }, { - mandatory: false, - name: "message", - valueType: "String" - }, { - mandatory: false, - name: "stacktrace", - valueType: "String" - }, { - mandatory: false, - name: "type", - valueType: "String" - }] - } -}); diff --git a/core/model/models/file-index.js b/core/model/models/file-index.js deleted file mode 100644 index 73851bf0d9..0000000000 --- a/core/model/models/file-index.js +++ /dev/null @@ -1,179 +0,0 @@ -var Montage = require("montage").Montage; - -exports.FileIndex = Montage.specialize({ - _atime: { - value: null - }, - atime: { - set: function (value) { - if (this._atime !== value) { - this._atime = value; - } - }, - get: function () { - return this._atime; - } - }, - _ctime: { - value: null - }, - ctime: { - set: function (value) { - if (this._ctime !== value) { - this._ctime = value; - } - }, - get: function () { - return this._ctime; - } - }, - _gid: { - value: null - }, - gid: { - set: function (value) { - if (this._gid !== value) { - this._gid = value; - } - }, - get: function () { - return this._gid; - } - }, - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _mtime: { - value: null - }, - mtime: { - set: function (value) { - if (this._mtime !== value) { - this._mtime = value; - } - }, - get: function () { - return this._mtime; - } - }, - _permissions: { - value: null - }, - permissions: { - set: function (value) { - if (this._permissions !== value) { - this._permissions = value; - } - }, - get: function () { - return this._permissions; - } - }, - _size: { - value: null - }, - size: { - set: function (value) { - if (this._size !== value) { - this._size = value; - } - }, - get: function () { - return this._size; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - }, - _uid: { - value: null - }, - uid: { - set: function (value) { - if (this._uid !== value) { - this._uid = value; - } - }, - get: function () { - return this._uid; - } - }, - _volume: { - value: null - }, - volume: { - set: function (value) { - if (this._volume !== value) { - this._volume = value; - } - }, - get: function () { - return this._volume; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "atime", - valueType: "datetime" - }, { - mandatory: false, - name: "ctime", - valueType: "datetime" - }, { - mandatory: false, - name: "gid", - valueType: "number" - }, { - mandatory: false, - name: "id", - valueType: "String" - }, { - mandatory: false, - name: "mtime", - valueType: "datetime" - }, { - mandatory: false, - name: "permissions", - valueObjectPrototypeName: "Permissions", - valueType: "object" - }, { - mandatory: false, - name: "size", - valueType: "number" - }, { - mandatory: false, - name: "type", - valueType: "String" - }, { - mandatory: false, - name: "uid", - valueType: "number" - }, { - mandatory: false, - name: "volume", - valueType: "String" - }] - } -}); diff --git a/core/model/models/freeipa-directory-params.js b/core/model/models/freeipa-directory-params.js deleted file mode 100644 index 35f66b3a43..0000000000 --- a/core/model/models/freeipa-directory-params.js +++ /dev/null @@ -1,194 +0,0 @@ -var Montage = require("montage").Montage; - -exports.FreeipaDirectoryParams = Montage.specialize({ - "_%type": { - value: null - }, - "%type": { - set: function (value) { - if (this["_%type"] !== value) { - this["_%type"] = value; - } - }, - get: function () { - return this["_%type"]; - } - }, - _certificate: { - value: null - }, - certificate: { - set: function (value) { - if (this._certificate !== value) { - this._certificate = value; - } - }, - get: function () { - return this._certificate; - } - }, - _encryption: { - value: null - }, - encryption: { - set: function (value) { - if (this._encryption !== value) { - this._encryption = value; - } - }, - get: function () { - return this._encryption; - } - }, - _group_suffix: { - value: null - }, - group_suffix: { - set: function (value) { - if (this._group_suffix !== value) { - this._group_suffix = value; - } - }, - get: function () { - return this._group_suffix; - } - }, - _kdc: { - value: null - }, - kdc: { - set: function (value) { - if (this._kdc !== value) { - this._kdc = value; - } - }, - get: function () { - return this._kdc; - } - }, - _krb_principal: { - value: null - }, - krb_principal: { - set: function (value) { - if (this._krb_principal !== value) { - this._krb_principal = value; - } - }, - get: function () { - return this._krb_principal; - } - }, - _password: { - value: null - }, - password: { - set: function (value) { - if (this._password !== value) { - this._password = value; - } - }, - get: function () { - return this._password; - } - }, - _realm: { - value: null - }, - realm: { - set: function (value) { - if (this._realm !== value) { - this._realm = value; - } - }, - get: function () { - return this._realm; - } - }, - _server: { - value: null - }, - server: { - set: function (value) { - if (this._server !== value) { - this._server = value; - } - }, - get: function () { - return this._server; - } - }, - _user_suffix: { - value: null - }, - user_suffix: { - set: function (value) { - if (this._user_suffix !== value) { - this._user_suffix = value; - } - }, - get: function () { - return this._user_suffix; - } - }, - _username: { - value: null - }, - username: { - set: function (value) { - if (this._username !== value) { - this._username = value; - } - }, - get: function () { - return this._username; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "%type" - }, { - mandatory: false, - name: "certificate", - valueType: "String" - }, { - mandatory: false, - name: "encryption", - valueType: "String" - }, { - mandatory: false, - name: "group_suffix", - valueType: "String" - }, { - mandatory: false, - name: "kdc", - valueType: "String" - }, { - mandatory: false, - name: "krb_principal", - valueType: "String" - }, { - mandatory: false, - name: "password", - valueType: "String" - }, { - mandatory: false, - name: "realm", - valueType: "String" - }, { - mandatory: false, - name: "server", - valueType: "String" - }, { - mandatory: false, - name: "user_suffix", - valueType: "String" - }, { - mandatory: false, - name: "username", - valueType: "String" - }] - } -}); diff --git a/core/model/models/freenas-credentials.js b/core/model/models/freenas-credentials.js deleted file mode 100644 index bfb0cff035..0000000000 --- a/core/model/models/freenas-credentials.js +++ /dev/null @@ -1,92 +0,0 @@ -var Montage = require("montage").Montage; - -exports.FreenasCredentials = Montage.specialize({ - "_%type": { - value: null - }, - "%type": { - set: function (value) { - if (this["_%type"] !== value) { - this["_%type"] = value; - } - }, - get: function () { - return this["_%type"]; - } - }, - _address: { - value: null - }, - address: { - set: function (value) { - if (this._address !== value) { - this._address = value; - } - }, - get: function () { - return this._address; - } - }, - _hostkey: { - value: null - }, - hostkey: { - set: function (value) { - if (this._hostkey !== value) { - this._hostkey = value; - } - }, - get: function () { - return this._hostkey; - } - }, - _port: { - value: null - }, - port: { - set: function (value) { - if (this._port !== value) { - this._port = value; - } - }, - get: function () { - return this._port; - } - }, - _pubkey: { - value: null - }, - pubkey: { - set: function (value) { - if (this._pubkey !== value) { - this._pubkey = value; - } - }, - get: function () { - return this._pubkey; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "%type" - }, { - mandatory: false, - name: "address", - valueType: "String" - }, { - mandatory: false, - name: "hostkey", - valueType: "String" - }, { - mandatory: false, - name: "port", - valueType: "number" - }, { - mandatory: false, - name: "pubkey", - valueType: "String" - }] - } -}); diff --git a/core/model/models/freenas-initial-credentials.js b/core/model/models/freenas-initial-credentials.js deleted file mode 100644 index 33a1df86c4..0000000000 --- a/core/model/models/freenas-initial-credentials.js +++ /dev/null @@ -1,92 +0,0 @@ -var Montage = require("montage").Montage; - -exports.FreenasInitialCredentials = Montage.specialize({ - "_%type": { - value: null - }, - "%type": { - set: function (value) { - if (this["_%type"] !== value) { - this["_%type"] = value; - } - }, - get: function () { - return this["_%type"]; - } - }, - _auth_code: { - value: null - }, - auth_code: { - set: function (value) { - if (this._auth_code !== value) { - this._auth_code = value; - } - }, - get: function () { - return this._auth_code; - } - }, - _key_auth: { - value: null - }, - key_auth: { - set: function (value) { - if (this._key_auth !== value) { - this._key_auth = value; - } - }, - get: function () { - return this._key_auth; - } - }, - _password: { - value: null - }, - password: { - set: function (value) { - if (this._password !== value) { - this._password = value; - } - }, - get: function () { - return this._password; - } - }, - _username: { - value: null - }, - username: { - set: function (value) { - if (this._username !== value) { - this._username = value; - } - }, - get: function () { - return this._username; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "%type" - }, { - mandatory: false, - name: "auth_code", - valueType: "number" - }, { - mandatory: false, - name: "key_auth", - valueType: "boolean" - }, { - mandatory: false, - name: "password", - valueType: "String" - }, { - mandatory: false, - name: "username", - valueType: "String" - }] - } -}); diff --git a/core/model/models/get-stats-params.js b/core/model/models/get-stats-params.js deleted file mode 100644 index 1fe01dc6b2..0000000000 --- a/core/model/models/get-stats-params.js +++ /dev/null @@ -1,76 +0,0 @@ -var Montage = require("montage").Montage; - -exports.GetStatsParams = Montage.specialize({ - _end: { - value: null - }, - end: { - set: function (value) { - if (this._end !== value) { - this._end = value; - } - }, - get: function () { - return this._end; - } - }, - _frequency: { - value: null - }, - frequency: { - set: function (value) { - if (this._frequency !== value) { - this._frequency = value; - } - }, - get: function () { - return this._frequency; - } - }, - _start: { - value: null - }, - start: { - set: function (value) { - if (this._start !== value) { - this._start = value; - } - }, - get: function () { - return this._start; - } - }, - _timespan: { - value: null - }, - timespan: { - set: function (value) { - if (this._timespan !== value) { - this._timespan = value; - } - }, - get: function () { - return this._timespan; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "end", - valueType: "datetime" - }, { - mandatory: false, - name: "frequency", - valueType: "String" - }, { - mandatory: false, - name: "start", - valueType: "datetime" - }, { - mandatory: false, - name: "timespan", - valueType: "number" - }] - } -}); diff --git a/core/model/models/get-stats-result.js b/core/model/models/get-stats-result.js deleted file mode 100644 index bd56f819cb..0000000000 --- a/core/model/models/get-stats-result.js +++ /dev/null @@ -1,25 +0,0 @@ -var Montage = require("montage").Montage; - -exports.GetStatsResult = Montage.specialize({ - _data: { - value: null - }, - data: { - set: function (value) { - if (this._data !== value) { - this._data = value; - } - }, - get: function () { - return this._data; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "data", - valueType: "array" - }] - } -}); diff --git a/core/model/models/group-origin-anonymous.js b/core/model/models/group-origin-anonymous.js deleted file mode 100644 index 5a45606e0b..0000000000 --- a/core/model/models/group-origin-anonymous.js +++ /dev/null @@ -1,76 +0,0 @@ -var Montage = require("montage").Montage; - -exports.GroupOriginAnonymous = Montage.specialize({ - _cached_at: { - value: null - }, - cached_at: { - set: function (value) { - if (this._cached_at !== value) { - this._cached_at = value; - } - }, - get: function () { - return this._cached_at; - } - }, - _directory: { - value: null - }, - directory: { - set: function (value) { - if (this._directory !== value) { - this._directory = value; - } - }, - get: function () { - return this._directory; - } - }, - _read_only: { - value: null - }, - read_only: { - set: function (value) { - if (this._read_only !== value) { - this._read_only = value; - } - }, - get: function () { - return this._read_only; - } - }, - _ttl: { - value: null - }, - ttl: { - set: function (value) { - if (this._ttl !== value) { - this._ttl = value; - } - }, - get: function () { - return this._ttl; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "cached_at", - valueType: "datetime" - }, { - mandatory: false, - name: "directory", - valueType: "String" - }, { - mandatory: false, - name: "read_only", - valueType: "boolean" - }, { - mandatory: false, - name: "ttl", - valueType: "number" - }] - } -}); diff --git a/core/model/models/group.js b/core/model/models/group.js deleted file mode 100644 index 9c52bcc30f..0000000000 --- a/core/model/models/group.js +++ /dev/null @@ -1,169 +0,0 @@ -var Montage = require("montage").Montage; - -exports.Group = Montage.specialize({ - _builtin: { - value: null - }, - builtin: { - set: function (value) { - if (this._builtin !== value) { - this._builtin = value; - } - }, - get: function () { - return this._builtin; - } - }, - _gid: { - value: null - }, - gid: { - set: function (value) { - if (this._gid !== value) { - this._gid = value; - } - }, - get: function () { - return this._gid; - } - }, - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _members: { - value: null - }, - members: { - set: function (value) { - if (this._members !== value) { - this._members = value; - } - }, - get: function () { - return this._members; - } - }, - _name: { - value: null - }, - name: { - set: function (value) { - if (this._name !== value) { - this._name = value; - } - }, - get: function () { - return this._name; - } - }, - _origin: { - value: null - }, - origin: { - set: function (value) { - if (this._origin !== value) { - this._origin = value; - } - }, - get: function () { - return this._origin; - } - }, - _sid: { - value: null - }, - sid: { - set: function (value) { - if (this._sid !== value) { - this._sid = value; - } - }, - get: function () { - return this._sid; - } - }, - _sudo: { - value: null - }, - sudo: { - set: function (value) { - if (this._sudo !== value) { - this._sudo = value; - } - }, - get: function () { - return this._sudo; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "builtin", - readOnly: true, - valueType: "boolean" - }, { - mandatory: false, - name: "gid", - valueType: "number" - }, { - mandatory: false, - name: "id", - valueType: "String" - }, { - mandatory: false, - name: "members", - readOnly: true, - valueType: "array" - }, { - mandatory: false, - name: "name", - valueType: "String" - }, { - mandatory: false, - name: "origin", - valueType: "object" - }, { - mandatory: false, - name: "sid", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "sudo", - valueType: "boolean" - }] - }, - userInterfaceDescriptor: { - value: { - inspectorComponentModule: { - id: 'ui/sections/accounts/inspectors/group.reel' - }, - iconComponentModule: { - id: 'ui/icons/group.reel' - }, - collectionInspectorComponentModule: { - id: 'ui/controls/viewer.reel' - }, - nameExpression: "id.defined() ? name : 'Create a group'", - collectionNameExpression: "'Groups'", - creatorComponentModule: { - id: 'ui/sections/accounts/inspectors/group.reel' - }, - listControlsComponentModule: { - id: 'ui/sections/accounts/inspectors/accounts-list-options.reel' - }, - subLabelExpression: "origin.domain" - } - } -}); diff --git a/core/model/models/importable-disk.js b/core/model/models/importable-disk.js deleted file mode 100644 index 696e2251a9..0000000000 --- a/core/model/models/importable-disk.js +++ /dev/null @@ -1,76 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ImportableDisk = Montage.specialize({ - _fstype: { - value: null - }, - fstype: { - set: function (value) { - if (this._fstype !== value) { - this._fstype = value; - } - }, - get: function () { - return this._fstype; - } - }, - _label: { - value: null - }, - label: { - set: function (value) { - if (this._label !== value) { - this._label = value; - } - }, - get: function () { - return this._label; - } - }, - _path: { - value: null - }, - path: { - set: function (value) { - if (this._path !== value) { - this._path = value; - } - }, - get: function () { - return this._path; - } - }, - _size: { - value: null - }, - size: { - set: function (value) { - if (this._size !== value) { - this._size = value; - } - }, - get: function () { - return this._size; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "fstype", - valueType: "String" - }, { - mandatory: false, - name: "label", - valueType: "String" - }, { - mandatory: false, - name: "path", - valueType: "String" - }, { - mandatory: false, - name: "size", - valueType: "number" - }] - } -}); diff --git a/core/model/models/ipfs-info.js b/core/model/models/ipfs-info.js deleted file mode 100644 index c3a6b11f43..0000000000 --- a/core/model/models/ipfs-info.js +++ /dev/null @@ -1,93 +0,0 @@ -var Montage = require("montage").Montage; - -exports.IpfsInfo = Montage.specialize({ - _Addresses: { - value: null - }, - Addresses: { - set: function (value) { - if (this._Addresses !== value) { - this._Addresses = value; - } - }, - get: function () { - return this._Addresses; - } - }, - _AgentVersion: { - value: null - }, - AgentVersion: { - set: function (value) { - if (this._AgentVersion !== value) { - this._AgentVersion = value; - } - }, - get: function () { - return this._AgentVersion; - } - }, - _ID: { - value: null - }, - ID: { - set: function (value) { - if (this._ID !== value) { - this._ID = value; - } - }, - get: function () { - return this._ID; - } - }, - _ProtocolVersion: { - value: null - }, - ProtocolVersion: { - set: function (value) { - if (this._ProtocolVersion !== value) { - this._ProtocolVersion = value; - } - }, - get: function () { - return this._ProtocolVersion; - } - }, - _PublicKey: { - value: null - }, - PublicKey: { - set: function (value) { - if (this._PublicKey !== value) { - this._PublicKey = value; - } - }, - get: function () { - return this._PublicKey; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "Addresses", - valueType: "array" - }, { - mandatory: false, - name: "AgentVersion", - valueType: "String" - }, { - mandatory: false, - name: "ID", - valueType: "String" - }, { - mandatory: false, - name: "ProtocolVersion", - valueType: "String" - }, { - mandatory: false, - name: "PublicKey", - valueType: "String" - }] - } -}); diff --git a/core/model/models/ipmi.js b/core/model/models/ipmi.js deleted file mode 100644 index 523ad97925..0000000000 --- a/core/model/models/ipmi.js +++ /dev/null @@ -1,136 +0,0 @@ -var Montage = require("montage").Montage; - -exports.Ipmi = Montage.specialize({ - _address: { - value: null - }, - address: { - set: function (value) { - if (this._address !== value) { - this._address = value; - } - }, - get: function () { - return this._address; - } - }, - _dhcp: { - value: null - }, - dhcp: { - set: function (value) { - if (this._dhcp !== value) { - this._dhcp = value; - } - }, - get: function () { - return this._dhcp; - } - }, - _gateway: { - value: null - }, - gateway: { - set: function (value) { - if (this._gateway !== value) { - this._gateway = value; - } - }, - get: function () { - return this._gateway; - } - }, - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _netmask: { - value: null - }, - netmask: { - set: function (value) { - if (this._netmask !== value) { - this._netmask = value; - } - }, - get: function () { - return this._netmask; - } - }, - _password: { - value: null - }, - password: { - set: function (value) { - if (this._password !== value) { - this._password = value; - } - }, - get: function () { - return this._password; - } - }, - _vlan_id: { - value: null - }, - vlan_id: { - set: function (value) { - if (this._vlan_id !== value) { - this._vlan_id = value; - } - }, - get: function () { - return this._vlan_id; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "address", - valueObjectPrototypeName: "Ipv4Address", - valueType: "object" - }, { - mandatory: false, - name: "dhcp", - valueType: "boolean" - }, { - mandatory: false, - name: "gateway" - }, { - mandatory: false, - name: "id", - valueType: "number" - }, { - mandatory: false, - name: "netmask", - valueType: "number" - }, { - mandatory: false, - name: "password", - valueType: "String" - }, { - mandatory: false, - name: "vlan_id", - valueType: "number" - }] - }, - userInterfaceDescriptor: { - value: { - collectionNameExpression: "'IPMI'", - inspectorComponentModule: { - id: 'ui/sections/network/inspectors/ipmi.reel' - }, - nameExpression: "'IPMI Channel ' + id" - } - } -}); diff --git a/core/model/models/kerberos-keytab-entry.js b/core/model/models/kerberos-keytab-entry.js deleted file mode 100644 index 7559fa4d94..0000000000 --- a/core/model/models/kerberos-keytab-entry.js +++ /dev/null @@ -1,59 +0,0 @@ -var Montage = require("montage").Montage; - -exports.KerberosKeytabEntry = Montage.specialize({ - _enctype: { - value: null - }, - enctype: { - set: function (value) { - if (this._enctype !== value) { - this._enctype = value; - } - }, - get: function () { - return this._enctype; - } - }, - _principal: { - value: null - }, - principal: { - set: function (value) { - if (this._principal !== value) { - this._principal = value; - } - }, - get: function () { - return this._principal; - } - }, - _vno: { - value: null - }, - vno: { - set: function (value) { - if (this._vno !== value) { - this._vno = value; - } - }, - get: function () { - return this._vno; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "enctype", - valueType: "String" - }, { - mandatory: false, - name: "principal", - valueType: "String" - }, { - mandatory: false, - name: "vno", - valueType: "number" - }] - } -}); diff --git a/core/model/models/kerberos-keytab.js b/core/model/models/kerberos-keytab.js deleted file mode 100644 index bc5ad69f04..0000000000 --- a/core/model/models/kerberos-keytab.js +++ /dev/null @@ -1,90 +0,0 @@ -var Montage = require("montage").Montage; - -exports.KerberosKeytab = Montage.specialize({ - _entries: { - value: null - }, - entries: { - set: function (value) { - if (this._entries !== value) { - this._entries = value; - } - }, - get: function () { - return this._entries; - } - }, - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _keytab: { - value: null - }, - keytab: { - set: function (value) { - if (this._keytab !== value) { - this._keytab = value; - } - }, - get: function () { - return this._keytab; - } - }, - _name: { - value: null - }, - name: { - set: function (value) { - if (this._name !== value) { - this._name = value; - } - }, - get: function () { - return this._name; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "entries", - valueObjectPrototypeName: "KerberosKeytabEntry", - valueType: "array" - }, { - mandatory: false, - name: "id", - valueType: "String" - }, { - mandatory: false, - name: "keytab", - valueType: "binary" - }, { - mandatory: false, - name: "name", - valueType: "String" - }] - }, - userInterfaceDescriptor: { - value: { - nameExpression: "name", - inspectorComponentModule: { - id: 'ui/sections/accounts/inspectors/kerberos-keytab.reel' - }, - creatorComponentModule: { - id: 'ui/sections/accounts/inspectors/kerberos-keytab.reel' - }, - collectionNameExpression: "'Kerberos Tabs'", - daoModuleId: "core/dao/kerberos-keytab-dao" - } - } -}); diff --git a/core/model/models/kerberos-realm.js b/core/model/models/kerberos-realm.js deleted file mode 100644 index b8e74ef9e8..0000000000 --- a/core/model/models/kerberos-realm.js +++ /dev/null @@ -1,106 +0,0 @@ -var Montage = require("montage").Montage; - -exports.KerberosRealm = Montage.specialize({ - _admin_server_address: { - value: null - }, - admin_server_address: { - set: function (value) { - if (this._admin_server_address !== value) { - this._admin_server_address = value; - } - }, - get: function () { - return this._admin_server_address; - } - }, - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _kdc_address: { - value: null - }, - kdc_address: { - set: function (value) { - if (this._kdc_address !== value) { - this._kdc_address = value; - } - }, - get: function () { - return this._kdc_address; - } - }, - _password_server_address: { - value: null - }, - password_server_address: { - set: function (value) { - if (this._password_server_address !== value) { - this._password_server_address = value; - } - }, - get: function () { - return this._password_server_address; - } - }, - _realm: { - value: null - }, - realm: { - set: function (value) { - if (this._realm !== value) { - this._realm = value; - } - }, - get: function () { - return this._realm; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "admin_server_address", - valueType: "String" - }, { - mandatory: false, - name: "id", - valueType: "String" - }, { - mandatory: false, - name: "kdc_address", - valueType: "String" - }, { - mandatory: false, - name: "password_server_address", - valueType: "String" - }, { - mandatory: false, - name: "realm", - valueType: "String" - }] - }, - userInterfaceDescriptor: { - value: { - inspectorComponentModule: { - id: 'ui/sections/accounts/inspectors/kerberos-realm.reel' - }, - creatorComponentModule: { - id: 'ui/sections/accounts/inspectors/kerberos-realm.reel' - }, - nameExpression: "realm", - collectionNameExpression: "'Kerberos Realms'", - daoModuleId: "core/dao/kerberos-realm-dao" - } - } -}); diff --git a/core/model/models/ldap-directory-params.js b/core/model/models/ldap-directory-params.js deleted file mode 100644 index 2a4e6e501c..0000000000 --- a/core/model/models/ldap-directory-params.js +++ /dev/null @@ -1,195 +0,0 @@ -var Montage = require("montage").Montage; - -exports.LdapDirectoryParams = Montage.specialize({ - "_%type": { - value: null - }, - "%type": { - set: function (value) { - if (this["_%type"] !== value) { - this["_%type"] = value; - } - }, - get: function () { - return this["_%type"]; - } - }, - _base_dn: { - value: null - }, - base_dn: { - set: function (value) { - if (this._base_dn !== value) { - this._base_dn = value; - } - }, - get: function () { - return this._base_dn; - } - }, - _bind_dn: { - value: null - }, - bind_dn: { - set: function (value) { - if (this._bind_dn !== value) { - this._bind_dn = value; - } - }, - get: function () { - return this._bind_dn; - } - }, - _certificate: { - value: null - }, - certificate: { - set: function (value) { - if (this._certificate !== value) { - this._certificate = value; - } - }, - get: function () { - return this._certificate; - } - }, - _encryption: { - value: null - }, - encryption: { - set: function (value) { - if (this._encryption !== value) { - this._encryption = value; - } - }, - get: function () { - return this._encryption; - } - }, - _group_suffix: { - value: null - }, - group_suffix: { - set: function (value) { - if (this._group_suffix !== value) { - this._group_suffix = value; - } - }, - get: function () { - return this._group_suffix; - } - }, - _krb_principal: { - value: null - }, - krb_principal: { - set: function (value) { - if (this._krb_principal !== value) { - this._krb_principal = value; - } - }, - get: function () { - return this._krb_principal; - } - }, - _password: { - value: null - }, - password: { - set: function (value) { - if (this._password !== value) { - this._password = value; - } - }, - get: function () { - return this._password; - } - }, - _server: { - value: null - }, - server: { - set: function (value) { - if (this._server !== value) { - this._server = value; - } - }, - get: function () { - return this._server; - } - }, - _user_suffix: { - value: null - }, - user_suffix: { - set: function (value) { - if (this._user_suffix !== value) { - this._user_suffix = value; - } - }, - get: function () { - return this._user_suffix; - } - }, - _verify_certificate: { - value: null - }, - verify_certificate: { - set: function (value) { - if (this._verify_certificate !== value) { - this._verify_certificate = value; - } - }, - get: function () { - return this._verify_certificate; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "%type" - }, { - mandatory: false, - name: "base_dn", - valueType: "String" - }, { - mandatory: false, - name: "bind_dn", - valueType: "String" - }, { - mandatory: false, - name: "certificate", - valueType: "String" - }, { - mandatory: false, - name: "encryption", - valueObjectPrototypeName: "LdapDirectoryParamsEncryption", - valueType: "object" - }, { - mandatory: false, - name: "group_suffix", - valueType: "String" - }, { - mandatory: false, - name: "krb_principal", - valueType: "String" - }, { - mandatory: false, - name: "password", - valueType: "String" - }, { - mandatory: false, - name: "server", - valueType: "String" - }, { - mandatory: false, - name: "user_suffix", - valueType: "String" - }, { - mandatory: false, - name: "verify_certificate", - valueType: "boolean" - }] - } -}); diff --git a/core/model/models/mail-message-extra-headers-anonymous.js b/core/model/models/mail-message-extra-headers-anonymous.js deleted file mode 100644 index 471017ef64..0000000000 --- a/core/model/models/mail-message-extra-headers-anonymous.js +++ /dev/null @@ -1,3 +0,0 @@ -var Montage = require("montage").Montage; - -exports.MailMessageExtraHeadersAnonymous = Montage.specialize(); diff --git a/core/model/models/mail-message.js b/core/model/models/mail-message.js deleted file mode 100644 index 795330dd0d..0000000000 --- a/core/model/models/mail-message.js +++ /dev/null @@ -1,110 +0,0 @@ -var Montage = require("montage").Montage; - -exports.MailMessage = Montage.specialize({ - _attachments: { - value: null - }, - attachments: { - set: function (value) { - if (this._attachments !== value) { - this._attachments = value; - } - }, - get: function () { - return this._attachments; - } - }, - _extra_headers: { - value: null - }, - extra_headers: { - set: function (value) { - if (this._extra_headers !== value) { - this._extra_headers = value; - } - }, - get: function () { - return this._extra_headers; - } - }, - _from: { - value: null - }, - from: { - set: function (value) { - if (this._from !== value) { - this._from = value; - } - }, - get: function () { - return this._from; - } - }, - _message: { - value: null - }, - message: { - set: function (value) { - if (this._message !== value) { - this._message = value; - } - }, - get: function () { - return this._message; - } - }, - _subject: { - value: null - }, - subject: { - set: function (value) { - if (this._subject !== value) { - this._subject = value; - } - }, - get: function () { - return this._subject; - } - }, - _to: { - value: null - }, - to: { - set: function (value) { - if (this._to !== value) { - this._to = value; - } - }, - get: function () { - return this._to; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "attachments", - valueType: "array" - }, { - mandatory: false, - name: "extra_headers", - valueType: "object" - }, { - mandatory: false, - name: "from", - valueType: "String" - }, { - mandatory: false, - name: "message", - valueType: "String" - }, { - mandatory: false, - name: "subject", - valueType: "String" - }, { - mandatory: false, - name: "to", - valueType: "array" - }] - } -}); diff --git a/core/model/models/mail.js b/core/model/models/mail.js deleted file mode 100644 index fcadd84ea1..0000000000 --- a/core/model/models/mail.js +++ /dev/null @@ -1,138 +0,0 @@ -var Montage = require("montage").Montage; - -exports.Mail = Montage.specialize({ - _auth: { - value: null - }, - auth: { - set: function (value) { - if (this._auth !== value) { - this._auth = value; - } - }, - get: function () { - return this._auth; - } - }, - _encryption: { - value: null - }, - encryption: { - set: function (value) { - if (this._encryption !== value) { - this._encryption = value; - } - }, - get: function () { - return this._encryption; - } - }, - _from: { - value: null - }, - from: { - set: function (value) { - if (this._from !== value) { - this._from = value; - } - }, - get: function () { - return this._from; - } - }, - _pass: { - value: null - }, - pass: { - set: function (value) { - if (this._pass !== value) { - this._pass = value; - } - }, - get: function () { - return this._pass; - } - }, - _port: { - value: null - }, - port: { - set: function (value) { - if (this._port !== value) { - this._port = value; - } - }, - get: function () { - return this._port; - } - }, - _server: { - value: null - }, - server: { - set: function (value) { - if (this._server !== value) { - this._server = value; - } - }, - get: function () { - return this._server; - } - }, - _user: { - value: null - }, - user: { - set: function (value) { - if (this._user !== value) { - this._user = value; - } - }, - get: function () { - return this._user; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "auth", - valueType: "boolean" - }, { - mandatory: false, - name: "encryption", - valueObjectPrototypeName: "MailEncryptionType", - valueType: "object" - }, { - mandatory: false, - name: "from", - valueType: "String" - }, { - mandatory: false, - name: "pass", - valueType: "String" - }, { - mandatory: false, - name: "port", - valueType: "number" - }, { - mandatory: false, - name: "server", - valueType: "String" - }, { - mandatory: false, - name: "user", - valueType: "String" - }] - }, - userInterfaceDescriptor: { - value: { - inspectorComponentModule: { - id: 'ui/sections/system/inspectors/alert.reel/mail.reel' - }, - nameExpression: "'Settings'", - wizardComponentModuleId: "ui/sections/wizard/inspectors/mail.reel", - wizardTitle: "Configure your mail settings" - } - } -}); diff --git a/core/model/models/neighbor-properties-anonymous.js b/core/model/models/neighbor-properties-anonymous.js deleted file mode 100644 index a129340b09..0000000000 --- a/core/model/models/neighbor-properties-anonymous.js +++ /dev/null @@ -1,3 +0,0 @@ -var Montage = require("montage").Montage; - -exports.NeighborPropertiesAnonymous = Montage.specialize(); diff --git a/core/model/models/neighbor.js b/core/model/models/neighbor.js deleted file mode 100644 index 0493061d9f..0000000000 --- a/core/model/models/neighbor.js +++ /dev/null @@ -1,145 +0,0 @@ -var Montage = require("montage").Montage; - -exports.Neighbor = Montage.specialize({ - _address: { - value: null - }, - address: { - set: function (value) { - if (this._address !== value) { - this._address = value; - } - }, - get: function () { - return this._address; - } - }, - _description: { - value: null - }, - description: { - set: function (value) { - if (this._description !== value) { - this._description = value; - } - }, - get: function () { - return this._description; - } - }, - _hostname: { - value: null - }, - hostname: { - set: function (value) { - if (this._hostname !== value) { - this._hostname = value; - } - }, - get: function () { - return this._hostname; - } - }, - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _online: { - value: null - }, - online: { - set: function (value) { - if (this._online !== value) { - this._online = value; - } - }, - get: function () { - return this._online; - } - }, - _properties: { - value: null - }, - properties: { - set: function (value) { - if (this._properties !== value) { - this._properties = value; - } - }, - get: function () { - return this._properties; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "address", - valueType: "String" - }, { - mandatory: false, - name: "description", - valueType: "String" - }, { - mandatory: false, - name: "hostname", - valueType: "String" - }, { - mandatory: false, - name: "id", - valueType: "String" - }, { - mandatory: false, - name: "online", - valueType: "boolean" - }, { - mandatory: false, - name: "properties", - valueType: "object" - }, { - mandatory: false, - name: "source", - valueType: "String" - }, { - mandatory: false, - name: "type", - valueObjectPrototypeName: "NeighbodType", - valueType: "object" - }] - } -}); diff --git a/core/model/models/network-config-dhcp-anonymous.js b/core/model/models/network-config-dhcp-anonymous.js deleted file mode 100644 index 0084b79601..0000000000 --- a/core/model/models/network-config-dhcp-anonymous.js +++ /dev/null @@ -1,42 +0,0 @@ -var Montage = require("montage").Montage; - -exports.NetworkConfigDhcpAnonymous = Montage.specialize({ - _assign_dns: { - value: null - }, - assign_dns: { - set: function (value) { - if (this._assign_dns !== value) { - this._assign_dns = value; - } - }, - get: function () { - return this._assign_dns; - } - }, - _assign_gateway: { - value: null - }, - assign_gateway: { - set: function (value) { - if (this._assign_gateway !== value) { - this._assign_gateway = value; - } - }, - get: function () { - return this._assign_gateway; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "assign_dns", - valueType: "boolean" - }, { - mandatory: false, - name: "assign_gateway", - valueType: "boolean" - }] - } -}); diff --git a/core/model/models/network-config-dns-anonymous.js b/core/model/models/network-config-dns-anonymous.js deleted file mode 100644 index c42cf20797..0000000000 --- a/core/model/models/network-config-dns-anonymous.js +++ /dev/null @@ -1,43 +0,0 @@ -var Montage = require("montage").Montage; - -exports.NetworkConfigDnsAnonymous = Montage.specialize({ - _addresses: { - value: null - }, - addresses: { - set: function (value) { - if (this._addresses !== value) { - this._addresses = value; - } - }, - get: function () { - return this._addresses; - } - }, - _search: { - value: null - }, - search: { - set: function (value) { - if (this._search !== value) { - this._search = value; - } - }, - get: function () { - return this._search; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "addresses", - valueObjectPrototypeName: "IpAddress", - valueType: "array" - }, { - mandatory: false, - name: "search", - valueType: "array" - }] - } -}); diff --git a/core/model/models/network-config-gateway-anonymous.js b/core/model/models/network-config-gateway-anonymous.js deleted file mode 100644 index 7ff14518ed..0000000000 --- a/core/model/models/network-config-gateway-anonymous.js +++ /dev/null @@ -1,44 +0,0 @@ -var Montage = require("montage").Montage; - -exports.NetworkConfigGatewayAnonymous = Montage.specialize({ - _ipv4: { - value: null - }, - ipv4: { - set: function (value) { - if (this._ipv4 !== value) { - this._ipv4 = value; - } - }, - get: function () { - return this._ipv4; - } - }, - _ipv6: { - value: null - }, - ipv6: { - set: function (value) { - if (this._ipv6 !== value) { - this._ipv6 = value; - } - }, - get: function () { - return this._ipv6; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "ipv4", - valueObjectPrototypeName: "Ipv4Address", - valueType: "object" - }, { - mandatory: false, - name: "ipv6", - valueObjectPrototypeName: "Ipv6Address", - valueType: "object" - }] - } -}); diff --git a/core/model/models/network-config-netwait-anonymous.js b/core/model/models/network-config-netwait-anonymous.js deleted file mode 100644 index ca82c3b245..0000000000 --- a/core/model/models/network-config-netwait-anonymous.js +++ /dev/null @@ -1,43 +0,0 @@ -var Montage = require("montage").Montage; - -exports.NetworkConfigNetwaitAnonymous = Montage.specialize({ - _addresses: { - value: null - }, - addresses: { - set: function (value) { - if (this._addresses !== value) { - this._addresses = value; - } - }, - get: function () { - return this._addresses; - } - }, - _enabled: { - value: null - }, - enabled: { - set: function (value) { - if (this._enabled !== value) { - this._enabled = value; - } - }, - get: function () { - return this._enabled; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "addresses", - valueObjectPrototypeName: "IpAddress", - valueType: "array" - }, { - mandatory: false, - name: "enabled", - valueType: "boolean" - }] - } -}); diff --git a/core/model/models/network-config.js b/core/model/models/network-config.js deleted file mode 100644 index 2aa8587870..0000000000 --- a/core/model/models/network-config.js +++ /dev/null @@ -1,121 +0,0 @@ -var Montage = require("montage").Montage; - -exports.NetworkConfig = Montage.specialize({ - _autoconfigure: { - value: null - }, - autoconfigure: { - set: function (value) { - if (this._autoconfigure !== value) { - this._autoconfigure = value; - } - }, - get: function () { - return this._autoconfigure; - } - }, - _dhcp: { - value: null - }, - dhcp: { - set: function (value) { - if (this._dhcp !== value) { - this._dhcp = value; - } - }, - get: function () { - return this._dhcp; - } - }, - _dns: { - value: null - }, - dns: { - set: function (value) { - if (this._dns !== value) { - this._dns = value; - } - }, - get: function () { - return this._dns; - } - }, - _gateway: { - value: null - }, - gateway: { - set: function (value) { - if (this._gateway !== value) { - this._gateway = value; - } - }, - get: function () { - return this._gateway; - } - }, - _http_proxy: { - value: null - }, - http_proxy: { - set: function (value) { - if (this._http_proxy !== value) { - this._http_proxy = value; - } - }, - get: function () { - return this._http_proxy; - } - }, - _netwait: { - value: null - }, - netwait: { - set: function (value) { - if (this._netwait !== value) { - this._netwait = value; - } - }, - get: function () { - return this._netwait; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "autoconfigure", - valueType: "boolean" - }, { - mandatory: false, - name: "dhcp", - valueType: "object" - }, { - mandatory: false, - name: "dns", - valueType: "object" - }, { - mandatory: false, - name: "gateway", - valueType: "object" - }, { - mandatory: false, - name: "http_proxy", - valueType: "String" - }, { - mandatory: false, - name: "netwait", - valueType: "object" - }] - }, - userInterfaceDescriptor: { - value: { - inspectorComponentModule: { - id: 'ui/sections/network/inspectors/network-configuration.reel' - }, - iconComponentModule: { - id: 'ui/icons/network-configuration.reel' - }, - nameExpression: "'Settings'" - } - } -}); diff --git a/core/model/models/network-device.js b/core/model/models/network-device.js deleted file mode 100644 index 8f4937b740..0000000000 --- a/core/model/models/network-device.js +++ /dev/null @@ -1,42 +0,0 @@ -var Montage = require("montage").Montage; - -exports.NetworkDevice = Montage.specialize({ - _description: { - value: null - }, - description: { - set: function (value) { - if (this._description !== value) { - this._description = value; - } - }, - get: function () { - return this._description; - } - }, - _name: { - value: null - }, - name: { - set: function (value) { - if (this._name !== value) { - this._name = value; - } - }, - get: function () { - return this._name; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "description", - valueType: "String" - }, { - mandatory: false, - name: "name", - valueType: "String" - }] - } -}); diff --git a/core/model/models/network-host.js b/core/model/models/network-host.js deleted file mode 100644 index 13247d58ba..0000000000 --- a/core/model/models/network-host.js +++ /dev/null @@ -1,43 +0,0 @@ -var Montage = require("montage").Montage; - -exports.NetworkHost = Montage.specialize({ - _addresses: { - value: null - }, - addresses: { - set: function (value) { - if (this._addresses !== value) { - this._addresses = value; - } - }, - get: function () { - return this._addresses; - } - }, - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "addresses", - valueObjectPrototypeName: "IpAddress", - valueType: "array" - }, { - mandatory: false, - name: "id", - valueType: "String" - }] - } -}); diff --git a/core/model/models/network-interface-alias.js b/core/model/models/network-interface-alias.js deleted file mode 100644 index 7b6697aef4..0000000000 --- a/core/model/models/network-interface-alias.js +++ /dev/null @@ -1,79 +0,0 @@ -var Montage = require("montage").Montage; - -exports.NetworkInterfaceAlias = Montage.specialize({ - _address: { - value: null - }, - address: { - set: function (value) { - if (this._address !== value) { - this._address = value; - } - }, - get: function () { - return this._address; - } - }, - _broadcast: { - value: null - }, - broadcast: { - set: function (value) { - if (this._broadcast !== value) { - this._broadcast = value; - } - }, - get: function () { - return this._broadcast; - } - }, - _netmask: { - value: null - }, - netmask: { - set: function (value) { - if (this._netmask !== value) { - this._netmask = value; - } - }, - get: function () { - return this._netmask; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "address", - valueObjectPrototypeName: "IpAddress", - valueType: "object" - }, { - mandatory: false, - name: "broadcast", - valueObjectPrototypeName: "Ipv4Address", - valueType: "object" - }, { - mandatory: false, - name: "netmask", - valueType: "number" - }, { - mandatory: false, - name: "type", - valueObjectPrototypeName: "NetworkInterfaceAliasType", - valueType: "object" - }] - } -}); diff --git a/core/model/models/network-interface-bridge-properties.js b/core/model/models/network-interface-bridge-properties.js deleted file mode 100644 index 8ee5156658..0000000000 --- a/core/model/models/network-interface-bridge-properties.js +++ /dev/null @@ -1,25 +0,0 @@ -var Montage = require("montage").Montage; - -exports.NetworkInterfaceBridgeProperties = Montage.specialize({ - _members: { - value: null - }, - members: { - set: function (value) { - if (this._members !== value) { - this._members = value; - } - }, - get: function () { - return this._members; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "members", - valueType: "array" - }] - } -}); diff --git a/core/model/models/network-interface-capabilities-anonymous.js b/core/model/models/network-interface-capabilities-anonymous.js deleted file mode 100644 index 4147c01e69..0000000000 --- a/core/model/models/network-interface-capabilities-anonymous.js +++ /dev/null @@ -1,44 +0,0 @@ -var Montage = require("montage").Montage; - -exports.NetworkInterfaceCapabilitiesAnonymous = Montage.specialize({ - _add: { - value: null - }, - add: { - set: function (value) { - if (this._add !== value) { - this._add = value; - } - }, - get: function () { - return this._add; - } - }, - _del: { - value: null - }, - del: { - set: function (value) { - if (this._del !== value) { - this._del = value; - } - }, - get: function () { - return this._del; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "add", - valueObjectPrototypeName: "NetworkInterfaceCapabilities", - valueType: "object" - }, { - mandatory: false, - name: "del", - valueObjectPrototypeName: "NetworkInterfaceCapabilities", - valueType: "object" - }] - } -}); diff --git a/core/model/models/network-interface-lagg-properties.js b/core/model/models/network-interface-lagg-properties.js deleted file mode 100644 index 78a4ad7409..0000000000 --- a/core/model/models/network-interface-lagg-properties.js +++ /dev/null @@ -1,43 +0,0 @@ -var Montage = require("montage").Montage; - -exports.NetworkInterfaceLaggProperties = Montage.specialize({ - _ports: { - value: null - }, - ports: { - set: function (value) { - if (this._ports !== value) { - this._ports = value; - } - }, - get: function () { - return this._ports; - } - }, - _protocol: { - value: null - }, - protocol: { - set: function (value) { - if (this._protocol !== value) { - this._protocol = value; - } - }, - get: function () { - return this._protocol; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "ports", - valueType: "array" - }, { - mandatory: false, - name: "protocol", - valueObjectPrototypeName: "NetworkAggregationProtocols", - valueType: "object" - }] - } -}); diff --git a/core/model/models/network-interface-status-dhcp-anonymous.js b/core/model/models/network-interface-status-dhcp-anonymous.js deleted file mode 100644 index ac6fb2eb02..0000000000 --- a/core/model/models/network-interface-status-dhcp-anonymous.js +++ /dev/null @@ -1,94 +0,0 @@ -var Montage = require("montage").Montage; - -exports.NetworkInterfaceStatusDhcpAnonymous = Montage.specialize({ - _lease_ends_at: { - value: null - }, - lease_ends_at: { - set: function (value) { - if (this._lease_ends_at !== value) { - this._lease_ends_at = value; - } - }, - get: function () { - return this._lease_ends_at; - } - }, - _lease_starts_at: { - value: null - }, - lease_starts_at: { - set: function (value) { - if (this._lease_starts_at !== value) { - this._lease_starts_at = value; - } - }, - get: function () { - return this._lease_starts_at; - } - }, - _server_address: { - value: null - }, - server_address: { - set: function (value) { - if (this._server_address !== value) { - this._server_address = value; - } - }, - get: function () { - return this._server_address; - } - }, - _server_name: { - value: null - }, - server_name: { - set: function (value) { - if (this._server_name !== value) { - this._server_name = value; - } - }, - get: function () { - return this._server_name; - } - }, - _state: { - value: null - }, - state: { - set: function (value) { - if (this._state !== value) { - this._state = value; - } - }, - get: function () { - return this._state; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "lease_ends_at", - valueType: "datetime" - }, { - mandatory: false, - name: "lease_starts_at", - valueType: "datetime" - }, { - mandatory: false, - name: "server_address", - valueType: "String" - }, { - mandatory: false, - name: "server_name", - valueType: "String" - }, { - mandatory: false, - name: "state", - valueObjectPrototypeName: "NetworkInterfaceDhcpState", - valueType: "object" - }] - } -}); diff --git a/core/model/models/network-interface-status.js b/core/model/models/network-interface-status.js deleted file mode 100644 index d1c25a22ed..0000000000 --- a/core/model/models/network-interface-status.js +++ /dev/null @@ -1,337 +0,0 @@ -var Montage = require("montage").Montage; - -exports.NetworkInterfaceStatus = Montage.specialize({ - _active_media_subtype: { - value: null - }, - active_media_subtype: { - set: function (value) { - if (this._active_media_subtype !== value) { - this._active_media_subtype = value; - } - }, - get: function () { - return this._active_media_subtype; - } - }, - _active_media_type: { - value: null - }, - active_media_type: { - set: function (value) { - if (this._active_media_type !== value) { - this._active_media_type = value; - } - }, - get: function () { - return this._active_media_type; - } - }, - _aliases: { - value: null - }, - aliases: { - set: function (value) { - if (this._aliases !== value) { - this._aliases = value; - } - }, - get: function () { - return this._aliases; - } - }, - _capabilities: { - value: null - }, - capabilities: { - set: function (value) { - if (this._capabilities !== value) { - this._capabilities = value; - } - }, - get: function () { - return this._capabilities; - } - }, - _cloned: { - value: null - }, - cloned: { - set: function (value) { - if (this._cloned !== value) { - this._cloned = value; - } - }, - get: function () { - return this._cloned; - } - }, - _dhcp: { - value: null - }, - dhcp: { - set: function (value) { - if (this._dhcp !== value) { - this._dhcp = value; - } - }, - get: function () { - return this._dhcp; - } - }, - _flags: { - value: null - }, - flags: { - set: function (value) { - if (this._flags !== value) { - this._flags = value; - } - }, - get: function () { - return this._flags; - } - }, - _link_address: { - value: null - }, - link_address: { - set: function (value) { - if (this._link_address !== value) { - this._link_address = value; - } - }, - get: function () { - return this._link_address; - } - }, - _link_state: { - value: null - }, - link_state: { - set: function (value) { - if (this._link_state !== value) { - this._link_state = value; - } - }, - get: function () { - return this._link_state; - } - }, - _media_options: { - value: null - }, - media_options: { - set: function (value) { - if (this._media_options !== value) { - this._media_options = value; - } - }, - get: function () { - return this._media_options; - } - }, - _media_subtype: { - value: null - }, - media_subtype: { - set: function (value) { - if (this._media_subtype !== value) { - this._media_subtype = value; - } - }, - get: function () { - return this._media_subtype; - } - }, - _media_type: { - value: null - }, - media_type: { - set: function (value) { - if (this._media_type !== value) { - this._media_type = value; - } - }, - get: function () { - return this._media_type; - } - }, - _members: { - value: null - }, - members: { - set: function (value) { - if (this._members !== value) { - this._members = value; - } - }, - get: function () { - return this._members; - } - }, - _mtu: { - value: null - }, - mtu: { - set: function (value) { - if (this._mtu !== value) { - this._mtu = value; - } - }, - get: function () { - return this._mtu; - } - }, - _name: { - value: null - }, - name: { - set: function (value) { - if (this._name !== value) { - this._name = value; - } - }, - get: function () { - return this._name; - } - }, - _nd6_flags: { - value: null - }, - nd6_flags: { - set: function (value) { - if (this._nd6_flags !== value) { - this._nd6_flags = value; - } - }, - get: function () { - return this._nd6_flags; - } - }, - _parent: { - value: null - }, - parent: { - set: function (value) { - if (this._parent !== value) { - this._parent = value; - } - }, - get: function () { - return this._parent; - } - }, - _ports: { - value: null - }, - ports: { - set: function (value) { - if (this._ports !== value) { - this._ports = value; - } - }, - get: function () { - return this._ports; - } - }, - _tag: { - value: null - }, - tag: { - set: function (value) { - if (this._tag !== value) { - this._tag = value; - } - }, - get: function () { - return this._tag; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "active_media_subtype", - valueType: "String" - }, { - mandatory: false, - name: "active_media_type", - valueType: "String" - }, { - mandatory: false, - name: "aliases", - valueObjectPrototypeName: "NetworkInterfaceAlias", - valueType: "array" - }, { - mandatory: false, - name: "capabilities", - valueObjectPrototypeName: "NetworkInterfaceCapabilities", - valueType: "object" - }, { - mandatory: false, - name: "cloned", - valueType: "boolean" - }, { - mandatory: false, - name: "dhcp", - valueType: "object" - }, { - mandatory: false, - name: "flags", - valueObjectPrototypeName: "NetworkInterfaceFlags", - valueType: "object" - }, { - mandatory: false, - name: "link_address", - valueType: "String" - }, { - mandatory: false, - name: "link_state", - valueObjectPrototypeName: "NetworkInterfaceStatusLinkstate", - valueType: "object" - }, { - mandatory: false, - name: "media_options", - valueObjectPrototypeName: "NetworkInterfaceMediaopts", - valueType: "object" - }, { - mandatory: false, - name: "media_subtype", - valueType: "String" - }, { - mandatory: false, - name: "media_type", - valueType: "String" - }, { - mandatory: false, - name: "members", - valueType: "array" - }, { - mandatory: false, - name: "mtu", - valueType: "number" - }, { - mandatory: false, - name: "name", - valueType: "String" - }, { - mandatory: false, - name: "nd6_flags", - valueObjectPrototypeName: "NetworkInterfaceNd6Flag", - valueType: "array" - }, { - mandatory: false, - name: "parent", - valueType: "String" - }, { - mandatory: false, - name: "ports", - valueType: "array" - }, { - mandatory: false, - name: "tag", - valueType: "number" - }] - } -}); diff --git a/core/model/models/network-interface-vlan-properties.js b/core/model/models/network-interface-vlan-properties.js deleted file mode 100644 index db9ef0d13b..0000000000 --- a/core/model/models/network-interface-vlan-properties.js +++ /dev/null @@ -1,42 +0,0 @@ -var Montage = require("montage").Montage; - -exports.NetworkInterfaceVlanProperties = Montage.specialize({ - _parent: { - value: null - }, - parent: { - set: function (value) { - if (this._parent !== value) { - this._parent = value; - } - }, - get: function () { - return this._parent; - } - }, - _tag: { - value: null - }, - tag: { - set: function (value) { - if (this._tag !== value) { - this._tag = value; - } - }, - get: function () { - return this._tag; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "parent", - valueType: "String" - }, { - mandatory: false, - name: "tag", - valueType: "number" - }] - } -}); diff --git a/core/model/models/network-interface.js b/core/model/models/network-interface.js deleted file mode 100644 index 8d741d95a8..0000000000 --- a/core/model/models/network-interface.js +++ /dev/null @@ -1,346 +0,0 @@ -var Montage = require("montage").Montage; - -exports.NetworkInterface = Montage.specialize({ - _aliases: { - value: null - }, - aliases: { - set: function (value) { - if (this._aliases !== value) { - this._aliases = value; - } - }, - get: function () { - return this._aliases; - } - }, - _bridge: { - value: null - }, - bridge: { - set: function (value) { - if (this._bridge !== value) { - this._bridge = value; - } - }, - get: function () { - return this._bridge; - } - }, - _capabilities: { - value: null - }, - capabilities: { - set: function (value) { - if (this._capabilities !== value) { - this._capabilities = value; - } - }, - get: function () { - return this._capabilities; - } - }, - _created_at: { - value: null - }, - created_at: { - set: function (value) { - if (this._created_at !== value) { - this._created_at = value; - } - }, - get: function () { - return this._created_at; - } - }, - _dhcp: { - value: null - }, - dhcp: { - set: function (value) { - if (this._dhcp !== value) { - this._dhcp = value; - } - }, - get: function () { - return this._dhcp; - } - }, - _enabled: { - value: null - }, - enabled: { - set: function (value) { - if (this._enabled !== value) { - this._enabled = value; - } - }, - get: function () { - return this._enabled; - } - }, - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _lagg: { - value: null - }, - lagg: { - set: function (value) { - if (this._lagg !== value) { - this._lagg = value; - } - }, - get: function () { - return this._lagg; - } - }, - _media: { - value: null - }, - media: { - set: function (value) { - if (this._media !== value) { - this._media = value; - } - }, - get: function () { - return this._media; - } - }, - _mediaopts: { - value: null - }, - mediaopts: { - set: function (value) { - if (this._mediaopts !== value) { - this._mediaopts = value; - } - }, - get: function () { - return this._mediaopts; - } - }, - _mtu: { - value: null - }, - mtu: { - set: function (value) { - if (this._mtu !== value) { - this._mtu = value; - } - }, - get: function () { - return this._mtu; - } - }, - _name: { - value: null - }, - name: { - set: function (value) { - if (this._name !== value) { - this._name = value; - } - }, - get: function () { - return this._name; - } - }, - _noipv6: { - value: null - }, - noipv6: { - set: function (value) { - if (this._noipv6 !== value) { - this._noipv6 = value; - } - }, - get: function () { - return this._noipv6; - } - }, - _rtadv: { - value: null - }, - rtadv: { - set: function (value) { - if (this._rtadv !== value) { - this._rtadv = value; - } - }, - get: function () { - return this._rtadv; - } - }, - _status: { - value: null - }, - status: { - set: function (value) { - if (this._status !== value) { - this._status = value; - } - }, - get: function () { - return this._status; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - }, - _updated_at: { - value: null - }, - updated_at: { - set: function (value) { - if (this._updated_at !== value) { - this._updated_at = value; - } - }, - get: function () { - return this._updated_at; - } - }, - _vlan: { - value: null - }, - vlan: { - set: function (value) { - if (this._vlan !== value) { - this._vlan = value; - } - }, - get: function () { - return this._vlan; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "aliases", - valueObjectPrototypeName: "NetworkInterfaceAlias", - valueType: "array" - }, { - mandatory: false, - name: "bridge", - valueObjectPrototypeName: "NetworkInterfaceBridgeProperties", - valueType: "object" - }, { - mandatory: false, - name: "capabilities", - valueType: "object" - }, { - mandatory: false, - name: "created_at", - valueType: "datetime" - }, { - mandatory: false, - name: "dhcp", - valueType: "boolean" - }, { - mandatory: false, - name: "enabled", - valueType: "boolean" - }, { - mandatory: false, - name: "id", - valueType: "String" - }, { - mandatory: false, - name: "lagg", - valueObjectPrototypeName: "NetworkInterfaceLaggProperties", - valueType: "object" - }, { - mandatory: false, - name: "media", - valueType: "String" - }, { - mandatory: false, - name: "mediaopts", - valueObjectPrototypeName: "NetworkInterfaceMediaopts", - valueType: "object" - }, { - mandatory: false, - name: "mtu", - valueType: "number" - }, { - mandatory: false, - name: "name", - valueType: "String" - }, { - mandatory: false, - name: "noipv6", - valueType: "boolean" - }, { - mandatory: false, - name: "rtadv", - valueType: "boolean" - }, { - mandatory: false, - name: "status", - valueObjectPrototypeName: "NetworkInterfaceStatus", - valueType: "object" - }, { - mandatory: false, - name: "type", - valueObjectPrototypeName: "NetworkInterfaceType", - valueType: "object" - }, { - mandatory: false, - name: "updated_at", - valueType: "datetime" - }, { - mandatory: false, - name: "vlan", - valueObjectPrototypeName: "NetworkInterfaceVlanProperties", - valueType: "object" - }] - }, - userInterfaceDescriptor: { - value: { - inspectorComponentModule: { - id: 'ui/sections/network/inspectors/network-interface.reel' - }, - iconComponentModule: { - id: 'ui/icons/network-interface.reel' - }, - collectionInspectorComponentModule: { - id: 'ui/controls/viewer.reel' - }, - creatorComponentModule: { - id: 'ui/sections/network/inspectors/network-interface-creator.reel' - }, - collectionNameExpression: "'Interfaces'", - nameExpression: "!!id ? (!!name ? name : id) + (!!dhcp ? ' (dhcp)': '') : !!type ? 'New ' + type : 'Choose an interface type'", - statusColorMapping: { - "LINK_STATE_UP": "green", - "DISABLED": "grey", - "LINK_STATE_DOWN": "red", - "LINK_STATE_UNKNOWN": "yellow" - }, - statusValueExpression: "!enabled || !!_isNew ? 'DISABLED' : (status.link_state || link_state)" - } - } -}); diff --git a/core/model/models/network-overview.js b/core/model/models/network-overview.js deleted file mode 100644 index dbc808565d..0000000000 --- a/core/model/models/network-overview.js +++ /dev/null @@ -1,80 +0,0 @@ -var Montage = require("montage").Montage; - -exports.NetworkOverview = Montage.specialize({ - _summary: { - value: null - }, - summary: { - set: function (value) { - if (this._summary !== value) { - this._summary = value; - } - }, - get: function () { - return this._summary; - } - }, - _staticRoutes: { - value: null - }, - staticRoutes: { - set: function (value) { - if (this._staticRoutes !== value) { - this._staticRoutes = value; - } - }, - get: function () { - return this._staticRoutes; - } - }, - _ipmi: { - value: null - }, - ipmi: { - set: function (value) { - if (this._ipmi !== value) { - this._ipmi = value; - } - }, - get: function () { - return this._ipmi; - } - }, - _networkConfiguration: { - value: null - }, - networkConfiguration: { - set: function (value) { - if (this._networkConfiguration !== value) { - this._networkConfiguration = value; - } - }, - get: function () { - return this._networkConfiguration; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "summary" - }, { - mandatory: false, - name: "staticRoutes" - }, { - mandatory: false, - name: "ipmi" - }, { - mandatory: false, - name: "networkConfiguration" - }] - }, - userInterfaceDescriptor: { - value: { - inspectorComponentModule: { - id: 'ui/network/configuration.reel' - }, - nameExpression: "'Overview'" - } - } -}); diff --git a/core/model/models/network-route.js b/core/model/models/network-route.js deleted file mode 100644 index 1f103e15e2..0000000000 --- a/core/model/models/network-route.js +++ /dev/null @@ -1,107 +0,0 @@ -var Montage = require("montage").Montage; - -exports.NetworkRoute = Montage.specialize({ - _gateway: { - value: null - }, - gateway: { - set: function (value) { - if (this._gateway !== value) { - this._gateway = value; - } - }, - get: function () { - return this._gateway; - } - }, - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _netmask: { - value: null - }, - netmask: { - set: function (value) { - if (this._netmask !== value) { - this._netmask = value; - } - }, - get: function () { - return this._netmask; - } - }, - _network: { - value: null - }, - network: { - set: function (value) { - if (this._network !== value) { - this._network = value; - } - }, - get: function () { - return this._network; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "gateway", - valueObjectPrototypeName: "IpAddress", - valueType: "object" - }, { - mandatory: false, - name: "id", - valueType: "String" - }, { - mandatory: false, - name: "netmask", - valueType: "number" - }, { - mandatory: false, - name: "network", - valueObjectPrototypeName: "IpAddress", - valueType: "object" - }, { - mandatory: false, - name: "type", - valueObjectPrototypeName: "NetworkRouteType", - valueType: "object" - }] - }, - userInterfaceDescriptor: { - value: { - inspectorComponentModule: { - id: 'ui/inspectors/static-route.reel' - }, - collectionInspectorComponentModule: { - id: 'ui/controls/viewer.reel' - }, - collectionNameExpression: "'Static Routes'" - } - } -}); diff --git a/core/model/models/network-status-dns-anonymous.js b/core/model/models/network-status-dns-anonymous.js deleted file mode 100644 index 229dad6c0a..0000000000 --- a/core/model/models/network-status-dns-anonymous.js +++ /dev/null @@ -1,43 +0,0 @@ -var Montage = require("montage").Montage; - -exports.NetworkStatusDnsAnonymous = Montage.specialize({ - _addresses: { - value: null - }, - addresses: { - set: function (value) { - if (this._addresses !== value) { - this._addresses = value; - } - }, - get: function () { - return this._addresses; - } - }, - _search: { - value: null - }, - search: { - set: function (value) { - if (this._search !== value) { - this._search = value; - } - }, - get: function () { - return this._search; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "addresses", - valueObjectPrototypeName: "IpAddress", - valueType: "array" - }, { - mandatory: false, - name: "search", - valueType: "array" - }] - } -}); diff --git a/core/model/models/network-status-gateway-anonymous.js b/core/model/models/network-status-gateway-anonymous.js deleted file mode 100644 index 8aed5fed3d..0000000000 --- a/core/model/models/network-status-gateway-anonymous.js +++ /dev/null @@ -1,44 +0,0 @@ -var Montage = require("montage").Montage; - -exports.NetworkStatusGatewayAnonymous = Montage.specialize({ - _ipv4: { - value: null - }, - ipv4: { - set: function (value) { - if (this._ipv4 !== value) { - this._ipv4 = value; - } - }, - get: function () { - return this._ipv4; - } - }, - _ipv6: { - value: null - }, - ipv6: { - set: function (value) { - if (this._ipv6 !== value) { - this._ipv6 = value; - } - }, - get: function () { - return this._ipv6; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "ipv4", - valueObjectPrototypeName: "Ipv4Address", - valueType: "object" - }, { - mandatory: false, - name: "ipv6", - valueObjectPrototypeName: "Ipv6Address", - valueType: "object" - }] - } -}); diff --git a/core/model/models/network-status.js b/core/model/models/network-status.js deleted file mode 100644 index 64e721cc14..0000000000 --- a/core/model/models/network-status.js +++ /dev/null @@ -1,42 +0,0 @@ -var Montage = require("montage").Montage; - -exports.NetworkStatus = Montage.specialize({ - _dns: { - value: null - }, - dns: { - set: function (value) { - if (this._dns !== value) { - this._dns = value; - } - }, - get: function () { - return this._dns; - } - }, - _gateway: { - value: null - }, - gateway: { - set: function (value) { - if (this._gateway !== value) { - this._gateway = value; - } - }, - get: function () { - return this._gateway; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "dns", - valueType: "object" - }, { - mandatory: false, - name: "gateway", - valueType: "object" - }] - } -}); diff --git a/core/model/models/nis-directory-params.js b/core/model/models/nis-directory-params.js deleted file mode 100644 index 776bcf8da5..0000000000 --- a/core/model/models/nis-directory-params.js +++ /dev/null @@ -1,58 +0,0 @@ -var Montage = require("montage").Montage; - -exports.NisDirectoryParams = Montage.specialize({ - "_%type": { - value: null - }, - "%type": { - set: function (value) { - if (this["_%type"] !== value) { - this["_%type"] = value; - } - }, - get: function () { - return this["_%type"]; - } - }, - _domain: { - value: null - }, - domain: { - set: function (value) { - if (this._domain !== value) { - this._domain = value; - } - }, - get: function () { - return this._domain; - } - }, - _server: { - value: null - }, - server: { - set: function (value) { - if (this._server !== value) { - this._server = value; - } - }, - get: function () { - return this._server; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "%type" - }, { - mandatory: false, - name: "domain", - valueType: "String" - }, { - mandatory: false, - name: "server", - valueType: "String" - }] - } -}); diff --git a/core/model/models/ntp-server.js b/core/model/models/ntp-server.js deleted file mode 100644 index 5678c26c9b..0000000000 --- a/core/model/models/ntp-server.js +++ /dev/null @@ -1,160 +0,0 @@ -var Montage = require("montage").Montage; - -exports.NtpServer = Montage.specialize({ - _address: { - value: null - }, - address: { - set: function (value) { - if (this._address !== value) { - this._address = value; - } - }, - get: function () { - return this._address; - } - }, - _burst: { - value: null - }, - burst: { - set: function (value) { - if (this._burst !== value) { - this._burst = value; - } - }, - get: function () { - return this._burst; - } - }, - _iburst: { - value: null - }, - iburst: { - set: function (value) { - if (this._iburst !== value) { - this._iburst = value; - } - }, - get: function () { - return this._iburst; - } - }, - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _maxpoll: { - value: null - }, - maxpoll: { - set: function (value) { - if (this._maxpoll !== value) { - this._maxpoll = value; - } - }, - get: function () { - return this._maxpoll; - } - }, - _minpoll: { - value: null - }, - minpoll: { - set: function (value) { - if (this._minpoll !== value) { - this._minpoll = value; - } - }, - get: function () { - return this._minpoll; - } - }, - _pool: { - value: null - }, - pool: { - set: function (value) { - if (this._pool !== value) { - this._pool = value; - } - }, - get: function () { - return this._pool; - } - }, - _prefer: { - value: null - }, - prefer: { - set: function (value) { - if (this._prefer !== value) { - this._prefer = value; - } - }, - get: function () { - return this._prefer; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "address", - valueType: "String" - }, { - mandatory: false, - name: "burst", - valueType: "boolean" - }, { - mandatory: false, - name: "iburst", - valueType: "boolean" - }, { - mandatory: false, - name: "id", - valueType: "String" - }, { - mandatory: false, - name: "maxpoll", - valueType: "number" - }, { - mandatory: false, - name: "minpoll", - valueType: "number" - }, { - mandatory: false, - name: "pool", - valueType: "boolean" - }, { - mandatory: false, - name: "prefer", - valueType: "boolean" - }] - }, - userInterfaceDescriptor: { - value: { - inspectorComponentModule: { - "id": "ui/sections/system/inspectors/ntpserver.reel" - }, - collectionInspectorComponentModule: { - "id": "ui/controls/viewer.reel" - }, - collectionNameExpression: "'NTP Servers'", - creatorComponentModule: { - "id": "ui/sections/system/inspectors/ntpserver.reel" - }, - nameExpression: "!!_isNew ? 'Add an NTP Server' : address", - sortExpression: "address" - } - } -}); diff --git a/core/model/models/open-file.js b/core/model/models/open-file.js deleted file mode 100644 index c6eec3e345..0000000000 --- a/core/model/models/open-file.js +++ /dev/null @@ -1,59 +0,0 @@ -var Montage = require("montage").Montage; - -exports.OpenFile = Montage.specialize({ - _path: { - value: null - }, - path: { - set: function (value) { - if (this._path !== value) { - this._path = value; - } - }, - get: function () { - return this._path; - } - }, - _pid: { - value: null - }, - pid: { - set: function (value) { - if (this._pid !== value) { - this._pid = value; - } - }, - get: function () { - return this._pid; - } - }, - _process_name: { - value: null - }, - process_name: { - set: function (value) { - if (this._process_name !== value) { - this._process_name = value; - } - }, - get: function () { - return this._process_name; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "path", - valueType: "String" - }, { - mandatory: false, - name: "pid", - valueType: "number" - }, { - mandatory: false, - name: "process_name", - valueType: "String" - }] - } -}); diff --git a/core/model/models/peer-status.js b/core/model/models/peer-status.js deleted file mode 100644 index 039d4e5880..0000000000 --- a/core/model/models/peer-status.js +++ /dev/null @@ -1,44 +0,0 @@ -var Montage = require("montage").Montage; - -exports.PeerStatus = Montage.specialize({ - _rtt: { - value: null - }, - rtt: { - set: function (value) { - if (this._rtt !== value) { - this._rtt = value; - } - }, - get: function () { - return this._rtt; - } - }, - _state: { - value: null - }, - state: { - set: function (value) { - if (this._state !== value) { - this._state = value; - } - }, - get: function () { - return this._state; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "rtt", - readOnly: true, - valueType: "number" - }, { - mandatory: false, - name: "state", - readOnly: true, - valueType: "String" - }] - } -}); diff --git a/core/model/models/peer.js b/core/model/models/peer.js deleted file mode 100644 index e711427663..0000000000 --- a/core/model/models/peer.js +++ /dev/null @@ -1,134 +0,0 @@ -var Montage = require("montage").Montage; - -exports.Peer = Montage.specialize({ - _credentials: { - value: null - }, - credentials: { - set: function (value) { - if (this._credentials !== value) { - this._credentials = value; - } - }, - get: function () { - return this._credentials; - } - }, - _health_check_interval: { - value: null - }, - health_check_interval: { - set: function (value) { - if (this._health_check_interval !== value) { - this._health_check_interval = value; - } - }, - get: function () { - return this._health_check_interval; - } - }, - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _name: { - value: null - }, - name: { - set: function (value) { - if (this._name !== value) { - this._name = value; - } - }, - get: function () { - return this._name; - } - }, - _status: { - value: null - }, - status: { - set: function (value) { - if (this._status !== value) { - this._status = value; - } - }, - get: function () { - return this._status; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "credentials", - valueObjectPrototypeName: "PeerCredentials", - valueType: "object" - }, { - mandatory: false, - name: "health_check_interval", - valueType: "number" - }, { - mandatory: false, - name: "id", - valueType: "String" - }, { - mandatory: false, - name: "name", - valueType: "String" - }, { - mandatory: false, - name: "status", - valueObjectPrototypeName: "PeerStatus", - valueType: "object" - }, { - mandatory: false, - name: "type", - valueType: "String" - }] - }, - userInterfaceDescriptor: { - value: { - collectionInspectorComponentModule: { - id: 'ui/controls/viewer.reel' - }, - collectionNameExpression: "'Peers'", - inspectorComponentModule: { - id: 'ui/sections/peering/inspectors/peer.reel' - }, - creatorComponentModule: { - id: 'ui/sections/peering/inspectors/peering-creator.reel' - }, - nameExpression: "!_isNew && name.defined() ? name : !!type ? 'New ' + type: 'Create a peer'", - statusColorMapping: { - "ONLINE": "green", - "NOT_SUPPORTED": "grey", - "OFFLINE": "red", - "UNKNOWN": "yellow" - }, - statusValueExpression: "!!_isNew ? 'NOT_SUPPORTED' : status.state" - } - } -}); diff --git a/core/model/models/permissions.js b/core/model/models/permissions.js deleted file mode 100644 index 6602a5fe33..0000000000 --- a/core/model/models/permissions.js +++ /dev/null @@ -1,77 +0,0 @@ -var Montage = require("montage").Montage; - -exports.Permissions = Montage.specialize({ - _acl: { - value: null - }, - acl: { - set: function (value) { - if (this._acl !== value) { - this._acl = value; - } - }, - get: function () { - return this._acl; - } - }, - _group: { - value: null - }, - group: { - set: function (value) { - if (this._group !== value) { - this._group = value; - } - }, - get: function () { - return this._group; - } - }, - _modes: { - value: null - }, - modes: { - set: function (value) { - if (this._modes !== value) { - this._modes = value; - } - }, - get: function () { - return this._modes; - } - }, - _user: { - value: null - }, - user: { - set: function (value) { - if (this._user !== value) { - this._user = value; - } - }, - get: function () { - return this._user; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "acl", - valueType: "array" - }, { - mandatory: false, - name: "group", - valueType: "String" - }, { - mandatory: false, - name: "modes", - valueObjectPrototypeName: "UnixPermissions", - valueType: "object" - }, { - mandatory: false, - name: "user", - valueType: "String" - }] - } -}); diff --git a/core/model/models/power-changed.js b/core/model/models/power-changed.js deleted file mode 100644 index 265f858029..0000000000 --- a/core/model/models/power-changed.js +++ /dev/null @@ -1,26 +0,0 @@ -var Montage = require("montage").Montage; - -exports.PowerChanged = Montage.specialize({ - _operation: { - value: null - }, - operation: { - set: function (value) { - if (this._operation !== value) { - this._operation = value; - } - }, - get: function () { - return this._operation; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "operation", - valueObjectPrototypeName: "PowerChangedOperation", - valueType: "object" - }] - } -}); diff --git a/core/model/models/remote-debug-status.js b/core/model/models/remote-debug-status.js deleted file mode 100644 index e340c79c11..0000000000 --- a/core/model/models/remote-debug-status.js +++ /dev/null @@ -1,93 +0,0 @@ -var Montage = require("montage").Montage; - -exports.RemoteDebugStatus = Montage.specialize({ - _connected_at: { - value: null - }, - connected_at: { - set: function (value) { - if (this._connected_at !== value) { - this._connected_at = value; - } - }, - get: function () { - return this._connected_at; - } - }, - _connection_id: { - value: null - }, - connection_id: { - set: function (value) { - if (this._connection_id !== value) { - this._connection_id = value; - } - }, - get: function () { - return this._connection_id; - } - }, - _jobs: { - value: null - }, - jobs: { - set: function (value) { - if (this._jobs !== value) { - this._jobs = value; - } - }, - get: function () { - return this._jobs; - } - }, - _server: { - value: null - }, - server: { - set: function (value) { - if (this._server !== value) { - this._server = value; - } - }, - get: function () { - return this._server; - } - }, - _state: { - value: null - }, - state: { - set: function (value) { - if (this._state !== value) { - this._state = value; - } - }, - get: function () { - return this._state; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "connected_at", - valueType: "datetime" - }, { - mandatory: false, - name: "connection_id", - valueType: "String" - }, { - mandatory: false, - name: "jobs", - valueType: "array" - }, { - mandatory: false, - name: "server", - valueType: "String" - }, { - mandatory: false, - name: "state", - valueType: "String" - }] - } -}); diff --git a/core/model/models/replication-options.js b/core/model/models/replication-options.js deleted file mode 100644 index 450c8e74ac..0000000000 --- a/core/model/models/replication-options.js +++ /dev/null @@ -1,152 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ReplicationOptions = Montage.specialize({ - _followdelete: { - value: null - }, - followdelete: { - set: function (value) { - if (this._followdelete !== value) { - this._followdelete = value; - } - }, - get: function () { - return this._followdelete; - } - }, - _force: { - value: null - }, - force: { - set: function (value) { - if (this._force !== value) { - this._force = value; - } - }, - get: function () { - return this._force; - } - }, - _lifetime: { - value: null - }, - lifetime: { - set: function (value) { - if (this._lifetime !== value) { - this._lifetime = value; - } - }, - get: function () { - return this._lifetime; - } - }, - _nomount: { - value: null - }, - nomount: { - set: function (value) { - if (this._nomount !== value) { - this._nomount = value; - } - }, - get: function () { - return this._nomount; - } - }, - _peer: { - value: null - }, - peer: { - set: function (value) { - if (this._peer !== value) { - this._peer = value; - } - }, - get: function () { - return this._peer; - } - }, - _recursive: { - value: null - }, - recursive: { - set: function (value) { - if (this._recursive !== value) { - this._recursive = value; - } - }, - get: function () { - return this._recursive; - } - }, - _remote: { - value: null - }, - remote: { - set: function (value) { - if (this._remote !== value) { - this._remote = value; - } - }, - get: function () { - return this._remote; - } - }, - _remote_dataset: { - value: null - }, - remote_dataset: { - set: function (value) { - if (this._remote_dataset !== value) { - this._remote_dataset = value; - } - }, - get: function () { - return this._remote_dataset; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "followdelete", - valueType: "boolean" - }, { - mandatory: false, - name: "force", - valueType: "boolean" - }, { - mandatory: false, - name: "lifetime", - valueType: "number" - }, { - mandatory: false, - name: "nomount", - valueType: "boolean" - }, { - mandatory: false, - name: "peer", - valueType: "String" - }, { - mandatory: false, - name: "recursive", - valueType: "boolean" - }, { - mandatory: false, - name: "remote", - valueType: "String" - }, { - mandatory: false, - name: "remote_dataset", - valueType: "String" - }] - }, - userInterfaceDescriptor: { - value: { - inspectorComponentModule: { - id: 'ui/sections/storage/inspectors/replication-creator.reel' - }, - nameExpression: "'Replicate'" - } - } -}); diff --git a/core/model/models/replication-status.js b/core/model/models/replication-status.js deleted file mode 100644 index d0ee7dccc5..0000000000 --- a/core/model/models/replication-status.js +++ /dev/null @@ -1,76 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ReplicationStatus = Montage.specialize({ - _message: { - value: null - }, - message: { - set: function (value) { - if (this._message !== value) { - this._message = value; - } - }, - get: function () { - return this._message; - } - }, - _size: { - value: null - }, - size: { - set: function (value) { - if (this._size !== value) { - this._size = value; - } - }, - get: function () { - return this._size; - } - }, - _speed: { - value: null - }, - speed: { - set: function (value) { - if (this._speed !== value) { - this._speed = value; - } - }, - get: function () { - return this._speed; - } - }, - _status: { - value: null - }, - status: { - set: function (value) { - if (this._status !== value) { - this._status = value; - } - }, - get: function () { - return this._status; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "message", - valueType: "String" - }, { - mandatory: false, - name: "size", - valueType: "number" - }, { - mandatory: false, - name: "speed", - valueType: "number" - }, { - mandatory: false, - name: "status", - valueType: "String" - }] - } -}); diff --git a/core/model/models/replication-transport.js b/core/model/models/replication-transport.js deleted file mode 100644 index 914ee4d94b..0000000000 --- a/core/model/models/replication-transport.js +++ /dev/null @@ -1,160 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ReplicationTransport = Montage.specialize({ - _auth_token: { - value: null - }, - auth_token: { - set: function (value) { - if (this._auth_token !== value) { - this._auth_token = value; - } - }, - get: function () { - return this._auth_token; - } - }, - _auth_token_size: { - value: null - }, - auth_token_size: { - set: function (value) { - if (this._auth_token_size !== value) { - this._auth_token_size = value; - } - }, - get: function () { - return this._auth_token_size; - } - }, - _buffer_size: { - value: null - }, - buffer_size: { - set: function (value) { - if (this._buffer_size !== value) { - this._buffer_size = value; - } - }, - get: function () { - return this._buffer_size; - } - }, - _client_address: { - value: null - }, - client_address: { - set: function (value) { - if (this._client_address !== value) { - this._client_address = value; - } - }, - get: function () { - return this._client_address; - } - }, - _estimated_size: { - value: null - }, - estimated_size: { - set: function (value) { - if (this._estimated_size !== value) { - this._estimated_size = value; - } - }, - get: function () { - return this._estimated_size; - } - }, - _receive_properties: { - value: null - }, - receive_properties: { - set: function (value) { - if (this._receive_properties !== value) { - this._receive_properties = value; - } - }, - get: function () { - return this._receive_properties; - } - }, - _server_address: { - value: null - }, - server_address: { - set: function (value) { - if (this._server_address !== value) { - this._server_address = value; - } - }, - get: function () { - return this._server_address; - } - }, - _server_port: { - value: null - }, - server_port: { - set: function (value) { - if (this._server_port !== value) { - this._server_port = value; - } - }, - get: function () { - return this._server_port; - } - }, - _transport_plugins: { - value: null - }, - transport_plugins: { - set: function (value) { - if (this._transport_plugins !== value) { - this._transport_plugins = value; - } - }, - get: function () { - return this._transport_plugins; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "auth_token", - valueType: "String" - }, { - mandatory: false, - name: "auth_token_size", - valueType: "number" - }, { - mandatory: false, - name: "buffer_size", - valueType: "number" - }, { - mandatory: false, - name: "client_address", - valueType: "String" - }, { - mandatory: false, - name: "estimated_size", - valueType: "number" - }, { - mandatory: false, - name: "receive_properties" - }, { - mandatory: false, - name: "server_address", - valueType: "String" - }, { - mandatory: false, - name: "server_port", - valueType: "number" - }, { - mandatory: false, - name: "transport_plugins", - valueType: "array" - }] - } -}); diff --git a/core/model/models/replication.js b/core/model/models/replication.js deleted file mode 100644 index d975822604..0000000000 --- a/core/model/models/replication.js +++ /dev/null @@ -1,265 +0,0 @@ -var Montage = require("montage").Montage; - -exports.Replication = Montage.specialize({ - _auto_recover: { - value: null - }, - auto_recover: { - set: function (value) { - if (this._auto_recover !== value) { - this._auto_recover = value; - } - }, - get: function () { - return this._auto_recover; - } - }, - _bidirectional: { - value: null - }, - bidirectional: { - set: function (value) { - if (this._bidirectional !== value) { - this._bidirectional = value; - } - }, - get: function () { - return this._bidirectional; - } - }, - _datasets: { - value: null - }, - datasets: { - set: function (value) { - if (this._datasets !== value) { - this._datasets = value; - } - }, - get: function () { - return this._datasets; - } - }, - _followdelete: { - value: null - }, - followdelete: { - set: function (value) { - if (this._followdelete !== value) { - this._followdelete = value; - } - }, - get: function () { - return this._followdelete; - } - }, - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _initial_master: { - value: null - }, - initial_master: { - set: function (value) { - if (this._initial_master !== value) { - this._initial_master = value; - } - }, - get: function () { - return this._initial_master; - } - }, - _master: { - value: null - }, - master: { - set: function (value) { - if (this._master !== value) { - this._master = value; - } - }, - get: function () { - return this._master; - } - }, - _name: { - value: null - }, - name: { - set: function (value) { - if (this._name !== value) { - this._name = value; - } - }, - get: function () { - return this._name; - } - }, - _recursive: { - value: null - }, - recursive: { - set: function (value) { - if (this._recursive !== value) { - this._recursive = value; - } - }, - get: function () { - return this._recursive; - } - }, - _replicate_services: { - value: null - }, - replicate_services: { - set: function (value) { - if (this._replicate_services !== value) { - this._replicate_services = value; - } - }, - get: function () { - return this._replicate_services; - } - }, - _slave: { - value: null - }, - slave: { - set: function (value) { - if (this._slave !== value) { - this._slave = value; - } - }, - get: function () { - return this._slave; - } - }, - _snapshot_lifetime: { - value: null - }, - snapshot_lifetime: { - set: function (value) { - if (this._snapshot_lifetime !== value) { - this._snapshot_lifetime = value; - } - }, - get: function () { - return this._snapshot_lifetime; - } - }, - _status: { - value: null - }, - status: { - set: function (value) { - if (this._status !== value) { - this._status = value; - } - }, - get: function () { - return this._status; - } - }, - _transport_options: { - value: null - }, - transport_options: { - set: function (value) { - if (this._transport_options !== value) { - this._transport_options = value; - } - }, - get: function () { - return this._transport_options; - } - }, - _update_date: { - value: null - }, - update_date: { - set: function (value) { - if (this._update_date !== value) { - this._update_date = value; - } - }, - get: function () { - return this._update_date; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "auto_recover", - valueType: "boolean" - }, { - mandatory: false, - name: "bidirectional", - valueType: "boolean" - }, { - mandatory: false, - name: "datasets", - valueType: "array" - }, { - mandatory: false, - name: "followdelete", - valueType: "boolean" - }, { - mandatory: false, - name: "id", - valueType: "String" - }, { - mandatory: false, - name: "initial_master", - valueType: "String" - }, { - mandatory: false, - name: "master", - valueType: "String" - }, { - mandatory: false, - name: "name", - valueType: "String" - }, { - mandatory: false, - name: "recursive", - valueType: "boolean" - }, { - mandatory: false, - name: "replicate_services", - valueType: "boolean" - }, { - mandatory: false, - name: "slave", - valueType: "String" - }, { - mandatory: false, - name: "snapshot_lifetime", - valueType: "number" - }, { - mandatory: false, - name: "status", - valueObjectPrototypeName: "ReplicationStatus", - valueType: "object" - }, { - mandatory: false, - name: "transport_options", - valueObjectPrototypeName: "ReplicationTransportOption", - valueType: "array" - }, { - mandatory: false, - name: "update_date", - valueType: "String" - }] - } -}); diff --git a/core/model/models/rsync-copy-rsync-properties-anonymous.js b/core/model/models/rsync-copy-rsync-properties-anonymous.js deleted file mode 100644 index 1e1fa0f697..0000000000 --- a/core/model/models/rsync-copy-rsync-properties-anonymous.js +++ /dev/null @@ -1,161 +0,0 @@ -var Montage = require("montage").Montage; - -exports.RsyncCopyRsyncPropertiesAnonymous = Montage.specialize({ - _archive: { - value: null - }, - archive: { - set: function (value) { - if (this._archive !== value) { - this._archive = value; - } - }, - get: function () { - return this._archive; - } - }, - _compress: { - value: null - }, - compress: { - set: function (value) { - if (this._compress !== value) { - this._compress = value; - } - }, - get: function () { - return this._compress; - } - }, - _delay_updates: { - value: null - }, - delay_updates: { - set: function (value) { - if (this._delay_updates !== value) { - this._delay_updates = value; - } - }, - get: function () { - return this._delay_updates; - } - }, - _delete: { - value: null - }, - delete: { - set: function (value) { - if (this._delete !== value) { - this._delete = value; - } - }, - get: function () { - return this._delete; - } - }, - _extra: { - value: null - }, - extra: { - set: function (value) { - if (this._extra !== value) { - this._extra = value; - } - }, - get: function () { - return this._extra; - } - }, - _preserve_attributes: { - value: null - }, - preserve_attributes: { - set: function (value) { - if (this._preserve_attributes !== value) { - this._preserve_attributes = value; - } - }, - get: function () { - return this._preserve_attributes; - } - }, - _preserve_permissions: { - value: null - }, - preserve_permissions: { - set: function (value) { - if (this._preserve_permissions !== value) { - this._preserve_permissions = value; - } - }, - get: function () { - return this._preserve_permissions; - } - }, - _recursive: { - value: null - }, - recursive: { - set: function (value) { - if (this._recursive !== value) { - this._recursive = value; - } - }, - get: function () { - return this._recursive; - } - }, - _times: { - value: null - }, - times: { - set: function (value) { - if (this._times !== value) { - this._times = value; - } - }, - get: function () { - return this._times; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "archive", - valueType: "boolean" - }, { - mandatory: false, - name: "compress", - valueType: "boolean" - }, { - mandatory: false, - name: "delay_updates", - valueType: "boolean" - }, { - mandatory: false, - name: "delete", - valueType: "boolean" - }, { - mandatory: false, - name: "extra", - valueType: "String" - }, { - mandatory: false, - name: "preserve_attributes", - valueType: "boolean" - }, { - mandatory: false, - name: "preserve_permissions", - valueType: "boolean" - }, { - mandatory: false, - name: "recursive", - valueType: "boolean" - }, { - mandatory: false, - name: "times", - valueType: "boolean" - }] - } -}); diff --git a/core/model/models/rsync-copy.js b/core/model/models/rsync-copy.js deleted file mode 100644 index cedad0a83d..0000000000 --- a/core/model/models/rsync-copy.js +++ /dev/null @@ -1,197 +0,0 @@ -var Montage = require("montage").Montage; - -exports.RsyncCopy = Montage.specialize({ - _path: { - value: null - }, - path: { - set: function (value) { - if (this._path !== value) { - this._path = value; - } - }, - get: function () { - return this._path; - } - }, - _quiet: { - value: null - }, - quiet: { - set: function (value) { - if (this._quiet !== value) { - this._quiet = value; - } - }, - get: function () { - return this._quiet; - } - }, - _remote_host: { - value: null - }, - remote_host: { - set: function (value) { - if (this._remote_host !== value) { - this._remote_host = value; - } - }, - get: function () { - return this._remote_host; - } - }, - _remote_module: { - value: null - }, - remote_module: { - set: function (value) { - if (this._remote_module !== value) { - this._remote_module = value; - } - }, - get: function () { - return this._remote_module; - } - }, - _remote_path: { - value: null - }, - remote_path: { - set: function (value) { - if (this._remote_path !== value) { - this._remote_path = value; - } - }, - get: function () { - return this._remote_path; - } - }, - _remote_ssh_port: { - value: null - }, - remote_ssh_port: { - set: function (value) { - if (this._remote_ssh_port !== value) { - this._remote_ssh_port = value; - } - }, - get: function () { - return this._remote_ssh_port; - } - }, - _remote_user: { - value: null - }, - remote_user: { - set: function (value) { - if (this._remote_user !== value) { - this._remote_user = value; - } - }, - get: function () { - return this._remote_user; - } - }, - _rsync_direction: { - value: null - }, - rsync_direction: { - set: function (value) { - if (this._rsync_direction !== value) { - this._rsync_direction = value; - } - }, - get: function () { - return this._rsync_direction; - } - }, - _rsync_mode: { - value: null - }, - rsync_mode: { - set: function (value) { - if (this._rsync_mode !== value) { - this._rsync_mode = value; - } - }, - get: function () { - return this._rsync_mode; - } - }, - _rsync_properties: { - value: null - }, - rsync_properties: { - set: function (value) { - if (this._rsync_properties !== value) { - this._rsync_properties = value; - } - }, - get: function () { - return this._rsync_properties; - } - }, - _user: { - value: null - }, - user: { - set: function (value) { - if (this._user !== value) { - this._user = value; - } - }, - get: function () { - return this._user; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: true, - name: "path", - valueType: "String" - }, { - mandatory: true, - name: "quiet", - valueType: "boolean" - }, { - mandatory: true, - name: "remote_host", - valueType: "String" - }, { - mandatory: true, - name: "remote_module", - valueType: "String" - }, { - mandatory: true, - name: "remote_path", - valueType: "String" - }, { - mandatory: true, - name: "remote_ssh_port", - valueType: "number" - }, { - mandatory: true, - name: "remote_user", - valueType: "String" - }, { - mandatory: true, - name: "rsync_direction", - valueObjectPrototypeName: "RsyncCopyRsyncdirection", - valueType: "object" - }, { - mandatory: true, - name: "rsync_mode", - valueObjectPrototypeName: "RsyncCopyRsyncmode", - valueType: "object" - }, { - mandatory: true, - name: "rsync_properties", - valueType: "object" - }, { - mandatory: false, - name: "user", - valueType: "String" - }] - } -}); diff --git a/core/model/models/rsyncd-module.js b/core/model/models/rsyncd-module.js deleted file mode 100644 index e129c2ac58..0000000000 --- a/core/model/models/rsyncd-module.js +++ /dev/null @@ -1,211 +0,0 @@ -var Montage = require("montage").Montage; - -exports.RsyncdModule = Montage.specialize({ - _auxiliary: { - value: null - }, - auxiliary: { - set: function (value) { - if (this._auxiliary !== value) { - this._auxiliary = value; - } - }, - get: function () { - return this._auxiliary; - } - }, - _description: { - value: null - }, - description: { - set: function (value) { - if (this._description !== value) { - this._description = value; - } - }, - get: function () { - return this._description; - } - }, - _group: { - value: null - }, - group: { - set: function (value) { - if (this._group !== value) { - this._group = value; - } - }, - get: function () { - return this._group; - } - }, - _hosts_allow: { - value: null - }, - hosts_allow: { - set: function (value) { - if (this._hosts_allow !== value) { - this._hosts_allow = value; - } - }, - get: function () { - return this._hosts_allow; - } - }, - _hosts_deny: { - value: null - }, - hosts_deny: { - set: function (value) { - if (this._hosts_deny !== value) { - this._hosts_deny = value; - } - }, - get: function () { - return this._hosts_deny; - } - }, - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _max_connections: { - value: null - }, - max_connections: { - set: function (value) { - if (this._max_connections !== value) { - this._max_connections = value; - } - }, - get: function () { - return this._max_connections; - } - }, - _mode: { - value: null - }, - mode: { - set: function (value) { - if (this._mode !== value) { - this._mode = value; - } - }, - get: function () { - return this._mode; - } - }, - _name: { - value: null - }, - name: { - set: function (value) { - if (this._name !== value) { - this._name = value; - } - }, - get: function () { - return this._name; - } - }, - _path: { - value: null - }, - path: { - set: function (value) { - if (this._path !== value) { - this._path = value; - } - }, - get: function () { - return this._path; - } - }, - _user: { - value: null - }, - user: { - set: function (value) { - if (this._user !== value) { - this._user = value; - } - }, - get: function () { - return this._user; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "auxiliary", - valueType: "String" - }, { - mandatory: false, - name: "description", - valueType: "String" - }, { - mandatory: false, - name: "group", - valueType: "String" - }, { - mandatory: false, - name: "hosts_allow", - valueType: "array" - }, { - mandatory: false, - name: "hosts_deny", - valueType: "array" - }, { - mandatory: false, - name: "id", - valueType: "String" - }, { - mandatory: false, - name: "max_connections", - valueType: "number" - }, { - mandatory: false, - name: "mode", - valueObjectPrototypeName: "RsyncdModuleMode", - valueType: "object" - }, { - mandatory: false, - name: "name", - valueType: "String" - }, { - mandatory: false, - name: "path", - valueType: "String" - }, { - mandatory: false, - name: "user", - valueType: "String" - }] - }, - userInterfaceDescriptor: { - value: { - collectionInspectorComponentModule: { - id: 'ui/controls/viewer.reel' - }, - collectionNameExpression: "'Rsyncd Modules'", - inspectorComponentModule: { - id: 'ui/inspectors/rsyncd-module.reel' - }, - creatorComponentModule: { - id: 'ui/inspectors/rsyncd-module.reel' - }, - nameExpression: "!!name ? name : 'Create a Rsyncd Module'" - } - } -}); diff --git a/core/model/models/rusage.js b/core/model/models/rusage.js deleted file mode 100644 index 001e29db9b..0000000000 --- a/core/model/models/rusage.js +++ /dev/null @@ -1,280 +0,0 @@ -var Montage = require("montage").Montage; - -exports.Rusage = Montage.specialize({ - _ru_idrss: { - value: null - }, - ru_idrss: { - set: function (value) { - if (this._ru_idrss !== value) { - this._ru_idrss = value; - } - }, - get: function () { - return this._ru_idrss; - } - }, - _ru_inblock: { - value: null - }, - ru_inblock: { - set: function (value) { - if (this._ru_inblock !== value) { - this._ru_inblock = value; - } - }, - get: function () { - return this._ru_inblock; - } - }, - _ru_isrss: { - value: null - }, - ru_isrss: { - set: function (value) { - if (this._ru_isrss !== value) { - this._ru_isrss = value; - } - }, - get: function () { - return this._ru_isrss; - } - }, - _ru_ixrss: { - value: null - }, - ru_ixrss: { - set: function (value) { - if (this._ru_ixrss !== value) { - this._ru_ixrss = value; - } - }, - get: function () { - return this._ru_ixrss; - } - }, - _ru_majflt: { - value: null - }, - ru_majflt: { - set: function (value) { - if (this._ru_majflt !== value) { - this._ru_majflt = value; - } - }, - get: function () { - return this._ru_majflt; - } - }, - _ru_maxrss: { - value: null - }, - ru_maxrss: { - set: function (value) { - if (this._ru_maxrss !== value) { - this._ru_maxrss = value; - } - }, - get: function () { - return this._ru_maxrss; - } - }, - _ru_minflt: { - value: null - }, - ru_minflt: { - set: function (value) { - if (this._ru_minflt !== value) { - this._ru_minflt = value; - } - }, - get: function () { - return this._ru_minflt; - } - }, - _ru_msgrcv: { - value: null - }, - ru_msgrcv: { - set: function (value) { - if (this._ru_msgrcv !== value) { - this._ru_msgrcv = value; - } - }, - get: function () { - return this._ru_msgrcv; - } - }, - _ru_msgsnd: { - value: null - }, - ru_msgsnd: { - set: function (value) { - if (this._ru_msgsnd !== value) { - this._ru_msgsnd = value; - } - }, - get: function () { - return this._ru_msgsnd; - } - }, - _ru_nivcsw: { - value: null - }, - ru_nivcsw: { - set: function (value) { - if (this._ru_nivcsw !== value) { - this._ru_nivcsw = value; - } - }, - get: function () { - return this._ru_nivcsw; - } - }, - _ru_nsignals: { - value: null - }, - ru_nsignals: { - set: function (value) { - if (this._ru_nsignals !== value) { - this._ru_nsignals = value; - } - }, - get: function () { - return this._ru_nsignals; - } - }, - _ru_nswap: { - value: null - }, - ru_nswap: { - set: function (value) { - if (this._ru_nswap !== value) { - this._ru_nswap = value; - } - }, - get: function () { - return this._ru_nswap; - } - }, - _ru_nvcsw: { - value: null - }, - ru_nvcsw: { - set: function (value) { - if (this._ru_nvcsw !== value) { - this._ru_nvcsw = value; - } - }, - get: function () { - return this._ru_nvcsw; - } - }, - _ru_oublock: { - value: null - }, - ru_oublock: { - set: function (value) { - if (this._ru_oublock !== value) { - this._ru_oublock = value; - } - }, - get: function () { - return this._ru_oublock; - } - }, - _ru_stime: { - value: null - }, - ru_stime: { - set: function (value) { - if (this._ru_stime !== value) { - this._ru_stime = value; - } - }, - get: function () { - return this._ru_stime; - } - }, - _ru_utime: { - value: null - }, - ru_utime: { - set: function (value) { - if (this._ru_utime !== value) { - this._ru_utime = value; - } - }, - get: function () { - return this._ru_utime; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "ru_idrss", - valueType: "number" - }, { - mandatory: false, - name: "ru_inblock", - valueType: "number" - }, { - mandatory: false, - name: "ru_isrss", - valueType: "number" - }, { - mandatory: false, - name: "ru_ixrss", - valueType: "number" - }, { - mandatory: false, - name: "ru_majflt", - valueType: "number" - }, { - mandatory: false, - name: "ru_maxrss", - valueType: "number" - }, { - mandatory: false, - name: "ru_minflt", - valueType: "number" - }, { - mandatory: false, - name: "ru_msgrcv", - valueType: "number" - }, { - mandatory: false, - name: "ru_msgsnd", - valueType: "number" - }, { - mandatory: false, - name: "ru_nivcsw", - valueType: "number" - }, { - mandatory: false, - name: "ru_nsignals", - valueType: "number" - }, { - mandatory: false, - name: "ru_nswap", - valueType: "number" - }, { - mandatory: false, - name: "ru_nvcsw", - valueType: "number" - }, { - mandatory: false, - name: "ru_oublock", - valueType: "number" - }, { - mandatory: false, - name: "ru_stime", - valueType: "number" - }, { - mandatory: false, - name: "ru_utime", - valueType: "number" - }] - } -}); diff --git a/core/model/models/scrub.js b/core/model/models/scrub.js deleted file mode 100644 index c2e12a25cb..0000000000 --- a/core/model/models/scrub.js +++ /dev/null @@ -1,12 +0,0 @@ -var Montage = require("montage").Montage; - -exports.Scrub = Montage.specialize(null, { - userInterfaceDescriptor: { - value: { - inspectorComponentModule: { - id: 'ui/inspectors/scrub.reel' - }, - nameExpression: "'Scrub'" - } - } -}); diff --git a/core/model/models/section-settings.js b/core/model/models/section-settings.js deleted file mode 100644 index 76dc8288ab..0000000000 --- a/core/model/models/section-settings.js +++ /dev/null @@ -1,50 +0,0 @@ -var Montage = require("montage").Montage; - -exports.SectionSettings = Montage.specialize({ - _section: { - value: null - }, - section: { - set: function (value) { - if (this._section !== value) { - this._section = value; - } - }, - get: function () { - return this._section; - } - }, - _settings: { - value: null - }, - settings: { - set: function (value) { - if (this._settings !== value) { - this._settings = value; - } - }, - get: function () { - return this._settings; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "section", - valueType: "object" - }, { - mandatory: false, - name: "settings", - valueType: "object" - }] - }, - userInterfaceDescriptor: { - value: { - inspectorComponentModule: { - id: 'ui/controls/section.reel/section-settings.reel' - }, - nameExpression: "section.label + ' settings'" - } - } -}); diff --git a/core/model/models/section.js b/core/model/models/section.js deleted file mode 100644 index 3c4e1c7eba..0000000000 --- a/core/model/models/section.js +++ /dev/null @@ -1,129 +0,0 @@ -var Montage = require("montage").Montage; - -exports.Section = Montage.specialize({ - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _label: { - value: null - }, - label: { - set: function (value) { - if (this._label !== value) { - this._label = value; - } - }, - get: function () { - return this._label; - } - }, - _icon: { - value: null - }, - icon: { - set: function (value) { - if (this._icon !== value) { - this._icon = value; - } - }, - get: function () { - return this._icon; - } - }, - _order: { - value: null - }, - order: { - set: function (value) { - if (this._order !== value) { - this._order = value; - } - }, - get: function () { - return this._order; - } - }, - _entries: { - value: null - }, - entries: { - set: function (value) { - if (this._entries !== value) { - this._entries = value; - } - }, - get: function () { - return this._entries; - } - }, - _overview: { - value: null - }, - overview: { - set: function (value) { - if (this._overview !== value) { - this._overview = value; - } - }, - get: function () { - return this._overview; - } - }, - _settings: { - value: null - }, - settings: { - set: function (value) { - if (this._settings !== value) { - this._settings = value; - } - }, - get: function () { - return this._settings; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "id" - }, { - mandatory: false, - name: "label" - }, { - mandatory: false, - name: "icon" - }, { - mandatory: false, - name: "order" - }, { - mandatory: false, - name: "entries" - }, { - mandatory: false, - name: "overview" - }, { - mandatory: false, - name: "settings" - }] - }, - userInterfaceDescriptor: { - value: { - inspectorComponentModule: { - id: 'ui/controls/section-root.reel' - }, - nameExpression: "label", - sortExpression: "order" - } - } -}); diff --git a/core/model/models/serial-port-device.js b/core/model/models/serial-port-device.js deleted file mode 100644 index acc7b7f85a..0000000000 --- a/core/model/models/serial-port-device.js +++ /dev/null @@ -1,110 +0,0 @@ -var Montage = require("montage").Montage; - -exports.SerialPortDevice = Montage.specialize({ - _description: { - value: null - }, - description: { - set: function (value) { - if (this._description !== value) { - this._description = value; - } - }, - get: function () { - return this._description; - } - }, - _drivername: { - value: null - }, - drivername: { - set: function (value) { - if (this._drivername !== value) { - this._drivername = value; - } - }, - get: function () { - return this._drivername; - } - }, - _location: { - value: null - }, - location: { - set: function (value) { - if (this._location !== value) { - this._location = value; - } - }, - get: function () { - return this._location; - } - }, - _name: { - value: null - }, - name: { - set: function (value) { - if (this._name !== value) { - this._name = value; - } - }, - get: function () { - return this._name; - } - }, - _size: { - value: null - }, - size: { - set: function (value) { - if (this._size !== value) { - this._size = value; - } - }, - get: function () { - return this._size; - } - }, - _start: { - value: null - }, - start: { - set: function (value) { - if (this._start !== value) { - this._start = value; - } - }, - get: function () { - return this._start; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "description", - valueType: "String" - }, { - mandatory: false, - name: "drivername", - valueType: "String" - }, { - mandatory: false, - name: "location", - valueType: "String" - }, { - mandatory: false, - name: "name", - valueType: "String" - }, { - mandatory: false, - name: "size", - valueType: "String" - }, { - mandatory: false, - name: "start", - valueType: "String" - }] - } -}); diff --git a/core/model/models/service-afp.js b/core/model/models/service-afp.js deleted file mode 100644 index aae3da7e82..0000000000 --- a/core/model/models/service-afp.js +++ /dev/null @@ -1,194 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ServiceAfp = Montage.specialize({ - _auxiliary: { - value: null - }, - auxiliary: { - set: function (value) { - if (this._auxiliary !== value) { - this._auxiliary = value; - } - }, - get: function () { - return this._auxiliary; - } - }, - _bind_addresses: { - value: null - }, - bind_addresses: { - set: function (value) { - if (this._bind_addresses !== value) { - this._bind_addresses = value; - } - }, - get: function () { - return this._bind_addresses; - } - }, - _connections_limit: { - value: null - }, - connections_limit: { - set: function (value) { - if (this._connections_limit !== value) { - this._connections_limit = value; - } - }, - get: function () { - return this._connections_limit; - } - }, - _dbpath: { - value: null - }, - dbpath: { - set: function (value) { - if (this._dbpath !== value) { - this._dbpath = value; - } - }, - get: function () { - return this._dbpath; - } - }, - _enable: { - value: null - }, - enable: { - set: function (value) { - if (this._enable !== value) { - this._enable = value; - } - }, - get: function () { - return this._enable; - } - }, - _guest_enable: { - value: null - }, - guest_enable: { - set: function (value) { - if (this._guest_enable !== value) { - this._guest_enable = value; - } - }, - get: function () { - return this._guest_enable; - } - }, - _guest_user: { - value: null - }, - guest_user: { - set: function (value) { - if (this._guest_user !== value) { - this._guest_user = value; - } - }, - get: function () { - return this._guest_user; - } - }, - _homedir_enable: { - value: null - }, - homedir_enable: { - set: function (value) { - if (this._homedir_enable !== value) { - this._homedir_enable = value; - } - }, - get: function () { - return this._homedir_enable; - } - }, - _homedir_name: { - value: null - }, - homedir_name: { - set: function (value) { - if (this._homedir_name !== value) { - this._homedir_name = value; - } - }, - get: function () { - return this._homedir_name; - } - }, - _homedir_path: { - value: null - }, - homedir_path: { - set: function (value) { - if (this._homedir_path !== value) { - this._homedir_path = value; - } - }, - get: function () { - return this._homedir_path; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "auxiliary", - valueType: "String" - }, { - mandatory: false, - name: "bind_addresses", - valueType: "array" - }, { - mandatory: false, - name: "connections_limit", - valueType: "number" - }, { - mandatory: false, - name: "dbpath", - valueType: "String" - }, { - mandatory: false, - name: "enable", - valueType: "boolean" - }, { - mandatory: false, - name: "guest_enable", - valueType: "boolean" - }, { - mandatory: false, - name: "guest_user", - valueType: "String" - }, { - mandatory: false, - name: "homedir_enable", - valueType: "boolean" - }, { - mandatory: false, - name: "homedir_name", - valueType: "String" - }, { - mandatory: false, - name: "homedir_path", - valueType: "String" - }, { - mandatory: false, - name: "type" - }] - } -}); diff --git a/core/model/models/service-consul.js b/core/model/models/service-consul.js deleted file mode 100644 index 600787d885..0000000000 --- a/core/model/models/service-consul.js +++ /dev/null @@ -1,177 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ServiceConsul = Montage.specialize({ - _bind_address: { - value: null - }, - bind_address: { - set: function (value) { - if (this._bind_address !== value) { - this._bind_address = value; - } - }, - get: function () { - return this._bind_address; - } - }, - _datacenter: { - value: null - }, - datacenter: { - set: function (value) { - if (this._datacenter !== value) { - this._datacenter = value; - } - }, - get: function () { - return this._datacenter; - } - }, - _enable: { - value: null - }, - enable: { - set: function (value) { - if (this._enable !== value) { - this._enable = value; - } - }, - get: function () { - return this._enable; - } - }, - _encryption_key: { - value: null - }, - encryption_key: { - set: function (value) { - if (this._encryption_key !== value) { - this._encryption_key = value; - } - }, - get: function () { - return this._encryption_key; - } - }, - _node_name: { - value: null - }, - node_name: { - set: function (value) { - if (this._node_name !== value) { - this._node_name = value; - } - }, - get: function () { - return this._node_name; - } - }, - _retry_join: { - value: null - }, - retry_join: { - set: function (value) { - if (this._retry_join !== value) { - this._retry_join = value; - } - }, - get: function () { - return this._retry_join; - } - }, - _server: { - value: null - }, - server: { - set: function (value) { - if (this._server !== value) { - this._server = value; - } - }, - get: function () { - return this._server; - } - }, - _start_join: { - value: null - }, - start_join: { - set: function (value) { - if (this._start_join !== value) { - this._start_join = value; - } - }, - get: function () { - return this._start_join; - } - }, - _start_join_wan: { - value: null - }, - start_join_wan: { - set: function (value) { - if (this._start_join_wan !== value) { - this._start_join_wan = value; - } - }, - get: function () { - return this._start_join_wan; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "bind_address", - valueType: "String" - }, { - mandatory: false, - name: "datacenter", - valueType: "String" - }, { - mandatory: false, - name: "enable", - valueType: "boolean" - }, { - mandatory: false, - name: "encryption_key", - valueType: "String" - }, { - mandatory: false, - name: "node_name", - valueType: "String" - }, { - mandatory: false, - name: "retry_join", - valueType: "boolean" - }, { - mandatory: false, - name: "server", - valueType: "boolean" - }, { - mandatory: false, - name: "start_join", - valueType: "array" - }, { - mandatory: false, - name: "start_join_wan", - valueType: "array" - }, { - mandatory: false, - name: "type" - }] - } -}); diff --git a/core/model/models/service-dc.js b/core/model/models/service-dc.js deleted file mode 100644 index 6f10f6d083..0000000000 --- a/core/model/models/service-dc.js +++ /dev/null @@ -1,58 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ServiceDc = Montage.specialize({ - _enable: { - value: null - }, - enable: { - set: function (value) { - if (this._enable !== value) { - this._enable = value; - } - }, - get: function () { - return this._enable; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - }, - _volume: { - value: null - }, - volume: { - set: function (value) { - if (this._volume !== value) { - this._volume = value; - } - }, - get: function () { - return this._volume; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "enable", - valueType: "boolean" - }, { - mandatory: false, - name: "type" - }, { - mandatory: false, - name: "volume", - valueType: "String" - }] - } -}); diff --git a/core/model/models/service-dyndns.js b/core/model/models/service-dyndns.js deleted file mode 100644 index c81f225255..0000000000 --- a/core/model/models/service-dyndns.js +++ /dev/null @@ -1,178 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ServiceDyndns = Montage.specialize({ - _auxiliary: { - value: null - }, - auxiliary: { - set: function (value) { - if (this._auxiliary !== value) { - this._auxiliary = value; - } - }, - get: function () { - return this._auxiliary; - } - }, - _domains: { - value: null - }, - domains: { - set: function (value) { - if (this._domains !== value) { - this._domains = value; - } - }, - get: function () { - return this._domains; - } - }, - _enable: { - value: null - }, - enable: { - set: function (value) { - if (this._enable !== value) { - this._enable = value; - } - }, - get: function () { - return this._enable; - } - }, - _force_update_period: { - value: null - }, - force_update_period: { - set: function (value) { - if (this._force_update_period !== value) { - this._force_update_period = value; - } - }, - get: function () { - return this._force_update_period; - } - }, - _ipserver: { - value: null - }, - ipserver: { - set: function (value) { - if (this._ipserver !== value) { - this._ipserver = value; - } - }, - get: function () { - return this._ipserver; - } - }, - _password: { - value: null - }, - password: { - set: function (value) { - if (this._password !== value) { - this._password = value; - } - }, - get: function () { - return this._password; - } - }, - _provider: { - value: null - }, - provider: { - set: function (value) { - if (this._provider !== value) { - this._provider = value; - } - }, - get: function () { - return this._provider; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - }, - _update_period: { - value: null - }, - update_period: { - set: function (value) { - if (this._update_period !== value) { - this._update_period = value; - } - }, - get: function () { - return this._update_period; - } - }, - _username: { - value: null - }, - username: { - set: function (value) { - if (this._username !== value) { - this._username = value; - } - }, - get: function () { - return this._username; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "auxiliary", - valueType: "String" - }, { - mandatory: false, - name: "domains", - valueType: "array" - }, { - mandatory: false, - name: "enable", - valueType: "boolean" - }, { - mandatory: false, - name: "force_update_period", - valueType: "number" - }, { - mandatory: false, - name: "ipserver", - valueType: "String" - }, { - mandatory: false, - name: "password", - valueType: "String" - }, { - mandatory: false, - name: "provider", - valueObjectPrototypeName: "ServiceDyndnsProvider", - valueType: "object" - }, { - mandatory: false, - name: "type" - }, { - mandatory: false, - name: "update_period", - valueType: "number" - }, { - mandatory: false, - name: "username", - valueType: "String" - }] - } -}); diff --git a/core/model/models/service-ftp.js b/core/model/models/service-ftp.js deleted file mode 100644 index b15a332d8c..0000000000 --- a/core/model/models/service-ftp.js +++ /dev/null @@ -1,538 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ServiceFtp = Montage.specialize({ - _anon_down_bandwidth: { - value: null - }, - anon_down_bandwidth: { - set: function (value) { - if (this._anon_down_bandwidth !== value) { - this._anon_down_bandwidth = value; - } - }, - get: function () { - return this._anon_down_bandwidth; - } - }, - _anon_up_bandwidth: { - value: null - }, - anon_up_bandwidth: { - set: function (value) { - if (this._anon_up_bandwidth !== value) { - this._anon_up_bandwidth = value; - } - }, - get: function () { - return this._anon_up_bandwidth; - } - }, - _anonymous_path: { - value: null - }, - anonymous_path: { - set: function (value) { - if (this._anonymous_path !== value) { - this._anonymous_path = value; - } - }, - get: function () { - return this._anonymous_path; - } - }, - _auxiliary: { - value: null - }, - auxiliary: { - set: function (value) { - if (this._auxiliary !== value) { - this._auxiliary = value; - } - }, - get: function () { - return this._auxiliary; - } - }, - _chroot: { - value: null - }, - chroot: { - set: function (value) { - if (this._chroot !== value) { - this._chroot = value; - } - }, - get: function () { - return this._chroot; - } - }, - _dirmask: { - value: null - }, - dirmask: { - set: function (value) { - if (this._dirmask !== value) { - this._dirmask = value; - } - }, - get: function () { - return this._dirmask; - } - }, - _display_login: { - value: null - }, - display_login: { - set: function (value) { - if (this._display_login !== value) { - this._display_login = value; - } - }, - get: function () { - return this._display_login; - } - }, - _enable: { - value: null - }, - enable: { - set: function (value) { - if (this._enable !== value) { - this._enable = value; - } - }, - get: function () { - return this._enable; - } - }, - _filemask: { - value: null - }, - filemask: { - set: function (value) { - if (this._filemask !== value) { - this._filemask = value; - } - }, - get: function () { - return this._filemask; - } - }, - _fxp: { - value: null - }, - fxp: { - set: function (value) { - if (this._fxp !== value) { - this._fxp = value; - } - }, - get: function () { - return this._fxp; - } - }, - _ident: { - value: null - }, - ident: { - set: function (value) { - if (this._ident !== value) { - this._ident = value; - } - }, - get: function () { - return this._ident; - } - }, - _ip_connections: { - value: null - }, - ip_connections: { - set: function (value) { - if (this._ip_connections !== value) { - this._ip_connections = value; - } - }, - get: function () { - return this._ip_connections; - } - }, - _local_down_bandwidth: { - value: null - }, - local_down_bandwidth: { - set: function (value) { - if (this._local_down_bandwidth !== value) { - this._local_down_bandwidth = value; - } - }, - get: function () { - return this._local_down_bandwidth; - } - }, - _local_up_bandwidth: { - value: null - }, - local_up_bandwidth: { - set: function (value) { - if (this._local_up_bandwidth !== value) { - this._local_up_bandwidth = value; - } - }, - get: function () { - return this._local_up_bandwidth; - } - }, - _login_attempt: { - value: null - }, - login_attempt: { - set: function (value) { - if (this._login_attempt !== value) { - this._login_attempt = value; - } - }, - get: function () { - return this._login_attempt; - } - }, - _masquerade_address: { - value: null - }, - masquerade_address: { - set: function (value) { - if (this._masquerade_address !== value) { - this._masquerade_address = value; - } - }, - get: function () { - return this._masquerade_address; - } - }, - _max_clients: { - value: null - }, - max_clients: { - set: function (value) { - if (this._max_clients !== value) { - this._max_clients = value; - } - }, - get: function () { - return this._max_clients; - } - }, - _only_anonymous: { - value: null - }, - only_anonymous: { - set: function (value) { - if (this._only_anonymous !== value) { - this._only_anonymous = value; - } - }, - get: function () { - return this._only_anonymous; - } - }, - _only_local: { - value: null - }, - only_local: { - set: function (value) { - if (this._only_local !== value) { - this._only_local = value; - } - }, - get: function () { - return this._only_local; - } - }, - _passive_ports_max: { - value: null - }, - passive_ports_max: { - set: function (value) { - if (this._passive_ports_max !== value) { - this._passive_ports_max = value; - } - }, - get: function () { - return this._passive_ports_max; - } - }, - _passive_ports_min: { - value: null - }, - passive_ports_min: { - set: function (value) { - if (this._passive_ports_min !== value) { - this._passive_ports_min = value; - } - }, - get: function () { - return this._passive_ports_min; - } - }, - _port: { - value: null - }, - port: { - set: function (value) { - if (this._port !== value) { - this._port = value; - } - }, - get: function () { - return this._port; - } - }, - _resume: { - value: null - }, - resume: { - set: function (value) { - if (this._resume !== value) { - this._resume = value; - } - }, - get: function () { - return this._resume; - } - }, - _reverse_dns: { - value: null - }, - reverse_dns: { - set: function (value) { - if (this._reverse_dns !== value) { - this._reverse_dns = value; - } - }, - get: function () { - return this._reverse_dns; - } - }, - _root_login: { - value: null - }, - root_login: { - set: function (value) { - if (this._root_login !== value) { - this._root_login = value; - } - }, - get: function () { - return this._root_login; - } - }, - _timeout: { - value: null - }, - timeout: { - set: function (value) { - if (this._timeout !== value) { - this._timeout = value; - } - }, - get: function () { - return this._timeout; - } - }, - _tls: { - value: null - }, - tls: { - set: function (value) { - if (this._tls !== value) { - this._tls = value; - } - }, - get: function () { - return this._tls; - } - }, - _tls_options: { - value: null - }, - tls_options: { - set: function (value) { - if (this._tls_options !== value) { - this._tls_options = value; - } - }, - get: function () { - return this._tls_options; - } - }, - _tls_policy: { - value: null - }, - tls_policy: { - set: function (value) { - if (this._tls_policy !== value) { - this._tls_policy = value; - } - }, - get: function () { - return this._tls_policy; - } - }, - _tls_ssl_certificate: { - value: null - }, - tls_ssl_certificate: { - set: function (value) { - if (this._tls_ssl_certificate !== value) { - this._tls_ssl_certificate = value; - } - }, - get: function () { - return this._tls_ssl_certificate; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "anon_down_bandwidth", - valueType: "number" - }, { - mandatory: false, - name: "anon_up_bandwidth", - valueType: "number" - }, { - mandatory: false, - name: "anonymous_path", - valueType: "String" - }, { - mandatory: false, - name: "auxiliary", - valueType: "String" - }, { - mandatory: false, - name: "chroot", - valueType: "boolean" - }, { - mandatory: false, - name: "dirmask", - valueObjectPrototypeName: "UnixPermissions", - valueType: "object" - }, { - mandatory: false, - name: "display_login", - valueType: "String" - }, { - mandatory: false, - name: "enable", - valueType: "boolean" - }, { - mandatory: false, - name: "filemask", - valueObjectPrototypeName: "UnixPermissions", - valueType: "object" - }, { - mandatory: false, - name: "fxp", - valueType: "boolean" - }, { - mandatory: false, - name: "ident", - valueType: "boolean" - }, { - mandatory: false, - name: "ip_connections", - valueType: "number" - }, { - mandatory: false, - name: "local_down_bandwidth", - valueType: "number" - }, { - mandatory: false, - name: "local_up_bandwidth", - valueType: "number" - }, { - mandatory: false, - name: "login_attempt", - valueType: "number" - }, { - mandatory: false, - name: "masquerade_address", - valueType: "String" - }, { - mandatory: false, - name: "max_clients", - valueType: "number" - }, { - mandatory: false, - name: "only_anonymous", - valueType: "boolean" - }, { - mandatory: false, - name: "only_local", - valueType: "boolean" - }, { - mandatory: false, - name: "passive_ports_max", - valueType: "number" - }, { - mandatory: false, - name: "passive_ports_min", - valueType: "number" - }, { - mandatory: false, - name: "port", - valueType: "number" - }, { - mandatory: false, - name: "resume", - valueType: "boolean" - }, { - mandatory: false, - name: "reverse_dns", - valueType: "boolean" - }, { - mandatory: false, - name: "root_login", - valueType: "boolean" - }, { - mandatory: false, - name: "timeout", - valueType: "number" - }, { - mandatory: false, - name: "tls", - valueType: "boolean" - }, { - mandatory: false, - name: "tls_options", - valueObjectPrototypeName: "ServiceFtpTlsoptionsItems", - valueType: "array" - }, { - mandatory: false, - name: "tls_policy", - valueObjectPrototypeName: "ServiceFtpTlspolicy", - valueType: "object" - }, { - mandatory: false, - name: "tls_ssl_certificate", - valueType: "String" - }, { - mandatory: false, - name: "type" - }] - } -}); diff --git a/core/model/models/service-ipfs.js b/core/model/models/service-ipfs.js deleted file mode 100644 index c3cdf0e92e..0000000000 --- a/core/model/models/service-ipfs.js +++ /dev/null @@ -1,75 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ServiceIpfs = Montage.specialize({ - _enable: { - value: null - }, - enable: { - set: function (value) { - if (this._enable !== value) { - this._enable = value; - } - }, - get: function () { - return this._enable; - } - }, - _path: { - value: null - }, - path: { - set: function (value) { - if (this._path !== value) { - this._path = value; - } - }, - get: function () { - return this._path; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - }, - _webui: { - value: null - }, - webui: { - set: function (value) { - if (this._webui !== value) { - this._webui = value; - } - }, - get: function () { - return this._webui; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "enable", - valueType: "boolean" - }, { - mandatory: false, - name: "path", - valueType: "String" - }, { - mandatory: false, - name: "type" - }, { - mandatory: false, - name: "webui", - valueType: "boolean" - }] - } -}); diff --git a/core/model/models/service-iscsi.js b/core/model/models/service-iscsi.js deleted file mode 100644 index 11127f30bd..0000000000 --- a/core/model/models/service-iscsi.js +++ /dev/null @@ -1,92 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ServiceIscsi = Montage.specialize({ - _base_name: { - value: null - }, - base_name: { - set: function (value) { - if (this._base_name !== value) { - this._base_name = value; - } - }, - get: function () { - return this._base_name; - } - }, - _enable: { - value: null - }, - enable: { - set: function (value) { - if (this._enable !== value) { - this._enable = value; - } - }, - get: function () { - return this._enable; - } - }, - _isns_servers: { - value: null - }, - isns_servers: { - set: function (value) { - if (this._isns_servers !== value) { - this._isns_servers = value; - } - }, - get: function () { - return this._isns_servers; - } - }, - _pool_space_threshold: { - value: null - }, - pool_space_threshold: { - set: function (value) { - if (this._pool_space_threshold !== value) { - this._pool_space_threshold = value; - } - }, - get: function () { - return this._pool_space_threshold; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "base_name", - valueType: "String" - }, { - mandatory: false, - name: "enable", - valueType: "boolean" - }, { - mandatory: false, - name: "isns_servers", - valueType: "array" - }, { - mandatory: false, - name: "pool_space_threshold", - valueType: "number" - }, { - mandatory: false, - name: "type" - }] - } -}); diff --git a/core/model/models/service-lldp.js b/core/model/models/service-lldp.js deleted file mode 100644 index f4982f6921..0000000000 --- a/core/model/models/service-lldp.js +++ /dev/null @@ -1,92 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ServiceLldp = Montage.specialize({ - _country_code: { - value: null - }, - country_code: { - set: function (value) { - if (this._country_code !== value) { - this._country_code = value; - } - }, - get: function () { - return this._country_code; - } - }, - _enable: { - value: null - }, - enable: { - set: function (value) { - if (this._enable !== value) { - this._enable = value; - } - }, - get: function () { - return this._enable; - } - }, - _location: { - value: null - }, - location: { - set: function (value) { - if (this._location !== value) { - this._location = value; - } - }, - get: function () { - return this._location; - } - }, - _save_description: { - value: null - }, - save_description: { - set: function (value) { - if (this._save_description !== value) { - this._save_description = value; - } - }, - get: function () { - return this._save_description; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "country_code", - valueType: "String" - }, { - mandatory: false, - name: "enable", - valueType: "boolean" - }, { - mandatory: false, - name: "location", - valueType: "String" - }, { - mandatory: false, - name: "save_description", - valueType: "boolean" - }, { - mandatory: false, - name: "type" - }] - } -}); diff --git a/core/model/models/service-nfs.js b/core/model/models/service-nfs.js deleted file mode 100644 index 76dd90083d..0000000000 --- a/core/model/models/service-nfs.js +++ /dev/null @@ -1,194 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ServiceNfs = Montage.specialize({ - _bind_addresses: { - value: null - }, - bind_addresses: { - set: function (value) { - if (this._bind_addresses !== value) { - this._bind_addresses = value; - } - }, - get: function () { - return this._bind_addresses; - } - }, - _enable: { - value: null - }, - enable: { - set: function (value) { - if (this._enable !== value) { - this._enable = value; - } - }, - get: function () { - return this._enable; - } - }, - _mountd_port: { - value: null - }, - mountd_port: { - set: function (value) { - if (this._mountd_port !== value) { - this._mountd_port = value; - } - }, - get: function () { - return this._mountd_port; - } - }, - _nonroot: { - value: null - }, - nonroot: { - set: function (value) { - if (this._nonroot !== value) { - this._nonroot = value; - } - }, - get: function () { - return this._nonroot; - } - }, - _rpclockd_port: { - value: null - }, - rpclockd_port: { - set: function (value) { - if (this._rpclockd_port !== value) { - this._rpclockd_port = value; - } - }, - get: function () { - return this._rpclockd_port; - } - }, - _rpcstatd_port: { - value: null - }, - rpcstatd_port: { - set: function (value) { - if (this._rpcstatd_port !== value) { - this._rpcstatd_port = value; - } - }, - get: function () { - return this._rpcstatd_port; - } - }, - _servers: { - value: null - }, - servers: { - set: function (value) { - if (this._servers !== value) { - this._servers = value; - } - }, - get: function () { - return this._servers; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - }, - _udp: { - value: null - }, - udp: { - set: function (value) { - if (this._udp !== value) { - this._udp = value; - } - }, - get: function () { - return this._udp; - } - }, - _v4: { - value: null - }, - v4: { - set: function (value) { - if (this._v4 !== value) { - this._v4 = value; - } - }, - get: function () { - return this._v4; - } - }, - _v4_kerberos: { - value: null - }, - v4_kerberos: { - set: function (value) { - if (this._v4_kerberos !== value) { - this._v4_kerberos = value; - } - }, - get: function () { - return this._v4_kerberos; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "bind_addresses", - valueType: "array" - }, { - mandatory: false, - name: "enable", - valueType: "boolean" - }, { - mandatory: false, - name: "mountd_port", - valueType: "number" - }, { - mandatory: false, - name: "nonroot", - valueType: "boolean" - }, { - mandatory: false, - name: "rpclockd_port", - valueType: "number" - }, { - mandatory: false, - name: "rpcstatd_port", - valueType: "number" - }, { - mandatory: false, - name: "servers", - valueType: "number" - }, { - mandatory: false, - name: "type" - }, { - mandatory: false, - name: "udp", - valueType: "boolean" - }, { - mandatory: false, - name: "v4", - valueType: "boolean" - }, { - mandatory: false, - name: "v4_kerberos", - valueType: "boolean" - }] - } -}); diff --git a/core/model/models/service-openvpn.js b/core/model/models/service-openvpn.js deleted file mode 100644 index b1d8f9b9e1..0000000000 --- a/core/model/models/service-openvpn.js +++ /dev/null @@ -1,534 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ServiceOpenvpn = Montage.specialize({ - _auxiliary: { - value: null - }, - auxiliary: { - set: function (value) { - if (this._auxiliary !== value) { - this._auxiliary = value; - } - }, - get: function () { - return this._auxiliary; - } - }, - _ca: { - value: null - }, - ca: { - set: function (value) { - if (this._ca !== value) { - this._ca = value; - } - }, - get: function () { - return this._ca; - } - }, - _cert: { - value: null - }, - cert: { - set: function (value) { - if (this._cert !== value) { - this._cert = value; - } - }, - get: function () { - return this._cert; - } - }, - _cipher: { - value: null - }, - cipher: { - set: function (value) { - if (this._cipher !== value) { - this._cipher = value; - } - }, - get: function () { - return this._cipher; - } - }, - _comp_lzo: { - value: null - }, - comp_lzo: { - set: function (value) { - if (this._comp_lzo !== value) { - this._comp_lzo = value; - } - }, - get: function () { - return this._comp_lzo; - } - }, - _crl_verify: { - value: null - }, - crl_verify: { - set: function (value) { - if (this._crl_verify !== value) { - this._crl_verify = value; - } - }, - get: function () { - return this._crl_verify; - } - }, - _dev: { - value: null - }, - dev: { - set: function (value) { - if (this._dev !== value) { - this._dev = value; - } - }, - get: function () { - return this._dev; - } - }, - _dh: { - value: null - }, - dh: { - set: function (value) { - if (this._dh !== value) { - this._dh = value; - } - }, - get: function () { - return this._dh; - } - }, - _enable: { - value: null - }, - enable: { - set: function (value) { - if (this._enable !== value) { - this._enable = value; - } - }, - get: function () { - return this._enable; - } - }, - _group: { - value: null - }, - group: { - set: function (value) { - if (this._group !== value) { - this._group = value; - } - }, - get: function () { - return this._group; - } - }, - _keepalive_peer_down: { - value: null - }, - keepalive_peer_down: { - set: function (value) { - if (this._keepalive_peer_down !== value) { - this._keepalive_peer_down = value; - } - }, - get: function () { - return this._keepalive_peer_down; - } - }, - _keepalive_ping_interval: { - value: null - }, - keepalive_ping_interval: { - set: function (value) { - if (this._keepalive_ping_interval !== value) { - this._keepalive_ping_interval = value; - } - }, - get: function () { - return this._keepalive_ping_interval; - } - }, - _key: { - value: null - }, - key: { - set: function (value) { - if (this._key !== value) { - this._key = value; - } - }, - get: function () { - return this._key; - } - }, - _max_clients: { - value: null - }, - max_clients: { - set: function (value) { - if (this._max_clients !== value) { - this._max_clients = value; - } - }, - get: function () { - return this._max_clients; - } - }, - _mode: { - value: null - }, - mode: { - set: function (value) { - if (this._mode !== value) { - this._mode = value; - } - }, - get: function () { - return this._mode; - } - }, - _persist_key: { - value: null - }, - persist_key: { - set: function (value) { - if (this._persist_key !== value) { - this._persist_key = value; - } - }, - get: function () { - return this._persist_key; - } - }, - _persist_tun: { - value: null - }, - persist_tun: { - set: function (value) { - if (this._persist_tun !== value) { - this._persist_tun = value; - } - }, - get: function () { - return this._persist_tun; - } - }, - _port: { - value: null - }, - port: { - set: function (value) { - if (this._port !== value) { - this._port = value; - } - }, - get: function () { - return this._port; - } - }, - _proto: { - value: null - }, - proto: { - set: function (value) { - if (this._proto !== value) { - this._proto = value; - } - }, - get: function () { - return this._proto; - } - }, - _psk_remote_ip: { - value: null - }, - psk_remote_ip: { - set: function (value) { - if (this._psk_remote_ip !== value) { - this._psk_remote_ip = value; - } - }, - get: function () { - return this._psk_remote_ip; - } - }, - _psk_server_ip: { - value: null - }, - psk_server_ip: { - set: function (value) { - if (this._psk_server_ip !== value) { - this._psk_server_ip = value; - } - }, - get: function () { - return this._psk_server_ip; - } - }, - _server_bridge: { - value: null - }, - server_bridge: { - set: function (value) { - if (this._server_bridge !== value) { - this._server_bridge = value; - } - }, - get: function () { - return this._server_bridge; - } - }, - _server_bridge_extended: { - value: null - }, - server_bridge_extended: { - set: function (value) { - if (this._server_bridge_extended !== value) { - this._server_bridge_extended = value; - } - }, - get: function () { - return this._server_bridge_extended; - } - }, - _server_bridge_ip: { - value: null - }, - server_bridge_ip: { - set: function (value) { - if (this._server_bridge_ip !== value) { - this._server_bridge_ip = value; - } - }, - get: function () { - return this._server_bridge_ip; - } - }, - _server_bridge_netmask: { - value: null - }, - server_bridge_netmask: { - set: function (value) { - if (this._server_bridge_netmask !== value) { - this._server_bridge_netmask = value; - } - }, - get: function () { - return this._server_bridge_netmask; - } - }, - _server_bridge_range_begin: { - value: null - }, - server_bridge_range_begin: { - set: function (value) { - if (this._server_bridge_range_begin !== value) { - this._server_bridge_range_begin = value; - } - }, - get: function () { - return this._server_bridge_range_begin; - } - }, - _server_bridge_range_end: { - value: null - }, - server_bridge_range_end: { - set: function (value) { - if (this._server_bridge_range_end !== value) { - this._server_bridge_range_end = value; - } - }, - get: function () { - return this._server_bridge_range_end; - } - }, - _tls_auth: { - value: null - }, - tls_auth: { - set: function (value) { - if (this._tls_auth !== value) { - this._tls_auth = value; - } - }, - get: function () { - return this._tls_auth; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - }, - _user: { - value: null - }, - user: { - set: function (value) { - if (this._user !== value) { - this._user = value; - } - }, - get: function () { - return this._user; - } - }, - _verb: { - value: null - }, - verb: { - set: function (value) { - if (this._verb !== value) { - this._verb = value; - } - }, - get: function () { - return this._verb; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "auxiliary", - valueType: "String" - }, { - mandatory: false, - name: "ca", - valueType: "String" - }, { - mandatory: false, - name: "cert", - valueType: "String" - }, { - mandatory: false, - name: "cipher", - valueType: "String" - }, { - mandatory: false, - name: "comp_lzo", - valueType: "boolean" - }, { - mandatory: false, - name: "crl_verify", - valueType: "String" - }, { - mandatory: false, - name: "dev", - valueType: "String" - }, { - mandatory: false, - name: "dh", - valueType: "String" - }, { - mandatory: false, - name: "enable", - valueType: "boolean" - }, { - mandatory: false, - name: "group", - valueType: "String" - }, { - mandatory: false, - name: "keepalive_peer_down", - valueType: "number" - }, { - mandatory: false, - name: "keepalive_ping_interval", - valueType: "number" - }, { - mandatory: false, - name: "key", - valueType: "String" - }, { - mandatory: false, - name: "max_clients", - valueType: "number" - }, { - mandatory: false, - name: "mode", - valueType: "String" - }, { - mandatory: false, - name: "persist_key", - valueType: "boolean" - }, { - mandatory: false, - name: "persist_tun", - valueType: "boolean" - }, { - mandatory: false, - name: "port", - valueType: "number" - }, { - mandatory: false, - name: "proto", - valueType: "String" - }, { - mandatory: false, - name: "psk_remote_ip", - valueType: "String" - }, { - mandatory: false, - name: "psk_server_ip", - valueType: "String" - }, { - mandatory: false, - name: "server_bridge", - valueType: "boolean" - }, { - mandatory: false, - name: "server_bridge_extended", - valueType: "boolean" - }, { - mandatory: false, - name: "server_bridge_ip", - valueType: "String" - }, { - mandatory: false, - name: "server_bridge_netmask", - valueType: "String" - }, { - mandatory: false, - name: "server_bridge_range_begin", - valueType: "String" - }, { - mandatory: false, - name: "server_bridge_range_end", - valueType: "String" - }, { - mandatory: false, - name: "tls_auth", - valueType: "String" - }, { - mandatory: false, - name: "type" - }, { - mandatory: false, - name: "user", - valueType: "String" - }, { - mandatory: false, - name: "verb", - valueType: "number" - }] - } -}); diff --git a/core/model/models/service-rsyncd.js b/core/model/models/service-rsyncd.js deleted file mode 100644 index e943aa2ee6..0000000000 --- a/core/model/models/service-rsyncd.js +++ /dev/null @@ -1,75 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ServiceRsyncd = Montage.specialize({ - _auxiliary: { - value: null - }, - auxiliary: { - set: function (value) { - if (this._auxiliary !== value) { - this._auxiliary = value; - } - }, - get: function () { - return this._auxiliary; - } - }, - _enable: { - value: null - }, - enable: { - set: function (value) { - if (this._enable !== value) { - this._enable = value; - } - }, - get: function () { - return this._enable; - } - }, - _port: { - value: null - }, - port: { - set: function (value) { - if (this._port !== value) { - this._port = value; - } - }, - get: function () { - return this._port; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "auxiliary", - valueType: "String" - }, { - mandatory: false, - name: "enable", - valueType: "boolean" - }, { - mandatory: false, - name: "port", - valueType: "number" - }, { - mandatory: false, - name: "type" - }] - } -}); diff --git a/core/model/models/service-simulator.js b/core/model/models/service-simulator.js deleted file mode 100644 index 2d447c0912..0000000000 --- a/core/model/models/service-simulator.js +++ /dev/null @@ -1,41 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ServiceSimulator = Montage.specialize({ - _enable: { - value: null - }, - enable: { - set: function (value) { - if (this._enable !== value) { - this._enable = value; - } - }, - get: function () { - return this._enable; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "enable", - valueType: "boolean" - }, { - mandatory: false, - name: "type" - }] - } -}); diff --git a/core/model/models/service-smartd.js b/core/model/models/service-smartd.js deleted file mode 100644 index d96e02a86f..0000000000 --- a/core/model/models/service-smartd.js +++ /dev/null @@ -1,127 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ServiceSmartd = Montage.specialize({ - _enable: { - value: null - }, - enable: { - set: function (value) { - if (this._enable !== value) { - this._enable = value; - } - }, - get: function () { - return this._enable; - } - }, - _interval: { - value: null - }, - interval: { - set: function (value) { - if (this._interval !== value) { - this._interval = value; - } - }, - get: function () { - return this._interval; - } - }, - _power_mode: { - value: null - }, - power_mode: { - set: function (value) { - if (this._power_mode !== value) { - this._power_mode = value; - } - }, - get: function () { - return this._power_mode; - } - }, - _temp_critical: { - value: null - }, - temp_critical: { - set: function (value) { - if (this._temp_critical !== value) { - this._temp_critical = value; - } - }, - get: function () { - return this._temp_critical; - } - }, - _temp_difference: { - value: null - }, - temp_difference: { - set: function (value) { - if (this._temp_difference !== value) { - this._temp_difference = value; - } - }, - get: function () { - return this._temp_difference; - } - }, - _temp_informational: { - value: null - }, - temp_informational: { - set: function (value) { - if (this._temp_informational !== value) { - this._temp_informational = value; - } - }, - get: function () { - return this._temp_informational; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "enable", - valueType: "boolean" - }, { - mandatory: false, - name: "interval", - valueType: "number" - }, { - mandatory: false, - name: "power_mode", - valueObjectPrototypeName: "ServiceSmartdPowermode", - valueType: "object" - }, { - mandatory: false, - name: "temp_critical", - valueType: "number" - }, { - mandatory: false, - name: "temp_difference", - valueType: "number" - }, { - mandatory: false, - name: "temp_informational", - valueType: "number" - }, { - mandatory: false, - name: "type" - }] - } -}); diff --git a/core/model/models/service-smb.js b/core/model/models/service-smb.js deleted file mode 100644 index 6c753aa3d8..0000000000 --- a/core/model/models/service-smb.js +++ /dev/null @@ -1,456 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ServiceSmb = Montage.specialize({ - _auxiliary: { - value: null - }, - auxiliary: { - set: function (value) { - if (this._auxiliary !== value) { - this._auxiliary = value; - } - }, - get: function () { - return this._auxiliary; - } - }, - _bind_addresses: { - value: null - }, - bind_addresses: { - set: function (value) { - if (this._bind_addresses !== value) { - this._bind_addresses = value; - } - }, - get: function () { - return this._bind_addresses; - } - }, - _description: { - value: null - }, - description: { - set: function (value) { - if (this._description !== value) { - this._description = value; - } - }, - get: function () { - return this._description; - } - }, - _dirmask: { - value: null - }, - dirmask: { - set: function (value) { - if (this._dirmask !== value) { - this._dirmask = value; - } - }, - get: function () { - return this._dirmask; - } - }, - _domain_logons: { - value: null - }, - domain_logons: { - set: function (value) { - if (this._domain_logons !== value) { - this._domain_logons = value; - } - }, - get: function () { - return this._domain_logons; - } - }, - _dos_charset: { - value: null - }, - dos_charset: { - set: function (value) { - if (this._dos_charset !== value) { - this._dos_charset = value; - } - }, - get: function () { - return this._dos_charset; - } - }, - _empty_password: { - value: null - }, - empty_password: { - set: function (value) { - if (this._empty_password !== value) { - this._empty_password = value; - } - }, - get: function () { - return this._empty_password; - } - }, - _enable: { - value: null - }, - enable: { - set: function (value) { - if (this._enable !== value) { - this._enable = value; - } - }, - get: function () { - return this._enable; - } - }, - _execute_always: { - value: null - }, - execute_always: { - set: function (value) { - if (this._execute_always !== value) { - this._execute_always = value; - } - }, - get: function () { - return this._execute_always; - } - }, - _filemask: { - value: null - }, - filemask: { - set: function (value) { - if (this._filemask !== value) { - this._filemask = value; - } - }, - get: function () { - return this._filemask; - } - }, - _guest_user: { - value: null - }, - guest_user: { - set: function (value) { - if (this._guest_user !== value) { - this._guest_user = value; - } - }, - get: function () { - return this._guest_user; - } - }, - _hostlookup: { - value: null - }, - hostlookup: { - set: function (value) { - if (this._hostlookup !== value) { - this._hostlookup = value; - } - }, - get: function () { - return this._hostlookup; - } - }, - _local_master: { - value: null - }, - local_master: { - set: function (value) { - if (this._local_master !== value) { - this._local_master = value; - } - }, - get: function () { - return this._local_master; - } - }, - _log_level: { - value: null - }, - log_level: { - set: function (value) { - if (this._log_level !== value) { - this._log_level = value; - } - }, - get: function () { - return this._log_level; - } - }, - _max_protocol: { - value: null - }, - max_protocol: { - set: function (value) { - if (this._max_protocol !== value) { - this._max_protocol = value; - } - }, - get: function () { - return this._max_protocol; - } - }, - _min_protocol: { - value: null - }, - min_protocol: { - set: function (value) { - if (this._min_protocol !== value) { - this._min_protocol = value; - } - }, - get: function () { - return this._min_protocol; - } - }, - _netbiosname: { - value: null - }, - netbiosname: { - set: function (value) { - if (this._netbiosname !== value) { - this._netbiosname = value; - } - }, - get: function () { - return this._netbiosname; - } - }, - _obey_pam_restrictions: { - value: null - }, - obey_pam_restrictions: { - set: function (value) { - if (this._obey_pam_restrictions !== value) { - this._obey_pam_restrictions = value; - } - }, - get: function () { - return this._obey_pam_restrictions; - } - }, - _sid: { - value: null - }, - sid: { - set: function (value) { - if (this._sid !== value) { - this._sid = value; - } - }, - get: function () { - return this._sid; - } - }, - _syslog: { - value: null - }, - syslog: { - set: function (value) { - if (this._syslog !== value) { - this._syslog = value; - } - }, - get: function () { - return this._syslog; - } - }, - _time_server: { - value: null - }, - time_server: { - set: function (value) { - if (this._time_server !== value) { - this._time_server = value; - } - }, - get: function () { - return this._time_server; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - }, - _unix_charset: { - value: null - }, - unix_charset: { - set: function (value) { - if (this._unix_charset !== value) { - this._unix_charset = value; - } - }, - get: function () { - return this._unix_charset; - } - }, - _unixext: { - value: null - }, - unixext: { - set: function (value) { - if (this._unixext !== value) { - this._unixext = value; - } - }, - get: function () { - return this._unixext; - } - }, - _workgroup: { - value: null - }, - workgroup: { - set: function (value) { - if (this._workgroup !== value) { - this._workgroup = value; - } - }, - get: function () { - return this._workgroup; - } - }, - _zeroconf: { - value: null - }, - zeroconf: { - set: function (value) { - if (this._zeroconf !== value) { - this._zeroconf = value; - } - }, - get: function () { - return this._zeroconf; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "auxiliary", - valueType: "String" - }, { - mandatory: false, - name: "bind_addresses", - valueType: "array" - }, { - mandatory: false, - name: "description", - valueType: "String" - }, { - mandatory: false, - name: "dirmask", - valueObjectPrototypeName: "UnixPermissions", - valueType: "object" - }, { - mandatory: false, - name: "domain_logons", - valueType: "boolean" - }, { - mandatory: false, - name: "dos_charset", - valueObjectPrototypeName: "ServiceSmbDoscharset", - valueType: "object" - }, { - mandatory: false, - name: "empty_password", - valueType: "boolean" - }, { - mandatory: false, - name: "enable", - valueType: "boolean" - }, { - mandatory: false, - name: "execute_always", - valueType: "boolean" - }, { - mandatory: false, - name: "filemask", - valueObjectPrototypeName: "UnixPermissions", - valueType: "object" - }, { - mandatory: false, - name: "guest_user", - valueType: "String" - }, { - mandatory: false, - name: "hostlookup", - valueType: "boolean" - }, { - mandatory: false, - name: "local_master", - valueType: "boolean" - }, { - mandatory: false, - name: "log_level", - valueObjectPrototypeName: "ServiceSmbLoglevel", - valueType: "object" - }, { - mandatory: false, - name: "max_protocol", - valueObjectPrototypeName: "ServiceSmbMaxprotocol", - valueType: "object" - }, { - mandatory: false, - name: "min_protocol", - valueObjectPrototypeName: "ServiceSmbMinprotocol", - valueType: "object" - }, { - mandatory: false, - name: "netbiosname", - valueType: "array" - }, { - mandatory: false, - name: "obey_pam_restrictions", - valueType: "boolean" - }, { - mandatory: false, - name: "sid", - valueType: "String" - }, { - mandatory: false, - name: "syslog", - valueType: "boolean" - }, { - mandatory: false, - name: "time_server", - valueType: "boolean" - }, { - mandatory: false, - name: "type" - }, { - mandatory: false, - name: "unix_charset", - valueObjectPrototypeName: "ServiceSmbUnixcharset", - valueType: "object" - }, { - mandatory: false, - name: "unixext", - valueType: "boolean" - }, { - mandatory: false, - name: "workgroup", - valueType: "String" - }, { - mandatory: false, - name: "zeroconf", - valueType: "boolean" - }] - } -}); diff --git a/core/model/models/service-snmp.js b/core/model/models/service-snmp.js deleted file mode 100644 index d2597d49bc..0000000000 --- a/core/model/models/service-snmp.js +++ /dev/null @@ -1,213 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ServiceSnmp = Montage.specialize({ - _auxiliary: { - value: null - }, - auxiliary: { - set: function (value) { - if (this._auxiliary !== value) { - this._auxiliary = value; - } - }, - get: function () { - return this._auxiliary; - } - }, - _community: { - value: null - }, - community: { - set: function (value) { - if (this._community !== value) { - this._community = value; - } - }, - get: function () { - return this._community; - } - }, - _contact: { - value: null - }, - contact: { - set: function (value) { - if (this._contact !== value) { - this._contact = value; - } - }, - get: function () { - return this._contact; - } - }, - _enable: { - value: null - }, - enable: { - set: function (value) { - if (this._enable !== value) { - this._enable = value; - } - }, - get: function () { - return this._enable; - } - }, - _location: { - value: null - }, - location: { - set: function (value) { - if (this._location !== value) { - this._location = value; - } - }, - get: function () { - return this._location; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - }, - _v3: { - value: null - }, - v3: { - set: function (value) { - if (this._v3 !== value) { - this._v3 = value; - } - }, - get: function () { - return this._v3; - } - }, - _v3_auth_type: { - value: null - }, - v3_auth_type: { - set: function (value) { - if (this._v3_auth_type !== value) { - this._v3_auth_type = value; - } - }, - get: function () { - return this._v3_auth_type; - } - }, - _v3_password: { - value: null - }, - v3_password: { - set: function (value) { - if (this._v3_password !== value) { - this._v3_password = value; - } - }, - get: function () { - return this._v3_password; - } - }, - _v3_privacy_passphrase: { - value: null - }, - v3_privacy_passphrase: { - set: function (value) { - if (this._v3_privacy_passphrase !== value) { - this._v3_privacy_passphrase = value; - } - }, - get: function () { - return this._v3_privacy_passphrase; - } - }, - _v3_privacy_protocol: { - value: null - }, - v3_privacy_protocol: { - set: function (value) { - if (this._v3_privacy_protocol !== value) { - this._v3_privacy_protocol = value; - } - }, - get: function () { - return this._v3_privacy_protocol; - } - }, - _v3_username: { - value: null - }, - v3_username: { - set: function (value) { - if (this._v3_username !== value) { - this._v3_username = value; - } - }, - get: function () { - return this._v3_username; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "auxiliary", - valueType: "String" - }, { - mandatory: false, - name: "community", - valueType: "String" - }, { - mandatory: false, - name: "contact", - valueType: "String" - }, { - mandatory: false, - name: "enable", - valueType: "boolean" - }, { - mandatory: false, - name: "location", - valueType: "String" - }, { - mandatory: false, - name: "type" - }, { - mandatory: false, - name: "v3", - valueType: "boolean" - }, { - mandatory: false, - name: "v3_auth_type", - valueObjectPrototypeName: "ServiceSnmpV3authtype", - valueType: "object" - }, { - mandatory: false, - name: "v3_password", - valueType: "String" - }, { - mandatory: false, - name: "v3_privacy_passphrase", - valueType: "String" - }, { - mandatory: false, - name: "v3_privacy_protocol", - valueObjectPrototypeName: "ServiceSnmpV3privacyprotocol", - valueType: "object" - }, { - mandatory: false, - name: "v3_username", - valueType: "String" - }] - } -}); diff --git a/core/model/models/service-sshd.js b/core/model/models/service-sshd.js deleted file mode 100644 index a4cfae4657..0000000000 --- a/core/model/models/service-sshd.js +++ /dev/null @@ -1,213 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ServiceSshd = Montage.specialize({ - _allow_gssapi_auth: { - value: null - }, - allow_gssapi_auth: { - set: function (value) { - if (this._allow_gssapi_auth !== value) { - this._allow_gssapi_auth = value; - } - }, - get: function () { - return this._allow_gssapi_auth; - } - }, - _allow_password_auth: { - value: null - }, - allow_password_auth: { - set: function (value) { - if (this._allow_password_auth !== value) { - this._allow_password_auth = value; - } - }, - get: function () { - return this._allow_password_auth; - } - }, - _allow_port_forwarding: { - value: null - }, - allow_port_forwarding: { - set: function (value) { - if (this._allow_port_forwarding !== value) { - this._allow_port_forwarding = value; - } - }, - get: function () { - return this._allow_port_forwarding; - } - }, - _allow_pubkey_auth: { - value: null - }, - allow_pubkey_auth: { - set: function (value) { - if (this._allow_pubkey_auth !== value) { - this._allow_pubkey_auth = value; - } - }, - get: function () { - return this._allow_pubkey_auth; - } - }, - _auxiliary: { - value: null - }, - auxiliary: { - set: function (value) { - if (this._auxiliary !== value) { - this._auxiliary = value; - } - }, - get: function () { - return this._auxiliary; - } - }, - _compression: { - value: null - }, - compression: { - set: function (value) { - if (this._compression !== value) { - this._compression = value; - } - }, - get: function () { - return this._compression; - } - }, - _enable: { - value: null - }, - enable: { - set: function (value) { - if (this._enable !== value) { - this._enable = value; - } - }, - get: function () { - return this._enable; - } - }, - _permit_root_login: { - value: null - }, - permit_root_login: { - set: function (value) { - if (this._permit_root_login !== value) { - this._permit_root_login = value; - } - }, - get: function () { - return this._permit_root_login; - } - }, - _port: { - value: null - }, - port: { - set: function (value) { - if (this._port !== value) { - this._port = value; - } - }, - get: function () { - return this._port; - } - }, - _sftp_log_facility: { - value: null - }, - sftp_log_facility: { - set: function (value) { - if (this._sftp_log_facility !== value) { - this._sftp_log_facility = value; - } - }, - get: function () { - return this._sftp_log_facility; - } - }, - _sftp_log_level: { - value: null - }, - sftp_log_level: { - set: function (value) { - if (this._sftp_log_level !== value) { - this._sftp_log_level = value; - } - }, - get: function () { - return this._sftp_log_level; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "allow_gssapi_auth", - valueType: "boolean" - }, { - mandatory: false, - name: "allow_password_auth", - valueType: "boolean" - }, { - mandatory: false, - name: "allow_port_forwarding", - valueType: "boolean" - }, { - mandatory: false, - name: "allow_pubkey_auth", - valueType: "boolean" - }, { - mandatory: false, - name: "auxiliary", - valueType: "String" - }, { - mandatory: false, - name: "compression", - valueType: "boolean" - }, { - mandatory: false, - name: "enable", - valueType: "boolean" - }, { - mandatory: false, - name: "permit_root_login", - valueType: "boolean" - }, { - mandatory: false, - name: "port", - valueType: "number" - }, { - mandatory: false, - name: "sftp_log_facility", - valueObjectPrototypeName: "ServiceSshdSftplogfacility", - valueType: "object" - }, { - mandatory: false, - name: "sftp_log_level", - valueObjectPrototypeName: "ServiceSshdSftploglevel", - valueType: "object" - }, { - mandatory: false, - name: "type" - }] - } -}); diff --git a/core/model/models/service-tftpd.js b/core/model/models/service-tftpd.js deleted file mode 100644 index 86f859d2a6..0000000000 --- a/core/model/models/service-tftpd.js +++ /dev/null @@ -1,144 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ServiceTftpd = Montage.specialize({ - _allow_new_files: { - value: null - }, - allow_new_files: { - set: function (value) { - if (this._allow_new_files !== value) { - this._allow_new_files = value; - } - }, - get: function () { - return this._allow_new_files; - } - }, - _auxiliary: { - value: null - }, - auxiliary: { - set: function (value) { - if (this._auxiliary !== value) { - this._auxiliary = value; - } - }, - get: function () { - return this._auxiliary; - } - }, - _enable: { - value: null - }, - enable: { - set: function (value) { - if (this._enable !== value) { - this._enable = value; - } - }, - get: function () { - return this._enable; - } - }, - _path: { - value: null - }, - path: { - set: function (value) { - if (this._path !== value) { - this._path = value; - } - }, - get: function () { - return this._path; - } - }, - _port: { - value: null - }, - port: { - set: function (value) { - if (this._port !== value) { - this._port = value; - } - }, - get: function () { - return this._port; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - }, - _umask: { - value: null - }, - umask: { - set: function (value) { - if (this._umask !== value) { - this._umask = value; - } - }, - get: function () { - return this._umask; - } - }, - _username: { - value: null - }, - username: { - set: function (value) { - if (this._username !== value) { - this._username = value; - } - }, - get: function () { - return this._username; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "allow_new_files", - valueType: "boolean" - }, { - mandatory: false, - name: "auxiliary", - valueType: "String" - }, { - mandatory: false, - name: "enable", - valueType: "boolean" - }, { - mandatory: false, - name: "path", - valueType: "String" - }, { - mandatory: false, - name: "port", - valueType: "number" - }, { - mandatory: false, - name: "type" - }, { - mandatory: false, - name: "umask", - valueObjectPrototypeName: "UnixPermissions", - valueType: "object" - }, { - mandatory: false, - name: "username", - valueType: "String" - }] - } -}); diff --git a/core/model/models/service-ups.js b/core/model/models/service-ups.js deleted file mode 100644 index e0044add3a..0000000000 --- a/core/model/models/service-ups.js +++ /dev/null @@ -1,315 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ServiceUps = Montage.specialize({ - _auxiliary: { - value: null - }, - auxiliary: { - set: function (value) { - if (this._auxiliary !== value) { - this._auxiliary = value; - } - }, - get: function () { - return this._auxiliary; - } - }, - _auxiliary_users: { - value: null - }, - auxiliary_users: { - set: function (value) { - if (this._auxiliary_users !== value) { - this._auxiliary_users = value; - } - }, - get: function () { - return this._auxiliary_users; - } - }, - _description: { - value: null - }, - description: { - set: function (value) { - if (this._description !== value) { - this._description = value; - } - }, - get: function () { - return this._description; - } - }, - _driver: { - value: null - }, - driver: { - set: function (value) { - if (this._driver !== value) { - this._driver = value; - } - }, - get: function () { - return this._driver; - } - }, - _driver_port: { - value: null - }, - driver_port: { - set: function (value) { - if (this._driver_port !== value) { - this._driver_port = value; - } - }, - get: function () { - return this._driver_port; - } - }, - _propagate_alerts: { - value: null - }, - propagate_alerts: { - set: function (value) { - if (this._propagate_alerts !== value) { - this._propagate_alerts = value; - } - }, - get: function () { - return this._propagate_alerts; - } - }, - _enable: { - value: null - }, - enable: { - set: function (value) { - if (this._enable !== value) { - this._enable = value; - } - }, - get: function () { - return this._enable; - } - }, - _identifier: { - value: null - }, - identifier: { - set: function (value) { - if (this._identifier !== value) { - this._identifier = value; - } - }, - get: function () { - return this._identifier; - } - }, - _mode: { - value: null - }, - mode: { - set: function (value) { - if (this._mode !== value) { - this._mode = value; - } - }, - get: function () { - return this._mode; - } - }, - _monitor_password: { - value: null - }, - monitor_password: { - set: function (value) { - if (this._monitor_password !== value) { - this._monitor_password = value; - } - }, - get: function () { - return this._monitor_password; - } - }, - _allow_remote_connections: { - value: null - }, - allow_remote_connections: { - set: function (value) { - if (this._allow_remote_connections !== value) { - this._allow_remote_connections = value; - } - }, - get: function () { - return this._allow_remote_connections; - } - }, - _monitor_user: { - value: null - }, - monitor_user: { - set: function (value) { - if (this._monitor_user !== value) { - this._monitor_user = value; - } - }, - get: function () { - return this._monitor_user; - } - }, - _powerdown: { - value: null - }, - powerdown: { - set: function (value) { - if (this._powerdown !== value) { - this._powerdown = value; - } - }, - get: function () { - return this._powerdown; - } - }, - _remote_host: { - value: null - }, - remote_host: { - set: function (value) { - if (this._remote_host !== value) { - this._remote_host = value; - } - }, - get: function () { - return this._remote_host; - } - }, - _remote_port: { - value: null - }, - remote_port: { - set: function (value) { - if (this._remote_port !== value) { - this._remote_port = value; - } - }, - get: function () { - return this._remote_port; - } - }, - _shutdown_mode: { - value: null - }, - shutdown_mode: { - set: function (value) { - if (this._shutdown_mode !== value) { - this._shutdown_mode = value; - } - }, - get: function () { - return this._shutdown_mode; - } - }, - _shutdown_timer: { - value: null - }, - shutdown_timer: { - set: function (value) { - if (this._shutdown_timer !== value) { - this._shutdown_timer = value; - } - }, - get: function () { - return this._shutdown_timer; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "auxiliary", - valueType: "String" - }, { - mandatory: false, - name: "auxiliary_users", - valueType: "String" - }, { - mandatory: false, - name: "description", - valueType: "String" - }, { - mandatory: false, - name: "driver", - valueType: "String" - }, { - mandatory: false, - name: "driver_port", - valueType: "String" - }, { - mandatory: false, - name: "propagate_alerts", - valueType: "boolean" - }, { - mandatory: false, - name: "enable", - valueType: "boolean" - }, { - mandatory: false, - name: "identifier", - valueType: "String" - }, { - mandatory: false, - name: "mode", - valueObjectPrototypeName: "ServiceUpsMode", - valueType: "object" - }, { - mandatory: false, - name: "monitor_password", - valueType: "String" - }, { - mandatory: false, - name: "allow_remote_connections", - valueType: "boolean" - }, { - mandatory: false, - name: "monitor_user", - valueType: "String" - }, { - mandatory: false, - name: "powerdown", - valueType: "boolean" - }, { - mandatory: false, - name: "remote_host", - valueType: "String" - }, { - mandatory: false, - name: "remote_port", - valueType: "number" - }, { - mandatory: false, - name: "shutdown_mode", - valueObjectPrototypeName: "ServiceUpsShutdownmode", - valueType: "object" - }, { - mandatory: false, - name: "shutdown_timer", - valueType: "number" - }, { - mandatory: false, - name: "type" - }] - } -}); diff --git a/core/model/models/service-webdav.js b/core/model/models/service-webdav.js deleted file mode 100644 index 70a9885d3c..0000000000 --- a/core/model/models/service-webdav.js +++ /dev/null @@ -1,144 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ServiceWebdav = Montage.specialize({ - _authentication: { - value: null - }, - authentication: { - set: function (value) { - if (this._authentication !== value) { - this._authentication = value; - } - }, - get: function () { - return this._authentication; - } - }, - _certificate: { - value: null - }, - certificate: { - set: function (value) { - if (this._certificate !== value) { - this._certificate = value; - } - }, - get: function () { - return this._certificate; - } - }, - _enable: { - value: null - }, - enable: { - set: function (value) { - if (this._enable !== value) { - this._enable = value; - } - }, - get: function () { - return this._enable; - } - }, - _http_port: { - value: null - }, - http_port: { - set: function (value) { - if (this._http_port !== value) { - this._http_port = value; - } - }, - get: function () { - return this._http_port; - } - }, - _https_port: { - value: null - }, - https_port: { - set: function (value) { - if (this._https_port !== value) { - this._https_port = value; - } - }, - get: function () { - return this._https_port; - } - }, - _password: { - value: null - }, - password: { - set: function (value) { - if (this._password !== value) { - this._password = value; - } - }, - get: function () { - return this._password; - } - }, - _protocol: { - value: null - }, - protocol: { - set: function (value) { - if (this._protocol !== value) { - this._protocol = value; - } - }, - get: function () { - return this._protocol; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "authentication", - valueObjectPrototypeName: "ServiceWebdavAuthentication", - valueType: "object" - }, { - mandatory: false, - name: "certificate", - valueType: "String" - }, { - mandatory: false, - name: "enable", - valueType: "boolean" - }, { - mandatory: false, - name: "http_port", - valueType: "number" - }, { - mandatory: false, - name: "https_port", - valueType: "number" - }, { - mandatory: false, - name: "password", - valueType: "String" - }, { - mandatory: false, - name: "protocol", - valueType: "array" - }, { - mandatory: false, - name: "type" - }] - } -}); diff --git a/core/model/models/service.js b/core/model/models/service.js deleted file mode 100644 index 70abce3317..0000000000 --- a/core/model/models/service.js +++ /dev/null @@ -1,109 +0,0 @@ -var Montage = require("montage").Montage; - -exports.Service = Montage.specialize({ - _builtin: { - value: null - }, - builtin: { - set: function (value) { - if (this._builtin !== value) { - this._builtin = value; - } - }, - get: function () { - return this._builtin; - } - }, - _config: { - value: null - }, - config: { - set: function (value) { - if (this._config !== value) { - this._config = value; - } - }, - get: function () { - return this._config; - } - }, - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _pid: { - value: null - }, - pid: { - set: function (value) { - if (this._pid !== value) { - this._pid = value; - } - }, - get: function () { - return this._pid; - } - }, - _state: { - value: null - }, - state: { - set: function (value) { - if (this._state !== value) { - this._state = value; - } - }, - get: function () { - return this._state; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "builtin", - valueType: "boolean" - }, { - mandatory: false, - name: "config", - valueObjectPrototypeName: "ServiceConfig", - valueType: "object" - }, { - mandatory: false, - name: "id", - valueType: "String" - }, { - mandatory: false, - name: "pid", - valueType: "number" - }, { - mandatory: false, - name: "state", - valueObjectPrototypeName: "ServiceState", - valueType: "object" - }] - }, - userInterfaceDescriptor: { - value: { - inspectorComponentModule: { - id: 'ui/inspectors/service.reel' - }, - nameExpression: "config.type.replace('service-', '').toUpperCase()", - statusColorMapping: { - "RUNNING": "green", - "UNKNOWN": "red", - "STOPPED": "grey" - }, - statusValueExpression: "state" - } - } -}); diff --git a/core/model/models/services-category.js b/core/model/models/services-category.js deleted file mode 100644 index 07dd620f52..0000000000 --- a/core/model/models/services-category.js +++ /dev/null @@ -1,68 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ServicesCategory = Montage.specialize({ - _name: { - value: null - }, - name: { - set: function (value) { - if (this._name !== value) { - this._name = value; - } - }, - get: function () { - return this._name; - } - }, - _services: { - value: null - }, - services: { - set: function (value) { - if (this._services !== value) { - this._services = value; - } - }, - get: function () { - return this._services; - } - }, - _selector: { - value: null - }, - selector: { - set: function (value) { - if (this._selector !== value) { - this._selector = value; - } - }, - get: function () { - return this._selector; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "name" - }, { - mandatory: false, - name: "services" - }, { - mandatory: false, - name: "selector" - }] - }, - userInterfaceDescriptor: { - value: { - collectionInspectorComponentModule: { - id: 'ui/controls/viewer.reel' - }, - collectionNameExpression: "'Services Categories'", - inspectorComponentModule: { - id: 'ui/inspectors/services-category.reel' - }, - nameExpression: "name" - } - } -}); diff --git a/core/model/models/session.js b/core/model/models/session.js deleted file mode 100644 index d550d2128b..0000000000 --- a/core/model/models/session.js +++ /dev/null @@ -1,110 +0,0 @@ -var Montage = require("montage").Montage; - -exports.Session = Montage.specialize({ - _active: { - value: null - }, - active: { - set: function (value) { - if (this._active !== value) { - this._active = value; - } - }, - get: function () { - return this._active; - } - }, - _ended_at: { - value: null - }, - ended_at: { - set: function (value) { - if (this._ended_at !== value) { - this._ended_at = value; - } - }, - get: function () { - return this._ended_at; - } - }, - _resource: { - value: null - }, - resource: { - set: function (value) { - if (this._resource !== value) { - this._resource = value; - } - }, - get: function () { - return this._resource; - } - }, - _started_at: { - value: null - }, - started_at: { - set: function (value) { - if (this._started_at !== value) { - this._started_at = value; - } - }, - get: function () { - return this._started_at; - } - }, - _tty: { - value: null - }, - tty: { - set: function (value) { - if (this._tty !== value) { - this._tty = value; - } - }, - get: function () { - return this._tty; - } - }, - _username: { - value: null - }, - username: { - set: function (value) { - if (this._username !== value) { - this._username = value; - } - }, - get: function () { - return this._username; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "active", - valueType: "boolean" - }, { - mandatory: false, - name: "ended_at", - valueType: "datetime" - }, { - mandatory: false, - name: "resource", - valueType: "String" - }, { - mandatory: false, - name: "started_at", - valueType: "datetime" - }, { - mandatory: false, - name: "tty", - valueType: "String" - }, { - mandatory: false, - name: "username", - valueType: "String" - }] - } -}); diff --git a/core/model/models/share-afp.js b/core/model/models/share-afp.js deleted file mode 100644 index 5f7d1cd8f7..0000000000 --- a/core/model/models/share-afp.js +++ /dev/null @@ -1,367 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ShareAfp = Montage.specialize({ - "_%type": { - value: null - }, - "%type": { - set: function (value) { - if (this["_%type"] !== value) { - this["_%type"] = value; - } - }, - get: function () { - return this["_%type"]; - } - }, - _afp3_privileges: { - value: null - }, - afp3_privileges: { - set: function (value) { - if (this._afp3_privileges !== value) { - this._afp3_privileges = value; - } - }, - get: function () { - return this._afp3_privileges; - } - }, - _comment: { - value: null - }, - comment: { - set: function (value) { - if (this._comment !== value) { - this._comment = value; - } - }, - get: function () { - return this._comment; - } - }, - _default_directory_perms: { - value: null - }, - default_directory_perms: { - set: function (value) { - if (this._default_directory_perms !== value) { - this._default_directory_perms = value; - } - }, - get: function () { - return this._default_directory_perms; - } - }, - _default_file_perms: { - value: null - }, - default_file_perms: { - set: function (value) { - if (this._default_file_perms !== value) { - this._default_file_perms = value; - } - }, - get: function () { - return this._default_file_perms; - } - }, - _default_umask: { - value: null - }, - default_umask: { - set: function (value) { - if (this._default_umask !== value) { - this._default_umask = value; - } - }, - get: function () { - return this._default_umask; - } - }, - _groups_allow: { - value: null - }, - groups_allow: { - set: function (value) { - if (this._groups_allow !== value) { - this._groups_allow = value; - } - }, - get: function () { - return this._groups_allow; - } - }, - _groups_deny: { - value: null - }, - groups_deny: { - set: function (value) { - if (this._groups_deny !== value) { - this._groups_deny = value; - } - }, - get: function () { - return this._groups_deny; - } - }, - _hosts_allow: { - value: null - }, - hosts_allow: { - set: function (value) { - if (this._hosts_allow !== value) { - this._hosts_allow = value; - } - }, - get: function () { - return this._hosts_allow; - } - }, - _hosts_deny: { - value: null - }, - hosts_deny: { - set: function (value) { - if (this._hosts_deny !== value) { - this._hosts_deny = value; - } - }, - get: function () { - return this._hosts_deny; - } - }, - _no_stat: { - value: null - }, - no_stat: { - set: function (value) { - if (this._no_stat !== value) { - this._no_stat = value; - } - }, - get: function () { - return this._no_stat; - } - }, - _read_only: { - value: null - }, - read_only: { - set: function (value) { - if (this._read_only !== value) { - this._read_only = value; - } - }, - get: function () { - return this._read_only; - } - }, - _ro_groups: { - value: null - }, - ro_groups: { - set: function (value) { - if (this._ro_groups !== value) { - this._ro_groups = value; - } - }, - get: function () { - return this._ro_groups; - } - }, - _ro_users: { - value: null - }, - ro_users: { - set: function (value) { - if (this._ro_users !== value) { - this._ro_users = value; - } - }, - get: function () { - return this._ro_users; - } - }, - _rw_groups: { - value: null - }, - rw_groups: { - set: function (value) { - if (this._rw_groups !== value) { - this._rw_groups = value; - } - }, - get: function () { - return this._rw_groups; - } - }, - _rw_users: { - value: null - }, - rw_users: { - set: function (value) { - if (this._rw_users !== value) { - this._rw_users = value; - } - }, - get: function () { - return this._rw_users; - } - }, - _time_machine: { - value: null - }, - time_machine: { - set: function (value) { - if (this._time_machine !== value) { - this._time_machine = value; - } - }, - get: function () { - return this._time_machine; - } - }, - _users_allow: { - value: null - }, - users_allow: { - set: function (value) { - if (this._users_allow !== value) { - this._users_allow = value; - } - }, - get: function () { - return this._users_allow; - } - }, - _users_deny: { - value: null - }, - users_deny: { - set: function (value) { - if (this._users_deny !== value) { - this._users_deny = value; - } - }, - get: function () { - return this._users_deny; - } - }, - _zero_dev_numbers: { - value: null - }, - zero_dev_numbers: { - set: function (value) { - if (this._zero_dev_numbers !== value) { - this._zero_dev_numbers = value; - } - }, - get: function () { - return this._zero_dev_numbers; - } - }, - _smb_compatible: { - value: null - }, - smb_compatible: { - set: function (value) { - if (this._smb_compatible !== value) { - this._smb_compatible = value; - } - }, - get: function () { - return this._smb_compatible; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "%type" - }, { - mandatory: false, - name: "afp3_privileges", - valueType: "boolean" - }, { - mandatory: false, - name: "comment", - valueType: "String" - }, { - mandatory: false, - name: "default_directory_perms", - valueObjectPrototypeName: "UnixPermissions", - valueType: "object" - }, { - mandatory: false, - name: "default_file_perms", - valueObjectPrototypeName: "UnixPermissions", - valueType: "object" - }, { - mandatory: false, - name: "default_umask", - valueObjectPrototypeName: "UnixPermissions", - valueType: "object" - }, { - mandatory: false, - name: "groups_allow", - valueType: "array" - }, { - mandatory: false, - name: "groups_deny", - valueType: "array" - }, { - mandatory: false, - name: "hosts_allow", - valueType: "array" - }, { - mandatory: false, - name: "hosts_deny", - valueType: "array" - }, { - mandatory: false, - name: "no_stat", - valueType: "boolean" - }, { - mandatory: false, - name: "read_only", - valueType: "boolean" - }, { - mandatory: false, - name: "ro_groups", - valueType: "array" - }, { - mandatory: false, - name: "ro_users", - valueType: "array" - }, { - mandatory: false, - name: "rw_groups", - valueType: "array" - }, { - mandatory: false, - name: "rw_users", - valueType: "array" - }, { - mandatory: false, - name: "time_machine", - valueType: "boolean" - }, { - mandatory: false, - name: "users_allow", - valueType: "array" - }, { - mandatory: false, - name: "users_deny", - valueType: "array" - }, { - mandatory: false, - name: "zero_dev_numbers", - valueType: "boolean" - }, { - mandatory: false, - name: "smb_compatible", - valueType: "boolean" - }] - } -}); diff --git a/core/model/models/share-client-extra-anonymous.js b/core/model/models/share-client-extra-anonymous.js deleted file mode 100644 index 0d81ea065e..0000000000 --- a/core/model/models/share-client-extra-anonymous.js +++ /dev/null @@ -1,3 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ShareClientExtraAnonymous = Montage.specialize(); diff --git a/core/model/models/share-client.js b/core/model/models/share-client.js deleted file mode 100644 index 44bfc4360d..0000000000 --- a/core/model/models/share-client.js +++ /dev/null @@ -1,93 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ShareClient = Montage.specialize({ - _connected_at: { - value: null - }, - connected_at: { - set: function (value) { - if (this._connected_at !== value) { - this._connected_at = value; - } - }, - get: function () { - return this._connected_at; - } - }, - _extra: { - value: null - }, - extra: { - set: function (value) { - if (this._extra !== value) { - this._extra = value; - } - }, - get: function () { - return this._extra; - } - }, - _host: { - value: null - }, - host: { - set: function (value) { - if (this._host !== value) { - this._host = value; - } - }, - get: function () { - return this._host; - } - }, - _share: { - value: null - }, - share: { - set: function (value) { - if (this._share !== value) { - this._share = value; - } - }, - get: function () { - return this._share; - } - }, - _user: { - value: null - }, - user: { - set: function (value) { - if (this._user !== value) { - this._user = value; - } - }, - get: function () { - return this._user; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "connected_at", - valueType: "String" - }, { - mandatory: false, - name: "extra", - valueType: "object" - }, { - mandatory: false, - name: "host", - valueType: "String" - }, { - mandatory: false, - name: "share", - valueType: "String" - }, { - mandatory: false, - name: "user", - valueType: "String" - }] - } -}); diff --git a/core/model/models/share-iscsi-auth.js b/core/model/models/share-iscsi-auth.js deleted file mode 100644 index 8bee61f318..0000000000 --- a/core/model/models/share-iscsi-auth.js +++ /dev/null @@ -1,111 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ShareIscsiAuth = Montage.specialize({ - _description: { - value: null - }, - description: { - set: function (value) { - if (this._description !== value) { - this._description = value; - } - }, - get: function () { - return this._description; - } - }, - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _initiators: { - value: null - }, - initiators: { - set: function (value) { - if (this._initiators !== value) { - this._initiators = value; - } - }, - get: function () { - return this._initiators; - } - }, - _networks: { - value: null - }, - networks: { - set: function (value) { - if (this._networks !== value) { - this._networks = value; - } - }, - get: function () { - return this._networks; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - }, - _users: { - value: null - }, - users: { - set: function (value) { - if (this._users !== value) { - this._users = value; - } - }, - get: function () { - return this._users; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "description", - valueType: "String" - }, { - mandatory: false, - name: "id", - valueType: "String" - }, { - mandatory: false, - name: "initiators", - valueType: "array" - }, { - mandatory: false, - name: "networks", - valueType: "array" - }, { - mandatory: false, - name: "type", - valueObjectPrototypeName: "ShareIscsiAuthType", - valueType: "object" - }, { - mandatory: false, - name: "users", - valueType: "array" - }] - } -}); diff --git a/core/model/models/share-iscsi-portal.js b/core/model/models/share-iscsi-portal.js deleted file mode 100644 index 6955e7b49b..0000000000 --- a/core/model/models/share-iscsi-portal.js +++ /dev/null @@ -1,94 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ShareIscsiPortal = Montage.specialize({ - _description: { - value: null - }, - description: { - set: function (value) { - if (this._description !== value) { - this._description = value; - } - }, - get: function () { - return this._description; - } - }, - _discovery_auth_group: { - value: null - }, - discovery_auth_group: { - set: function (value) { - if (this._discovery_auth_group !== value) { - this._discovery_auth_group = value; - } - }, - get: function () { - return this._discovery_auth_group; - } - }, - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _listen: { - value: null - }, - listen: { - set: function (value) { - if (this._listen !== value) { - this._listen = value; - } - }, - get: function () { - return this._listen; - } - }, - _tag: { - value: null - }, - tag: { - set: function (value) { - if (this._tag !== value) { - this._tag = value; - } - }, - get: function () { - return this._tag; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "description", - valueType: "String" - }, { - mandatory: false, - name: "discovery_auth_group", - valueType: "String" - }, { - mandatory: false, - name: "id", - valueType: "String" - }, { - mandatory: false, - name: "listen", - valueObjectPrototypeName: "ShareIscsiPortalListen", - valueType: "object" - }, { - mandatory: false, - name: "tag", - valueType: "number" - }] - } -}); diff --git a/core/model/models/share-iscsi-target.js b/core/model/models/share-iscsi-target.js deleted file mode 100644 index 0a66aa709d..0000000000 --- a/core/model/models/share-iscsi-target.js +++ /dev/null @@ -1,93 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ShareIscsiTarget = Montage.specialize({ - _auth_group: { - value: null - }, - auth_group: { - set: function (value) { - if (this._auth_group !== value) { - this._auth_group = value; - } - }, - get: function () { - return this._auth_group; - } - }, - _description: { - value: null - }, - description: { - set: function (value) { - if (this._description !== value) { - this._description = value; - } - }, - get: function () { - return this._description; - } - }, - _extents: { - value: null - }, - extents: { - set: function (value) { - if (this._extents !== value) { - this._extents = value; - } - }, - get: function () { - return this._extents; - } - }, - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _portal_group: { - value: null - }, - portal_group: { - set: function (value) { - if (this._portal_group !== value) { - this._portal_group = value; - } - }, - get: function () { - return this._portal_group; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "auth_group", - valueType: "String" - }, { - mandatory: false, - name: "description", - valueType: "String" - }, { - mandatory: false, - name: "extents", - valueType: "array" - }, { - mandatory: false, - name: "id", - valueType: "String" - }, { - mandatory: false, - name: "portal_group", - valueType: "String" - }] - } -}); diff --git a/core/model/models/share-iscsi-user.js b/core/model/models/share-iscsi-user.js deleted file mode 100644 index 5fb6faa7ce..0000000000 --- a/core/model/models/share-iscsi-user.js +++ /dev/null @@ -1,76 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ShareIscsiUser = Montage.specialize({ - _name: { - value: null - }, - name: { - set: function (value) { - if (this._name !== value) { - this._name = value; - } - }, - get: function () { - return this._name; - } - }, - _peer_name: { - value: null - }, - peer_name: { - set: function (value) { - if (this._peer_name !== value) { - this._peer_name = value; - } - }, - get: function () { - return this._peer_name; - } - }, - _peer_secret: { - value: null - }, - peer_secret: { - set: function (value) { - if (this._peer_secret !== value) { - this._peer_secret = value; - } - }, - get: function () { - return this._peer_secret; - } - }, - _secret: { - value: null - }, - secret: { - set: function (value) { - if (this._secret !== value) { - this._secret = value; - } - }, - get: function () { - return this._secret; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "name", - valueType: "String" - }, { - mandatory: false, - name: "peer_name", - valueType: "String" - }, { - mandatory: false, - name: "peer_secret", - valueType: "String" - }, { - mandatory: false, - name: "secret", - valueType: "String" - }] - } -}); diff --git a/core/model/models/share-iscsi.js b/core/model/models/share-iscsi.js deleted file mode 100644 index c0a231c1a5..0000000000 --- a/core/model/models/share-iscsi.js +++ /dev/null @@ -1,264 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ShareIscsi = Montage.specialize({ - "_%type": { - value: null - }, - "%type": { - set: function (value) { - if (this["_%type"] !== value) { - this["_%type"] = value; - } - }, - get: function () { - return this["_%type"]; - } - }, - _available_space_threshold: { - value: null - }, - available_space_threshold: { - set: function (value) { - if (this._available_space_threshold !== value) { - this._available_space_threshold = value; - } - }, - get: function () { - return this._available_space_threshold; - } - }, - _block_size: { - value: null - }, - block_size: { - set: function (value) { - if (this._block_size !== value) { - this._block_size = value; - } - }, - get: function () { - return this._block_size; - } - }, - _ctl_lun: { - value: null - }, - ctl_lun: { - set: function (value) { - if (this._ctl_lun !== value) { - this._ctl_lun = value; - } - }, - get: function () { - return this._ctl_lun; - } - }, - _device_id: { - value: null - }, - device_id: { - set: function (value) { - if (this._device_id !== value) { - this._device_id = value; - } - }, - get: function () { - return this._device_id; - } - }, - _naa: { - value: null - }, - naa: { - set: function (value) { - if (this._naa !== value) { - this._naa = value; - } - }, - get: function () { - return this._naa; - } - }, - _physical_block_size: { - value: null - }, - physical_block_size: { - set: function (value) { - if (this._physical_block_size !== value) { - this._physical_block_size = value; - } - }, - get: function () { - return this._physical_block_size; - } - }, - _product_id: { - value: null - }, - product_id: { - set: function (value) { - if (this._product_id !== value) { - this._product_id = value; - } - }, - get: function () { - return this._product_id; - } - }, - _read_only: { - value: null - }, - read_only: { - set: function (value) { - if (this._read_only !== value) { - this._read_only = value; - } - }, - get: function () { - return this._read_only; - } - }, - _rpm: { - value: null - }, - rpm: { - set: function (value) { - if (this._rpm !== value) { - this._rpm = value; - } - }, - get: function () { - return this._rpm; - } - }, - _serial: { - value: null - }, - serial: { - set: function (value) { - if (this._serial !== value) { - this._serial = value; - } - }, - get: function () { - return this._serial; - } - }, - _size: { - value: null - }, - size: { - set: function (value) { - if (this._size !== value) { - this._size = value; - } - }, - get: function () { - return this._size; - } - }, - _tpc: { - value: null - }, - tpc: { - set: function (value) { - if (this._tpc !== value) { - this._tpc = value; - } - }, - get: function () { - return this._tpc; - } - }, - _vendor_id: { - value: null - }, - vendor_id: { - set: function (value) { - if (this._vendor_id !== value) { - this._vendor_id = value; - } - }, - get: function () { - return this._vendor_id; - } - }, - _xen_compat: { - value: null - }, - xen_compat: { - set: function (value) { - if (this._xen_compat !== value) { - this._xen_compat = value; - } - }, - get: function () { - return this._xen_compat; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "%type" - }, { - mandatory: false, - name: "available_space_threshold", - valueType: "number" - }, { - mandatory: false, - name: "block_size", - valueObjectPrototypeName: "ShareIscsiBlocksize", - valueType: "object" - }, { - mandatory: false, - name: "ctl_lun", - valueType: "number" - }, { - mandatory: false, - name: "device_id", - valueType: "String" - }, { - mandatory: false, - name: "naa", - valueType: "String" - }, { - mandatory: false, - name: "physical_block_size", - valueType: "boolean" - }, { - mandatory: false, - name: "product_id", - valueType: "String" - }, { - mandatory: false, - name: "read_only", - valueType: "boolean" - }, { - mandatory: false, - name: "rpm", - valueObjectPrototypeName: "ShareIscsiRpm", - valueType: "object" - }, { - mandatory: false, - name: "serial", - valueType: "String" - }, { - mandatory: false, - name: "size", - valueType: "number" - }, { - mandatory: false, - name: "tpc", - valueType: "boolean" - }, { - mandatory: false, - name: "vendor_id", - valueType: "String" - }, { - mandatory: false, - name: "xen_compat", - valueType: "boolean" - }] - } -}); diff --git a/core/model/models/share-nfs.js b/core/model/models/share-nfs.js deleted file mode 100644 index c571ead73f..0000000000 --- a/core/model/models/share-nfs.js +++ /dev/null @@ -1,161 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ShareNfs = Montage.specialize({ - "_%type": { - value: null - }, - "%type": { - set: function (value) { - if (this["_%type"] !== value) { - this["_%type"] = value; - } - }, - get: function () { - return this["_%type"]; - } - }, - _alldirs: { - value: null - }, - alldirs: { - set: function (value) { - if (this._alldirs !== value) { - this._alldirs = value; - } - }, - get: function () { - return this._alldirs; - } - }, - _hosts: { - value: null - }, - hosts: { - set: function (value) { - if (this._hosts !== value) { - this._hosts = value; - } - }, - get: function () { - return this._hosts; - } - }, - _mapall_group: { - value: null - }, - mapall_group: { - set: function (value) { - if (this._mapall_group !== value) { - this._mapall_group = value; - } - }, - get: function () { - return this._mapall_group; - } - }, - _mapall_user: { - value: null - }, - mapall_user: { - set: function (value) { - if (this._mapall_user !== value) { - this._mapall_user = value; - } - }, - get: function () { - return this._mapall_user; - } - }, - _maproot_group: { - value: null - }, - maproot_group: { - set: function (value) { - if (this._maproot_group !== value) { - this._maproot_group = value; - } - }, - get: function () { - return this._maproot_group; - } - }, - _maproot_user: { - value: null - }, - maproot_user: { - set: function (value) { - if (this._maproot_user !== value) { - this._maproot_user = value; - } - }, - get: function () { - return this._maproot_user; - } - }, - _read_only: { - value: null - }, - read_only: { - set: function (value) { - if (this._read_only !== value) { - this._read_only = value; - } - }, - get: function () { - return this._read_only; - } - }, - _security: { - value: null - }, - security: { - set: function (value) { - if (this._security !== value) { - this._security = value; - } - }, - get: function () { - return this._security; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "%type" - }, { - mandatory: false, - name: "alldirs", - valueType: "boolean" - }, { - mandatory: false, - name: "hosts", - valueType: "array" - }, { - mandatory: false, - name: "mapall_group", - valueType: "String" - }, { - mandatory: false, - name: "mapall_user", - valueType: "String" - }, { - mandatory: false, - name: "maproot_group", - valueType: "String" - }, { - mandatory: false, - name: "maproot_user", - valueType: "String" - }, { - mandatory: false, - name: "read_only", - valueType: "boolean" - }, { - mandatory: false, - name: "security", - valueObjectPrototypeName: "ShareNfsSecurityItems", - valueType: "array" - }] - } -}); diff --git a/core/model/models/share-smb-extra-parameters-anonymous.js b/core/model/models/share-smb-extra-parameters-anonymous.js deleted file mode 100644 index b652c62bd7..0000000000 --- a/core/model/models/share-smb-extra-parameters-anonymous.js +++ /dev/null @@ -1,3 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ShareSmbExtraParametersAnonymous = Montage.specialize(); diff --git a/core/model/models/share-smb.js b/core/model/models/share-smb.js deleted file mode 100644 index cfdee162ac..0000000000 --- a/core/model/models/share-smb.js +++ /dev/null @@ -1,228 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ShareSmb = Montage.specialize({ - "_%type": { - value: null - }, - "%type": { - set: function (value) { - if (this["_%type"] !== value) { - this["_%type"] = value; - } - }, - get: function () { - return this["_%type"]; - } - }, - _browseable: { - value: null - }, - browseable: { - set: function (value) { - if (this._browseable !== value) { - this._browseable = value; - } - }, - get: function () { - return this._browseable; - } - }, - _comment: { - value: null - }, - comment: { - set: function (value) { - if (this._comment !== value) { - this._comment = value; - } - }, - get: function () { - return this._comment; - } - }, - _extra_parameters: { - value: null - }, - extra_parameters: { - set: function (value) { - if (this._extra_parameters !== value) { - this._extra_parameters = value; - } - }, - get: function () { - return this._extra_parameters; - } - }, - _guest_ok: { - value: null - }, - guest_ok: { - set: function (value) { - if (this._guest_ok !== value) { - this._guest_ok = value; - } - }, - get: function () { - return this._guest_ok; - } - }, - _guest_only: { - value: null - }, - guest_only: { - set: function (value) { - if (this._guest_only !== value) { - this._guest_only = value; - } - }, - get: function () { - return this._guest_only; - } - }, - _hosts_allow: { - value: null - }, - hosts_allow: { - set: function (value) { - if (this._hosts_allow !== value) { - this._hosts_allow = value; - } - }, - get: function () { - return this._hosts_allow; - } - }, - _hosts_deny: { - value: null - }, - hosts_deny: { - set: function (value) { - if (this._hosts_deny !== value) { - this._hosts_deny = value; - } - }, - get: function () { - return this._hosts_deny; - } - }, - _previous_versions: { - value: null - }, - previous_versions: { - set: function (value) { - if (this._previous_versions !== value) { - this._previous_versions = value; - } - }, - get: function () { - return this._previous_versions; - } - }, - _read_only: { - value: null - }, - read_only: { - set: function (value) { - if (this._read_only !== value) { - this._read_only = value; - } - }, - get: function () { - return this._read_only; - } - }, - _recyclebin: { - value: null - }, - recyclebin: { - set: function (value) { - if (this._recyclebin !== value) { - this._recyclebin = value; - } - }, - get: function () { - return this._recyclebin; - } - }, - _show_hidden_files: { - value: null - }, - show_hidden_files: { - set: function (value) { - if (this._show_hidden_files !== value) { - this._show_hidden_files = value; - } - }, - get: function () { - return this._show_hidden_files; - } - }, - _vfs_objects: { - value: null - }, - vfs_objects: { - set: function (value) { - if (this._vfs_objects !== value) { - this._vfs_objects = value; - } - }, - get: function () { - return this._vfs_objects; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "%type" - }, { - mandatory: false, - name: "browseable", - valueType: "boolean" - }, { - mandatory: false, - name: "comment", - valueType: "String" - }, { - mandatory: false, - name: "extra_parameters", - valueType: "object" - }, { - mandatory: false, - name: "guest_ok", - valueType: "boolean" - }, { - mandatory: false, - name: "guest_only", - valueType: "boolean" - }, { - mandatory: false, - name: "hosts_allow", - valueType: "array" - }, { - mandatory: false, - name: "hosts_deny", - valueType: "array" - }, { - mandatory: false, - name: "previous_versions", - valueType: "boolean" - }, { - mandatory: false, - name: "read_only", - valueType: "boolean" - }, { - mandatory: false, - name: "recyclebin", - valueType: "boolean" - }, { - mandatory: false, - name: "show_hidden_files", - valueType: "boolean" - }, { - mandatory: false, - name: "vfs_objects", - valueType: "array" - }] - } -}); diff --git a/core/model/models/share-types.js b/core/model/models/share-types.js deleted file mode 100644 index 78a032f302..0000000000 --- a/core/model/models/share-types.js +++ /dev/null @@ -1,3 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ShareTypes = Montage.specialize(); diff --git a/core/model/models/share-webdav.js b/core/model/models/share-webdav.js deleted file mode 100644 index f54b0340bc..0000000000 --- a/core/model/models/share-webdav.js +++ /dev/null @@ -1,75 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ShareWebdav = Montage.specialize({ - "_%type": { - value: null - }, - "%type": { - set: function (value) { - if (this["_%type"] !== value) { - this["_%type"] = value; - } - }, - get: function () { - return this["_%type"]; - } - }, - _permission: { - value: null - }, - permission: { - set: function (value) { - if (this._permission !== value) { - this._permission = value; - } - }, - get: function () { - return this._permission; - } - }, - _read_only: { - value: null - }, - read_only: { - set: function (value) { - if (this._read_only !== value) { - this._read_only = value; - } - }, - get: function () { - return this._read_only; - } - }, - _show_hidden_files: { - value: null - }, - show_hidden_files: { - set: function (value) { - if (this._show_hidden_files !== value) { - this._show_hidden_files = value; - } - }, - get: function () { - return this._show_hidden_files; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "%type" - }, { - mandatory: false, - name: "permission", - valueType: "boolean" - }, { - mandatory: false, - name: "read_only", - valueType: "boolean" - }, { - mandatory: false, - name: "show_hidden_files", - valueType: "boolean" - }] - } -}); diff --git a/core/model/models/share.js b/core/model/models/share.js deleted file mode 100644 index 767825f2a8..0000000000 --- a/core/model/models/share.js +++ /dev/null @@ -1,216 +0,0 @@ -var Montage = require("montage").Montage; - -exports.Share = Montage.specialize({ - _description: { - value: null - }, - description: { - set: function (value) { - if (this._description !== value) { - this._description = value; - } - }, - get: function () { - return this._description; - } - }, - _enabled: { - value: null - }, - enabled: { - set: function (value) { - if (this._enabled !== value) { - this._enabled = value; - } - }, - get: function () { - return this._enabled; - } - }, - _filesystem_path: { - value: null - }, - filesystem_path: { - set: function (value) { - if (this._filesystem_path !== value) { - this._filesystem_path = value; - } - }, - get: function () { - return this._filesystem_path; - } - }, - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _immutable: { - value: null - }, - immutable: { - set: function (value) { - if (this._immutable !== value) { - this._immutable = value; - } - }, - get: function () { - return this._immutable; - } - }, - _name: { - value: null - }, - name: { - set: function (value) { - if (this._name !== value) { - this._name = value; - } - }, - get: function () { - return this._name; - } - }, - _permissions: { - value: null - }, - permissions: { - set: function (value) { - if (this._permissions !== value) { - this._permissions = value; - } - }, - get: function () { - return this._permissions; - } - }, - _properties: { - value: null - }, - properties: { - set: function (value) { - if (this._properties !== value) { - this._properties = value; - } - }, - get: function () { - return this._properties; - } - }, - _target_path: { - value: null - }, - target_path: { - set: function (value) { - if (this._target_path !== value) { - this._target_path = value; - } - }, - get: function () { - return this._target_path; - } - }, - _target_type: { - value: null - }, - target_type: { - set: function (value) { - if (this._target_type !== value) { - this._target_type = value; - } - }, - get: function () { - return this._target_type; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "description", - valueType: "String" - }, { - mandatory: false, - name: "enabled", - valueType: "boolean" - }, { - mandatory: false, - name: "filesystem_path", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "id", - valueType: "String" - }, { - mandatory: false, - name: "immutable", - valueType: "boolean" - }, { - mandatory: false, - name: "name", - valueType: "String" - }, { - mandatory: false, - name: "permissions", - valueObjectPrototypeName: "Permissions", - valueType: "object" - }, { - mandatory: false, - name: "properties", - valueObjectPrototypeName: "ShareProperties", - valueType: "object" - }, { - mandatory: false, - name: "target_path", - valueType: "String" - }, { - mandatory: false, - name: "target_type", - valueObjectPrototypeName: "ShareTargettype", - valueType: "object" - }, { - mandatory: false, - name: "type", - valueType: "String" - }] - }, - userInterfaceDescriptor: { - value: { - collectionInspectorComponentModule: { - id: 'ui/controls/viewer.reel' - }, - collectionNameExpression: "'Shares'", - inspectorComponentModule: { - id: 'ui/sections/storage/inspectors/share.reel' - }, - creatorComponentModule: { - id: 'ui/sections/storage/inspectors/share-creator.reel' - }, - wizardComponentModuleId: "ui/sections/wizard/inspectors/share.reel", - wizardTitle: "Create a share", - nameExpression: "!!id ? !!name ? name : id : !!type ? 'New ' + type.toUpperCase() + ' share' : 'Choose a share type'" - } - } -}); diff --git a/core/model/models/simulator-disk.js b/core/model/models/simulator-disk.js deleted file mode 100644 index dcd049d590..0000000000 --- a/core/model/models/simulator-disk.js +++ /dev/null @@ -1,162 +0,0 @@ -var Montage = require("montage").Montage; - -exports.SimulatorDisk = Montage.specialize({ - _block_size: { - value: null - }, - block_size: { - set: function (value) { - if (this._block_size !== value) { - this._block_size = value; - } - }, - get: function () { - return this._block_size; - } - }, - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _mediasize: { - value: null - }, - mediasize: { - set: function (value) { - if (this._mediasize !== value) { - this._mediasize = value; - } - }, - get: function () { - return this._mediasize; - } - }, - _model: { - value: null - }, - model: { - set: function (value) { - if (this._model !== value) { - this._model = value; - } - }, - get: function () { - return this._model; - } - }, - _online: { - value: null - }, - online: { - set: function (value) { - if (this._online !== value) { - this._online = value; - } - }, - get: function () { - return this._online; - } - }, - _path: { - value: null - }, - path: { - set: function (value) { - if (this._path !== value) { - this._path = value; - } - }, - get: function () { - return this._path; - } - }, - _rpm: { - value: null - }, - rpm: { - set: function (value) { - if (this._rpm !== value) { - this._rpm = value; - } - }, - get: function () { - return this._rpm; - } - }, - _serial: { - value: null - }, - serial: { - set: function (value) { - if (this._serial !== value) { - this._serial = value; - } - }, - get: function () { - return this._serial; - } - }, - _vendor: { - value: null - }, - vendor: { - set: function (value) { - if (this._vendor !== value) { - this._vendor = value; - } - }, - get: function () { - return this._vendor; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "block_size", - valueType: "number" - }, { - mandatory: false, - name: "id", - valueType: "String" - }, { - mandatory: false, - name: "mediasize", - valueType: "number" - }, { - mandatory: false, - name: "model", - valueType: "String" - }, { - mandatory: false, - name: "online", - valueType: "boolean" - }, { - mandatory: false, - name: "path", - valueType: "String" - }, { - mandatory: false, - name: "rpm", - valueObjectPrototypeName: "SimulatorDiskRpm", - valueType: "object" - }, { - mandatory: false, - name: "serial", - valueType: "String" - }, { - mandatory: false, - name: "vendor", - valueType: "String" - }] - } -}); diff --git a/core/model/models/smart-attribute.js b/core/model/models/smart-attribute.js deleted file mode 100644 index 8aeaa0dbeb..0000000000 --- a/core/model/models/smart-attribute.js +++ /dev/null @@ -1,161 +0,0 @@ -var Montage = require("montage").Montage; - -exports.SmartAttribute = Montage.specialize({ - _flags: { - value: null - }, - flags: { - set: function (value) { - if (this._flags !== value) { - this._flags = value; - } - }, - get: function () { - return this._flags; - } - }, - _num: { - value: null - }, - num: { - set: function (value) { - if (this._num !== value) { - this._num = value; - } - }, - get: function () { - return this._num; - } - }, - _raw: { - value: null - }, - raw: { - set: function (value) { - if (this._raw !== value) { - this._raw = value; - } - }, - get: function () { - return this._raw; - } - }, - _threshold: { - value: null - }, - threshold: { - set: function (value) { - if (this._threshold !== value) { - this._threshold = value; - } - }, - get: function () { - return this._threshold; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - }, - _updated: { - value: null - }, - updated: { - set: function (value) { - if (this._updated !== value) { - this._updated = value; - } - }, - get: function () { - return this._updated; - } - }, - _value: { - value: null - }, - value: { - set: function (value) { - if (this._value !== value) { - this._value = value; - } - }, - get: function () { - return this._value; - } - }, - _when_failed: { - value: null - }, - when_failed: { - set: function (value) { - if (this._when_failed !== value) { - this._when_failed = value; - } - }, - get: function () { - return this._when_failed; - } - }, - _worst: { - value: null - }, - worst: { - set: function (value) { - if (this._worst !== value) { - this._worst = value; - } - }, - get: function () { - return this._worst; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "flags", - valueType: "String" - }, { - mandatory: false, - name: "num", - valueType: "number" - }, { - mandatory: false, - name: "raw", - valueType: "String" - }, { - mandatory: false, - name: "threshold", - valueType: "String" - }, { - mandatory: false, - name: "type", - valueType: "String" - }, { - mandatory: false, - name: "updated", - valueType: "String" - }, { - mandatory: false, - name: "value", - valueType: "String" - }, { - mandatory: false, - name: "when_failed", - valueType: "String" - }, { - mandatory: false, - name: "worst", - valueType: "String" - }] - } -}); diff --git a/core/model/models/smart-info-diagnostics-anonymous.js b/core/model/models/smart-info-diagnostics-anonymous.js deleted file mode 100644 index 0bf04b068a..0000000000 --- a/core/model/models/smart-info-diagnostics-anonymous.js +++ /dev/null @@ -1,3 +0,0 @@ -var Montage = require("montage").Montage; - -exports.SmartInfoDiagnosticsAnonymous = Montage.specialize(); diff --git a/core/model/models/smart-info.js b/core/model/models/smart-info.js deleted file mode 100644 index 97d36d3a78..0000000000 --- a/core/model/models/smart-info.js +++ /dev/null @@ -1,212 +0,0 @@ -var Montage = require("montage").Montage; - -exports.SmartInfo = Montage.specialize({ - _attributes: { - value: null - }, - attributes: { - set: function (value) { - if (this._attributes !== value) { - this._attributes = value; - } - }, - get: function () { - return this._attributes; - } - }, - _diagnostics: { - value: null - }, - diagnostics: { - set: function (value) { - if (this._diagnostics !== value) { - this._diagnostics = value; - } - }, - get: function () { - return this._diagnostics; - } - }, - _firmware: { - value: null - }, - firmware: { - set: function (value) { - if (this._firmware !== value) { - this._firmware = value; - } - }, - get: function () { - return this._firmware; - } - }, - _interface: { - value: null - }, - interface: { - set: function (value) { - if (this._interface !== value) { - this._interface = value; - } - }, get: function () { - return this._interface; - } - }, - _messages: { - value: null - }, - messages: { - set: function (value) { - if (this._messages !== value) { - this._messages = value; - } - }, - get: function () { - return this._messages; - } - }, - _model: { - value: null - }, - model: { - set: function (value) { - if (this._model !== value) { - this._model = value; - } - }, - get: function () { - return this._model; - } - }, - _smart_capable: { - value: null - }, - smart_capable: { - set: function (value) { - if (this._smart_capable !== value) { - this._smart_capable = value; - } - }, - get: function () { - return this._smart_capable; - } - }, - _smart_enabled: { - value: null - }, - smart_enabled: { - set: function (value) { - if (this._smart_enabled !== value) { - this._smart_enabled = value; - } - }, - get: function () { - return this._smart_enabled; - } - }, - _smart_status: { - value: null - }, - smart_status: { - set: function (value) { - if (this._smart_status !== value) { - this._smart_status = value; - } - }, - get: function () { - return this._smart_status; - } - }, - _temperature: { - value: null - }, - temperature: { - set: function (value) { - if (this._temperature !== value) { - this._temperature = value; - } - }, - get: function () { - return this._temperature; - } - }, - _test_capabilities: { - value: null - }, - test_capabilities: { - set: function (value) { - if (this._test_capabilities !== value) { - this._test_capabilities = value; - } - }, - get: function () { - return this._test_capabilities; - } - }, - _tests: { - value: null - }, - tests: { - set: function (value) { - if (this._tests !== value) { - this._tests = value; - } - }, - get: function () { - return this._tests; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "attributes", - valueType: "array" - }, { - mandatory: false, - name: "diagnostics", - valueType: "object" - }, { - mandatory: false, - name: "firmware", - valueType: "String" - }, { - mandatory: false, - name: "interface", - valueType: "String" - }, { - mandatory: false, - name: "messages", - valueType: "array" - }, { - mandatory: false, - name: "model", - valueType: "String" - }, { - mandatory: false, - name: "smart_capable", - valueType: "boolean" - }, { - mandatory: false, - name: "smart_enabled", - valueType: "boolean" - }, { - mandatory: false, - name: "smart_status", - valueType: "String" - }, { - mandatory: false, - name: "temperature", - valueType: "number" - }, { - mandatory: false, - name: "test_capabilities", - valueObjectPrototypeName: "SupportedSmartTests", - valueType: "object" - }, { - mandatory: false, - name: "tests", - valueType: "array" - }] - } -}); diff --git a/core/model/models/smart-test-result.js b/core/model/models/smart-test-result.js deleted file mode 100644 index 9f7391362b..0000000000 --- a/core/model/models/smart-test-result.js +++ /dev/null @@ -1,178 +0,0 @@ -var Montage = require("montage").Montage; - -exports.SmartTestResult = Montage.specialize({ - _asc: { - value: null - }, - asc: { - set: function (value) { - if (this._asc !== value) { - this._asc = value; - } - }, - get: function () { - return this._asc; - } - }, - _ascq: { - value: null - }, - ascq: { - set: function (value) { - if (this._ascq !== value) { - this._ascq = value; - } - }, - get: function () { - return this._ascq; - } - }, - _hours: { - value: null - }, - hours: { - set: function (value) { - if (this._hours !== value) { - this._hours = value; - } - }, - get: function () { - return this._hours; - } - }, - _lba: { - value: null - }, - lba: { - set: function (value) { - if (this._lba !== value) { - this._lba = value; - } - }, - get: function () { - return this._lba; - } - }, - _num: { - value: null - }, - num: { - set: function (value) { - if (this._num !== value) { - this._num = value; - } - }, - get: function () { - return this._num; - } - }, - _remain: { - value: null - }, - remain: { - set: function (value) { - if (this._remain !== value) { - this._remain = value; - } - }, - get: function () { - return this._remain; - } - }, - _segment: { - value: null - }, - segment: { - set: function (value) { - if (this._segment !== value) { - this._segment = value; - } - }, - get: function () { - return this._segment; - } - }, - _sense: { - value: null - }, - sense: { - set: function (value) { - if (this._sense !== value) { - this._sense = value; - } - }, - get: function () { - return this._sense; - } - }, - _status: { - value: null - }, - status: { - set: function (value) { - if (this._status !== value) { - this._status = value; - } - }, - get: function () { - return this._status; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "asc", - valueType: "String" - }, { - mandatory: false, - name: "ascq", - valueType: "String" - }, { - mandatory: false, - name: "hours", - valueType: "String" - }, { - mandatory: false, - name: "lba", - valueType: "String" - }, { - mandatory: false, - name: "num", - valueType: "number" - }, { - mandatory: false, - name: "remain", - valueType: "String" - }, { - mandatory: false, - name: "segment", - valueType: "String" - }, { - mandatory: false, - name: "sense", - valueType: "String" - }, { - mandatory: false, - name: "status", - valueType: "String" - }, { - mandatory: false, - name: "type", - valueType: "String" - }] - } -}); diff --git a/core/model/models/snapshot-info.js b/core/model/models/snapshot-info.js deleted file mode 100644 index 2d5aea494c..0000000000 --- a/core/model/models/snapshot-info.js +++ /dev/null @@ -1,77 +0,0 @@ -var Montage = require("montage").Montage; - -exports.SnapshotInfo = Montage.specialize({ - _created_at: { - value: null - }, - created_at: { - set: function (value) { - if (this._created_at !== value) { - this._created_at = value; - } - }, - get: function () { - return this._created_at; - } - }, - _name: { - value: null - }, - name: { - set: function (value) { - if (this._name !== value) { - this._name = value; - } - }, - get: function () { - return this._name; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - }, - _uuid: { - value: null - }, - uuid: { - set: function (value) { - if (this._uuid !== value) { - this._uuid = value; - } - }, - get: function () { - return this._uuid; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "created_at", - valueType: "String" - }, { - mandatory: false, - name: "name", - valueType: "String" - }, { - mandatory: false, - name: "type", - valueObjectPrototypeName: "SnapshotInfoType", - valueType: "object" - }, { - mandatory: false, - name: "uuid", - valueType: "String" - }] - } -}); diff --git a/core/model/models/ssh-credentials.js b/core/model/models/ssh-credentials.js deleted file mode 100644 index 6cc5d47b00..0000000000 --- a/core/model/models/ssh-credentials.js +++ /dev/null @@ -1,126 +0,0 @@ -var Montage = require("montage").Montage; - -exports.SshCredentials = Montage.specialize({ - "_%type": { - value: null - }, - "%type": { - set: function (value) { - if (this["_%type"] !== value) { - this["_%type"] = value; - } - }, - get: function () { - return this["_%type"]; - } - }, - _address: { - value: null - }, - address: { - set: function (value) { - if (this._address !== value) { - this._address = value; - } - }, - get: function () { - return this._address; - } - }, - _hostkey: { - value: null - }, - hostkey: { - set: function (value) { - if (this._hostkey !== value) { - this._hostkey = value; - } - }, - get: function () { - return this._hostkey; - } - }, - _password: { - value: null - }, - password: { - set: function (value) { - if (this._password !== value) { - this._password = value; - } - }, - get: function () { - return this._password; - } - }, - _port: { - value: null - }, - port: { - set: function (value) { - if (this._port !== value) { - this._port = value; - } - }, - get: function () { - return this._port; - } - }, - _privkey: { - value: null - }, - privkey: { - set: function (value) { - if (this._privkey !== value) { - this._privkey = value; - } - }, - get: function () { - return this._privkey; - } - }, - _username: { - value: null - }, - username: { - set: function (value) { - if (this._username !== value) { - this._username = value; - } - }, - get: function () { - return this._username; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "%type" - }, { - mandatory: false, - name: "address", - valueType: "String" - }, { - mandatory: false, - name: "hostkey", - valueType: "String" - }, { - mandatory: false, - name: "password", - valueType: "String" - }, { - mandatory: false, - name: "port", - valueType: "number" - }, { - mandatory: false, - name: "privkey", - valueType: "String" - }, { - mandatory: false, - name: "username", - valueType: "String" - }] - } -}); diff --git a/core/model/models/stat.js b/core/model/models/stat.js deleted file mode 100644 index e7447ab311..0000000000 --- a/core/model/models/stat.js +++ /dev/null @@ -1,128 +0,0 @@ -var Montage = require("montage").Montage; - -exports.Stat = Montage.specialize({ - _atime: { - value: null - }, - atime: { - set: function (value) { - if (this._atime !== value) { - this._atime = value; - } - }, - get: function () { - return this._atime; - } - }, - _ctime: { - value: null - }, - ctime: { - set: function (value) { - if (this._ctime !== value) { - this._ctime = value; - } - }, - get: function () { - return this._ctime; - } - }, - _mtime: { - value: null - }, - mtime: { - set: function (value) { - if (this._mtime !== value) { - this._mtime = value; - } - }, - get: function () { - return this._mtime; - } - }, - _path: { - value: null - }, - path: { - set: function (value) { - if (this._path !== value) { - this._path = value; - } - }, - get: function () { - return this._path; - } - }, - _permissions: { - value: null - }, - permissions: { - set: function (value) { - if (this._permissions !== value) { - this._permissions = value; - } - }, - get: function () { - return this._permissions; - } - }, - _size: { - value: null - }, - size: { - set: function (value) { - if (this._size !== value) { - this._size = value; - } - }, - get: function () { - return this._size; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "atime", - valueType: "datetime" - }, { - mandatory: false, - name: "ctime", - valueType: "datetime" - }, { - mandatory: false, - name: "mtime", - valueType: "datetime" - }, { - mandatory: false, - name: "path", - valueType: "String" - }, { - mandatory: false, - name: "permissions", - valueObjectPrototypeName: "Permissions", - valueType: "object" - }, { - mandatory: false, - name: "size", - valueType: "number" - }, { - mandatory: false, - name: "type", - valueType: "String" - }] - } -}); diff --git a/core/model/models/statistic-alert.js b/core/model/models/statistic-alert.js deleted file mode 100644 index e58f04c98a..0000000000 --- a/core/model/models/statistic-alert.js +++ /dev/null @@ -1,110 +0,0 @@ -var Montage = require("montage").Montage; - -exports.StatisticAlert = Montage.specialize({ - _alert_high: { - value: null - }, - alert_high: { - set: function (value) { - if (this._alert_high !== value) { - this._alert_high = value; - } - }, - get: function () { - return this._alert_high; - } - }, - _alert_high_enabled: { - value: null - }, - alert_high_enabled: { - set: function (value) { - if (this._alert_high_enabled !== value) { - this._alert_high_enabled = value; - } - }, - get: function () { - return this._alert_high_enabled; - } - }, - _alert_low: { - value: null - }, - alert_low: { - set: function (value) { - if (this._alert_low !== value) { - this._alert_low = value; - } - }, - get: function () { - return this._alert_low; - } - }, - _alert_low_enabled: { - value: null - }, - alert_low_enabled: { - set: function (value) { - if (this._alert_low_enabled !== value) { - this._alert_low_enabled = value; - } - }, - get: function () { - return this._alert_low_enabled; - } - }, - _normalized_alert_high: { - value: null - }, - normalized_alert_high: { - set: function (value) { - if (this._normalized_alert_high !== value) { - this._normalized_alert_high = value; - } - }, - get: function () { - return this._normalized_alert_high; - } - }, - _normalized_alert_low: { - value: null - }, - normalized_alert_low: { - set: function (value) { - if (this._normalized_alert_low !== value) { - this._normalized_alert_low = value; - } - }, - get: function () { - return this._normalized_alert_low; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "alert_high", - valueType: "number" - }, { - mandatory: false, - name: "alert_high_enabled", - valueType: "boolean" - }, { - mandatory: false, - name: "alert_low", - valueType: "number" - }, { - mandatory: false, - name: "alert_low_enabled", - valueType: "boolean" - }, { - mandatory: false, - name: "normalized_alert_high", - valueType: "number" - }, { - mandatory: false, - name: "normalized_alert_low", - valueType: "number" - }] - } -}); diff --git a/core/model/models/statistic.js b/core/model/models/statistic.js deleted file mode 100644 index 22b3728385..0000000000 --- a/core/model/models/statistic.js +++ /dev/null @@ -1,94 +0,0 @@ -var Montage = require("montage").Montage; - -exports.Statistic = Montage.specialize({ - _alerts: { - value: null - }, - alerts: { - set: function (value) { - if (this._alerts !== value) { - this._alerts = value; - } - }, - get: function () { - return this._alerts; - } - }, - _last_value: { - value: null - }, - last_value: { - set: function (value) { - if (this._last_value !== value) { - this._last_value = value; - } - }, - get: function () { - return this._last_value; - } - }, - _name: { - value: null - }, - name: { - set: function (value) { - if (this._name !== value) { - this._name = value; - } - }, - get: function () { - return this._name; - } - }, - _short_name: { - value: null - }, - short_name: { - set: function (value) { - if (this._short_name !== value) { - this._short_name = value; - } - }, - get: function () { - return this._short_name; - } - }, - _unit: { - value: null - }, - unit: { - set: function (value) { - if (this._unit !== value) { - this._unit = value; - } - }, - get: function () { - return this._unit; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "alerts", - valueObjectPrototypeName: "StatisticAlert", - valueType: "object" - }, { - mandatory: false, - name: "last_value", - valueType: "number" - }, { - mandatory: false, - name: "name", - valueType: "String" - }, { - mandatory: false, - name: "short_name", - valueType: "String" - }, { - mandatory: false, - name: "unit", - valueType: "String" - }] - } -}); diff --git a/core/model/models/support-ticket.js b/core/model/models/support-ticket.js deleted file mode 100644 index c366c4fe6a..0000000000 --- a/core/model/models/support-ticket.js +++ /dev/null @@ -1,144 +0,0 @@ -var Montage = require("montage").Montage; - -exports.SupportTicket = Montage.specialize({ - _attachments: { - value: null - }, - attachments: { - set: function (value) { - if (this._attachments !== value) { - this._attachments = value; - } - }, - get: function () { - return this._attachments; - } - }, - _category: { - value: null - }, - category: { - set: function (value) { - if (this._category !== value) { - this._category = value; - } - }, - get: function () { - return this._category; - } - }, - _debug: { - value: null - }, - debug: { - set: function (value) { - if (this._debug !== value) { - this._debug = value; - } - }, - get: function () { - return this._debug; - } - }, - _description: { - value: null - }, - description: { - set: function (value) { - if (this._description !== value) { - this._description = value; - } - }, - get: function () { - return this._description; - } - }, - _password: { - value: null - }, - password: { - set: function (value) { - if (this._password !== value) { - this._password = value; - } - }, - get: function () { - return this._password; - } - }, - _subject: { - value: null - }, - subject: { - set: function (value) { - if (this._subject !== value) { - this._subject = value; - } - }, - get: function () { - return this._subject; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - }, - _username: { - value: null - }, - username: { - set: function (value) { - if (this._username !== value) { - this._username = value; - } - }, - get: function () { - return this._username; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: true, - name: "attachments", - valueType: "array" - }, { - mandatory: true, - name: "category", - valueType: "String" - }, { - mandatory: true, - name: "debug", - valueType: "boolean" - }, { - mandatory: true, - name: "description", - valueType: "String" - }, { - mandatory: true, - name: "password", - valueType: "String" - }, { - mandatory: true, - name: "subject", - valueType: "String" - }, { - mandatory: true, - name: "type", - valueType: "String" - }, { - mandatory: false, - name: "username", - valueType: "String" - }] - } -}); diff --git a/core/model/models/supported-smart-tests.js b/core/model/models/supported-smart-tests.js deleted file mode 100644 index 6ac2d267df..0000000000 --- a/core/model/models/supported-smart-tests.js +++ /dev/null @@ -1,93 +0,0 @@ -var Montage = require("montage").Montage; - -exports.SupportedSmartTests = Montage.specialize({ - _conveyance: { - value: null - }, - conveyance: { - set: function (value) { - if (this._conveyance !== value) { - this._conveyance = value; - } - }, - get: function () { - return this._conveyance; - } - }, - _long: { - value: null - }, - long: { - set: function (value) { - if (this._long !== value) { - this._long = value; - } - }, - get: function () { - return this._long; - } - }, - _offline: { - value: null - }, - offline: { - set: function (value) { - if (this._offline !== value) { - this._offline = value; - } - }, - get: function () { - return this._offline; - } - }, - _selective: { - value: null - }, - selective: { - set: function (value) { - if (this._selective !== value) { - this._selective = value; - } - }, - get: function () { - return this._selective; - } - }, - _short: { - value: null - }, - short: { - set: function (value) { - if (this._short !== value) { - this._short = value; - } - }, - get: function () { - return this._short; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "conveyance", - valueType: "boolean" - }, { - mandatory: false, - name: "long", - valueType: "boolean" - }, { - mandatory: false, - name: "offline", - valueType: "boolean" - }, { - mandatory: false, - name: "selective", - valueType: "boolean" - }, { - mandatory: false, - name: "short", - valueType: "boolean" - }] - } -}); diff --git a/core/model/models/swap-mirror.js b/core/model/models/swap-mirror.js deleted file mode 100644 index 805aa7d827..0000000000 --- a/core/model/models/swap-mirror.js +++ /dev/null @@ -1,42 +0,0 @@ -var Montage = require("montage").Montage; - -exports.SwapMirror = Montage.specialize({ - _disks: { - value: null - }, - disks: { - set: function (value) { - if (this._disks !== value) { - this._disks = value; - } - }, - get: function () { - return this._disks; - } - }, - _name: { - value: null - }, - name: { - set: function (value) { - if (this._name !== value) { - this._name = value; - } - }, - get: function () { - return this._name; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "disks", - valueType: "array" - }, { - mandatory: false, - name: "name", - valueType: "String" - }] - } -}); diff --git a/core/model/models/system-advanced.js b/core/model/models/system-advanced.js deleted file mode 100644 index ea8ca054b1..0000000000 --- a/core/model/models/system-advanced.js +++ /dev/null @@ -1,264 +0,0 @@ -var Montage = require("montage").Montage; - -exports.SystemAdvanced = Montage.specialize({ - _boot_scrub_internal: { - value: null - }, - boot_scrub_internal: { - set: function (value) { - if (this._boot_scrub_internal !== value) { - this._boot_scrub_internal = value; - } - }, - get: function () { - return this._boot_scrub_internal; - } - }, - _console_cli: { - value: null - }, - console_cli: { - set: function (value) { - if (this._console_cli !== value) { - this._console_cli = value; - } - }, - get: function () { - return this._console_cli; - } - }, - _console_screensaver: { - value: null - }, - console_screensaver: { - set: function (value) { - if (this._console_screensaver !== value) { - this._console_screensaver = value; - } - }, - get: function () { - return this._console_screensaver; - } - }, - _debugkernel: { - value: null - }, - debugkernel: { - set: function (value) { - if (this._debugkernel !== value) { - this._debugkernel = value; - } - }, - get: function () { - return this._debugkernel; - } - }, - _freenas_token_lifetime: { - value: null - }, - freenas_token_lifetime: { - set: function (value) { - if (this._freenas_token_lifetime !== value) { - this._freenas_token_lifetime = value; - } - }, - get: function () { - return this._freenas_token_lifetime; - } - }, - _graphite_servers: { - value: null - }, - graphite_servers: { - set: function (value) { - if (this._graphite_servers !== value) { - this._graphite_servers = value; - } - }, - get: function () { - return this._graphite_servers; - } - }, - _home_directory_root: { - value: null - }, - home_directory_root: { - set: function (value) { - if (this._home_directory_root !== value) { - this._home_directory_root = value; - } - }, - get: function () { - return this._home_directory_root; - } - }, - _motd: { - value: null - }, - motd: { - set: function (value) { - if (this._motd !== value) { - this._motd = value; - } - }, - get: function () { - return this._motd; - } - }, - _periodic_notify_user: { - value: null - }, - periodic_notify_user: { - set: function (value) { - if (this._periodic_notify_user !== value) { - this._periodic_notify_user = value; - } - }, - get: function () { - return this._periodic_notify_user; - } - }, - _powerd: { - value: null - }, - powerd: { - set: function (value) { - if (this._powerd !== value) { - this._powerd = value; - } - }, - get: function () { - return this._powerd; - } - }, - _serial_console: { - value: null - }, - serial_console: { - set: function (value) { - if (this._serial_console !== value) { - this._serial_console = value; - } - }, - get: function () { - return this._serial_console; - } - }, - _serial_port: { - value: null - }, - serial_port: { - set: function (value) { - if (this._serial_port !== value) { - this._serial_port = value; - } - }, - get: function () { - return this._serial_port; - } - }, - _serial_speed: { - value: null - }, - serial_speed: { - set: function (value) { - if (this._serial_speed !== value) { - this._serial_speed = value; - } - }, - get: function () { - return this._serial_speed; - } - }, - _swapondrive: { - value: null - }, - swapondrive: { - set: function (value) { - if (this._swapondrive !== value) { - this._swapondrive = value; - } - }, - get: function () { - return this._swapondrive; - } - }, - _uploadcrash: { - value: null - }, - uploadcrash: { - set: function (value) { - if (this._uploadcrash !== value) { - this._uploadcrash = value; - } - }, - get: function () { - return this._uploadcrash; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "boot_scrub_internal", - valueType: "number" - }, { - mandatory: false, - name: "console_cli", - valueType: "boolean" - }, { - mandatory: false, - name: "console_screensaver", - valueType: "boolean" - }, { - mandatory: false, - name: "debugkernel", - valueType: "boolean" - }, { - mandatory: false, - name: "freenas_token_lifetime", - valueType: "number" - }, { - mandatory: false, - name: "graphite_servers", - valueType: "array" - }, { - mandatory: false, - name: "home_directory_root", - valueType: "String" - }, { - mandatory: false, - name: "motd", - valueType: "String" - }, { - mandatory: false, - name: "periodic_notify_user", - valueType: "number" - }, { - mandatory: false, - name: "powerd", - valueType: "boolean" - }, { - mandatory: false, - name: "serial_console", - valueType: "boolean" - }, { - mandatory: false, - name: "serial_port", - valueType: "String" - }, { - mandatory: false, - name: "serial_speed", - valueObjectPrototypeName: "SystemAdvancedSerialspeed", - valueType: "object" - }, { - mandatory: false, - name: "swapondrive", - valueType: "number" - }, { - mandatory: false, - name: "uploadcrash", - valueType: "boolean" - }] - } -}); diff --git a/core/model/models/system-general.js b/core/model/models/system-general.js deleted file mode 100644 index 3078053f0a..0000000000 --- a/core/model/models/system-general.js +++ /dev/null @@ -1,133 +0,0 @@ -var Montage = require("montage").Montage; - -exports.SystemGeneral = Montage.specialize({ - _console_keymap: { - value: null - }, - console_keymap: { - set: function (value) { - if (this._console_keymap !== value) { - this._console_keymap = value; - } - }, - get: function () { - return this._console_keymap; - } - }, - _description: { - value: null - }, - description: { - set: function (value) { - if (this._description !== value) { - this._description = value; - } - }, - get: function () { - return this._description; - } - }, - _hostname: { - value: null - }, - hostname: { - set: function (value) { - if (this._hostname !== value) { - this._hostname = value; - } - }, - get: function () { - return this._hostname; - } - }, - _language: { - value: null - }, - language: { - set: function (value) { - if (this._language !== value) { - this._language = value; - } - }, - get: function () { - return this._language; - } - }, - _syslog_server: { - value: null - }, - syslog_server: { - set: function (value) { - if (this._syslog_server !== value) { - this._syslog_server = value; - } - }, - get: function () { - return this._syslog_server; - } - }, - _tags: { - value: null - }, - tags: { - set: function (value) { - if (this._tags !== value) { - this._tags = value; - } - }, - get: function () { - return this._tags; - } - }, - _timezone: { - value: null - }, - timezone: { - set: function (value) { - if (this._timezone !== value) { - this._timezone = value; - } - }, - get: function () { - return this._timezone; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "console_keymap", - valueType: "String" - }, { - mandatory: false, - name: "description", - valueType: "String" - }, { - mandatory: false, - name: "hostname", - valueType: "String" - }, { - mandatory: false, - name: "language", - valueType: "String" - }, { - mandatory: false, - name: "syslog_server", - valueType: "String" - }, { - mandatory: false, - name: "tags", - valueType: "array" - }, { - mandatory: false, - name: "timezone", - valueType: "String" - }] - }, - userInterfaceDescriptor: { - value: { - wizardComponentModuleId: "ui/sections/wizard/inspectors/system.reel", - wizardTitle: "Choose your region" - } - } -}); diff --git a/core/model/models/system-section.js b/core/model/models/system-section.js deleted file mode 100644 index b77a1c80a8..0000000000 --- a/core/model/models/system-section.js +++ /dev/null @@ -1,85 +0,0 @@ -var Montage = require("montage").Montage; - -exports.SystemSection = Montage.specialize({ - _identifier: { - value: null - }, - identifier: { - set: function (value) { - if (this._identifier !== value) { - this._identifier = value; - } - }, - get: function () { - return this._identifier; - } - }, - _label: { - value: null - }, - label: { - set: function (value) { - if (this._label !== value) { - this._label = value; - } - }, - get: function () { - return this._label; - } - }, - _icon: { - value: null - }, - icon: { - set: function (value) { - if (this._icon !== value) { - this._icon = value; - } - }, - get: function () { - return this._icon; - } - }, - _order: { - value: null - }, - order: { - set: function (value) { - if (this._order !== value) { - this._order = value; - } - }, - get: function () { - return this._order; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "identifier" - }, { - mandatory: false, - name: "label" - }, { - mandatory: false, - name: "icon" - }, { - mandatory: false, - name: "order" - }] - }, - userInterfaceDescriptor: { - value: { - collectionInspectorComponentModule: { - id: 'ui/controls/viewer.reel' - }, - collectionNameExpression: "'System Section'", - inspectorComponentModule: { - id: 'ui/sections/system/inspectors/system-section.reel' - }, - nameExpression: "label", - sortExpression: "order" - } - } -}); diff --git a/core/model/models/system-time.js b/core/model/models/system-time.js deleted file mode 100644 index a85a398bcc..0000000000 --- a/core/model/models/system-time.js +++ /dev/null @@ -1,76 +0,0 @@ -var Montage = require("montage").Montage; - -exports.SystemTime = Montage.specialize({ - _boot_time: { - value: null - }, - boot_time: { - set: function (value) { - if (this._boot_time !== value) { - this._boot_time = value; - } - }, - get: function () { - return this._boot_time; - } - }, - _system_time: { - value: null - }, - system_time: { - set: function (value) { - if (this._system_time !== value) { - this._system_time = value; - } - }, - get: function () { - return this._system_time; - } - }, - _timezone: { - value: null - }, - timezone: { - set: function (value) { - if (this._timezone !== value) { - this._timezone = value; - } - }, - get: function () { - return this._timezone; - } - }, - _uptime: { - value: null - }, - uptime: { - set: function (value) { - if (this._uptime !== value) { - this._uptime = value; - } - }, - get: function () { - return this._uptime; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "boot_time", - valueType: "datetime" - }, { - mandatory: false, - name: "system_time", - valueType: "datetime" - }, { - mandatory: false, - name: "timezone", - valueType: "String" - }, { - mandatory: false, - name: "uptime", - valueType: "number" - }] - } -}); diff --git a/core/model/models/system-ui.js b/core/model/models/system-ui.js deleted file mode 100644 index af7b15361e..0000000000 --- a/core/model/models/system-ui.js +++ /dev/null @@ -1,110 +0,0 @@ -var Montage = require("montage").Montage; - -exports.SystemUi = Montage.specialize({ - _webui_http_port: { - value: null - }, - webui_http_port: { - set: function (value) { - if (this._webui_http_port !== value) { - this._webui_http_port = value; - } - }, - get: function () { - return this._webui_http_port; - } - }, - _webui_http_redirect_https: { - value: null - }, - webui_http_redirect_https: { - set: function (value) { - if (this._webui_http_redirect_https !== value) { - this._webui_http_redirect_https = value; - } - }, - get: function () { - return this._webui_http_redirect_https; - } - }, - _webui_https_certificate: { - value: null - }, - webui_https_certificate: { - set: function (value) { - if (this._webui_https_certificate !== value) { - this._webui_https_certificate = value; - } - }, - get: function () { - return this._webui_https_certificate; - } - }, - _webui_https_port: { - value: null - }, - webui_https_port: { - set: function (value) { - if (this._webui_https_port !== value) { - this._webui_https_port = value; - } - }, - get: function () { - return this._webui_https_port; - } - }, - _webui_listen: { - value: null - }, - webui_listen: { - set: function (value) { - if (this._webui_listen !== value) { - this._webui_listen = value; - } - }, - get: function () { - return this._webui_listen; - } - }, - _webui_protocol: { - value: null - }, - webui_protocol: { - set: function (value) { - if (this._webui_protocol !== value) { - this._webui_protocol = value; - } - }, - get: function () { - return this._webui_protocol; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "webui_http_port", - valueType: "number" - }, { - mandatory: false, - name: "webui_http_redirect_https", - valueType: "boolean" - }, { - mandatory: false, - name: "webui_https_certificate", - valueType: "String" - }, { - mandatory: false, - name: "webui_https_port", - valueType: "number" - }, { - mandatory: false, - name: "webui_listen", - valueType: "array" - }, { - mandatory: false, - name: "webui_protocol", - valueType: "array" - }] - } -}); diff --git a/core/model/models/task-args-anonymous.js b/core/model/models/task-args-anonymous.js deleted file mode 100644 index a542670875..0000000000 --- a/core/model/models/task-args-anonymous.js +++ /dev/null @@ -1,3 +0,0 @@ -var Montage = require("montage").Montage; - -exports.TaskArgsAnonymous = Montage.specialize(); diff --git a/core/model/models/task-description-anonymous.js b/core/model/models/task-description-anonymous.js deleted file mode 100644 index 155613297b..0000000000 --- a/core/model/models/task-description-anonymous.js +++ /dev/null @@ -1,58 +0,0 @@ -var Montage = require("montage").Montage; - -exports.TaskDescriptionAnonymous = Montage.specialize({ - _format: { - value: null - }, - format: { - set: function (value) { - if (this._format !== value) { - this._format = value; - } - }, - get: function () { - return this._format; - } - }, - _message: { - value: null - }, - message: { - set: function (value) { - if (this._message !== value) { - this._message = value; - } - }, - get: function () { - return this._message; - } - }, - _name: { - value: null - }, - name: { - set: function (value) { - if (this._name !== value) { - this._name = value; - } - }, - get: function () { - return this._name; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "format" - }, { - mandatory: false, - name: "message", - valueType: "String" - }, { - mandatory: false, - name: "name", - valueType: "String" - }] - } -}); diff --git a/core/model/models/task.js b/core/model/models/task.js deleted file mode 100644 index 656fff2651..0000000000 --- a/core/model/models/task.js +++ /dev/null @@ -1,320 +0,0 @@ -var Montage = require("montage").Montage; - -exports.Task = Montage.specialize({ - _args: { - value: null - }, - args: { - set: function (value) { - if (this._args !== value) { - this._args = value; - } - }, - get: function () { - return this._args; - } - }, - _created_at: { - value: null - }, - created_at: { - set: function (value) { - if (this._created_at !== value) { - this._created_at = value; - } - }, - get: function () { - return this._created_at; - } - }, - _debugger: { - value: null - }, - debugger: { - set: function (value) { - if (this._debugger !== value) { - this._debugger = value; - } - }, - get: function () { - return this._debugger; - } - }, - _description: { - value: null - }, - description: { - set: function (value) { - if (this._description !== value) { - this._description = value; - } - }, - get: function () { - return this._description; - } - }, - _error: { - value: null - }, - error: { - set: function (value) { - if (this._error !== value) { - this._error = value; - } - }, - get: function () { - return this._error; - } - }, - _finished_at: { - value: null - }, - finished_at: { - set: function (value) { - if (this._finished_at !== value) { - this._finished_at = value; - } - }, - get: function () { - return this._finished_at; - } - }, - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _name: { - value: null - }, - name: { - set: function (value) { - if (this._name !== value) { - this._name = value; - } - }, - get: function () { - return this._name; - } - }, - _output: { - value: null - }, - output: { - set: function (value) { - if (this._output !== value) { - this._output = value; - } - }, - get: function () { - return this._output; - } - }, - _parent: { - value: null - }, - parent: { - set: function (value) { - if (this._parent !== value) { - this._parent = value; - } - }, - get: function () { - return this._parent; - } - }, - _resources: { - value: null - }, - resources: { - set: function (value) { - if (this._resources !== value) { - this._resources = value; - } - }, - get: function () { - return this._resources; - } - }, - _rusage: { - value: null - }, - rusage: { - set: function (value) { - if (this._rusage !== value) { - this._rusage = value; - } - }, - get: function () { - return this._rusage; - } - }, - _session: { - value: null - }, - session: { - set: function (value) { - if (this._session !== value) { - this._session = value; - } - }, - get: function () { - return this._session; - } - }, - _started_at: { - value: null - }, - started_at: { - set: function (value) { - if (this._started_at !== value) { - this._started_at = value; - } - }, - get: function () { - return this._started_at; - } - }, - _state: { - value: null - }, - state: { - set: function (value) { - if (this._state !== value) { - this._state = value; - } - }, - get: function () { - return this._state; - } - }, - _updated_at: { - value: null - }, - updated_at: { - set: function (value) { - if (this._updated_at !== value) { - this._updated_at = value; - } - }, - get: function () { - return this._updated_at; - } - }, - _user: { - value: null - }, - user: { - set: function (value) { - if (this._user !== value) { - this._user = value; - } - }, - get: function () { - return this._user; - } - }, - _warnings: { - value: null - }, - warnings: { - set: function (value) { - if (this._warnings !== value) { - this._warnings = value; - } - }, - get: function () { - return this._warnings; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "args", - valueType: "object" - }, { - mandatory: false, - name: "created_at", - valueObjectPrototypeName: "IsoDatetime", - valueType: "object" - }, { - mandatory: false, - name: "debugger", - valueType: "array" - }, { - mandatory: false, - name: "description", - valueType: "object" - }, { - mandatory: false, - name: "error", - valueObjectPrototypeName: "Error", - valueType: "object" - }, { - mandatory: false, - name: "finished_at", - valueObjectPrototypeName: "IsoDatetime", - valueType: "object" - }, { - mandatory: false, - name: "id", - valueType: "number" - }, { - mandatory: false, - name: "name", - valueType: "String" - }, { - mandatory: false, - name: "output", - valueType: "String" - }, { - mandatory: false, - name: "parent", - valueType: "number" - }, { - mandatory: false, - name: "resources", - valueType: "array" - }, { - mandatory: false, - name: "rusage", - valueObjectPrototypeName: "Rusage", - valueType: "object" - }, { - mandatory: false, - name: "session", - valueType: "number" - }, { - mandatory: false, - name: "started_at", - valueObjectPrototypeName: "IsoDatetime", - valueType: "object" - }, { - mandatory: false, - name: "state", - valueType: "String" - }, { - mandatory: false, - name: "updated_at", - valueObjectPrototypeName: "IsoDatetime", - valueType: "object" - }, { - mandatory: false, - name: "user", - valueType: "String" - }, { - mandatory: false, - name: "warnings", - valueType: "array" - }] - } -}); diff --git a/core/model/models/throttle-replication-transport-option.js b/core/model/models/throttle-replication-transport-option.js deleted file mode 100644 index eb7beb8474..0000000000 --- a/core/model/models/throttle-replication-transport-option.js +++ /dev/null @@ -1,41 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ThrottleReplicationTransportOption = Montage.specialize({ - "_%type": { - value: null - }, - "%type": { - set: function (value) { - if (this["_%type"] !== value) { - this["_%type"] = value; - } - }, - get: function () { - return this["_%type"]; - } - }, - _buffer_size: { - value: null - }, - buffer_size: { - set: function (value) { - if (this._buffer_size !== value) { - this._buffer_size = value; - } - }, - get: function () { - return this._buffer_size; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "%type" - }, { - mandatory: false, - name: "buffer_size", - valueType: "number" - }] - } -}); diff --git a/core/model/models/throttle-replication-transport-plugin.js b/core/model/models/throttle-replication-transport-plugin.js deleted file mode 100644 index 2e1387d39e..0000000000 --- a/core/model/models/throttle-replication-transport-plugin.js +++ /dev/null @@ -1,75 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ThrottleReplicationTransportPlugin = Montage.specialize({ - "_%type": { - value: null - }, - "%type": { - set: function (value) { - if (this["_%type"] !== value) { - this["_%type"] = value; - } - }, - get: function () { - return this["_%type"]; - } - }, - _buffer_size: { - value: null - }, - buffer_size: { - set: function (value) { - if (this._buffer_size !== value) { - this._buffer_size = value; - } - }, - get: function () { - return this._buffer_size; - } - }, - _read_fd: { - value: null - }, - read_fd: { - set: function (value) { - if (this._read_fd !== value) { - this._read_fd = value; - } - }, - get: function () { - return this._read_fd; - } - }, - _write_fd: { - value: null - }, - write_fd: { - set: function (value) { - if (this._write_fd !== value) { - this._write_fd = value; - } - }, - get: function () { - return this._write_fd; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "%type" - }, { - mandatory: false, - name: "buffer_size", - valueType: "number" - }, { - mandatory: false, - name: "read_fd", - valueType: "fd" - }, { - mandatory: false, - name: "write_fd", - valueType: "fd" - }] - } -}); diff --git a/core/model/models/tunable.js b/core/model/models/tunable.js deleted file mode 100644 index 5aa79f8fd1..0000000000 --- a/core/model/models/tunable.js +++ /dev/null @@ -1,126 +0,0 @@ -var Montage = require("montage").Montage; - -exports.Tunable = Montage.specialize({ - _comment: { - value: null - }, - comment: { - set: function (value) { - if (this._comment !== value) { - this._comment = value; - } - }, - get: function () { - return this._comment; - } - }, - _enabled: { - value: null - }, - enabled: { - set: function (value) { - if (this._enabled !== value) { - this._enabled = value; - } - }, - get: function () { - return this._enabled; - } - }, - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - }, - _value: { - value: null - }, - value: { - set: function (value) { - if (this._value !== value) { - this._value = value; - } - }, - get: function () { - return this._value; - } - }, - _var: { - value: null - }, - var: { - set: function (value) { - if (this._var !== value) { - this._var = value; - } - }, - get: function () { - return this._var; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "comment", - valueType: "String" - }, { - mandatory: false, - name: "enabled", - valueType: "boolean" - }, { - mandatory: false, - name: "id", - valueType: "String" - }, { - mandatory: false, - name: "type", - valueObjectPrototypeName: "TunableType", - valueType: "object" - }, { - mandatory: false, - name: "value", - valueType: "String" - }, { - mandatory: false, - name: "var", - valueType: "String" - }] - }, - userInterfaceDescriptor: { - value: { - inspectorComponentModule: { - id: 'ui/sections/system/inspectors/tunable.reel' - }, - collectionInspectorComponentModule: { - id: 'ui/controls/viewer.reel' - }, - collectionNameExpression: "'Tunables'", - creatorComponentModule: { - id: 'ui/sections/system/inspectors/tunable.reel' - }, - nameExpression: "_isNew.defined() && _isNew ? 'Add a Tunable' : var" - } - } -}); diff --git a/core/model/models/ui-transaction.js b/core/model/models/ui-transaction.js deleted file mode 100644 index 89ab1e2b47..0000000000 --- a/core/model/models/ui-transaction.js +++ /dev/null @@ -1,42 +0,0 @@ -var Montage = require("montage").Montage; - -exports.UiTransaction = Montage.specialize({ - _identifier: { - value: null - }, - identifier: { - set: function (value) { - if (this._identifier !== value) { - this._identifier = value; - } - }, - get: function () { - return this._identifier; - } - }, - _sessions: { - value: null - }, - sessions: { - set: function (value) { - if (this._sessions !== value) { - this._sessions = value; - } - }, - get: function () { - return this._sessions; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "identifier", - valueType: "String" - }, { - mandatory: false, - name: "sessions", - valueType: "array" - }] - } -}); diff --git a/core/model/models/unix-mode-tuple.js b/core/model/models/unix-mode-tuple.js deleted file mode 100644 index c2a618e871..0000000000 --- a/core/model/models/unix-mode-tuple.js +++ /dev/null @@ -1,59 +0,0 @@ -var Montage = require("montage").Montage; - -exports.UnixModeTuple = Montage.specialize({ - _execute: { - value: null - }, - execute: { - set: function (value) { - if (this._execute !== value) { - this._execute = value; - } - }, - get: function () { - return this._execute; - } - }, - _read: { - value: null - }, - read: { - set: function (value) { - if (this._read !== value) { - this._read = value; - } - }, - get: function () { - return this._read; - } - }, - _write: { - value: null - }, - write: { - set: function (value) { - if (this._write !== value) { - this._write = value; - } - }, - get: function () { - return this._write; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "execute", - valueType: "boolean" - }, { - mandatory: false, - name: "read", - valueType: "boolean" - }, { - mandatory: false, - name: "write", - valueType: "boolean" - }] - } -}); diff --git a/core/model/models/unix-permissions.js b/core/model/models/unix-permissions.js deleted file mode 100644 index 8466025a15..0000000000 --- a/core/model/models/unix-permissions.js +++ /dev/null @@ -1,79 +0,0 @@ -var Montage = require("montage").Montage; - -exports.UnixPermissions = Montage.specialize({ - _group: { - value: null - }, - group: { - set: function (value) { - if (this._group !== value) { - this._group = value; - } - }, - get: function () { - return this._group; - } - }, - _others: { - value: null - }, - others: { - set: function (value) { - if (this._others !== value) { - this._others = value; - } - }, - get: function () { - return this._others; - } - }, - _user: { - value: null - }, - user: { - set: function (value) { - if (this._user !== value) { - this._user = value; - } - }, - get: function () { - return this._user; - } - }, - _value: { - value: null - }, - value: { - set: function (value) { - if (this._value !== value) { - this._value = value; - } - }, - get: function () { - return this._value; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "group", - valueObjectPrototypeName: "UnixModeTuple", - valueType: "object" - }, { - mandatory: false, - name: "others", - valueObjectPrototypeName: "UnixModeTuple", - valueType: "object" - }, { - mandatory: false, - name: "user", - valueObjectPrototypeName: "UnixModeTuple", - valueType: "object" - }, { - mandatory: false, - name: "value", - valueType: "number" - }] - } -}); diff --git a/core/model/models/update-info-notes-anonymous.js b/core/model/models/update-info-notes-anonymous.js deleted file mode 100644 index 5bdfec0a5d..0000000000 --- a/core/model/models/update-info-notes-anonymous.js +++ /dev/null @@ -1,3 +0,0 @@ -var Montage = require("montage").Montage; - -exports.UpdateInfoNotesAnonymous = Montage.specialize(); diff --git a/core/model/models/update-info.js b/core/model/models/update-info.js deleted file mode 100644 index 195d7ced9c..0000000000 --- a/core/model/models/update-info.js +++ /dev/null @@ -1,162 +0,0 @@ -var Montage = require("montage").Montage; - -exports.UpdateInfo = Montage.specialize({ - _available: { - value: null - }, - available: { - set: function (value) { - if (this._available !== value) { - this._available = value; - } - }, - get: function () { - return this._available; - } - }, - _changelog: { - value: null - }, - changelog: { - set: function (value) { - if (this._changelog !== value) { - this._changelog = value; - } - }, - get: function () { - return this._changelog; - } - }, - _downloaded: { - value: null - }, - downloaded: { - set: function (value) { - if (this._downloaded !== value) { - this._downloaded = value; - } - }, - get: function () { - return this._downloaded; - } - }, - _installed: { - value: null - }, - installed: { - set: function (value) { - if (this._installed !== value) { - this._installed = value; - } - }, - get: function () { - return this._installed; - } - }, - _installed_version: { - value: null - }, - installed_version: { - set: function (value) { - if (this._installed_version !== value) { - this._installed_version = value; - } - }, - get: function () { - return this._installed_version; - } - }, - _notes: { - value: null - }, - notes: { - set: function (value) { - if (this._notes !== value) { - this._notes = value; - } - }, - get: function () { - return this._notes; - } - }, - _notice: { - value: null - }, - notice: { - set: function (value) { - if (this._notice !== value) { - this._notice = value; - } - }, - get: function () { - return this._notice; - } - }, - _operations: { - value: null - }, - operations: { - set: function (value) { - if (this._operations !== value) { - this._operations = value; - } - }, - get: function () { - return this._operations; - } - }, - _version: { - value: null - }, - version: { - set: function (value) { - if (this._version !== value) { - this._version = value; - } - }, - get: function () { - return this._version; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "available", - valueType: "boolean" - }, { - mandatory: false, - name: "changelog", - valueType: "array" - }, { - mandatory: false, - name: "downloaded", - valueType: "boolean" - }, { - mandatory: false, - name: "installed", - valueType: "boolean" - }, { - mandatory: false, - name: "installed_version", - valueType: "String" - }, { - mandatory: false, - name: "notes", - valueType: "object" - }, { - mandatory: false, - name: "notice", - valueType: "String" - }, { - mandatory: false, - name: "operations", - valueObjectPrototypeName: "UpdateOps", - valueType: "object" - }, { - mandatory: false, - name: "version", - valueType: "String" - }] - } -}); diff --git a/core/model/models/update-ops.js b/core/model/models/update-ops.js deleted file mode 100644 index 4986d2d433..0000000000 --- a/core/model/models/update-ops.js +++ /dev/null @@ -1,94 +0,0 @@ -var Montage = require("montage").Montage; - -exports.UpdateOps = Montage.specialize({ - _new_name: { - value: null - }, - new_name: { - set: function (value) { - if (this._new_name !== value) { - this._new_name = value; - } - }, - get: function () { - return this._new_name; - } - }, - _new_version: { - value: null - }, - new_version: { - set: function (value) { - if (this._new_version !== value) { - this._new_version = value; - } - }, - get: function () { - return this._new_version; - } - }, - _operation: { - value: null - }, - operation: { - set: function (value) { - if (this._operation !== value) { - this._operation = value; - } - }, - get: function () { - return this._operation; - } - }, - _previous_name: { - value: null - }, - previous_name: { - set: function (value) { - if (this._previous_name !== value) { - this._previous_name = value; - } - }, - get: function () { - return this._previous_name; - } - }, - _previous_version: { - value: null - }, - previous_version: { - set: function (value) { - if (this._previous_version !== value) { - this._previous_version = value; - } - }, - get: function () { - return this._previous_version; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "new_name", - valueType: "String" - }, { - mandatory: false, - name: "new_version", - valueType: "String" - }, { - mandatory: false, - name: "operation", - valueObjectPrototypeName: "UpdateOpsOperation", - valueType: "object" - }, { - mandatory: false, - name: "previous_name", - valueType: "String" - }, { - mandatory: false, - name: "previous_version", - valueType: "String" - }] - } -}); diff --git a/core/model/models/update-progress.js b/core/model/models/update-progress.js deleted file mode 100644 index 39d941f90c..0000000000 --- a/core/model/models/update-progress.js +++ /dev/null @@ -1,213 +0,0 @@ -var Montage = require("montage").Montage; - -exports.UpdateProgress = Montage.specialize({ - _details: { - value: null - }, - details: { - set: function (value) { - if (this._details !== value) { - this._details = value; - } - }, - get: function () { - return this._details; - } - }, - _error: { - value: null - }, - error: { - set: function (value) { - if (this._error !== value) { - this._error = value; - } - }, - get: function () { - return this._error; - } - }, - _filesize: { - value: null - }, - filesize: { - set: function (value) { - if (this._filesize !== value) { - this._filesize = value; - } - }, - get: function () { - return this._filesize; - } - }, - _finished: { - value: null - }, - finished: { - set: function (value) { - if (this._finished !== value) { - this._finished = value; - } - }, - get: function () { - return this._finished; - } - }, - _indeterminate: { - value: null - }, - indeterminate: { - set: function (value) { - if (this._indeterminate !== value) { - this._indeterminate = value; - } - }, - get: function () { - return this._indeterminate; - } - }, - _num_files_done: { - value: null - }, - num_files_done: { - set: function (value) { - if (this._num_files_done !== value) { - this._num_files_done = value; - } - }, - get: function () { - return this._num_files_done; - } - }, - _num_files_total: { - value: null - }, - num_files_total: { - set: function (value) { - if (this._num_files_total !== value) { - this._num_files_total = value; - } - }, - get: function () { - return this._num_files_total; - } - }, - _operation: { - value: null - }, - operation: { - set: function (value) { - if (this._operation !== value) { - this._operation = value; - } - }, - get: function () { - return this._operation; - } - }, - _percent: { - value: null - }, - percent: { - set: function (value) { - if (this._percent !== value) { - this._percent = value; - } - }, - get: function () { - return this._percent; - } - }, - _pkg_name: { - value: null - }, - pkg_name: { - set: function (value) { - if (this._pkg_name !== value) { - this._pkg_name = value; - } - }, - get: function () { - return this._pkg_name; - } - }, - _pkg_version: { - value: null - }, - pkg_version: { - set: function (value) { - if (this._pkg_version !== value) { - this._pkg_version = value; - } - }, - get: function () { - return this._pkg_version; - } - }, - _reboot: { - value: null - }, - reboot: { - set: function (value) { - if (this._reboot !== value) { - this._reboot = value; - } - }, - get: function () { - return this._reboot; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "details", - valueType: "String" - }, { - mandatory: false, - name: "error", - valueType: "boolean" - }, { - mandatory: false, - name: "filesize", - valueType: "number" - }, { - mandatory: false, - name: "finished", - valueType: "boolean" - }, { - mandatory: false, - name: "indeterminate", - valueType: "boolean" - }, { - mandatory: false, - name: "num_files_done", - valueType: "number" - }, { - mandatory: false, - name: "num_files_total", - valueType: "number" - }, { - mandatory: false, - name: "operation", - valueObjectPrototypeName: "UpdateProgressOperation", - valueType: "object" - }, { - mandatory: false, - name: "percent", - valueType: "number" - }, { - mandatory: false, - name: "pkg_name", - valueType: "String" - }, { - mandatory: false, - name: "pkg_version", - valueType: "String" - }, { - mandatory: false, - name: "reboot", - valueType: "boolean" - }] - } -}); diff --git a/core/model/models/update-train.js b/core/model/models/update-train.js deleted file mode 100644 index bd2833c9cc..0000000000 --- a/core/model/models/update-train.js +++ /dev/null @@ -1,76 +0,0 @@ -var Montage = require("montage").Montage; - -exports.UpdateTrain = Montage.specialize({ - _current: { - value: null - }, - current: { - set: function (value) { - if (this._current !== value) { - this._current = value; - } - }, - get: function () { - return this._current; - } - }, - _description: { - value: null - }, - description: { - set: function (value) { - if (this._description !== value) { - this._description = value; - } - }, - get: function () { - return this._description; - } - }, - _name: { - value: null - }, - name: { - set: function (value) { - if (this._name !== value) { - this._name = value; - } - }, - get: function () { - return this._name; - } - }, - _sequence: { - value: null - }, - sequence: { - set: function (value) { - if (this._sequence !== value) { - this._sequence = value; - } - }, - get: function () { - return this._sequence; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "current", - valueType: "boolean" - }, { - mandatory: false, - name: "description", - valueType: "String" - }, { - mandatory: false, - name: "name", - valueType: "String" - }, { - mandatory: false, - name: "sequence", - valueType: "String" - }] - } -}); diff --git a/core/model/models/update.js b/core/model/models/update.js deleted file mode 100644 index 9d98c978e3..0000000000 --- a/core/model/models/update.js +++ /dev/null @@ -1,60 +0,0 @@ -var Montage = require("montage").Montage; - -exports.Update = Montage.specialize({ - _check_auto: { - value: null - }, - check_auto: { - set: function (value) { - if (this._check_auto !== value) { - this._check_auto = value; - } - }, - get: function () { - return this._check_auto; - } - }, - _train: { - value: null - }, - train: { - set: function (value) { - if (this._train !== value) { - this._train = value; - } - }, - get: function () { - return this._train; - } - }, - _update_server: { - value: null - }, - update_server: { - set: function (value) { - if (this._update_server !== value) { - this._update_server = value; - } - }, - get: function () { - return this._update_server; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "check_auto", - valueType: "boolean" - }, { - mandatory: false, - name: "train", - valueType: "String" - }, { - mandatory: false, - name: "update_server", - readOnly: true, - valueType: "String" - }] - } -}); diff --git a/core/model/models/usb-device.js b/core/model/models/usb-device.js deleted file mode 100644 index 010e8f0fe8..0000000000 --- a/core/model/models/usb-device.js +++ /dev/null @@ -1,126 +0,0 @@ -var Montage = require("montage").Montage; - -exports.UsbDevice = Montage.specialize({ - _address: { - value: null - }, - address: { - set: function (value) { - if (this._address !== value) { - this._address = value; - } - }, - get: function () { - return this._address; - } - }, - _bus: { - value: null - }, - bus: { - set: function (value) { - if (this._bus !== value) { - this._bus = value; - } - }, - get: function () { - return this._bus; - } - }, - _class: { - value: null - }, - class: { - set: function (value) { - if (this._class !== value) { - this._class = value; - } - }, get: function () { - return this._class; - } - }, - _manufacturer: { - value: null - }, - manufacturer: { - set: function (value) { - if (this._manufacturer !== value) { - this._manufacturer = value; - } - }, - get: function () { - return this._manufacturer; - } - }, - _pid: { - value: null - }, - pid: { - set: function (value) { - if (this._pid !== value) { - this._pid = value; - } - }, - get: function () { - return this._pid; - } - }, - _product: { - value: null - }, - product: { - set: function (value) { - if (this._product !== value) { - this._product = value; - } - }, - get: function () { - return this._product; - } - }, - _vid: { - value: null - }, - vid: { - set: function (value) { - if (this._vid !== value) { - this._vid = value; - } - }, - get: function () { - return this._vid; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "address", - valueType: "number" - }, { - mandatory: false, - name: "bus", - valueType: "number" - }, { - mandatory: false, - name: "class", - valueType: "number" - }, { - mandatory: false, - name: "manufacturer", - valueType: "String" - }, { - mandatory: false, - name: "pid", - valueType: "number" - }, { - mandatory: false, - name: "product", - valueType: "String" - }, { - mandatory: false, - name: "vid", - valueType: "number" - }] - } -}); diff --git a/core/model/models/user-attributes-anonymous.js b/core/model/models/user-attributes-anonymous.js deleted file mode 100644 index adef1adf9f..0000000000 --- a/core/model/models/user-attributes-anonymous.js +++ /dev/null @@ -1,3 +0,0 @@ -var Montage = require("montage").Montage; - -exports.UserAttributesAnonymous = Montage.specialize(); diff --git a/core/model/models/user-origin-anonymous.js b/core/model/models/user-origin-anonymous.js deleted file mode 100644 index 08943f5078..0000000000 --- a/core/model/models/user-origin-anonymous.js +++ /dev/null @@ -1,76 +0,0 @@ -var Montage = require("montage").Montage; - -exports.UserOriginAnonymous = Montage.specialize({ - _cached_at: { - value: null - }, - cached_at: { - set: function (value) { - if (this._cached_at !== value) { - this._cached_at = value; - } - }, - get: function () { - return this._cached_at; - } - }, - _directory: { - value: null - }, - directory: { - set: function (value) { - if (this._directory !== value) { - this._directory = value; - } - }, - get: function () { - return this._directory; - } - }, - _read_only: { - value: null - }, - read_only: { - set: function (value) { - if (this._read_only !== value) { - this._read_only = value; - } - }, - get: function () { - return this._read_only; - } - }, - _ttl: { - value: null - }, - ttl: { - set: function (value) { - if (this._ttl !== value) { - this._ttl = value; - } - }, - get: function () { - return this._ttl; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "cached_at", - valueType: "datetime" - }, { - mandatory: false, - name: "directory", - valueType: "String" - }, { - mandatory: false, - name: "read_only", - valueType: "boolean" - }, { - mandatory: false, - name: "ttl", - valueType: "number" - }] - } -}); diff --git a/core/model/models/user.js b/core/model/models/user.js deleted file mode 100644 index 46f88d22a7..0000000000 --- a/core/model/models/user.js +++ /dev/null @@ -1,427 +0,0 @@ -var Montage = require("montage").Montage; - -exports.User = Montage.specialize({ - _attributes: { - value: null - }, - attributes: { - set: function (value) { - if (this._attributes !== value) { - this._attributes = value; - } - }, - get: function () { - return this._attributes; - } - }, - _builtin: { - value: null - }, - builtin: { - set: function (value) { - if (this._builtin !== value) { - this._builtin = value; - } - }, - get: function () { - return this._builtin; - } - }, - _email: { - value: null - }, - email: { - set: function (value) { - if (this._email !== value) { - this._email = value; - } - }, - get: function () { - return this._email; - } - }, - _full_name: { - value: null - }, - full_name: { - set: function (value) { - if (this._full_name !== value) { - this._full_name = value; - } - }, - get: function () { - return this._full_name; - } - }, - _gid: { - value: null - }, - gid: { - set: function (value) { - if (this._gid !== value) { - this._gid = value; - } - }, - get: function () { - return this._gid; - } - }, - _group: { - value: null - }, - group: { - set: function (value) { - if (this._group !== value) { - this._group = value; - } - }, - get: function () { - return this._group; - } - }, - _groups: { - value: null - }, - groups: { - set: function (value) { - if (this._groups !== value) { - this._groups = value; - } - }, - get: function () { - return this._groups; - } - }, - _home: { - value: null - }, - home: { - set: function (value) { - if (this._home !== value) { - this._home = value; - } - }, - get: function () { - return this._home; - } - }, - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _lmhash: { - value: null - }, - lmhash: { - set: function (value) { - if (this._lmhash !== value) { - this._lmhash = value; - } - }, - get: function () { - return this._lmhash; - } - }, - _locked: { - value: null - }, - locked: { - set: function (value) { - if (this._locked !== value) { - this._locked = value; - } - }, - get: function () { - return this._locked; - } - }, - _nthash: { - value: null - }, - nthash: { - set: function (value) { - if (this._nthash !== value) { - this._nthash = value; - } - }, - get: function () { - return this._nthash; - } - }, - _origin: { - value: null - }, - origin: { - set: function (value) { - if (this._origin !== value) { - this._origin = value; - } - }, - get: function () { - return this._origin; - } - }, - _password: { - value: null - }, - password: { - set: function (value) { - if (this._password !== value) { - this._password = value; - } - }, - get: function () { - return this._password; - } - }, - _password_changed_at: { - value: null - }, - password_changed_at: { - set: function (value) { - if (this._password_changed_at !== value) { - this._password_changed_at = value; - } - }, - get: function () { - return this._password_changed_at; - } - }, - _password_disabled: { - value: null - }, - password_disabled: { - set: function (value) { - if (this._password_disabled !== value) { - this._password_disabled = value; - } - }, - get: function () { - return this._password_disabled; - } - }, - _shell: { - value: null - }, - shell: { - set: function (value) { - if (this._shell !== value) { - this._shell = value; - } - }, - get: function () { - return this._shell; - } - }, - _sid: { - value: null - }, - sid: { - set: function (value) { - if (this._sid !== value) { - this._sid = value; - } - }, - get: function () { - return this._sid; - } - }, - _sshpubkey: { - value: null - }, - sshpubkey: { - set: function (value) { - if (this._sshpubkey !== value) { - this._sshpubkey = value; - } - }, - get: function () { - return this._sshpubkey; - } - }, - _sudo: { - value: null - }, - sudo: { - set: function (value) { - if (this._sudo !== value) { - this._sudo = value; - } - }, - get: function () { - return this._sudo; - } - }, - _uid: { - value: null - }, - uid: { - set: function (value) { - if (this._uid !== value) { - this._uid = value; - } - }, - get: function () { - return this._uid; - } - }, - _unixhash: { - value: null - }, - unixhash: { - set: function (value) { - if (this._unixhash !== value) { - this._unixhash = value; - } - }, - get: function () { - return this._unixhash; - } - }, - _username: { - value: null - }, - username: { - set: function (value) { - if (this._username !== value) { - this._username = value; - } - }, - get: function () { - return this._username; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "attributes", - valueType: "object" - }, { - mandatory: false, - name: "builtin", - readOnly: true, - valueType: "boolean" - }, { - mandatory: false, - name: "email", - valueObjectPrototypeName: "Email", - valueType: "object" - }, { - mandatory: false, - name: "full_name", - valueType: "String" - }, { - mandatory: false, - name: "gid", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "group", - valueType: "String" - }, { - mandatory: false, - name: "groups", - valueType: "array" - }, { - mandatory: false, - name: "home", - valueType: "String" - }, { - mandatory: false, - name: "id", - valueType: "String" - }, { - mandatory: false, - name: "lmhash", - valueType: "String" - }, { - mandatory: false, - name: "locked", - valueType: "boolean" - }, { - mandatory: false, - name: "nthash", - valueType: "String" - }, { - mandatory: false, - name: "origin", - valueType: "object" - }, { - mandatory: false, - name: "password", - valueType: "String" - }, { - mandatory: false, - name: "password_changed_at", - valueType: "datetime" - }, { - mandatory: false, - name: "password_disabled", - valueType: "boolean" - }, { - mandatory: false, - name: "shell", - valueType: "String" - }, { - mandatory: false, - name: "sid", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "sshpubkey", - valueType: "String" - }, { - mandatory: false, - name: "sudo", - valueType: "boolean" - }, { - mandatory: false, - name: "uid", - valueType: "number" - }, { - mandatory: false, - name: "unixhash", - valueType: "String" - }, { - mandatory: false, - name: "username", - valueType: "String" - }] - }, - userInterfaceDescriptor: { - value: { - inspectorComponentModule: { - id: 'ui/sections/accounts/inspectors/user.reel' - }, - iconComponentModule: { - id: 'ui/icons/user.reel' - }, - collectionInspectorComponentModule: { - id: 'ui/controls/viewer.reel' - }, - collectionNameExpression: "'Users'", - creatorComponentModule: { - id: 'ui/sections/accounts/inspectors/user.reel' - }, - nameExpression: "id.defined() ? username : 'Create a user'", - listControlsComponentModule: { - id: 'ui/sections/accounts/inspectors/accounts-list-options.reel' - }, - subLabelExpression: "origin.domain", - wizardComponentModuleId: "ui/sections/wizard/inspectors/user.reel", - wizardTitle: "Create a user" - } - } -}); diff --git a/core/model/models/vm-config-anonymous.js b/core/model/models/vm-config-anonymous.js deleted file mode 100644 index dd5ad09690..0000000000 --- a/core/model/models/vm-config-anonymous.js +++ /dev/null @@ -1,213 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VmConfigAnonymous = Montage.specialize({ - _autostart: { - value: null - }, - autostart: { - set: function (value) { - if (this._autostart !== value) { - this._autostart = value; - } - }, - get: function () { - return this._autostart; - } - }, - _boot_device: { - value: null - }, - boot_device: { - set: function (value) { - if (this._boot_device !== value) { - this._boot_device = value; - } - }, - get: function () { - return this._boot_device; - } - }, - _boot_directory: { - value: null - }, - boot_directory: { - set: function (value) { - if (this._boot_directory !== value) { - this._boot_directory = value; - } - }, - get: function () { - return this._boot_directory; - } - }, - _boot_partition: { - value: null - }, - boot_partition: { - set: function (value) { - if (this._boot_partition !== value) { - this._boot_partition = value; - } - }, - get: function () { - return this._boot_partition; - } - }, - _bootloader: { - value: null - }, - bootloader: { - set: function (value) { - if (this._bootloader !== value) { - this._bootloader = value; - } - }, - get: function () { - return this._bootloader; - } - }, - _cloud_init: { - value: null - }, - cloud_init: { - set: function (value) { - if (this._cloud_init !== value) { - this._cloud_init = value; - } - }, - get: function () { - return this._cloud_init; - } - }, - _docker_host: { - value: null - }, - docker_host: { - set: function (value) { - if (this._docker_host !== value) { - this._docker_host = value; - } - }, - get: function () { - return this._docker_host; - } - }, - _logging: { - value: null - }, - logging: { - set: function (value) { - if (this._logging !== value) { - this._logging = value; - } - }, - get: function () { - return this._logging; - } - }, - _memsize: { - value: null - }, - memsize: { - set: function (value) { - if (this._memsize !== value) { - this._memsize = value; - } - }, - get: function () { - return this._memsize; - } - }, - _ncpus: { - value: null - }, - ncpus: { - set: function (value) { - if (this._ncpus !== value) { - this._ncpus = value; - } - }, - get: function () { - return this._ncpus; - } - }, - _readme: { - value: null - }, - readme: { - set: function (value) { - if (this._readme !== value) { - this._readme = value; - } - }, - get: function () { - return this._readme; - } - }, - _vnc_password: { - value: null - }, - vnc_password: { - set: function (value) { - if (this._vnc_password !== value) { - this._vnc_password = value; - } - }, - get: function () { - return this._vnc_password; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "autostart", - valueType: "boolean" - }, { - mandatory: false, - name: "boot_device", - valueType: "String" - }, { - mandatory: false, - name: "boot_directory", - valueType: "String" - }, { - mandatory: false, - name: "boot_partition", - valueType: "String" - }, { - mandatory: false, - name: "bootloader", - valueObjectPrototypeName: "VmConfigBootloader", - valueType: "object" - }, { - mandatory: false, - name: "cloud_init", - valueType: "String" - }, { - mandatory: false, - name: "docker_host", - valueType: "boolean" - }, { - mandatory: false, - name: "logging", - valueType: "array" - }, { - mandatory: false, - name: "memsize", - valueType: "number" - }, { - mandatory: false, - name: "ncpus", - valueType: "number" - }, { - mandatory: false, - name: "readme", - valueType: "String" - }, { - mandatory: false, - name: "vnc_password", - valueType: "String" - }] - } -}); diff --git a/core/model/models/vm-config-network-anonymous.js b/core/model/models/vm-config-network-anonymous.js deleted file mode 100644 index 3352ca1d08..0000000000 --- a/core/model/models/vm-config-network-anonymous.js +++ /dev/null @@ -1,42 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VmConfigNetworkAnonymous = Montage.specialize({ - _management: { - value: null - }, - management: { - set: function (value) { - if (this._management !== value) { - this._management = value; - } - }, - get: function () { - return this._management; - } - }, - _nat: { - value: null - }, - nat: { - set: function (value) { - if (this._nat !== value) { - this._nat = value; - } - }, - get: function () { - return this._nat; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "management", - valueType: "String" - }, { - mandatory: false, - name: "nat", - valueType: "String" - }] - } -}); diff --git a/core/model/models/vm-config.js b/core/model/models/vm-config.js deleted file mode 100644 index 6b45803543..0000000000 --- a/core/model/models/vm-config.js +++ /dev/null @@ -1,43 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VmConfig = Montage.specialize({ - _additional_templates: { - value: null - }, - additional_templates: { - set: function (value) { - if (this._additional_templates !== value) { - this._additional_templates = value; - } - }, - get: function () { - return this._additional_templates; - } - }, - _network: { - value: null - }, - network: { - set: function (value) { - if (this._network !== value) { - this._network = value; - } - }, - get: function () { - return this._network; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "additional_templates", - valueObjectPrototypeName: "VmTemplateSource", - valueType: "array" - }, { - mandatory: false, - name: "network", - valueType: "object" - }] - } -}); diff --git a/core/model/models/vm-datastore-capabilities.js b/core/model/models/vm-datastore-capabilities.js deleted file mode 100644 index 6c36d6ce67..0000000000 --- a/core/model/models/vm-datastore-capabilities.js +++ /dev/null @@ -1,59 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VmDatastoreCapabilities = Montage.specialize({ - _block_devices: { - value: null - }, - block_devices: { - set: function (value) { - if (this._block_devices !== value) { - this._block_devices = value; - } - }, - get: function () { - return this._block_devices; - } - }, - _clones: { - value: null - }, - clones: { - set: function (value) { - if (this._clones !== value) { - this._clones = value; - } - }, - get: function () { - return this._clones; - } - }, - _snapshots: { - value: null - }, - snapshots: { - set: function (value) { - if (this._snapshots !== value) { - this._snapshots = value; - } - }, - get: function () { - return this._snapshots; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "block_devices", - valueType: "boolean" - }, { - mandatory: false, - name: "clones", - valueType: "boolean" - }, { - mandatory: false, - name: "snapshots", - valueType: "boolean" - }] - } -}); diff --git a/core/model/models/vm-datastore-properties-local.js b/core/model/models/vm-datastore-properties-local.js deleted file mode 100644 index e6ea042aa0..0000000000 --- a/core/model/models/vm-datastore-properties-local.js +++ /dev/null @@ -1,41 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VmDatastorePropertiesLocal = Montage.specialize({ - "_%type": { - value: null - }, - "%type": { - set: function (value) { - if (this["_%type"] !== value) { - this["_%type"] = value; - } - }, - get: function () { - return this["_%type"]; - } - }, - _path: { - value: null - }, - path: { - set: function (value) { - if (this._path !== value) { - this._path = value; - } - }, - get: function () { - return this._path; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "%type" - }, { - mandatory: false, - name: "path", - valueType: "String" - }] - } -}); diff --git a/core/model/models/vm-datastore-properties-nfs.js b/core/model/models/vm-datastore-properties-nfs.js deleted file mode 100644 index e1dece423e..0000000000 --- a/core/model/models/vm-datastore-properties-nfs.js +++ /dev/null @@ -1,76 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VmDatastorePropertiesNfs = Montage.specialize({ - "_%type": { - value: null - }, - "%type": { - set: function (value) { - if (this["_%type"] !== value) { - this["_%type"] = value; - } - }, - get: function () { - return this["_%type"]; - } - }, - _address: { - value: null - }, - address: { - set: function (value) { - if (this._address !== value) { - this._address = value; - } - }, - get: function () { - return this._address; - } - }, - _path: { - value: null - }, - path: { - set: function (value) { - if (this._path !== value) { - this._path = value; - } - }, - get: function () { - return this._path; - } - }, - _version: { - value: null - }, - version: { - set: function (value) { - if (this._version !== value) { - this._version = value; - } - }, - get: function () { - return this._version; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "%type" - }, { - mandatory: false, - name: "address", - valueType: "String" - }, { - mandatory: false, - name: "path", - valueType: "String" - }, { - mandatory: false, - name: "version", - valueObjectPrototypeName: "VmDatastoreNfsVersion", - valueType: "object" - }] - } -}); diff --git a/core/model/models/vm-datastore.js b/core/model/models/vm-datastore.js deleted file mode 100644 index 98996195de..0000000000 --- a/core/model/models/vm-datastore.js +++ /dev/null @@ -1,113 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VmDatastore = Montage.specialize({ - _capabilities: { - value: null - }, - capabilities: { - set: function (value) { - if (this._capabilities !== value) { - this._capabilities = value; - } - }, - get: function () { - return this._capabilities; - } - }, - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _name: { - value: null - }, - name: { - set: function (value) { - if (this._name !== value) { - this._name = value; - } - }, - get: function () { - return this._name; - } - }, - _properties: { - value: null - }, - properties: { - set: function (value) { - if (this._properties !== value) { - this._properties = value; - } - }, - get: function () { - return this._properties; - } - }, - _state: { - value: null - }, - state: { - set: function (value) { - if (this._state !== value) { - this._state = value; - } - }, - get: function () { - return this._state; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "capabilities", - valueObjectPrototypeName: "VmDatastoreCapabilities", - valueType: "object" - }, { - mandatory: false, - name: "id", - valueType: "String" - }, { - mandatory: false, - name: "name", - valueType: "String" - }, { - mandatory: false, - name: "properties", - valueObjectPrototypeName: "VmDatastoreProperties", - valueType: "object" - }, { - mandatory: false, - name: "state", - valueObjectPrototypeName: "VmDatastoreState", - valueType: "object" - }, { - mandatory: false, - name: "type", - valueType: "String" - }] - } -}); diff --git a/core/model/models/vm-device-cdrom.js b/core/model/models/vm-device-cdrom.js deleted file mode 100644 index 730511ee35..0000000000 --- a/core/model/models/vm-device-cdrom.js +++ /dev/null @@ -1,41 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VmDeviceCdrom = Montage.specialize({ - "_%type": { - value: null - }, - "%type": { - set: function (value) { - if (this["_%type"] !== value) { - this["_%type"] = value; - } - }, - get: function () { - return this["_%type"]; - } - }, - _path: { - value: null - }, - path: { - set: function (value) { - if (this._path !== value) { - this._path = value; - } - }, - get: function () { - return this._path; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: true, - name: "%type" - }, { - mandatory: false, - name: "path", - valueType: "String" - }] - } -}); diff --git a/core/model/models/vm-device-disk.js b/core/model/models/vm-device-disk.js deleted file mode 100644 index 599ead88d7..0000000000 --- a/core/model/models/vm-device-disk.js +++ /dev/null @@ -1,111 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VmDeviceDisk = Montage.specialize({ - "_%type": { - value: null - }, - "%type": { - set: function (value) { - if (this["_%type"] !== value) { - this["_%type"] = value; - } - }, - get: function () { - return this["_%type"]; - } - }, - _mode: { - value: null - }, - mode: { - set: function (value) { - if (this._mode !== value) { - this._mode = value; - } - }, - get: function () { - return this._mode; - } - }, - _size: { - value: null - }, - size: { - set: function (value) { - if (this._size !== value) { - this._size = value; - } - }, - get: function () { - return this._size; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - }, - _target_type: { - value: null - }, - target_type: { - set: function (value) { - if (this._target_type !== value) { - this._target_type = value; - } - }, - get: function () { - return this._target_type; - } - }, - _target_path: { - value: null - }, - target_path: { - set: function (value) { - if (this._target_path !== value) { - this._target_path = value; - } - }, - get: function () { - return this._target_path; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: true, - name: "%type" - }, { - mandatory: true, - name: "mode", - valueObjectPrototypeName: "VmDeviceDiskMode", - valueType: "object" - }, { - mandatory: false, - name: "size", - valueType: "number" - }, { - mandatory: true, - name: "source", - valueType: "String" - }, { - mandatory: true, - name: "target_type", - valueObjectPrototypeName: "VmDeviceDiskTargetType", - valueType: "object" - }, { - mandatory: true, - name: "target_path", - valueType: "String" - }] - } -}); diff --git a/core/model/models/vm-device-graphics.js b/core/model/models/vm-device-graphics.js deleted file mode 100644 index e6c11157ca..0000000000 --- a/core/model/models/vm-device-graphics.js +++ /dev/null @@ -1,76 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VmDeviceGraphics = Montage.specialize({ - "_%type": { - value: null - }, - "%type": { - set: function (value) { - if (this["_%type"] !== value) { - this["_%type"] = value; - } - }, - get: function () { - return this["_%type"]; - } - }, - _resolution: { - value: null - }, - resolution: { - set: function (value) { - if (this._resolution !== value) { - this._resolution = value; - } - }, - get: function () { - return this._resolution; - } - }, - _vnc_enabled: { - value: null - }, - vnc_enabled: { - set: function (value) { - if (this._vnc_enabled !== value) { - this._vnc_enabled = value; - } - }, - get: function () { - return this._vnc_enabled; - } - }, - _vnc_port: { - value: null - }, - vnc_port: { - set: function (value) { - if (this._vnc_port !== value) { - this._vnc_port = value; - } - }, - get: function () { - return this._vnc_port; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "%type" - }, { - mandatory: false, - name: "resolution", - valueObjectPrototypeName: "VmDeviceGraphicsResolution", - valueType: "object" - }, { - mandatory: false, - name: "vnc_enabled", - valueType: "boolean" - }, { - mandatory: false, - name: "vnc_port", - valueType: "number" - }] - } -}); diff --git a/core/model/models/vm-device-nic.js b/core/model/models/vm-device-nic.js deleted file mode 100644 index 67d55c6969..0000000000 --- a/core/model/models/vm-device-nic.js +++ /dev/null @@ -1,94 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VmDeviceNic = Montage.specialize({ - "_%type": { - value: null - }, - "%type": { - set: function (value) { - if (this["_%type"] !== value) { - this["_%type"] = value; - } - }, - get: function () { - return this["_%type"]; - } - }, - _bridge: { - value: null - }, - bridge: { - set: function (value) { - if (this._bridge !== value) { - this._bridge = value; - } - }, - get: function () { - return this._bridge; - } - }, - _device: { - value: null - }, - device: { - set: function (value) { - if (this._device !== value) { - this._device = value; - } - }, - get: function () { - return this._device; - } - }, - _link_address: { - value: null - }, - link_address: { - set: function (value) { - if (this._link_address !== value) { - this._link_address = value; - } - }, - get: function () { - return this._link_address; - } - }, - _mode: { - value: null - }, - mode: { - set: function (value) { - if (this._mode !== value) { - this._mode = value; - } - }, - get: function () { - return this._mode; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "%type" - }, { - mandatory: false, - name: "bridge", - valueType: "String" - }, { - mandatory: false, - name: "device", - valueObjectPrototypeName: "VmDeviceNicDevice", - valueType: "object" - }, { - mandatory: false, - name: "link_address", - valueType: "String" - }, { - mandatory: false, - name: "mode", - valueObjectPrototypeName: "VmDeviceNicMode", - valueType: "object" - }] - } -}); diff --git a/core/model/models/vm-device-usb-config-anonymous.js b/core/model/models/vm-device-usb-config-anonymous.js deleted file mode 100644 index 53c7be987b..0000000000 --- a/core/model/models/vm-device-usb-config-anonymous.js +++ /dev/null @@ -1,3 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VmDeviceUsbConfigAnonymous = Montage.specialize(); diff --git a/core/model/models/vm-device-usb.js b/core/model/models/vm-device-usb.js deleted file mode 100644 index ecd8850309..0000000000 --- a/core/model/models/vm-device-usb.js +++ /dev/null @@ -1,59 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VmDeviceUsb = Montage.specialize({ - "_%type": { - value: null - }, - "%type": { - set: function (value) { - if (this["_%type"] !== value) { - this["_%type"] = value; - } - }, - get: function () { - return this["_%type"]; - } - }, - _config: { - value: null - }, - config: { - set: function (value) { - if (this._config !== value) { - this._config = value; - } - }, - get: function () { - return this._config; - } - }, - _device: { - value: null - }, - device: { - set: function (value) { - if (this._device !== value) { - this._device = value; - } - }, - get: function () { - return this._device; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: true, - name: "%type" - }, { - mandatory: true, - name: "config", - valueType: "object" - }, { - mandatory: false, - name: "device", - valueObjectPrototypeName: "VmDeviceUsbDevice", - valueType: "object" - }] - } -}); diff --git a/core/model/models/vm-device-volume.js b/core/model/models/vm-device-volume.js deleted file mode 100644 index c83bc6e232..0000000000 --- a/core/model/models/vm-device-volume.js +++ /dev/null @@ -1,93 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VmDeviceVolume = Montage.specialize({ - "_%type": { - value: null - }, - "%type": { - set: function (value) { - if (this["_%type"] !== value) { - this["_%type"] = value; - } - }, - get: function () { - return this["_%type"]; - } - }, - _auto: { - value: null - }, - auto: { - set: function (value) { - if (this._auto !== value) { - this._auto = value; - } - }, - get: function () { - return this._auto; - } - }, - _destination: { - value: null - }, - destination: { - set: function (value) { - if (this._destination !== value) { - this._destination = value; - } - }, - get: function () { - return this._destination; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "%type" - }, { - mandatory: false, - name: "auto", - valueType: "boolean" - }, { - mandatory: false, - name: "destination", - valueType: "String" - }, { - mandatory: false, - name: "source", - valueType: "String" - }, { - mandatory: false, - name: "type", - valueObjectPrototypeName: "VmDeviceVolumeType", - valueType: "object" - }] - } -}); diff --git a/core/model/models/vm-device.js b/core/model/models/vm-device.js deleted file mode 100644 index 6dc50259c8..0000000000 --- a/core/model/models/vm-device.js +++ /dev/null @@ -1,91 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VmDevice = Montage.specialize({ - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _name: { - value: null - }, - name: { - set: function (value) { - if (this._name !== value) { - this._name = value; - } - }, - get: function () { - return this._name; - } - }, - _properties: { - value: null - }, - properties: { - set: function (value) { - if (this._properties !== value) { - this._properties = value; - } - }, - get: function () { - return this._properties; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: true, - name: "id", - valueType: "String" - }, { - mandatory: false, - name: "name", - valueType: "String" - }, { - mandatory: true, - name: "properties" - }, { - mandatory: true, - name: "type", - valueObjectPrototypeName: "VmDeviceType", - valueType: "object" - }] - }, - userInterfaceDescriptor: { - value: { - collectionInspectorComponentModule: { - id: 'ui/controls/viewer.reel' - }, - collectionNameExpression: "'Devices'", - inspectorComponentModule: { - id: 'ui/sections/vms/inspectors/virtual-machine-device.reel' - }, - creatorComponentModule: { - id: 'ui/sections/vms/inspectors/virtual-machine-device-creator.reel' - }, - nameExpression: "!_isNew ? name : 'New ' + type + ' Device'" - } - } -}); diff --git a/core/model/models/vm-guest-info-interfaces-anonymous.js b/core/model/models/vm-guest-info-interfaces-anonymous.js deleted file mode 100644 index c2429c5ef9..0000000000 --- a/core/model/models/vm-guest-info-interfaces-anonymous.js +++ /dev/null @@ -1,3 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VmGuestInfoInterfacesAnonymous = Montage.specialize(); diff --git a/core/model/models/vm-guest-info.js b/core/model/models/vm-guest-info.js deleted file mode 100644 index 971c7dd75a..0000000000 --- a/core/model/models/vm-guest-info.js +++ /dev/null @@ -1,76 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VmGuestInfo = Montage.specialize({ - _interfaces: { - value: null - }, - interfaces: { - set: function (value) { - if (this._interfaces !== value) { - this._interfaces = value; - } - }, - get: function () { - return this._interfaces; - } - }, - _load_avg: { - value: null - }, - load_avg: { - set: function (value) { - if (this._load_avg !== value) { - this._load_avg = value; - } - }, - get: function () { - return this._load_avg; - } - }, - _time: { - value: null - }, - time: { - set: function (value) { - if (this._time !== value) { - this._time = value; - } - }, - get: function () { - return this._time; - } - }, - _vm_tools_version: { - value: null - }, - vm_tools_version: { - set: function (value) { - if (this._vm_tools_version !== value) { - this._vm_tools_version = value; - } - }, - get: function () { - return this._vm_tools_version; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "interfaces", - valueType: "object" - }, { - mandatory: false, - name: "load_avg", - valueType: "array" - }, { - mandatory: false, - name: "time", - valueType: "datetime" - }, { - mandatory: false, - name: "vm_tools_version", - valueType: "String" - }] - } -}); diff --git a/core/model/models/vm-readme.js b/core/model/models/vm-readme.js deleted file mode 100644 index 3ce39ef21e..0000000000 --- a/core/model/models/vm-readme.js +++ /dev/null @@ -1,12 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VmReadme = Montage.specialize(null, { - userInterfaceDescriptor: { - value: { - inspectorComponentModule: { - id: 'ui/sections/vms/inspectors/virtual-machine.reel/virtual-machine-readme.reel' - }, - nameExpression: "'Readme'" - } - } -}); diff --git a/core/model/models/vm-snapshot.js b/core/model/models/vm-snapshot.js deleted file mode 100644 index ea7f1d0644..0000000000 --- a/core/model/models/vm-snapshot.js +++ /dev/null @@ -1,77 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VmSnapshot = Montage.specialize({ - _description: { - value: null - }, - description: { - set: function (value) { - if (this._description !== value) { - this._description = value; - } - }, - get: function () { - return this._description; - } - }, - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _name: { - value: null - }, - name: { - set: function (value) { - if (this._name !== value) { - this._name = value; - } - }, - get: function () { - return this._name; - } - }, - _parent: { - value: null - }, - parent: { - set: function (value) { - if (this._parent !== value) { - this._parent = value; - } - }, - get: function () { - return this._parent; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "description", - valueType: "String" - }, { - mandatory: false, - name: "id", - valueType: "String" - }, { - mandatory: false, - name: "name", - valueType: "String" - }, { - mandatory: false, - name: "parent", - valueObjectPrototypeName: "Vm", - valueType: "object" - }] - } -}); diff --git a/core/model/models/vm-status-lease.js b/core/model/models/vm-status-lease.js deleted file mode 100644 index 5dd508dec5..0000000000 --- a/core/model/models/vm-status-lease.js +++ /dev/null @@ -1,25 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VmStatusLease = Montage.specialize({ - _client_ip: { - value: null - }, - client_ip: { - set: function (value) { - if (this._client_ip !== value) { - this._client_ip = value; - } - }, - get: function () { - return this._client_ip; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "client_ip", - valueType: "String" - }] - } -}); diff --git a/core/model/models/vm-status.js b/core/model/models/vm-status.js deleted file mode 100644 index 659570446c..0000000000 --- a/core/model/models/vm-status.js +++ /dev/null @@ -1,97 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VmStatus = Montage.specialize({ - _health: { - value: null - }, - health: { - set: function (value) { - if (this._health !== value) { - this._health = value; - } - }, - get: function () { - return this._health; - } - }, - _management_lease: { - value: null - }, - management_lease: { - set: function (value) { - if (this._management_lease !== value) { - this._management_lease = value; - } - }, - get: function () { - return this._management_lease; - } - }, - _nat_lease: { - value: null - }, - nat_lease: { - set: function (value) { - if (this._nat_lease !== value) { - this._nat_lease = value; - } - }, - get: function () { - return this._nat_lease; - } - }, - _state: { - value: null - }, - state: { - set: function (value) { - if (this._state !== value) { - this._state = value; - } - }, - get: function () { - return this._state; - } - }, - _vm_tools_available: { - value: null - }, - vm_tools_available: { - set: function (value) { - if (this._vm_tools_available !== value) { - this._vm_tools_available = value; - } - }, - get: function () { - return this._vm_tools_available; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "health", - valueObjectPrototypeName: "VmStatusHealth", - valueType: "object" - }, { - mandatory: false, - name: "management_lease", - valueObjectPrototypeName: "VmStatusLease", - valueType: "object" - }, { - mandatory: false, - name: "nat_lease", - valueObjectPrototypeName: "VmStatusLease", - valueType: "object" - }, { - mandatory: false, - name: "state", - valueObjectPrototypeName: "VmStatusState", - valueType: "object" - }, { - mandatory: false, - name: "vm_tools_available", - valueType: "boolean" - }] - } -}); diff --git a/core/model/models/vm-template-source.js b/core/model/models/vm-template-source.js deleted file mode 100644 index 47ab158776..0000000000 --- a/core/model/models/vm-template-source.js +++ /dev/null @@ -1,59 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VmTemplateSource = Montage.specialize({ - _driver: { - value: null - }, - driver: { - set: function (value) { - if (this._driver !== value) { - this._driver = value; - } - }, - get: function () { - return this._driver; - } - }, - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _url: { - value: null - }, - url: { - set: function (value) { - if (this._url !== value) { - this._url = value; - } - }, - get: function () { - return this._url; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "driver", - valueType: "String" - }, { - mandatory: false, - name: "id", - valueType: "String" - }, { - mandatory: false, - name: "url", - valueType: "String" - }] - } -}); diff --git a/core/model/models/vm-volume.js b/core/model/models/vm-volume.js deleted file mode 100644 index b294af50ff..0000000000 --- a/core/model/models/vm-volume.js +++ /dev/null @@ -1,89 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VmVolume = Montage.specialize({ - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _name: { - value: null - }, - name: { - set: function (value) { - if (this._name !== value) { - this._name = value; - } - }, - get: function () { - return this._name; - } - }, - _properties: { - value: null - }, - properties: { - set: function (value) { - if (this._properties !== value) { - this._properties = value; - } - }, - get: function () { - return this._properties; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: true, - name: "id", - valueType: "String" - }, { - mandatory: false, - name: "name", - valueType: "String" - }, { - mandatory: true, - name: "properties" - }, { - mandatory: false, - name: "type" - }] - }, - userInterfaceDescriptor: { - value: { - inspectorComponentModule: { - id: 'ui/sections/vms/inspectors/virtual-machine-device.reel' - }, - creatorComponentModule: { - id: 'ui/sections/vms/inspectors/virtual-machine-device.reel' - }, - nameExpression: "!_isNew ? name : 'New Volume'", - collectionNameExpression: "'Volumes'", - collectionInspectorComponentModule: { - id: 'ui/controls/viewer.reel' - } - } - } -}); diff --git a/core/model/models/vm.js b/core/model/models/vm.js deleted file mode 100644 index 72d7d55ab8..0000000000 --- a/core/model/models/vm.js +++ /dev/null @@ -1,219 +0,0 @@ -var Montage = require("montage").Montage; - -exports.Vm = Montage.specialize({ - _config: { - value: null - }, - config: { - set: function (value) { - if (this._config !== value) { - this._config = value; - } - }, - get: function () { - return this._config; - } - }, - _description: { - value: null - }, - description: { - set: function (value) { - if (this._description !== value) { - this._description = value; - } - }, - get: function () { - return this._description; - } - }, - _devices: { - value: null - }, - devices: { - set: function (value) { - if (this._devices !== value) { - this._devices = value; - } - }, - get: function () { - return this._devices; - } - }, - _enabled: { - value: null - }, - enabled: { - set: function (value) { - if (this._enabled !== value) { - this._enabled = value; - } - }, - get: function () { - return this._enabled; - } - }, - _guest_type: { - value: null - }, - guest_type: { - set: function (value) { - if (this._guest_type !== value) { - this._guest_type = value; - } - }, - get: function () { - return this._guest_type; - } - }, - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _immutable: { - value: null - }, - immutable: { - set: function (value) { - if (this._immutable !== value) { - this._immutable = value; - } - }, - get: function () { - return this._immutable; - } - }, - _name: { - value: null - }, - name: { - set: function (value) { - if (this._name !== value) { - this._name = value; - } - }, - get: function () { - return this._name; - } - }, - _status: { - value: null - }, - status: { - set: function (value) { - if (this._status !== value) { - this._status = value; - } - }, - get: function () { - return this._status; - } - }, - _target: { - value: null - }, - target: { - set: function (value) { - if (this._target !== value) { - this._target = value; - } - }, - get: function () { - return this._target; - } - }, - _template: { - value: null - }, - template: { - set: function (value) { - if (this._template !== value) { - this._template = value; - } - }, - get: function () { - return this._template; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "config", - valueType: "object" - }, { - mandatory: false, - name: "description", - valueType: "String" - }, { - mandatory: false, - name: "devices", - valueObjectPrototypeName: "VmDevice", - valueType: "array" - }, { - mandatory: false, - name: "enabled", - valueType: "boolean" - }, { - mandatory: false, - name: "guest_type", - valueObjectPrototypeName: "VmGuestType", - valueType: "object" - }, { - mandatory: false, - name: "id", - valueType: "String" - }, { - mandatory: false, - name: "immutable", - valueType: "boolean" - }, { - mandatory: false, - name: "name", - valueType: "String" - }, { - mandatory: false, - name: "status", - valueObjectPrototypeName: "VmStatus", - valueType: "object" - }, { - mandatory: false, - name: "target", - valueType: "String" - }, { - mandatory: false, - name: "template", - valueType: "object" - }] - }, - userInterfaceDescriptor: { - value: { - collectionInspectorComponentModule: { - id: 'ui/controls/viewer.reel' - }, - collectionNameExpression: "'Virtual Machines'", - inspectorComponentModule: { - id: 'ui/sections/vms/inspectors/virtual-machine.reel' - }, - creatorComponentModule: { - id: 'ui/sections/vms/inspectors/virtual-machine.reel' - }, - nameExpression: "_isNew.defined() && _isNew ? 'New VM' : name", - statusColorMapping: { - "RUNNING": "green", - "BOOTLOADER": "green", - "STOPPED": "grey" - }, - statusValueExpression: "status.state" - } - } -}); diff --git a/core/model/models/vmware-credentials.js b/core/model/models/vmware-credentials.js deleted file mode 100644 index 52a67ef18f..0000000000 --- a/core/model/models/vmware-credentials.js +++ /dev/null @@ -1,75 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VmwareCredentials = Montage.specialize({ - "_%type": { - value: null - }, - "%type": { - set: function (value) { - if (this["_%type"] !== value) { - this["_%type"] = value; - } - }, - get: function () { - return this["_%type"]; - } - }, - _address: { - value: null - }, - address: { - set: function (value) { - if (this._address !== value) { - this._address = value; - } - }, - get: function () { - return this._address; - } - }, - _password: { - value: null - }, - password: { - set: function (value) { - if (this._password !== value) { - this._password = value; - } - }, - get: function () { - return this._password; - } - }, - _username: { - value: null - }, - username: { - set: function (value) { - if (this._username !== value) { - this._username = value; - } - }, - get: function () { - return this._username; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "%type" - }, { - mandatory: false, - name: "address", - valueType: "String" - }, { - mandatory: false, - name: "password", - valueType: "String" - }, { - mandatory: false, - name: "username", - valueType: "String" - }] - } -}); diff --git a/core/model/models/vmware-dataset.js b/core/model/models/vmware-dataset.js deleted file mode 100644 index 1e70d5c678..0000000000 --- a/core/model/models/vmware-dataset.js +++ /dev/null @@ -1,144 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VmwareDataset = Montage.specialize({ - _dataset: { - value: null - }, - dataset: { - set: function (value) { - if (this._dataset !== value) { - this._dataset = value; - } - }, - get: function () { - return this._dataset; - } - }, - _datastore: { - value: null - }, - datastore: { - set: function (value) { - if (this._datastore !== value) { - this._datastore = value; - } - }, - get: function () { - return this._datastore; - } - }, - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _name: { - value: null - }, - name: { - set: function (value) { - if (this._name !== value) { - this._name = value; - } - }, - get: function () { - return this._name; - } - }, - _peer: { - value: null - }, - peer: { - set: function (value) { - if (this._peer !== value) { - this._peer = value; - } - }, - get: function () { - return this._peer; - } - }, - _vm_filter_entries: { - value: null - }, - vm_filter_entries: { - set: function (value) { - if (this._vm_filter_entries !== value) { - this._vm_filter_entries = value; - } - }, - get: function () { - return this._vm_filter_entries; - } - }, - _vm_filter_op: { - value: null - }, - vm_filter_op: { - set: function (value) { - if (this._vm_filter_op !== value) { - this._vm_filter_op = value; - } - }, - get: function () { - return this._vm_filter_op; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "dataset", - valueType: "String" - }, { - mandatory: false, - name: "datastore", - valueType: "String" - }, { - mandatory: false, - name: "id", - valueType: "String" - }, { - mandatory: false, - name: "name", - valueType: "String" - }, { - mandatory: false, - name: "peer", - valueType: "String" - }, { - mandatory: false, - name: "vm_filter_entries", - valueType: "array" - }, { - mandatory: false, - name: "vm_filter_op", - valueObjectPrototypeName: "VmwareDatasetFilterOp", - valueType: "object" - }] - }, - userInterfaceDescriptor: { - value: { - inspectorComponentModule: { - "id": "ui/sections/storage/inspectors/vmware-snapshot.reel" - }, - collectionInspectorComponentModule: { - "id": "ui/controls/viewer.reel" - }, - collectionNameExpression: "'VMware Snapshots'", - creatorComponentModule: { - "id": "ui/sections/storage/inspectors/vmware-snapshot.reel" - }, - nameExpression: "!!_isNew ? 'Add a VMware Snapshot' : name", - sortExpression: "name" - } - } -}); diff --git a/core/model/models/vmware-datastore.js b/core/model/models/vmware-datastore.js deleted file mode 100644 index cca5dd56cc..0000000000 --- a/core/model/models/vmware-datastore.js +++ /dev/null @@ -1,76 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VmwareDatastore = Montage.specialize({ - _free_space: { - value: null - }, - free_space: { - set: function (value) { - if (this._free_space !== value) { - this._free_space = value; - } - }, - get: function () { - return this._free_space; - } - }, - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _name: { - value: null - }, - name: { - set: function (value) { - if (this._name !== value) { - this._name = value; - } - }, - get: function () { - return this._name; - } - }, - _virtual_machines: { - value: null - }, - virtual_machines: { - set: function (value) { - if (this._virtual_machines !== value) { - this._virtual_machines = value; - } - }, - get: function () { - return this._virtual_machines; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "free_space", - valueType: "number" - }, { - mandatory: false, - name: "id", - valueType: "String" - }, { - mandatory: false, - name: "name", - valueType: "String" - }, { - mandatory: false, - name: "virtual_machines", - valueType: "array" - }] - } -}); diff --git a/core/model/models/volume-attributes-anonymous.js b/core/model/models/volume-attributes-anonymous.js deleted file mode 100644 index 70399be348..0000000000 --- a/core/model/models/volume-attributes-anonymous.js +++ /dev/null @@ -1,3 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumeAttributesAnonymous = Montage.specialize(); diff --git a/core/model/models/volume-dataset-properties.js b/core/model/models/volume-dataset-properties.js deleted file mode 100644 index 7ea1677ae1..0000000000 --- a/core/model/models/volume-dataset-properties.js +++ /dev/null @@ -1,440 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumeDatasetProperties = Montage.specialize({ - _atime: { - value: null - }, - atime: { - set: function (value) { - if (this._atime !== value) { - this._atime = value; - } - }, - get: function () { - return this._atime; - } - }, - _available: { - value: null - }, - available: { - set: function (value) { - if (this._available !== value) { - this._available = value; - } - }, - get: function () { - return this._available; - } - }, - _casesensitivity: { - value: null - }, - casesensitivity: { - set: function (value) { - if (this._casesensitivity !== value) { - this._casesensitivity = value; - } - }, - get: function () { - return this._casesensitivity; - } - }, - _compression: { - value: null - }, - compression: { - set: function (value) { - if (this._compression !== value) { - this._compression = value; - } - }, - get: function () { - return this._compression; - } - }, - _compressratio: { - value: null - }, - compressratio: { - set: function (value) { - if (this._compressratio !== value) { - this._compressratio = value; - } - }, - get: function () { - return this._compressratio; - } - }, - _dedup: { - value: null - }, - dedup: { - set: function (value) { - if (this._dedup !== value) { - this._dedup = value; - } - }, - get: function () { - return this._dedup; - } - }, - _logicalreferenced: { - value: null - }, - logicalreferenced: { - set: function (value) { - if (this._logicalreferenced !== value) { - this._logicalreferenced = value; - } - }, - get: function () { - return this._logicalreferenced; - } - }, - _logicalused: { - value: null - }, - logicalused: { - set: function (value) { - if (this._logicalused !== value) { - this._logicalused = value; - } - }, - get: function () { - return this._logicalused; - } - }, - _numclones: { - value: null - }, - numclones: { - set: function (value) { - if (this._numclones !== value) { - this._numclones = value; - } - }, - get: function () { - return this._numclones; - } - }, - _quota: { - value: null - }, - quota: { - set: function (value) { - if (this._quota !== value) { - this._quota = value; - } - }, - get: function () { - return this._quota; - } - }, - _readonly: { - value: null - }, - readonly: { - set: function (value) { - if (this._readonly !== value) { - this._readonly = value; - } - }, - get: function () { - return this._readonly; - } - }, - _refcompressratio: { - value: null - }, - refcompressratio: { - set: function (value) { - if (this._refcompressratio !== value) { - this._refcompressratio = value; - } - }, - get: function () { - return this._refcompressratio; - } - }, - _referenced: { - value: null - }, - referenced: { - set: function (value) { - if (this._referenced !== value) { - this._referenced = value; - } - }, - get: function () { - return this._referenced; - } - }, - _refquota: { - value: null - }, - refquota: { - set: function (value) { - if (this._refquota !== value) { - this._refquota = value; - } - }, - get: function () { - return this._refquota; - } - }, - _refreservation: { - value: null - }, - refreservation: { - set: function (value) { - if (this._refreservation !== value) { - this._refreservation = value; - } - }, - get: function () { - return this._refreservation; - } - }, - _reservation: { - value: null - }, - reservation: { - set: function (value) { - if (this._reservation !== value) { - this._reservation = value; - } - }, - get: function () { - return this._reservation; - } - }, - _used: { - value: null - }, - used: { - set: function (value) { - if (this._used !== value) { - this._used = value; - } - }, - get: function () { - return this._used; - } - }, - _usedbychildren: { - value: null - }, - usedbychildren: { - set: function (value) { - if (this._usedbychildren !== value) { - this._usedbychildren = value; - } - }, - get: function () { - return this._usedbychildren; - } - }, - _usedbydataset: { - value: null - }, - usedbydataset: { - set: function (value) { - if (this._usedbydataset !== value) { - this._usedbydataset = value; - } - }, - get: function () { - return this._usedbydataset; - } - }, - _usedbyrefreservation: { - value: null - }, - usedbyrefreservation: { - set: function (value) { - if (this._usedbyrefreservation !== value) { - this._usedbyrefreservation = value; - } - }, - get: function () { - return this._usedbyrefreservation; - } - }, - _usedbysnapshots: { - value: null - }, - usedbysnapshots: { - set: function (value) { - if (this._usedbysnapshots !== value) { - this._usedbysnapshots = value; - } - }, - get: function () { - return this._usedbysnapshots; - } - }, - _volblocksize: { - value: null - }, - volblocksize: { - set: function (value) { - if (this._volblocksize !== value) { - this._volblocksize = value; - } - }, - get: function () { - return this._volblocksize; - } - }, - _volsize: { - value: null - }, - volsize: { - set: function (value) { - if (this._volsize !== value) { - this._volsize = value; - } - }, - get: function () { - return this._volsize; - } - }, - _written: { - value: null - }, - written: { - set: function (value) { - if (this._written !== value) { - this._written = value; - } - }, - get: function () { - return this._written; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "atime", - valueObjectPrototypeName: "VolumeDatasetPropertyAtime", - valueType: "object" - }, { - mandatory: false, - name: "available", - valueObjectPrototypeName: "VolumeDatasetPropertyAvailable", - valueType: "object" - }, { - mandatory: false, - name: "casesensitivity", - valueObjectPrototypeName: "VolumeDatasetPropertyCasesensitivity", - valueType: "object" - }, { - mandatory: false, - name: "compression", - valueObjectPrototypeName: "VolumeDatasetPropertyCompression", - valueType: "object" - }, { - mandatory: false, - name: "compressratio", - valueObjectPrototypeName: "VolumeDatasetPropertyCompressratio", - valueType: "object" - }, { - mandatory: false, - name: "dedup", - valueObjectPrototypeName: "VolumeDatasetPropertyDedup", - valueType: "object" - }, { - mandatory: false, - name: "logicalreferenced", - valueObjectPrototypeName: "VolumeDatasetPropertyLogicalreferenced", - valueType: "object" - }, { - mandatory: false, - name: "logicalused", - valueObjectPrototypeName: "VolumeDatasetPropertyLogicalused", - valueType: "object" - }, { - mandatory: false, - name: "numclones", - valueObjectPrototypeName: "VolumeDatasetPropertyNumclones", - valueType: "object" - }, { - mandatory: false, - name: "quota", - valueObjectPrototypeName: "VolumeDatasetPropertyQuota", - valueType: "object" - }, { - mandatory: false, - name: "readonly", - valueObjectPrototypeName: "VolumeDatasetPropertyReadonly", - valueType: "object" - }, { - mandatory: false, - name: "refcompressratio", - valueObjectPrototypeName: "VolumeDatasetPropertyRefcompressratio", - valueType: "object" - }, { - mandatory: false, - name: "referenced", - valueObjectPrototypeName: "VolumeDatasetPropertyReferenced", - valueType: "object" - }, { - mandatory: false, - name: "refquota", - valueObjectPrototypeName: "VolumeDatasetPropertyRefquota", - valueType: "object" - }, { - mandatory: false, - name: "refreservation", - valueObjectPrototypeName: "VolumeDatasetPropertyRefreservation", - valueType: "object" - }, { - mandatory: false, - name: "reservation", - valueObjectPrototypeName: "VolumeDatasetPropertyReservation", - valueType: "object" - }, { - mandatory: false, - name: "used", - valueObjectPrototypeName: "VolumeDatasetPropertyUsed", - valueType: "object" - }, { - mandatory: false, - name: "usedbychildren", - valueObjectPrototypeName: "VolumeDatasetPropertyUsedbychildren", - valueType: "object" - }, { - mandatory: false, - name: "usedbydataset", - valueObjectPrototypeName: "VolumeDatasetPropertyUsedbydataset", - valueType: "object" - }, { - mandatory: false, - name: "usedbyrefreservation", - valueObjectPrototypeName: "VolumeDatasetPropertyUsedbyrefreservation", - valueType: "object" - }, { - mandatory: false, - name: "usedbysnapshots", - valueObjectPrototypeName: "VolumeDatasetPropertyUsedbysnapshots", - valueType: "object" - }, { - mandatory: false, - name: "volblocksize", - valueObjectPrototypeName: "VolumeDatasetPropertyVolblocksize", - valueType: "object" - }, { - mandatory: false, - name: "volsize", - valueObjectPrototypeName: "VolumeDatasetPropertyVolsize", - valueType: "object" - }, { - mandatory: false, - name: "written", - valueObjectPrototypeName: "VolumeDatasetPropertyWritten", - valueType: "object" - }] - } -}); diff --git a/core/model/models/volume-dataset-property-atime.js b/core/model/models/volume-dataset-property-atime.js deleted file mode 100644 index 4e34b681f3..0000000000 --- a/core/model/models/volume-dataset-property-atime.js +++ /dev/null @@ -1,79 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumeDatasetPropertyAtime = Montage.specialize({ - _parsed: { - value: null - }, - parsed: { - set: function (value) { - if (this._parsed !== value) { - this._parsed = value; - } - }, - get: function () { - return this._parsed; - } - }, - _rawvalue: { - value: null - }, - rawvalue: { - set: function (value) { - if (this._rawvalue !== value) { - this._rawvalue = value; - } - }, - get: function () { - return this._rawvalue; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - }, - _value: { - value: null - }, - value: { - set: function (value) { - if (this._value !== value) { - this._value = value; - } - }, - get: function () { - return this._value; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "parsed", - valueObjectPrototypeName: "VolumeDatasetPropertyAtimeValue", - valueType: "object" - }, { - mandatory: false, - name: "rawvalue", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "source", - valueObjectPrototypeName: "VolumePropertySource", - valueType: "object" - }, { - mandatory: false, - name: "value", - valueType: "String" - }] - } -}); diff --git a/core/model/models/volume-dataset-property-available.js b/core/model/models/volume-dataset-property-available.js deleted file mode 100644 index cd07fccd9e..0000000000 --- a/core/model/models/volume-dataset-property-available.js +++ /dev/null @@ -1,79 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumeDatasetPropertyAvailable = Montage.specialize({ - _parsed: { - value: null - }, - parsed: { - set: function (value) { - if (this._parsed !== value) { - this._parsed = value; - } - }, - get: function () { - return this._parsed; - } - }, - _rawvalue: { - value: null - }, - rawvalue: { - set: function (value) { - if (this._rawvalue !== value) { - this._rawvalue = value; - } - }, - get: function () { - return this._rawvalue; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - }, - _value: { - value: null - }, - value: { - set: function (value) { - if (this._value !== value) { - this._value = value; - } - }, - get: function () { - return this._value; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "parsed", - valueObjectPrototypeName: "VolumeDatasetPropertyAvailableValue", - valueType: "object" - }, { - mandatory: false, - name: "rawvalue", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "source", - valueObjectPrototypeName: "VolumePropertySource", - valueType: "object" - }, { - mandatory: false, - name: "value", - valueType: "String" - }] - } -}); diff --git a/core/model/models/volume-dataset-property-casesensitivity.js b/core/model/models/volume-dataset-property-casesensitivity.js deleted file mode 100644 index b0b992084a..0000000000 --- a/core/model/models/volume-dataset-property-casesensitivity.js +++ /dev/null @@ -1,79 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumeDatasetPropertyCasesensitivity = Montage.specialize({ - _parsed: { - value: null - }, - parsed: { - set: function (value) { - if (this._parsed !== value) { - this._parsed = value; - } - }, - get: function () { - return this._parsed; - } - }, - _rawvalue: { - value: null - }, - rawvalue: { - set: function (value) { - if (this._rawvalue !== value) { - this._rawvalue = value; - } - }, - get: function () { - return this._rawvalue; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - }, - _value: { - value: null - }, - value: { - set: function (value) { - if (this._value !== value) { - this._value = value; - } - }, - get: function () { - return this._value; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "parsed", - valueObjectPrototypeName: "VolumeDatasetPropertyCasesensitivityValue", - valueType: "object" - }, { - mandatory: false, - name: "rawvalue", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "source", - valueObjectPrototypeName: "VolumePropertySource", - valueType: "object" - }, { - mandatory: false, - name: "value", - valueType: "String" - }] - } -}); diff --git a/core/model/models/volume-dataset-property-compression.js b/core/model/models/volume-dataset-property-compression.js deleted file mode 100644 index 670eae873e..0000000000 --- a/core/model/models/volume-dataset-property-compression.js +++ /dev/null @@ -1,79 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumeDatasetPropertyCompression = Montage.specialize({ - _parsed: { - value: null - }, - parsed: { - set: function (value) { - if (this._parsed !== value) { - this._parsed = value; - } - }, - get: function () { - return this._parsed; - } - }, - _rawvalue: { - value: null - }, - rawvalue: { - set: function (value) { - if (this._rawvalue !== value) { - this._rawvalue = value; - } - }, - get: function () { - return this._rawvalue; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - }, - _value: { - value: null - }, - value: { - set: function (value) { - if (this._value !== value) { - this._value = value; - } - }, - get: function () { - return this._value; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "parsed", - valueObjectPrototypeName: "VolumeDatasetPropertyCompressionValue", - valueType: "object" - }, { - mandatory: false, - name: "rawvalue", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "source", - valueObjectPrototypeName: "VolumePropertySource", - valueType: "object" - }, { - mandatory: false, - name: "value", - valueType: "String" - }] - } -}); diff --git a/core/model/models/volume-dataset-property-compressratio.js b/core/model/models/volume-dataset-property-compressratio.js deleted file mode 100644 index 0a13da062a..0000000000 --- a/core/model/models/volume-dataset-property-compressratio.js +++ /dev/null @@ -1,79 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumeDatasetPropertyCompressratio = Montage.specialize({ - _parsed: { - value: null - }, - parsed: { - set: function (value) { - if (this._parsed !== value) { - this._parsed = value; - } - }, - get: function () { - return this._parsed; - } - }, - _rawvalue: { - value: null - }, - rawvalue: { - set: function (value) { - if (this._rawvalue !== value) { - this._rawvalue = value; - } - }, - get: function () { - return this._rawvalue; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - }, - _value: { - value: null - }, - value: { - set: function (value) { - if (this._value !== value) { - this._value = value; - } - }, - get: function () { - return this._value; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "parsed", - valueObjectPrototypeName: "VolumeDatasetPropertyCompressratioValue", - valueType: "object" - }, { - mandatory: false, - name: "rawvalue", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "source", - valueObjectPrototypeName: "VolumePropertySource", - valueType: "object" - }, { - mandatory: false, - name: "value", - valueType: "String" - }] - } -}); diff --git a/core/model/models/volume-dataset-property-dedup.js b/core/model/models/volume-dataset-property-dedup.js deleted file mode 100644 index eca8f29f89..0000000000 --- a/core/model/models/volume-dataset-property-dedup.js +++ /dev/null @@ -1,79 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumeDatasetPropertyDedup = Montage.specialize({ - _parsed: { - value: null - }, - parsed: { - set: function (value) { - if (this._parsed !== value) { - this._parsed = value; - } - }, - get: function () { - return this._parsed; - } - }, - _rawvalue: { - value: null - }, - rawvalue: { - set: function (value) { - if (this._rawvalue !== value) { - this._rawvalue = value; - } - }, - get: function () { - return this._rawvalue; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - }, - _value: { - value: null - }, - value: { - set: function (value) { - if (this._value !== value) { - this._value = value; - } - }, - get: function () { - return this._value; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "parsed", - valueObjectPrototypeName: "VolumeDatasetPropertyDedupValue", - valueType: "object" - }, { - mandatory: false, - name: "rawvalue", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "source", - valueObjectPrototypeName: "VolumePropertySource", - valueType: "object" - }, { - mandatory: false, - name: "value", - valueType: "String" - }] - } -}); diff --git a/core/model/models/volume-dataset-property-logicalreferenced.js b/core/model/models/volume-dataset-property-logicalreferenced.js deleted file mode 100644 index ae5fca92ab..0000000000 --- a/core/model/models/volume-dataset-property-logicalreferenced.js +++ /dev/null @@ -1,79 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumeDatasetPropertyLogicalreferenced = Montage.specialize({ - _parsed: { - value: null - }, - parsed: { - set: function (value) { - if (this._parsed !== value) { - this._parsed = value; - } - }, - get: function () { - return this._parsed; - } - }, - _rawvalue: { - value: null - }, - rawvalue: { - set: function (value) { - if (this._rawvalue !== value) { - this._rawvalue = value; - } - }, - get: function () { - return this._rawvalue; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - }, - _value: { - value: null - }, - value: { - set: function (value) { - if (this._value !== value) { - this._value = value; - } - }, - get: function () { - return this._value; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "parsed", - valueObjectPrototypeName: "VolumeDatasetPropertyLogicalreferencedValue", - valueType: "object" - }, { - mandatory: false, - name: "rawvalue", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "source", - valueObjectPrototypeName: "VolumePropertySource", - valueType: "object" - }, { - mandatory: false, - name: "value", - valueType: "String" - }] - } -}); diff --git a/core/model/models/volume-dataset-property-logicalused.js b/core/model/models/volume-dataset-property-logicalused.js deleted file mode 100644 index 983470f8ae..0000000000 --- a/core/model/models/volume-dataset-property-logicalused.js +++ /dev/null @@ -1,79 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumeDatasetPropertyLogicalused = Montage.specialize({ - _parsed: { - value: null - }, - parsed: { - set: function (value) { - if (this._parsed !== value) { - this._parsed = value; - } - }, - get: function () { - return this._parsed; - } - }, - _rawvalue: { - value: null - }, - rawvalue: { - set: function (value) { - if (this._rawvalue !== value) { - this._rawvalue = value; - } - }, - get: function () { - return this._rawvalue; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - }, - _value: { - value: null - }, - value: { - set: function (value) { - if (this._value !== value) { - this._value = value; - } - }, - get: function () { - return this._value; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "parsed", - valueObjectPrototypeName: "VolumeDatasetPropertyLogicalusedValue", - valueType: "object" - }, { - mandatory: false, - name: "rawvalue", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "source", - valueObjectPrototypeName: "VolumePropertySource", - valueType: "object" - }, { - mandatory: false, - name: "value", - valueType: "String" - }] - } -}); diff --git a/core/model/models/volume-dataset-property-numclones.js b/core/model/models/volume-dataset-property-numclones.js deleted file mode 100644 index 1aa012206c..0000000000 --- a/core/model/models/volume-dataset-property-numclones.js +++ /dev/null @@ -1,79 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumeDatasetPropertyNumclones = Montage.specialize({ - _parsed: { - value: null - }, - parsed: { - set: function (value) { - if (this._parsed !== value) { - this._parsed = value; - } - }, - get: function () { - return this._parsed; - } - }, - _rawvalue: { - value: null - }, - rawvalue: { - set: function (value) { - if (this._rawvalue !== value) { - this._rawvalue = value; - } - }, - get: function () { - return this._rawvalue; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - }, - _value: { - value: null - }, - value: { - set: function (value) { - if (this._value !== value) { - this._value = value; - } - }, - get: function () { - return this._value; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "parsed", - valueObjectPrototypeName: "VolumeDatasetPropertyNumclonesValue", - valueType: "object" - }, { - mandatory: false, - name: "rawvalue", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "source", - valueObjectPrototypeName: "VolumePropertySource", - valueType: "object" - }, { - mandatory: false, - name: "value", - valueType: "String" - }] - } -}); diff --git a/core/model/models/volume-dataset-property-quota.js b/core/model/models/volume-dataset-property-quota.js deleted file mode 100644 index 148017d6d5..0000000000 --- a/core/model/models/volume-dataset-property-quota.js +++ /dev/null @@ -1,79 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumeDatasetPropertyQuota = Montage.specialize({ - _parsed: { - value: null - }, - parsed: { - set: function (value) { - if (this._parsed !== value) { - this._parsed = value; - } - }, - get: function () { - return this._parsed; - } - }, - _rawvalue: { - value: null - }, - rawvalue: { - set: function (value) { - if (this._rawvalue !== value) { - this._rawvalue = value; - } - }, - get: function () { - return this._rawvalue; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - }, - _value: { - value: null - }, - value: { - set: function (value) { - if (this._value !== value) { - this._value = value; - } - }, - get: function () { - return this._value; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "parsed", - valueObjectPrototypeName: "VolumeDatasetPropertyQuotaValue", - valueType: "object" - }, { - mandatory: false, - name: "rawvalue", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "source", - valueObjectPrototypeName: "VolumePropertySource", - valueType: "object" - }, { - mandatory: false, - name: "value", - valueType: "String" - }] - } -}); diff --git a/core/model/models/volume-dataset-property-readonly.js b/core/model/models/volume-dataset-property-readonly.js deleted file mode 100644 index f1b4e4d14d..0000000000 --- a/core/model/models/volume-dataset-property-readonly.js +++ /dev/null @@ -1,79 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumeDatasetPropertyReadonly = Montage.specialize({ - _parsed: { - value: null - }, - parsed: { - set: function (value) { - if (this._parsed !== value) { - this._parsed = value; - } - }, - get: function () { - return this._parsed; - } - }, - _rawvalue: { - value: null - }, - rawvalue: { - set: function (value) { - if (this._rawvalue !== value) { - this._rawvalue = value; - } - }, - get: function () { - return this._rawvalue; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - }, - _value: { - value: null - }, - value: { - set: function (value) { - if (this._value !== value) { - this._value = value; - } - }, - get: function () { - return this._value; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "parsed", - valueObjectPrototypeName: "VolumeDatasetPropertyReadonlyValue", - valueType: "object" - }, { - mandatory: false, - name: "rawvalue", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "source", - valueObjectPrototypeName: "VolumePropertySource", - valueType: "object" - }, { - mandatory: false, - name: "value", - valueType: "String" - }] - } -}); diff --git a/core/model/models/volume-dataset-property-refcompressratio.js b/core/model/models/volume-dataset-property-refcompressratio.js deleted file mode 100644 index 99e98822bb..0000000000 --- a/core/model/models/volume-dataset-property-refcompressratio.js +++ /dev/null @@ -1,79 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumeDatasetPropertyRefcompressratio = Montage.specialize({ - _parsed: { - value: null - }, - parsed: { - set: function (value) { - if (this._parsed !== value) { - this._parsed = value; - } - }, - get: function () { - return this._parsed; - } - }, - _rawvalue: { - value: null - }, - rawvalue: { - set: function (value) { - if (this._rawvalue !== value) { - this._rawvalue = value; - } - }, - get: function () { - return this._rawvalue; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - }, - _value: { - value: null - }, - value: { - set: function (value) { - if (this._value !== value) { - this._value = value; - } - }, - get: function () { - return this._value; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "parsed", - valueObjectPrototypeName: "VolumeDatasetPropertyRefcompressratioValue", - valueType: "object" - }, { - mandatory: false, - name: "rawvalue", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "source", - valueObjectPrototypeName: "VolumePropertySource", - valueType: "object" - }, { - mandatory: false, - name: "value", - valueType: "String" - }] - } -}); diff --git a/core/model/models/volume-dataset-property-referenced.js b/core/model/models/volume-dataset-property-referenced.js deleted file mode 100644 index a3ab5d2937..0000000000 --- a/core/model/models/volume-dataset-property-referenced.js +++ /dev/null @@ -1,79 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumeDatasetPropertyReferenced = Montage.specialize({ - _parsed: { - value: null - }, - parsed: { - set: function (value) { - if (this._parsed !== value) { - this._parsed = value; - } - }, - get: function () { - return this._parsed; - } - }, - _rawvalue: { - value: null - }, - rawvalue: { - set: function (value) { - if (this._rawvalue !== value) { - this._rawvalue = value; - } - }, - get: function () { - return this._rawvalue; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - }, - _value: { - value: null - }, - value: { - set: function (value) { - if (this._value !== value) { - this._value = value; - } - }, - get: function () { - return this._value; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "parsed", - valueObjectPrototypeName: "VolumeDatasetPropertyReferencedValue", - valueType: "object" - }, { - mandatory: false, - name: "rawvalue", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "source", - valueObjectPrototypeName: "VolumePropertySource", - valueType: "object" - }, { - mandatory: false, - name: "value", - valueType: "String" - }] - } -}); diff --git a/core/model/models/volume-dataset-property-refquota.js b/core/model/models/volume-dataset-property-refquota.js deleted file mode 100644 index 7950f983f9..0000000000 --- a/core/model/models/volume-dataset-property-refquota.js +++ /dev/null @@ -1,79 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumeDatasetPropertyRefquota = Montage.specialize({ - _parsed: { - value: null - }, - parsed: { - set: function (value) { - if (this._parsed !== value) { - this._parsed = value; - } - }, - get: function () { - return this._parsed; - } - }, - _rawvalue: { - value: null - }, - rawvalue: { - set: function (value) { - if (this._rawvalue !== value) { - this._rawvalue = value; - } - }, - get: function () { - return this._rawvalue; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - }, - _value: { - value: null - }, - value: { - set: function (value) { - if (this._value !== value) { - this._value = value; - } - }, - get: function () { - return this._value; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "parsed", - valueObjectPrototypeName: "VolumeDatasetPropertyRefquotaValue", - valueType: "object" - }, { - mandatory: false, - name: "rawvalue", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "source", - valueObjectPrototypeName: "VolumePropertySource", - valueType: "object" - }, { - mandatory: false, - name: "value", - valueType: "String" - }] - } -}); diff --git a/core/model/models/volume-dataset-property-refreservation.js b/core/model/models/volume-dataset-property-refreservation.js deleted file mode 100644 index 07c3dc57f2..0000000000 --- a/core/model/models/volume-dataset-property-refreservation.js +++ /dev/null @@ -1,79 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumeDatasetPropertyRefreservation = Montage.specialize({ - _parsed: { - value: null - }, - parsed: { - set: function (value) { - if (this._parsed !== value) { - this._parsed = value; - } - }, - get: function () { - return this._parsed; - } - }, - _rawvalue: { - value: null - }, - rawvalue: { - set: function (value) { - if (this._rawvalue !== value) { - this._rawvalue = value; - } - }, - get: function () { - return this._rawvalue; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - }, - _value: { - value: null - }, - value: { - set: function (value) { - if (this._value !== value) { - this._value = value; - } - }, - get: function () { - return this._value; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "parsed", - valueObjectPrototypeName: "VolumeDatasetPropertyRefreservationValue", - valueType: "object" - }, { - mandatory: false, - name: "rawvalue", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "source", - valueObjectPrototypeName: "VolumePropertySource", - valueType: "object" - }, { - mandatory: false, - name: "value", - valueType: "String" - }] - } -}); diff --git a/core/model/models/volume-dataset-property-reservation.js b/core/model/models/volume-dataset-property-reservation.js deleted file mode 100644 index a082f39add..0000000000 --- a/core/model/models/volume-dataset-property-reservation.js +++ /dev/null @@ -1,79 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumeDatasetPropertyReservation = Montage.specialize({ - _parsed: { - value: null - }, - parsed: { - set: function (value) { - if (this._parsed !== value) { - this._parsed = value; - } - }, - get: function () { - return this._parsed; - } - }, - _rawvalue: { - value: null - }, - rawvalue: { - set: function (value) { - if (this._rawvalue !== value) { - this._rawvalue = value; - } - }, - get: function () { - return this._rawvalue; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - }, - _value: { - value: null - }, - value: { - set: function (value) { - if (this._value !== value) { - this._value = value; - } - }, - get: function () { - return this._value; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "parsed", - valueObjectPrototypeName: "VolumeDatasetPropertyReservationValue", - valueType: "object" - }, { - mandatory: false, - name: "rawvalue", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "source", - valueObjectPrototypeName: "VolumePropertySource", - valueType: "object" - }, { - mandatory: false, - name: "value", - valueType: "String" - }] - } -}); diff --git a/core/model/models/volume-dataset-property-used.js b/core/model/models/volume-dataset-property-used.js deleted file mode 100644 index 472c7b89cf..0000000000 --- a/core/model/models/volume-dataset-property-used.js +++ /dev/null @@ -1,79 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumeDatasetPropertyUsed = Montage.specialize({ - _parsed: { - value: null - }, - parsed: { - set: function (value) { - if (this._parsed !== value) { - this._parsed = value; - } - }, - get: function () { - return this._parsed; - } - }, - _rawvalue: { - value: null - }, - rawvalue: { - set: function (value) { - if (this._rawvalue !== value) { - this._rawvalue = value; - } - }, - get: function () { - return this._rawvalue; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - }, - _value: { - value: null - }, - value: { - set: function (value) { - if (this._value !== value) { - this._value = value; - } - }, - get: function () { - return this._value; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "parsed", - valueObjectPrototypeName: "VolumeDatasetPropertyUsedValue", - valueType: "object" - }, { - mandatory: false, - name: "rawvalue", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "source", - valueObjectPrototypeName: "VolumePropertySource", - valueType: "object" - }, { - mandatory: false, - name: "value", - valueType: "String" - }] - } -}); diff --git a/core/model/models/volume-dataset-property-usedbychildren.js b/core/model/models/volume-dataset-property-usedbychildren.js deleted file mode 100644 index 19cd997e1c..0000000000 --- a/core/model/models/volume-dataset-property-usedbychildren.js +++ /dev/null @@ -1,79 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumeDatasetPropertyUsedbychildren = Montage.specialize({ - _parsed: { - value: null - }, - parsed: { - set: function (value) { - if (this._parsed !== value) { - this._parsed = value; - } - }, - get: function () { - return this._parsed; - } - }, - _rawvalue: { - value: null - }, - rawvalue: { - set: function (value) { - if (this._rawvalue !== value) { - this._rawvalue = value; - } - }, - get: function () { - return this._rawvalue; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - }, - _value: { - value: null - }, - value: { - set: function (value) { - if (this._value !== value) { - this._value = value; - } - }, - get: function () { - return this._value; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "parsed", - valueObjectPrototypeName: "VolumeDatasetPropertyUsedbychildrenValue", - valueType: "object" - }, { - mandatory: false, - name: "rawvalue", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "source", - valueObjectPrototypeName: "VolumePropertySource", - valueType: "object" - }, { - mandatory: false, - name: "value", - valueType: "String" - }] - } -}); diff --git a/core/model/models/volume-dataset-property-usedbydataset.js b/core/model/models/volume-dataset-property-usedbydataset.js deleted file mode 100644 index f06f8c330d..0000000000 --- a/core/model/models/volume-dataset-property-usedbydataset.js +++ /dev/null @@ -1,79 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumeDatasetPropertyUsedbydataset = Montage.specialize({ - _parsed: { - value: null - }, - parsed: { - set: function (value) { - if (this._parsed !== value) { - this._parsed = value; - } - }, - get: function () { - return this._parsed; - } - }, - _rawvalue: { - value: null - }, - rawvalue: { - set: function (value) { - if (this._rawvalue !== value) { - this._rawvalue = value; - } - }, - get: function () { - return this._rawvalue; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - }, - _value: { - value: null - }, - value: { - set: function (value) { - if (this._value !== value) { - this._value = value; - } - }, - get: function () { - return this._value; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "parsed", - valueObjectPrototypeName: "VolumeDatasetPropertyUsedbydatasetValue", - valueType: "object" - }, { - mandatory: false, - name: "rawvalue", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "source", - valueObjectPrototypeName: "VolumePropertySource", - valueType: "object" - }, { - mandatory: false, - name: "value", - valueType: "String" - }] - } -}); diff --git a/core/model/models/volume-dataset-property-usedbyrefreservation.js b/core/model/models/volume-dataset-property-usedbyrefreservation.js deleted file mode 100644 index 475c5a7f37..0000000000 --- a/core/model/models/volume-dataset-property-usedbyrefreservation.js +++ /dev/null @@ -1,79 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumeDatasetPropertyUsedbyrefreservation = Montage.specialize({ - _parsed: { - value: null - }, - parsed: { - set: function (value) { - if (this._parsed !== value) { - this._parsed = value; - } - }, - get: function () { - return this._parsed; - } - }, - _rawvalue: { - value: null - }, - rawvalue: { - set: function (value) { - if (this._rawvalue !== value) { - this._rawvalue = value; - } - }, - get: function () { - return this._rawvalue; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - }, - _value: { - value: null - }, - value: { - set: function (value) { - if (this._value !== value) { - this._value = value; - } - }, - get: function () { - return this._value; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "parsed", - valueObjectPrototypeName: "VolumeDatasetPropertyUsedbyrefreservationValue", - valueType: "object" - }, { - mandatory: false, - name: "rawvalue", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "source", - valueObjectPrototypeName: "VolumePropertySource", - valueType: "object" - }, { - mandatory: false, - name: "value", - valueType: "String" - }] - } -}); diff --git a/core/model/models/volume-dataset-property-usedbysnapshots.js b/core/model/models/volume-dataset-property-usedbysnapshots.js deleted file mode 100644 index 7f3369cb0d..0000000000 --- a/core/model/models/volume-dataset-property-usedbysnapshots.js +++ /dev/null @@ -1,79 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumeDatasetPropertyUsedbysnapshots = Montage.specialize({ - _parsed: { - value: null - }, - parsed: { - set: function (value) { - if (this._parsed !== value) { - this._parsed = value; - } - }, - get: function () { - return this._parsed; - } - }, - _rawvalue: { - value: null - }, - rawvalue: { - set: function (value) { - if (this._rawvalue !== value) { - this._rawvalue = value; - } - }, - get: function () { - return this._rawvalue; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - }, - _value: { - value: null - }, - value: { - set: function (value) { - if (this._value !== value) { - this._value = value; - } - }, - get: function () { - return this._value; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "parsed", - valueObjectPrototypeName: "VolumeDatasetPropertyUsedbysnapshotsValue", - valueType: "object" - }, { - mandatory: false, - name: "rawvalue", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "source", - valueObjectPrototypeName: "VolumePropertySource", - valueType: "object" - }, { - mandatory: false, - name: "value", - valueType: "String" - }] - } -}); diff --git a/core/model/models/volume-dataset-property-volblocksize.js b/core/model/models/volume-dataset-property-volblocksize.js deleted file mode 100644 index 1cc3d00e33..0000000000 --- a/core/model/models/volume-dataset-property-volblocksize.js +++ /dev/null @@ -1,79 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumeDatasetPropertyVolblocksize = Montage.specialize({ - _parsed: { - value: null - }, - parsed: { - set: function (value) { - if (this._parsed !== value) { - this._parsed = value; - } - }, - get: function () { - return this._parsed; - } - }, - _rawvalue: { - value: null - }, - rawvalue: { - set: function (value) { - if (this._rawvalue !== value) { - this._rawvalue = value; - } - }, - get: function () { - return this._rawvalue; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - }, - _value: { - value: null - }, - value: { - set: function (value) { - if (this._value !== value) { - this._value = value; - } - }, - get: function () { - return this._value; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "parsed", - valueObjectPrototypeName: "VolumeDatasetPropertyVolblocksizeValue", - valueType: "object" - }, { - mandatory: false, - name: "rawvalue", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "source", - valueObjectPrototypeName: "VolumePropertySource", - valueType: "object" - }, { - mandatory: false, - name: "value", - valueType: "String" - }] - } -}); diff --git a/core/model/models/volume-dataset-property-volsize.js b/core/model/models/volume-dataset-property-volsize.js deleted file mode 100644 index 63fc185bfa..0000000000 --- a/core/model/models/volume-dataset-property-volsize.js +++ /dev/null @@ -1,79 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumeDatasetPropertyVolsize = Montage.specialize({ - _parsed: { - value: null - }, - parsed: { - set: function (value) { - if (this._parsed !== value) { - this._parsed = value; - } - }, - get: function () { - return this._parsed; - } - }, - _rawvalue: { - value: null - }, - rawvalue: { - set: function (value) { - if (this._rawvalue !== value) { - this._rawvalue = value; - } - }, - get: function () { - return this._rawvalue; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - }, - _value: { - value: null - }, - value: { - set: function (value) { - if (this._value !== value) { - this._value = value; - } - }, - get: function () { - return this._value; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "parsed", - valueObjectPrototypeName: "VolumeDatasetPropertyVolsizeValue", - valueType: "object" - }, { - mandatory: false, - name: "rawvalue", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "source", - valueObjectPrototypeName: "VolumePropertySource", - valueType: "object" - }, { - mandatory: false, - name: "value", - valueType: "String" - }] - } -}); diff --git a/core/model/models/volume-dataset-property-written.js b/core/model/models/volume-dataset-property-written.js deleted file mode 100644 index 20bcf62b85..0000000000 --- a/core/model/models/volume-dataset-property-written.js +++ /dev/null @@ -1,79 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumeDatasetPropertyWritten = Montage.specialize({ - _parsed: { - value: null - }, - parsed: { - set: function (value) { - if (this._parsed !== value) { - this._parsed = value; - } - }, - get: function () { - return this._parsed; - } - }, - _rawvalue: { - value: null - }, - rawvalue: { - set: function (value) { - if (this._rawvalue !== value) { - this._rawvalue = value; - } - }, - get: function () { - return this._rawvalue; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - }, - _value: { - value: null - }, - value: { - set: function (value) { - if (this._value !== value) { - this._value = value; - } - }, - get: function () { - return this._value; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "parsed", - valueObjectPrototypeName: "VolumeDatasetPropertyWrittenValue", - valueType: "object" - }, { - mandatory: false, - name: "rawvalue", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "source", - valueObjectPrototypeName: "VolumePropertySource", - valueType: "object" - }, { - mandatory: false, - name: "value", - valueType: "String" - }] - } -}); diff --git a/core/model/models/volume-dataset.js b/core/model/models/volume-dataset.js deleted file mode 100644 index 2bff8270bd..0000000000 --- a/core/model/models/volume-dataset.js +++ /dev/null @@ -1,271 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumeDataset = Montage.specialize({ - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _last_replicated_at: { - value: null - }, - last_replicated_at: { - set: function (value) { - if (this._last_replicated_at !== value) { - this._last_replicated_at = value; - } - }, - get: function () { - return this._last_replicated_at; - } - }, - _last_replicated_by: { - value: null - }, - last_replicated_by: { - set: function (value) { - if (this._last_replicated_by !== value) { - this._last_replicated_by = value; - } - }, - get: function () { - return this._last_replicated_by; - } - }, - _mounted: { - value: null - }, - mounted: { - set: function (value) { - if (this._mounted !== value) { - this._mounted = value; - } - }, - get: function () { - return this._mounted; - } - }, - _mountpoint: { - value: null - }, - mountpoint: { - set: function (value) { - if (this._mountpoint !== value) { - this._mountpoint = value; - } - }, - get: function () { - return this._mountpoint; - } - }, - _name: { - value: null - }, - name: { - set: function (value) { - if (this._name !== value) { - this._name = value; - } - }, - get: function () { - return this._name; - } - }, - _permissions: { - value: null - }, - permissions: { - set: function (value) { - if (this._permissions !== value) { - this._permissions = value; - } - }, - get: function () { - return this._permissions; - } - }, - _permissions_type: { - value: null - }, - permissions_type: { - set: function (value) { - if (this._permissions_type !== value) { - this._permissions_type = value; - } - }, - get: function () { - return this._permissions_type; - } - }, - _properties: { - value: null - }, - properties: { - set: function (value) { - if (this._properties !== value) { - this._properties = value; - } - }, - get: function () { - return this._properties; - } - }, - _rname: { - value: null - }, - rname: { - set: function (value) { - if (this._rname !== value) { - this._rname = value; - } - }, - get: function () { - return this._rname; - } - }, - _temp_mountpoint: { - value: null - }, - temp_mountpoint: { - set: function (value) { - if (this._temp_mountpoint !== value) { - this._temp_mountpoint = value; - } - }, - get: function () { - return this._temp_mountpoint; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - }, - _volsize: { - value: null - }, - volsize: { - set: function (value) { - if (this._volsize !== value) { - this._volsize = value; - } - }, - get: function () { - return this._volsize; - } - }, - _volume: { - value: null - }, - volume: { - set: function (value) { - if (this._volume !== value) { - this._volume = value; - } - }, - get: function () { - return this._volume; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "id", - valueType: "String" - }, { - mandatory: false, - name: "last_replicated_at", - valueType: "datetime" - }, { - mandatory: false, - name: "last_replicated_by", - valueType: "String" - }, { - mandatory: false, - name: "mounted", - valueType: "boolean" - }, { - mandatory: false, - name: "mountpoint", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "name", - valueType: "String" - }, { - mandatory: false, - name: "permissions", - valueObjectPrototypeName: "Permissions", - valueType: "object" - }, { - mandatory: false, - name: "permissions_type", - valueObjectPrototypeName: "VolumeDatasetPermissionstype", - valueType: "object" - }, { - mandatory: false, - name: "properties", - valueObjectPrototypeName: "VolumeDatasetProperties", - valueType: "object" - }, { - mandatory: false, - name: "rname", - valueType: "String" - }, { - mandatory: false, - name: "temp_mountpoint", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "type" - }, { - mandatory: false, - name: "volsize", - valueType: "number" - }, { - mandatory: false, - name: "volume", - valueType: "String" - }] - }, - userInterfaceDescriptor: { - value: { - inspectorComponentModule: { - id: 'ui/sections/storage/inspectors/volume-dataset.reel' - }, - creatorComponentModule: { - id: 'ui/sections/storage/inspectors/volume-dataset.reel' - }, - collectionInspectorComponentModule: { - id: 'ui/controls/viewer.reel' - }, - collectionNameExpression: "'Datasets'", - nameExpression: "name", - iconValueMapping: { - "FILESYSTEM": "ui/icons/directory.reel", - "VOLUME": "ui/icons/volume.reel" - }, - iconValueExpression: "type", - subLabelExpression: "properties.referenced.value + ' / ' + properties.used.value" - } - } -}); diff --git a/core/model/models/volume-disk-label.js b/core/model/models/volume-disk-label.js deleted file mode 100644 index 8b9132f423..0000000000 --- a/core/model/models/volume-disk-label.js +++ /dev/null @@ -1,93 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumeDiskLabel = Montage.specialize({ - _hostid: { - value: null - }, - hostid: { - set: function (value) { - if (this._hostid !== value) { - this._hostid = value; - } - }, - get: function () { - return this._hostid; - } - }, - _hostname: { - value: null - }, - hostname: { - set: function (value) { - if (this._hostname !== value) { - this._hostname = value; - } - }, - get: function () { - return this._hostname; - } - }, - _vdev_guid: { - value: null - }, - vdev_guid: { - set: function (value) { - if (this._vdev_guid !== value) { - this._vdev_guid = value; - } - }, - get: function () { - return this._vdev_guid; - } - }, - _volume_guid: { - value: null - }, - volume_guid: { - set: function (value) { - if (this._volume_guid !== value) { - this._volume_guid = value; - } - }, - get: function () { - return this._volume_guid; - } - }, - _volume_id: { - value: null - }, - volume_id: { - set: function (value) { - if (this._volume_id !== value) { - this._volume_id = value; - } - }, - get: function () { - return this._volume_id; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "hostid", - valueType: "number" - }, { - mandatory: false, - name: "hostname", - valueType: "String" - }, { - mandatory: false, - name: "vdev_guid", - valueType: "String" - }, { - mandatory: false, - name: "volume_guid", - valueType: "String" - }, { - mandatory: false, - name: "volume_id", - valueType: "String" - }] - } -}); diff --git a/core/model/models/volume-encryption.js b/core/model/models/volume-encryption.js deleted file mode 100644 index 5133e2f445..0000000000 --- a/core/model/models/volume-encryption.js +++ /dev/null @@ -1,76 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumeEncryption = Montage.specialize({ - _hashed_password: { - value: null - }, - hashed_password: { - set: function (value) { - if (this._hashed_password !== value) { - this._hashed_password = value; - } - }, - get: function () { - return this._hashed_password; - } - }, - _key: { - value: null - }, - key: { - set: function (value) { - if (this._key !== value) { - this._key = value; - } - }, - get: function () { - return this._key; - } - }, - _salt: { - value: null - }, - salt: { - set: function (value) { - if (this._salt !== value) { - this._salt = value; - } - }, - get: function () { - return this._salt; - } - }, - _slot: { - value: null - }, - slot: { - set: function (value) { - if (this._slot !== value) { - this._slot = value; - } - }, - get: function () { - return this._slot; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "hashed_password", - valueType: "String" - }, { - mandatory: false, - name: "key", - valueType: "String" - }, { - mandatory: false, - name: "salt", - valueType: "String" - }, { - mandatory: false, - name: "slot", - valueType: "number" - }] - } -}); diff --git a/core/model/models/volume-import-params.js b/core/model/models/volume-import-params.js deleted file mode 100644 index 5925da5d71..0000000000 --- a/core/model/models/volume-import-params.js +++ /dev/null @@ -1,59 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumeImportParams = Montage.specialize({ - _disks: { - value: null - }, - disks: { - set: function (value) { - if (this._disks !== value) { - this._disks = value; - } - }, - get: function () { - return this._disks; - } - }, - _key: { - value: null - }, - key: { - set: function (value) { - if (this._key !== value) { - this._key = value; - } - }, - get: function () { - return this._key; - } - }, - _key_fd: { - value: null - }, - key_fd: { - set: function (value) { - if (this._key_fd !== value) { - this._key_fd = value; - } - }, - get: function () { - return this._key_fd; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "disks", - valueType: "array" - }, { - mandatory: false, - name: "key", - valueType: "String" - }, { - mandatory: false, - name: "key_fd", - valueType: "fd" - }] - } -}); diff --git a/core/model/models/volume-importer.js b/core/model/models/volume-importer.js deleted file mode 100644 index cc985eaf80..0000000000 --- a/core/model/models/volume-importer.js +++ /dev/null @@ -1,12 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumeImporter = Montage.specialize(null, { - userInterfaceDescriptor: { - value: { - inspectorComponentModule: { - id: 'ui/sections/storage/inspectors/volume-importer.reel' - }, - nameExpression: "'Import volumes'" - } - } -}); diff --git a/core/model/models/volume-properties.js b/core/model/models/volume-properties.js deleted file mode 100644 index 467b1bcdcb..0000000000 --- a/core/model/models/volume-properties.js +++ /dev/null @@ -1,278 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumeProperties = Montage.specialize({ - _allocated: { - value: null - }, - allocated: { - set: function (value) { - if (this._allocated !== value) { - this._allocated = value; - } - }, - get: function () { - return this._allocated; - } - }, - _autoreplace: { - value: null - }, - autoreplace: { - set: function (value) { - if (this._autoreplace !== value) { - this._autoreplace = value; - } - }, - get: function () { - return this._autoreplace; - } - }, - _capacity: { - value: null - }, - capacity: { - set: function (value) { - if (this._capacity !== value) { - this._capacity = value; - } - }, - get: function () { - return this._capacity; - } - }, - _comment: { - value: null - }, - comment: { - set: function (value) { - if (this._comment !== value) { - this._comment = value; - } - }, - get: function () { - return this._comment; - } - }, - _dedupratio: { - value: null - }, - dedupratio: { - set: function (value) { - if (this._dedupratio !== value) { - this._dedupratio = value; - } - }, - get: function () { - return this._dedupratio; - } - }, - _delegation: { - value: null - }, - delegation: { - set: function (value) { - if (this._delegation !== value) { - this._delegation = value; - } - }, - get: function () { - return this._delegation; - } - }, - _expandsize: { - value: null - }, - expandsize: { - set: function (value) { - if (this._expandsize !== value) { - this._expandsize = value; - } - }, - get: function () { - return this._expandsize; - } - }, - _failmode: { - value: null - }, - failmode: { - set: function (value) { - if (this._failmode !== value) { - this._failmode = value; - } - }, - get: function () { - return this._failmode; - } - }, - _fragmentation: { - value: null - }, - fragmentation: { - set: function (value) { - if (this._fragmentation !== value) { - this._fragmentation = value; - } - }, - get: function () { - return this._fragmentation; - } - }, - _free: { - value: null - }, - free: { - set: function (value) { - if (this._free !== value) { - this._free = value; - } - }, - get: function () { - return this._free; - } - }, - _health: { - value: null - }, - health: { - set: function (value) { - if (this._health !== value) { - this._health = value; - } - }, - get: function () { - return this._health; - } - }, - _leaked: { - value: null - }, - leaked: { - set: function (value) { - if (this._leaked !== value) { - this._leaked = value; - } - }, - get: function () { - return this._leaked; - } - }, - _readonly: { - value: null - }, - readonly: { - set: function (value) { - if (this._readonly !== value) { - this._readonly = value; - } - }, - get: function () { - return this._readonly; - } - }, - _size: { - value: null - }, - size: { - set: function (value) { - if (this._size !== value) { - this._size = value; - } - }, - get: function () { - return this._size; - } - }, - _version: { - value: null - }, - version: { - set: function (value) { - if (this._version !== value) { - this._version = value; - } - }, - get: function () { - return this._version; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "allocated", - valueObjectPrototypeName: "VolumePropertyAllocated", - valueType: "object" - }, { - mandatory: false, - name: "autoreplace", - valueObjectPrototypeName: "VolumePropertyAutoreplace", - valueType: "object" - }, { - mandatory: false, - name: "capacity", - valueObjectPrototypeName: "VolumePropertyCapacity", - valueType: "object" - }, { - mandatory: false, - name: "comment", - valueObjectPrototypeName: "VolumePropertyComment", - valueType: "object" - }, { - mandatory: false, - name: "dedupratio", - valueObjectPrototypeName: "VolumePropertyDedupratio", - valueType: "object" - }, { - mandatory: false, - name: "delegation", - valueObjectPrototypeName: "VolumePropertyDelegation", - valueType: "object" - }, { - mandatory: false, - name: "expandsize", - valueObjectPrototypeName: "VolumePropertyExpandsize", - valueType: "object" - }, { - mandatory: false, - name: "failmode", - valueObjectPrototypeName: "VolumePropertyFailmode", - valueType: "object" - }, { - mandatory: false, - name: "fragmentation", - valueObjectPrototypeName: "VolumePropertyFragmentation", - valueType: "object" - }, { - mandatory: false, - name: "free", - valueObjectPrototypeName: "VolumePropertyFree", - valueType: "object" - }, { - mandatory: false, - name: "health", - valueObjectPrototypeName: "VolumePropertyHealth", - valueType: "object" - }, { - mandatory: false, - name: "leaked", - valueObjectPrototypeName: "VolumePropertyLeaked", - valueType: "object" - }, { - mandatory: false, - name: "readonly", - valueObjectPrototypeName: "VolumePropertyReadonly", - valueType: "object" - }, { - mandatory: false, - name: "size", - valueObjectPrototypeName: "VolumePropertySize", - valueType: "object" - }, { - mandatory: false, - name: "version", - valueObjectPrototypeName: "VolumePropertyVersion", - valueType: "object" - }] - } -}); diff --git a/core/model/models/volume-property-allocated.js b/core/model/models/volume-property-allocated.js deleted file mode 100644 index f1deca4a6b..0000000000 --- a/core/model/models/volume-property-allocated.js +++ /dev/null @@ -1,79 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumePropertyAllocated = Montage.specialize({ - _parsed: { - value: null - }, - parsed: { - set: function (value) { - if (this._parsed !== value) { - this._parsed = value; - } - }, - get: function () { - return this._parsed; - } - }, - _rawvalue: { - value: null - }, - rawvalue: { - set: function (value) { - if (this._rawvalue !== value) { - this._rawvalue = value; - } - }, - get: function () { - return this._rawvalue; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - }, - _value: { - value: null - }, - value: { - set: function (value) { - if (this._value !== value) { - this._value = value; - } - }, - get: function () { - return this._value; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "parsed", - valueObjectPrototypeName: "VolumePropertyAllocatedValue", - valueType: "object" - }, { - mandatory: false, - name: "rawvalue", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "source", - valueObjectPrototypeName: "VolumePropertySource", - valueType: "object" - }, { - mandatory: false, - name: "value", - valueType: "String" - }] - } -}); diff --git a/core/model/models/volume-property-autoreplace.js b/core/model/models/volume-property-autoreplace.js deleted file mode 100644 index 8792da8998..0000000000 --- a/core/model/models/volume-property-autoreplace.js +++ /dev/null @@ -1,79 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumePropertyAutoreplace = Montage.specialize({ - _parsed: { - value: null - }, - parsed: { - set: function (value) { - if (this._parsed !== value) { - this._parsed = value; - } - }, - get: function () { - return this._parsed; - } - }, - _rawvalue: { - value: null - }, - rawvalue: { - set: function (value) { - if (this._rawvalue !== value) { - this._rawvalue = value; - } - }, - get: function () { - return this._rawvalue; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - }, - _value: { - value: null - }, - value: { - set: function (value) { - if (this._value !== value) { - this._value = value; - } - }, - get: function () { - return this._value; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "parsed", - valueObjectPrototypeName: "VolumePropertyAutoreplaceValue", - valueType: "object" - }, { - mandatory: false, - name: "rawvalue", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "source", - valueObjectPrototypeName: "VolumePropertySource", - valueType: "object" - }, { - mandatory: false, - name: "value", - valueType: "String" - }] - } -}); diff --git a/core/model/models/volume-property-capacity.js b/core/model/models/volume-property-capacity.js deleted file mode 100644 index a8aaef1c19..0000000000 --- a/core/model/models/volume-property-capacity.js +++ /dev/null @@ -1,79 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumePropertyCapacity = Montage.specialize({ - _parsed: { - value: null - }, - parsed: { - set: function (value) { - if (this._parsed !== value) { - this._parsed = value; - } - }, - get: function () { - return this._parsed; - } - }, - _rawvalue: { - value: null - }, - rawvalue: { - set: function (value) { - if (this._rawvalue !== value) { - this._rawvalue = value; - } - }, - get: function () { - return this._rawvalue; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - }, - _value: { - value: null - }, - value: { - set: function (value) { - if (this._value !== value) { - this._value = value; - } - }, - get: function () { - return this._value; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "parsed", - valueObjectPrototypeName: "VolumePropertyCapacityValue", - valueType: "object" - }, { - mandatory: false, - name: "rawvalue", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "source", - valueObjectPrototypeName: "VolumePropertySource", - valueType: "object" - }, { - mandatory: false, - name: "value", - valueType: "String" - }] - } -}); diff --git a/core/model/models/volume-property-comment.js b/core/model/models/volume-property-comment.js deleted file mode 100644 index 08f2ae867a..0000000000 --- a/core/model/models/volume-property-comment.js +++ /dev/null @@ -1,79 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumePropertyComment = Montage.specialize({ - _parsed: { - value: null - }, - parsed: { - set: function (value) { - if (this._parsed !== value) { - this._parsed = value; - } - }, - get: function () { - return this._parsed; - } - }, - _rawvalue: { - value: null - }, - rawvalue: { - set: function (value) { - if (this._rawvalue !== value) { - this._rawvalue = value; - } - }, - get: function () { - return this._rawvalue; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - }, - _value: { - value: null - }, - value: { - set: function (value) { - if (this._value !== value) { - this._value = value; - } - }, - get: function () { - return this._value; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "parsed", - valueObjectPrototypeName: "VolumePropertyCommentValue", - valueType: "object" - }, { - mandatory: false, - name: "rawvalue", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "source", - valueObjectPrototypeName: "VolumePropertySource", - valueType: "object" - }, { - mandatory: false, - name: "value", - valueType: "String" - }] - } -}); diff --git a/core/model/models/volume-property-dedupratio.js b/core/model/models/volume-property-dedupratio.js deleted file mode 100644 index c12ddbba85..0000000000 --- a/core/model/models/volume-property-dedupratio.js +++ /dev/null @@ -1,79 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumePropertyDedupratio = Montage.specialize({ - _parsed: { - value: null - }, - parsed: { - set: function (value) { - if (this._parsed !== value) { - this._parsed = value; - } - }, - get: function () { - return this._parsed; - } - }, - _rawvalue: { - value: null - }, - rawvalue: { - set: function (value) { - if (this._rawvalue !== value) { - this._rawvalue = value; - } - }, - get: function () { - return this._rawvalue; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - }, - _value: { - value: null - }, - value: { - set: function (value) { - if (this._value !== value) { - this._value = value; - } - }, - get: function () { - return this._value; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "parsed", - valueObjectPrototypeName: "VolumePropertyDedupratioValue", - valueType: "object" - }, { - mandatory: false, - name: "rawvalue", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "source", - valueObjectPrototypeName: "VolumePropertySource", - valueType: "object" - }, { - mandatory: false, - name: "value", - valueType: "String" - }] - } -}); diff --git a/core/model/models/volume-property-delegation.js b/core/model/models/volume-property-delegation.js deleted file mode 100644 index aa60e27e64..0000000000 --- a/core/model/models/volume-property-delegation.js +++ /dev/null @@ -1,79 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumePropertyDelegation = Montage.specialize({ - _parsed: { - value: null - }, - parsed: { - set: function (value) { - if (this._parsed !== value) { - this._parsed = value; - } - }, - get: function () { - return this._parsed; - } - }, - _rawvalue: { - value: null - }, - rawvalue: { - set: function (value) { - if (this._rawvalue !== value) { - this._rawvalue = value; - } - }, - get: function () { - return this._rawvalue; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - }, - _value: { - value: null - }, - value: { - set: function (value) { - if (this._value !== value) { - this._value = value; - } - }, - get: function () { - return this._value; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "parsed", - valueObjectPrototypeName: "VolumePropertyDelegationValue", - valueType: "object" - }, { - mandatory: false, - name: "rawvalue", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "source", - valueObjectPrototypeName: "VolumePropertySource", - valueType: "object" - }, { - mandatory: false, - name: "value", - valueType: "String" - }] - } -}); diff --git a/core/model/models/volume-property-expandsize.js b/core/model/models/volume-property-expandsize.js deleted file mode 100644 index b52bb9f58a..0000000000 --- a/core/model/models/volume-property-expandsize.js +++ /dev/null @@ -1,79 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumePropertyExpandsize = Montage.specialize({ - _parsed: { - value: null - }, - parsed: { - set: function (value) { - if (this._parsed !== value) { - this._parsed = value; - } - }, - get: function () { - return this._parsed; - } - }, - _rawvalue: { - value: null - }, - rawvalue: { - set: function (value) { - if (this._rawvalue !== value) { - this._rawvalue = value; - } - }, - get: function () { - return this._rawvalue; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - }, - _value: { - value: null - }, - value: { - set: function (value) { - if (this._value !== value) { - this._value = value; - } - }, - get: function () { - return this._value; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "parsed", - valueObjectPrototypeName: "VolumePropertyExpandsizeValue", - valueType: "object" - }, { - mandatory: false, - name: "rawvalue", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "source", - valueObjectPrototypeName: "VolumePropertySource", - valueType: "object" - }, { - mandatory: false, - name: "value", - valueType: "String" - }] - } -}); diff --git a/core/model/models/volume-property-failmode.js b/core/model/models/volume-property-failmode.js deleted file mode 100644 index fc42e7b4fa..0000000000 --- a/core/model/models/volume-property-failmode.js +++ /dev/null @@ -1,79 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumePropertyFailmode = Montage.specialize({ - _parsed: { - value: null - }, - parsed: { - set: function (value) { - if (this._parsed !== value) { - this._parsed = value; - } - }, - get: function () { - return this._parsed; - } - }, - _rawvalue: { - value: null - }, - rawvalue: { - set: function (value) { - if (this._rawvalue !== value) { - this._rawvalue = value; - } - }, - get: function () { - return this._rawvalue; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - }, - _value: { - value: null - }, - value: { - set: function (value) { - if (this._value !== value) { - this._value = value; - } - }, - get: function () { - return this._value; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "parsed", - valueObjectPrototypeName: "VolumePropertyFailmodeValue", - valueType: "object" - }, { - mandatory: false, - name: "rawvalue", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "source", - valueObjectPrototypeName: "VolumePropertySource", - valueType: "object" - }, { - mandatory: false, - name: "value", - valueType: "String" - }] - } -}); diff --git a/core/model/models/volume-property-fragmentation.js b/core/model/models/volume-property-fragmentation.js deleted file mode 100644 index 0ff157db5f..0000000000 --- a/core/model/models/volume-property-fragmentation.js +++ /dev/null @@ -1,79 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumePropertyFragmentation = Montage.specialize({ - _parsed: { - value: null - }, - parsed: { - set: function (value) { - if (this._parsed !== value) { - this._parsed = value; - } - }, - get: function () { - return this._parsed; - } - }, - _rawvalue: { - value: null - }, - rawvalue: { - set: function (value) { - if (this._rawvalue !== value) { - this._rawvalue = value; - } - }, - get: function () { - return this._rawvalue; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - }, - _value: { - value: null - }, - value: { - set: function (value) { - if (this._value !== value) { - this._value = value; - } - }, - get: function () { - return this._value; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "parsed", - valueObjectPrototypeName: "VolumePropertyFragmentationValue", - valueType: "object" - }, { - mandatory: false, - name: "rawvalue", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "source", - valueObjectPrototypeName: "VolumePropertySource", - valueType: "object" - }, { - mandatory: false, - name: "value", - valueType: "String" - }] - } -}); diff --git a/core/model/models/volume-property-free.js b/core/model/models/volume-property-free.js deleted file mode 100644 index 9d0d6bf501..0000000000 --- a/core/model/models/volume-property-free.js +++ /dev/null @@ -1,79 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumePropertyFree = Montage.specialize({ - _parsed: { - value: null - }, - parsed: { - set: function (value) { - if (this._parsed !== value) { - this._parsed = value; - } - }, - get: function () { - return this._parsed; - } - }, - _rawvalue: { - value: null - }, - rawvalue: { - set: function (value) { - if (this._rawvalue !== value) { - this._rawvalue = value; - } - }, - get: function () { - return this._rawvalue; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - }, - _value: { - value: null - }, - value: { - set: function (value) { - if (this._value !== value) { - this._value = value; - } - }, - get: function () { - return this._value; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "parsed", - valueObjectPrototypeName: "VolumePropertyFreeValue", - valueType: "object" - }, { - mandatory: false, - name: "rawvalue", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "source", - valueObjectPrototypeName: "VolumePropertySource", - valueType: "object" - }, { - mandatory: false, - name: "value", - valueType: "String" - }] - } -}); diff --git a/core/model/models/volume-property-health.js b/core/model/models/volume-property-health.js deleted file mode 100644 index eab9958393..0000000000 --- a/core/model/models/volume-property-health.js +++ /dev/null @@ -1,79 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumePropertyHealth = Montage.specialize({ - _parsed: { - value: null - }, - parsed: { - set: function (value) { - if (this._parsed !== value) { - this._parsed = value; - } - }, - get: function () { - return this._parsed; - } - }, - _rawvalue: { - value: null - }, - rawvalue: { - set: function (value) { - if (this._rawvalue !== value) { - this._rawvalue = value; - } - }, - get: function () { - return this._rawvalue; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - }, - _value: { - value: null - }, - value: { - set: function (value) { - if (this._value !== value) { - this._value = value; - } - }, - get: function () { - return this._value; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "parsed", - valueObjectPrototypeName: "VolumePropertyHealthValue", - valueType: "object" - }, { - mandatory: false, - name: "rawvalue", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "source", - valueObjectPrototypeName: "VolumePropertySource", - valueType: "object" - }, { - mandatory: false, - name: "value", - valueType: "String" - }] - } -}); diff --git a/core/model/models/volume-property-leaked.js b/core/model/models/volume-property-leaked.js deleted file mode 100644 index 7d51488161..0000000000 --- a/core/model/models/volume-property-leaked.js +++ /dev/null @@ -1,79 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumePropertyLeaked = Montage.specialize({ - _parsed: { - value: null - }, - parsed: { - set: function (value) { - if (this._parsed !== value) { - this._parsed = value; - } - }, - get: function () { - return this._parsed; - } - }, - _rawvalue: { - value: null - }, - rawvalue: { - set: function (value) { - if (this._rawvalue !== value) { - this._rawvalue = value; - } - }, - get: function () { - return this._rawvalue; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - }, - _value: { - value: null - }, - value: { - set: function (value) { - if (this._value !== value) { - this._value = value; - } - }, - get: function () { - return this._value; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "parsed", - valueObjectPrototypeName: "VolumePropertyLeakedValue", - valueType: "object" - }, { - mandatory: false, - name: "rawvalue", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "source", - valueObjectPrototypeName: "VolumePropertySource", - valueType: "object" - }, { - mandatory: false, - name: "value", - valueType: "String" - }] - } -}); diff --git a/core/model/models/volume-property-readonly.js b/core/model/models/volume-property-readonly.js deleted file mode 100644 index 7e6781b2d3..0000000000 --- a/core/model/models/volume-property-readonly.js +++ /dev/null @@ -1,79 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumePropertyReadonly = Montage.specialize({ - _parsed: { - value: null - }, - parsed: { - set: function (value) { - if (this._parsed !== value) { - this._parsed = value; - } - }, - get: function () { - return this._parsed; - } - }, - _rawvalue: { - value: null - }, - rawvalue: { - set: function (value) { - if (this._rawvalue !== value) { - this._rawvalue = value; - } - }, - get: function () { - return this._rawvalue; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - }, - _value: { - value: null - }, - value: { - set: function (value) { - if (this._value !== value) { - this._value = value; - } - }, - get: function () { - return this._value; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "parsed", - valueObjectPrototypeName: "VolumePropertyReadonlyValue", - valueType: "object" - }, { - mandatory: false, - name: "rawvalue", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "source", - valueObjectPrototypeName: "VolumePropertySource", - valueType: "object" - }, { - mandatory: false, - name: "value", - valueType: "String" - }] - } -}); diff --git a/core/model/models/volume-property-size.js b/core/model/models/volume-property-size.js deleted file mode 100644 index d2c1805b26..0000000000 --- a/core/model/models/volume-property-size.js +++ /dev/null @@ -1,79 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumePropertySize = Montage.specialize({ - _parsed: { - value: null - }, - parsed: { - set: function (value) { - if (this._parsed !== value) { - this._parsed = value; - } - }, - get: function () { - return this._parsed; - } - }, - _rawvalue: { - value: null - }, - rawvalue: { - set: function (value) { - if (this._rawvalue !== value) { - this._rawvalue = value; - } - }, - get: function () { - return this._rawvalue; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - }, - _value: { - value: null - }, - value: { - set: function (value) { - if (this._value !== value) { - this._value = value; - } - }, - get: function () { - return this._value; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "parsed", - valueObjectPrototypeName: "VolumePropertySizeValue", - valueType: "object" - }, { - mandatory: false, - name: "rawvalue", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "source", - valueObjectPrototypeName: "VolumePropertySource", - valueType: "object" - }, { - mandatory: false, - name: "value", - valueType: "String" - }] - } -}); diff --git a/core/model/models/volume-property-version.js b/core/model/models/volume-property-version.js deleted file mode 100644 index 218372d358..0000000000 --- a/core/model/models/volume-property-version.js +++ /dev/null @@ -1,79 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumePropertyVersion = Montage.specialize({ - _parsed: { - value: null - }, - parsed: { - set: function (value) { - if (this._parsed !== value) { - this._parsed = value; - } - }, - get: function () { - return this._parsed; - } - }, - _rawvalue: { - value: null - }, - rawvalue: { - set: function (value) { - if (this._rawvalue !== value) { - this._rawvalue = value; - } - }, - get: function () { - return this._rawvalue; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - }, - _value: { - value: null - }, - value: { - set: function (value) { - if (this._value !== value) { - this._value = value; - } - }, - get: function () { - return this._value; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "parsed", - valueObjectPrototypeName: "VolumePropertyVersionValue", - valueType: "object" - }, { - mandatory: false, - name: "rawvalue", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "source", - valueObjectPrototypeName: "VolumePropertySource", - valueType: "object" - }, { - mandatory: false, - name: "value", - valueType: "String" - }] - } -}); diff --git a/core/model/models/volume-snapshot-holds-anonymous.js b/core/model/models/volume-snapshot-holds-anonymous.js deleted file mode 100644 index 281e57deeb..0000000000 --- a/core/model/models/volume-snapshot-holds-anonymous.js +++ /dev/null @@ -1,3 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumeSnapshotHoldsAnonymous = Montage.specialize(); diff --git a/core/model/models/volume-snapshot-properties.js b/core/model/models/volume-snapshot-properties.js deleted file mode 100644 index 902cee45f6..0000000000 --- a/core/model/models/volume-snapshot-properties.js +++ /dev/null @@ -1,98 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumeSnapshotProperties = Montage.specialize({ - _clones: { - value: null - }, - clones: { - set: function (value) { - if (this._clones !== value) { - this._clones = value; - } - }, - get: function () { - return this._clones; - } - }, - _compressratio: { - value: null - }, - compressratio: { - set: function (value) { - if (this._compressratio !== value) { - this._compressratio = value; - } - }, - get: function () { - return this._compressratio; - } - }, - _creation: { - value: null - }, - creation: { - set: function (value) { - if (this._creation !== value) { - this._creation = value; - } - }, - get: function () { - return this._creation; - } - }, - _referenced: { - value: null - }, - referenced: { - set: function (value) { - if (this._referenced !== value) { - this._referenced = value; - } - }, - get: function () { - return this._referenced; - } - }, - _used: { - value: null - }, - used: { - set: function (value) { - if (this._used !== value) { - this._used = value; - } - }, - get: function () { - return this._used; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "clones", - valueObjectPrototypeName: "VolumeSnapshotPropertyClones", - valueType: "object" - }, { - mandatory: false, - name: "compressratio", - valueObjectPrototypeName: "VolumeSnapshotPropertyCompressratio", - valueType: "object" - }, { - mandatory: false, - name: "creation", - valueObjectPrototypeName: "VolumeSnapshotPropertyCreation", - valueType: "object" - }, { - mandatory: false, - name: "referenced", - valueObjectPrototypeName: "VolumeSnapshotPropertyReferenced", - valueType: "object" - }, { - mandatory: false, - name: "used", - valueObjectPrototypeName: "VolumeSnapshotPropertyUsed", - valueType: "object" - }] - } -}); diff --git a/core/model/models/volume-snapshot-property-clones.js b/core/model/models/volume-snapshot-property-clones.js deleted file mode 100644 index cb17bf4ebb..0000000000 --- a/core/model/models/volume-snapshot-property-clones.js +++ /dev/null @@ -1,79 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumeSnapshotPropertyClones = Montage.specialize({ - _parsed: { - value: null - }, - parsed: { - set: function (value) { - if (this._parsed !== value) { - this._parsed = value; - } - }, - get: function () { - return this._parsed; - } - }, - _rawvalue: { - value: null - }, - rawvalue: { - set: function (value) { - if (this._rawvalue !== value) { - this._rawvalue = value; - } - }, - get: function () { - return this._rawvalue; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - }, - _value: { - value: null - }, - value: { - set: function (value) { - if (this._value !== value) { - this._value = value; - } - }, - get: function () { - return this._value; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "parsed", - valueObjectPrototypeName: "VolumeSnapshotPropertyClonesValue", - valueType: "object" - }, { - mandatory: false, - name: "rawvalue", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "source", - valueObjectPrototypeName: "VolumePropertySource", - valueType: "object" - }, { - mandatory: false, - name: "value", - valueType: "String" - }] - } -}); diff --git a/core/model/models/volume-snapshot-property-compressratio.js b/core/model/models/volume-snapshot-property-compressratio.js deleted file mode 100644 index a745719939..0000000000 --- a/core/model/models/volume-snapshot-property-compressratio.js +++ /dev/null @@ -1,79 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumeSnapshotPropertyCompressratio = Montage.specialize({ - _parsed: { - value: null - }, - parsed: { - set: function (value) { - if (this._parsed !== value) { - this._parsed = value; - } - }, - get: function () { - return this._parsed; - } - }, - _rawvalue: { - value: null - }, - rawvalue: { - set: function (value) { - if (this._rawvalue !== value) { - this._rawvalue = value; - } - }, - get: function () { - return this._rawvalue; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - }, - _value: { - value: null - }, - value: { - set: function (value) { - if (this._value !== value) { - this._value = value; - } - }, - get: function () { - return this._value; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "parsed", - valueObjectPrototypeName: "VolumeSnapshotPropertyCompressratioValue", - valueType: "object" - }, { - mandatory: false, - name: "rawvalue", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "source", - valueObjectPrototypeName: "VolumePropertySource", - valueType: "object" - }, { - mandatory: false, - name: "value", - valueType: "String" - }] - } -}); diff --git a/core/model/models/volume-snapshot-property-creation.js b/core/model/models/volume-snapshot-property-creation.js deleted file mode 100644 index fa585302be..0000000000 --- a/core/model/models/volume-snapshot-property-creation.js +++ /dev/null @@ -1,79 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumeSnapshotPropertyCreation = Montage.specialize({ - _parsed: { - value: null - }, - parsed: { - set: function (value) { - if (this._parsed !== value) { - this._parsed = value; - } - }, - get: function () { - return this._parsed; - } - }, - _rawvalue: { - value: null - }, - rawvalue: { - set: function (value) { - if (this._rawvalue !== value) { - this._rawvalue = value; - } - }, - get: function () { - return this._rawvalue; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - }, - _value: { - value: null - }, - value: { - set: function (value) { - if (this._value !== value) { - this._value = value; - } - }, - get: function () { - return this._value; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "parsed", - valueObjectPrototypeName: "VolumeSnapshotPropertyCreationValue", - valueType: "object" - }, { - mandatory: false, - name: "rawvalue", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "source", - valueObjectPrototypeName: "VolumePropertySource", - valueType: "object" - }, { - mandatory: false, - name: "value", - valueType: "String" - }] - } -}); diff --git a/core/model/models/volume-snapshot-property-referenced.js b/core/model/models/volume-snapshot-property-referenced.js deleted file mode 100644 index bb181b2146..0000000000 --- a/core/model/models/volume-snapshot-property-referenced.js +++ /dev/null @@ -1,79 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumeSnapshotPropertyReferenced = Montage.specialize({ - _parsed: { - value: null - }, - parsed: { - set: function (value) { - if (this._parsed !== value) { - this._parsed = value; - } - }, - get: function () { - return this._parsed; - } - }, - _rawvalue: { - value: null - }, - rawvalue: { - set: function (value) { - if (this._rawvalue !== value) { - this._rawvalue = value; - } - }, - get: function () { - return this._rawvalue; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - }, - _value: { - value: null - }, - value: { - set: function (value) { - if (this._value !== value) { - this._value = value; - } - }, - get: function () { - return this._value; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "parsed", - valueObjectPrototypeName: "VolumeSnapshotPropertyReferencedValue", - valueType: "object" - }, { - mandatory: false, - name: "rawvalue", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "source", - valueObjectPrototypeName: "VolumePropertySource", - valueType: "object" - }, { - mandatory: false, - name: "value", - valueType: "String" - }] - } -}); diff --git a/core/model/models/volume-snapshot-property-used.js b/core/model/models/volume-snapshot-property-used.js deleted file mode 100644 index 9ba7424b2b..0000000000 --- a/core/model/models/volume-snapshot-property-used.js +++ /dev/null @@ -1,79 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumeSnapshotPropertyUsed = Montage.specialize({ - _parsed: { - value: null - }, - parsed: { - set: function (value) { - if (this._parsed !== value) { - this._parsed = value; - } - }, - get: function () { - return this._parsed; - } - }, - _rawvalue: { - value: null - }, - rawvalue: { - set: function (value) { - if (this._rawvalue !== value) { - this._rawvalue = value; - } - }, - get: function () { - return this._rawvalue; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - }, - _value: { - value: null - }, - value: { - set: function (value) { - if (this._value !== value) { - this._value = value; - } - }, - get: function () { - return this._value; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "parsed", - valueObjectPrototypeName: "VolumeSnapshotPropertyUsedValue", - valueType: "object" - }, { - mandatory: false, - name: "rawvalue", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "source", - valueObjectPrototypeName: "VolumePropertySource", - valueType: "object" - }, { - mandatory: false, - name: "value", - valueType: "String" - }] - } -}); diff --git a/core/model/models/volume-snapshot.js b/core/model/models/volume-snapshot.js deleted file mode 100644 index 51c01761e0..0000000000 --- a/core/model/models/volume-snapshot.js +++ /dev/null @@ -1,177 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumeSnapshot = Montage.specialize({ - _dataset: { - value: null - }, - dataset: { - set: function (value) { - if (this._dataset !== value) { - this._dataset = value; - } - }, - get: function () { - return this._dataset; - } - }, - _hidden: { - value: null - }, - hidden: { - set: function (value) { - if (this._hidden !== value) { - this._hidden = value; - } - }, - get: function () { - return this._hidden; - } - }, - _holds: { - value: null - }, - holds: { - set: function (value) { - if (this._holds !== value) { - this._holds = value; - } - }, - get: function () { - return this._holds; - } - }, - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _lifetime: { - value: null - }, - lifetime: { - set: function (value) { - if (this._lifetime !== value) { - this._lifetime = value; - } - }, - get: function () { - return this._lifetime; - } - }, - _name: { - value: null - }, - name: { - set: function (value) { - if (this._name !== value) { - this._name = value; - } - }, - get: function () { - return this._name; - } - }, - _properties: { - value: null - }, - properties: { - set: function (value) { - if (this._properties !== value) { - this._properties = value; - } - }, - get: function () { - return this._properties; - } - }, - _replicable: { - value: null - }, - replicable: { - set: function (value) { - if (this._replicable !== value) { - this._replicable = value; - } - }, - get: function () { - return this._replicable; - } - }, - _volume: { - value: null - }, - volume: { - set: function (value) { - if (this._volume !== value) { - this._volume = value; - } - }, - get: function () { - return this._volume; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "dataset", - valueType: "String" - }, { - mandatory: false, - name: "hidden", - valueType: "boolean" - }, { - mandatory: false, - name: "holds", - valueType: "object" - }, { - mandatory: false, - name: "id", - valueType: "String" - }, { - mandatory: false, - name: "lifetime", - valueType: "number" - }, { - mandatory: false, - name: "name", - valueType: "String" - }, { - mandatory: false, - name: "properties", - valueObjectPrototypeName: "VolumeSnapshotProperties", - valueType: "object" - }, { - mandatory: false, - name: "replicable", - valueType: "boolean" - }, { - mandatory: false, - name: "volume", - valueType: "String" - }] - }, - userInterfaceDescriptor: { - value: { - collectionInspectorComponentModule: { - id: 'ui/controls/viewer.reel' - }, - collectionNameExpression: "'Snapshots'", - inspectorComponentModule: { - id: 'ui/sections/storage/inspectors/snapshot.reel' - }, - creatorComponentModule: { - id: 'ui/sections/storage/inspectors/snapshot.reel' - }, - nameExpression: "id.defined() ? id : 'Create a snapshot'" - } - } -}); diff --git a/core/model/models/volume-vdev-recommendation.js b/core/model/models/volume-vdev-recommendation.js deleted file mode 100644 index 6162c87409..0000000000 --- a/core/model/models/volume-vdev-recommendation.js +++ /dev/null @@ -1,42 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumeVdevRecommendation = Montage.specialize({ - _drives: { - value: null - }, - drives: { - set: function (value) { - if (this._drives !== value) { - this._drives = value; - } - }, - get: function () { - return this._drives; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "drives", - valueType: "number" - }, { - mandatory: false, - name: "type", - valueType: "String" - }] - } -}); diff --git a/core/model/models/volume-vdev-recommendations-redundancy-anonymous.js b/core/model/models/volume-vdev-recommendations-redundancy-anonymous.js deleted file mode 100644 index 8827b80bc6..0000000000 --- a/core/model/models/volume-vdev-recommendations-redundancy-anonymous.js +++ /dev/null @@ -1,62 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumeVdevRecommendationsRedundancyAnonymous = Montage.specialize({ - _redundancy: { - value: null - }, - redundancy: { - set: function (value) { - if (this._redundancy !== value) { - this._redundancy = value; - } - }, - get: function () { - return this._redundancy; - } - }, - _speed: { - value: null - }, - speed: { - set: function (value) { - if (this._speed !== value) { - this._speed = value; - } - }, - get: function () { - return this._speed; - } - }, - _storage: { - value: null - }, - storage: { - set: function (value) { - if (this._storage !== value) { - this._storage = value; - } - }, - get: function () { - return this._storage; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "redundancy", - valueObjectPrototypeName: "VolumeVdevRecommendation", - valueType: "object" - }, { - mandatory: false, - name: "speed", - valueObjectPrototypeName: "VolumeVdevRecommendation", - valueType: "object" - }, { - mandatory: false, - name: "storage", - valueObjectPrototypeName: "VolumeVdevRecommendation", - valueType: "object" - }] - } -}); diff --git a/core/model/models/volume-vdev-recommendations-speed-anonymous.js b/core/model/models/volume-vdev-recommendations-speed-anonymous.js deleted file mode 100644 index 017ee8c7bc..0000000000 --- a/core/model/models/volume-vdev-recommendations-speed-anonymous.js +++ /dev/null @@ -1,62 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumeVdevRecommendationsSpeedAnonymous = Montage.specialize({ - _redundancy: { - value: null - }, - redundancy: { - set: function (value) { - if (this._redundancy !== value) { - this._redundancy = value; - } - }, - get: function () { - return this._redundancy; - } - }, - _speed: { - value: null - }, - speed: { - set: function (value) { - if (this._speed !== value) { - this._speed = value; - } - }, - get: function () { - return this._speed; - } - }, - _storage: { - value: null - }, - storage: { - set: function (value) { - if (this._storage !== value) { - this._storage = value; - } - }, - get: function () { - return this._storage; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "redundancy", - valueObjectPrototypeName: "VolumeVdevRecommendation", - valueType: "object" - }, { - mandatory: false, - name: "speed", - valueObjectPrototypeName: "VolumeVdevRecommendation", - valueType: "object" - }, { - mandatory: false, - name: "storage", - valueObjectPrototypeName: "VolumeVdevRecommendation", - valueType: "object" - }] - } -}); diff --git a/core/model/models/volume-vdev-recommendations-storage-anonymous.js b/core/model/models/volume-vdev-recommendations-storage-anonymous.js deleted file mode 100644 index 89181ed665..0000000000 --- a/core/model/models/volume-vdev-recommendations-storage-anonymous.js +++ /dev/null @@ -1,62 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumeVdevRecommendationsStorageAnonymous = Montage.specialize({ - _redundancy: { - value: null - }, - redundancy: { - set: function (value) { - if (this._redundancy !== value) { - this._redundancy = value; - } - }, - get: function () { - return this._redundancy; - } - }, - _speed: { - value: null - }, - speed: { - set: function (value) { - if (this._speed !== value) { - this._speed = value; - } - }, - get: function () { - return this._speed; - } - }, - _storage: { - value: null - }, - storage: { - set: function (value) { - if (this._storage !== value) { - this._storage = value; - } - }, - get: function () { - return this._storage; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "redundancy", - valueObjectPrototypeName: "VolumeVdevRecommendation", - valueType: "object" - }, { - mandatory: false, - name: "speed", - valueObjectPrototypeName: "VolumeVdevRecommendation", - valueType: "object" - }, { - mandatory: false, - name: "storage", - valueObjectPrototypeName: "VolumeVdevRecommendation", - valueType: "object" - }] - } -}); diff --git a/core/model/models/volume-vdev-recommendations.js b/core/model/models/volume-vdev-recommendations.js deleted file mode 100644 index 544318d7fa..0000000000 --- a/core/model/models/volume-vdev-recommendations.js +++ /dev/null @@ -1,59 +0,0 @@ -var Montage = require("montage").Montage; - -exports.VolumeVdevRecommendations = Montage.specialize({ - _redundancy: { - value: null - }, - redundancy: { - set: function (value) { - if (this._redundancy !== value) { - this._redundancy = value; - } - }, - get: function () { - return this._redundancy; - } - }, - _speed: { - value: null - }, - speed: { - set: function (value) { - if (this._speed !== value) { - this._speed = value; - } - }, - get: function () { - return this._speed; - } - }, - _storage: { - value: null - }, - storage: { - set: function (value) { - if (this._storage !== value) { - this._storage = value; - } - }, - get: function () { - return this._storage; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "redundancy", - valueType: "object" - }, { - mandatory: false, - name: "speed", - valueType: "object" - }, { - mandatory: false, - name: "storage", - valueType: "object" - }] - } -}); diff --git a/core/model/models/volume.js b/core/model/models/volume.js deleted file mode 100644 index 1e60c32185..0000000000 --- a/core/model/models/volume.js +++ /dev/null @@ -1,334 +0,0 @@ -var Montage = require("montage").Montage; - -exports.Volume = Montage.specialize({ - _attributes: { - value: null - }, - attributes: { - set: function (value) { - if (this._attributes !== value) { - this._attributes = value; - } - }, - get: function () { - return this._attributes; - } - }, - _auto_unlock: { - value: null - }, - auto_unlock: { - set: function (value) { - if (this._auto_unlock !== value) { - this._auto_unlock = value; - } - }, - get: function () { - return this._auto_unlock; - } - }, - _encryption: { - value: null - }, - encryption: { - set: function (value) { - if (this._encryption !== value) { - this._encryption = value; - } - }, - get: function () { - return this._encryption; - } - }, - _guid: { - value: null - }, - guid: { - set: function (value) { - if (this._guid !== value) { - this._guid = value; - } - }, - get: function () { - return this._guid; - } - }, - _id: { - value: null - }, - id: { - set: function (value) { - if (this._id !== value) { - this._id = value; - } - }, - get: function () { - return this._id; - } - }, - _key_encrypted: { - value: null - }, - key_encrypted: { - set: function (value) { - if (this._key_encrypted !== value) { - this._key_encrypted = value; - } - }, - get: function () { - return this._key_encrypted; - } - }, - _mountpoint: { - value: null - }, - mountpoint: { - set: function (value) { - if (this._mountpoint !== value) { - this._mountpoint = value; - } - }, - get: function () { - return this._mountpoint; - } - }, - _params: { - value: null - }, - params: { - set: function (value) { - if (this._params !== value) { - this._params = value; - } - }, - get: function () { - return this._params; - } - }, - _password_encrypted: { - value: null - }, - password_encrypted: { - set: function (value) { - if (this._password_encrypted !== value) { - this._password_encrypted = value; - } - }, - get: function () { - return this._password_encrypted; - } - }, - _properties: { - value: null - }, - properties: { - set: function (value) { - if (this._properties !== value) { - this._properties = value; - } - }, - get: function () { - return this._properties; - } - }, - _providers_presence: { - value: null - }, - providers_presence: { - set: function (value) { - if (this._providers_presence !== value) { - this._providers_presence = value; - } - }, - get: function () { - return this._providers_presence; - } - }, - _rname: { - value: null - }, - rname: { - set: function (value) { - if (this._rname !== value) { - this._rname = value; - } - }, - get: function () { - return this._rname; - } - }, - _scan: { - value: null - }, - scan: { - set: function (value) { - if (this._scan !== value) { - this._scan = value; - } - }, - get: function () { - return this._scan; - } - }, - _status: { - value: null - }, - status: { - set: function (value) { - if (this._status !== value) { - this._status = value; - } - }, - get: function () { - return this._status; - } - }, - _topology: { - value: null - }, - topology: { - set: function (value) { - if (this._topology !== value) { - this._topology = value; - } - }, - get: function () { - return this._topology; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - }, - _upgraded: { - value: null - }, - upgraded: { - set: function (value) { - if (this._upgraded !== value) { - this._upgraded = value; - } - }, - get: function () { - return this._upgraded; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "attributes", - valueType: "object" - }, { - mandatory: false, - name: "auto_unlock", - valueType: "boolean" - }, { - mandatory: false, - name: "encryption", - valueObjectPrototypeName: "VolumeEncryption", - valueType: "object" - }, { - mandatory: false, - name: "guid", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "id", - valueType: "String" - }, { - mandatory: false, - name: "key_encrypted", - valueType: "boolean" - }, { - mandatory: false, - name: "mountpoint", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "params", - valueType: "object" - }, { - mandatory: false, - name: "password_encrypted", - valueType: "boolean" - }, { - mandatory: false, - name: "properties", - readOnly: true, - valueObjectPrototypeName: "VolumeProperties", - valueType: "object" - }, { - mandatory: false, - name: "providers_presence", - readOnly: true, - valueObjectPrototypeName: "VolumeProviderspresence", - valueType: "object" - }, { - mandatory: false, - name: "rname", - valueType: "String" - }, { - mandatory: false, - name: "scan", - valueObjectPrototypeName: "ZfsScan", - valueType: "object" - }, { - mandatory: false, - name: "status", - valueObjectPrototypeName: "VolumeStatus", - valueType: "object" - }, { - mandatory: false, - name: "topology", - valueObjectPrototypeName: "ZfsTopology", - valueType: "object" - }, { - mandatory: false, - name: "type", - valueType: "String" - }, { - mandatory: false, - name: "upgraded", - readOnly: true, - valueType: "boolean" - }] - }, - userInterfaceDescriptor: { - value: { - collectionInspectorComponentModule: { - id: 'ui/controls/viewer.reel' - }, - collectionNameExpression: "'Volumes'", - inspectorComponentModule: { - id: 'ui/sections/storage/inspectors/volume.reel' - }, - creatorComponentModule: { - id: 'ui/sections/storage/inspectors/volume-creator.reel' - }, - nameExpression: "name.defined() ? name : id.defined() ? id : 'Create a volume'", - sortExpression: "name.defined() + '' + id", - statusColorMapping: { - "ONLINE": "green", - "OFFLINE": "grey", - "UNAVAIL": "red", - "FAULTED": "red", - "DEGRADED": "yellow" - }, - statusValueExpression: "properties.health.parsed", - wizardComponentModuleId: "ui/sections/wizard/inspectors/volume.reel", - wizardTitle: "Create a volume" - } - } -}); diff --git a/core/model/models/winbind-directory-params.js b/core/model/models/winbind-directory-params.js deleted file mode 100644 index 461f364534..0000000000 --- a/core/model/models/winbind-directory-params.js +++ /dev/null @@ -1,178 +0,0 @@ -var Montage = require("montage").Montage; - -exports.WinbindDirectoryParams = Montage.specialize({ - "_%type": { - value: null - }, - "%type": { - set: function (value) { - if (this["_%type"] !== value) { - this["_%type"] = value; - } - }, - get: function () { - return this["_%type"]; - } - }, - _allow_dns_updates: { - value: null - }, - allow_dns_updates: { - set: function (value) { - if (this._allow_dns_updates !== value) { - this._allow_dns_updates = value; - } - }, - get: function () { - return this._allow_dns_updates; - } - }, - _dc_address: { - value: null - }, - dc_address: { - set: function (value) { - if (this._dc_address !== value) { - this._dc_address = value; - } - }, - get: function () { - return this._dc_address; - } - }, - _gcs_address: { - value: null - }, - gcs_address: { - set: function (value) { - if (this._gcs_address !== value) { - this._gcs_address = value; - } - }, - get: function () { - return this._gcs_address; - } - }, - _krb_principal: { - value: null - }, - krb_principal: { - set: function (value) { - if (this._krb_principal !== value) { - this._krb_principal = value; - } - }, - get: function () { - return this._krb_principal; - } - }, - _password: { - value: null - }, - password: { - set: function (value) { - if (this._password !== value) { - this._password = value; - } - }, - get: function () { - return this._password; - } - }, - _realm: { - value: null - }, - realm: { - set: function (value) { - if (this._realm !== value) { - this._realm = value; - } - }, - get: function () { - return this._realm; - } - }, - _sasl_wrapping: { - value: null - }, - sasl_wrapping: { - set: function (value) { - if (this._sasl_wrapping !== value) { - this._sasl_wrapping = value; - } - }, - get: function () { - return this._sasl_wrapping; - } - }, - _site_name: { - value: null - }, - site_name: { - set: function (value) { - if (this._site_name !== value) { - this._site_name = value; - } - }, - get: function () { - return this._site_name; - } - }, - _username: { - value: null - }, - username: { - set: function (value) { - if (this._username !== value) { - this._username = value; - } - }, - get: function () { - return this._username; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "%type" - }, { - mandatory: false, - name: "allow_dns_updates", - valueType: "boolean" - }, { - mandatory: false, - name: "dc_address", - valueType: "String" - }, { - mandatory: false, - name: "gcs_address", - valueType: "String" - }, { - mandatory: false, - name: "krb_principal", - valueType: "String" - }, { - mandatory: false, - name: "password", - valueType: "String" - }, { - mandatory: false, - name: "realm", - valueType: "String" - }, { - mandatory: false, - name: "sasl_wrapping", - valueObjectPrototypeName: "LdapDirectoryParamsSaslWrapping", - valueType: "object" - }, { - mandatory: false, - name: "site_name", - valueType: "String" - }, { - mandatory: false, - name: "username", - valueType: "String" - }] - } -}); diff --git a/core/model/models/winbind-directory-status.js b/core/model/models/winbind-directory-status.js deleted file mode 100644 index a8c28bc3e3..0000000000 --- a/core/model/models/winbind-directory-status.js +++ /dev/null @@ -1,75 +0,0 @@ -var Montage = require("montage").Montage; - -exports.WinbindDirectoryStatus = Montage.specialize({ - _domain_controller: { - value: null - }, - domain_controller: { - set: function (value) { - if (this._domain_controller !== value) { - this._domain_controller = value; - } - }, - get: function () { - return this._domain_controller; - } - }, - _joined: { - value: null - }, - joined: { - set: function (value) { - if (this._joined !== value) { - this._joined = value; - } - }, - get: function () { - return this._joined; - } - }, - _server_time: { - value: null - }, - server_time: { - set: function (value) { - if (this._server_time !== value) { - this._server_time = value; - } - }, - get: function () { - return this._server_time; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "domain_controller", - valueType: "String" - }, { - mandatory: false, - name: "joined", - valueType: "boolean" - }, { - mandatory: false, - name: "server_time", - valueType: "datetime" - }, { - mandatory: false, - name: "type" - }] - } -}); diff --git a/core/model/models/zfs-dataset-properties-anonymous.js b/core/model/models/zfs-dataset-properties-anonymous.js deleted file mode 100644 index ea3447647c..0000000000 --- a/core/model/models/zfs-dataset-properties-anonymous.js +++ /dev/null @@ -1,3 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ZfsDatasetPropertiesAnonymous = Montage.specialize(); diff --git a/core/model/models/zfs-dataset.js b/core/model/models/zfs-dataset.js deleted file mode 100644 index 72fea186b7..0000000000 --- a/core/model/models/zfs-dataset.js +++ /dev/null @@ -1,95 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ZfsDataset = Montage.specialize({ - _children: { - value: null - }, - children: { - set: function (value) { - if (this._children !== value) { - this._children = value; - } - }, - get: function () { - return this._children; - } - }, - _name: { - value: null - }, - name: { - set: function (value) { - if (this._name !== value) { - this._name = value; - } - }, - get: function () { - return this._name; - } - }, - _pool: { - value: null - }, - pool: { - set: function (value) { - if (this._pool !== value) { - this._pool = value; - } - }, - get: function () { - return this._pool; - } - }, - _properties: { - value: null - }, - properties: { - set: function (value) { - if (this._properties !== value) { - this._properties = value; - } - }, - get: function () { - return this._properties; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "children", - valueObjectPrototypeName: "ZfsDataset", - valueType: "array" - }, { - mandatory: false, - name: "name", - valueType: "String" - }, { - mandatory: false, - name: "pool", - valueType: "String" - }, { - mandatory: false, - name: "properties", - valueType: "object" - }, { - mandatory: false, - name: "type", - valueObjectPrototypeName: "DatasetType", - valueType: "object" - }] - } -}); diff --git a/core/model/models/zfs-pool.js b/core/model/models/zfs-pool.js deleted file mode 100644 index b3d8c746e7..0000000000 --- a/core/model/models/zfs-pool.js +++ /dev/null @@ -1,149 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ZfsPool = Montage.specialize({ - _groups: { - value: null - }, - groups: { - set: function (value) { - if (this._groups !== value) { - this._groups = value; - } - }, - get: function () { - return this._groups; - } - }, - _guid: { - value: null - }, - guid: { - set: function (value) { - if (this._guid !== value) { - this._guid = value; - } - }, - get: function () { - return this._guid; - } - }, - _hostname: { - value: null - }, - hostname: { - set: function (value) { - if (this._hostname !== value) { - this._hostname = value; - } - }, - get: function () { - return this._hostname; - } - }, - _name: { - value: null - }, - name: { - set: function (value) { - if (this._name !== value) { - this._name = value; - } - }, - get: function () { - return this._name; - } - }, - _properties: { - value: null - }, - properties: { - set: function (value) { - if (this._properties !== value) { - this._properties = value; - } - }, - get: function () { - return this._properties; - } - }, - _root_dataset: { - value: null - }, - root_dataset: { - set: function (value) { - if (this._root_dataset !== value) { - this._root_dataset = value; - } - }, - get: function () { - return this._root_dataset; - } - }, - _scan: { - value: null - }, - scan: { - set: function (value) { - if (this._scan !== value) { - this._scan = value; - } - }, - get: function () { - return this._scan; - } - }, - _status: { - value: null - }, - status: { - set: function (value) { - if (this._status !== value) { - this._status = value; - } - }, - get: function () { - return this._status; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "groups", - valueObjectPrototypeName: "ZfsTopology", - valueType: "object" - }, { - mandatory: false, - name: "guid", - valueType: "number" - }, { - mandatory: false, - name: "hostname", - valueType: "String" - }, { - mandatory: false, - name: "name", - valueType: "String" - }, { - mandatory: false, - name: "properties", - valueObjectPrototypeName: "ZfsProperties", - valueType: "object" - }, { - mandatory: false, - name: "root_dataset", - valueObjectPrototypeName: "ZfsDataset", - valueType: "object" - }, { - mandatory: false, - name: "scan", - valueObjectPrototypeName: "ZfsScan", - valueType: "object" - }, { - mandatory: false, - name: "status", - valueObjectPrototypeName: "ZfsPoolStatus", - valueType: "object" - }] - } -}); diff --git a/core/model/models/zfs-property.js b/core/model/models/zfs-property.js deleted file mode 100644 index 660cea1b5c..0000000000 --- a/core/model/models/zfs-property.js +++ /dev/null @@ -1,77 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ZfsProperty = Montage.specialize({ - _parsed: { - value: null - }, - parsed: { - set: function (value) { - if (this._parsed !== value) { - this._parsed = value; - } - }, - get: function () { - return this._parsed; - } - }, - _rawvalue: { - value: null - }, - rawvalue: { - set: function (value) { - if (this._rawvalue !== value) { - this._rawvalue = value; - } - }, - get: function () { - return this._rawvalue; - } - }, - _source: { - value: null - }, - source: { - set: function (value) { - if (this._source !== value) { - this._source = value; - } - }, - get: function () { - return this._source; - } - }, - _value: { - value: null - }, - value: { - set: function (value) { - if (this._value !== value) { - this._value = value; - } - }, - get: function () { - return this._value; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "parsed", - valueType: "String" - }, { - mandatory: false, - name: "rawvalue", - valueType: "String" - }, { - mandatory: false, - name: "source", - valueObjectPrototypeName: "ZfsPropertySource", - valueType: "object" - }, { - mandatory: false, - name: "value", - valueType: "String" - }] - } -}); diff --git a/core/model/models/zfs-scan.js b/core/model/models/zfs-scan.js deleted file mode 100644 index 624a39dde9..0000000000 --- a/core/model/models/zfs-scan.js +++ /dev/null @@ -1,144 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ZfsScan = Montage.specialize({ - _bytes_processed: { - value: null - }, - bytes_processed: { - set: function (value) { - if (this._bytes_processed !== value) { - this._bytes_processed = value; - } - }, - get: function () { - return this._bytes_processed; - } - }, - _bytes_to_process: { - value: null - }, - bytes_to_process: { - set: function (value) { - if (this._bytes_to_process !== value) { - this._bytes_to_process = value; - } - }, - get: function () { - return this._bytes_to_process; - } - }, - _end_time: { - value: null - }, - end_time: { - set: function (value) { - if (this._end_time !== value) { - this._end_time = value; - } - }, - get: function () { - return this._end_time; - } - }, - _errors: { - value: null - }, - errors: { - set: function (value) { - if (this._errors !== value) { - this._errors = value; - } - }, - get: function () { - return this._errors; - } - }, - _func: { - value: null - }, - func: { - set: function (value) { - if (this._func !== value) { - this._func = value; - } - }, - get: function () { - return this._func; - } - }, - _percentage: { - value: null - }, - percentage: { - set: function (value) { - if (this._percentage !== value) { - this._percentage = value; - } - }, - get: function () { - return this._percentage; - } - }, - _start_time: { - value: null - }, - start_time: { - set: function (value) { - if (this._start_time !== value) { - this._start_time = value; - } - }, - get: function () { - return this._start_time; - } - }, - _state: { - value: null - }, - state: { - set: function (value) { - if (this._state !== value) { - this._state = value; - } - }, - get: function () { - return this._state; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "bytes_processed", - valueType: "number" - }, { - mandatory: false, - name: "bytes_to_process", - valueType: "number" - }, { - mandatory: false, - name: "end_time", - valueType: "datetime" - }, { - mandatory: false, - name: "errors", - valueType: "number" - }, { - mandatory: false, - name: "func", - valueType: "number" - }, { - mandatory: false, - name: "percentage", - valueType: "number" - }, { - mandatory: false, - name: "start_time", - valueType: "datetime" - }, { - mandatory: false, - name: "state", - valueType: "String" - }] - } -}); diff --git a/core/model/models/zfs-snapshot-holds-anonymous.js b/core/model/models/zfs-snapshot-holds-anonymous.js deleted file mode 100644 index 5ce5994b8f..0000000000 --- a/core/model/models/zfs-snapshot-holds-anonymous.js +++ /dev/null @@ -1,3 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ZfsSnapshotHoldsAnonymous = Montage.specialize(); diff --git a/core/model/models/zfs-snapshot-properties-anonymous.js b/core/model/models/zfs-snapshot-properties-anonymous.js deleted file mode 100644 index 89da1dbead..0000000000 --- a/core/model/models/zfs-snapshot-properties-anonymous.js +++ /dev/null @@ -1,3 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ZfsSnapshotPropertiesAnonymous = Montage.specialize(); diff --git a/core/model/models/zfs-snapshot.js b/core/model/models/zfs-snapshot.js deleted file mode 100644 index e52d702dce..0000000000 --- a/core/model/models/zfs-snapshot.js +++ /dev/null @@ -1,111 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ZfsSnapshot = Montage.specialize({ - _dataset: { - value: null - }, - dataset: { - set: function (value) { - if (this._dataset !== value) { - this._dataset = value; - } - }, - get: function () { - return this._dataset; - } - }, - _holds: { - value: null - }, - holds: { - set: function (value) { - if (this._holds !== value) { - this._holds = value; - } - }, - get: function () { - return this._holds; - } - }, - _name: { - value: null - }, - name: { - set: function (value) { - if (this._name !== value) { - this._name = value; - } - }, - get: function () { - return this._name; - } - }, - _pool: { - value: null - }, - pool: { - set: function (value) { - if (this._pool !== value) { - this._pool = value; - } - }, - get: function () { - return this._pool; - } - }, - _properties: { - value: null - }, - properties: { - set: function (value) { - if (this._properties !== value) { - this._properties = value; - } - }, - get: function () { - return this._properties; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "dataset", - valueType: "String" - }, { - mandatory: false, - name: "holds", - valueType: "object" - }, { - mandatory: false, - name: "name", - valueType: "String" - }, { - mandatory: false, - name: "pool", - valueType: "String" - }, { - mandatory: false, - name: "properties", - valueType: "object" - }, { - mandatory: false, - name: "type", - valueObjectPrototypeName: "DatasetType", - valueType: "object" - }] - } -}); diff --git a/core/model/models/zfs-topology.js b/core/model/models/zfs-topology.js deleted file mode 100644 index 57c50c723b..0000000000 --- a/core/model/models/zfs-topology.js +++ /dev/null @@ -1,88 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ZfsTopology = Montage.specialize({ - _cache: { - value: null - }, - cache: { - set: function (value) { - if (this._cache !== value) { - this._cache = value; - } - }, - get: function () { - return this._cache; - } - }, - _data: { - value: null - }, - data: { - set: function (value) { - if (this._data !== value) { - this._data = value; - } - }, - get: function () { - return this._data; - } - }, - _log: { - value: null - }, - log: { - set: function (value) { - if (this._log !== value) { - this._log = value; - } - }, - get: function () { - return this._log; - } - }, - _spare: { - value: null - }, - spare: { - set: function (value) { - if (this._spare !== value) { - this._spare = value; - } - }, - get: function () { - return this._spare; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "cache", - valueObjectPrototypeName: "ZfsVdev", - valueType: "array" - }, { - mandatory: false, - name: "data", - valueObjectPrototypeName: "ZfsVdev", - valueType: "array" - }, { - mandatory: false, - name: "log", - valueObjectPrototypeName: "ZfsVdev", - valueType: "array" - }, { - mandatory: false, - name: "spare", - valueObjectPrototypeName: "ZfsVdev", - valueType: "array" - }] - }, - userInterfaceDescriptor: { - value: { - inspectorComponentModule: { - id: 'ui/sections/storage/inspectors/topology.reel' - }, - nameExpression: "'Topology'" - } - } -}); diff --git a/core/model/models/zfs-vdev-extension.js b/core/model/models/zfs-vdev-extension.js deleted file mode 100644 index 0f7256d00a..0000000000 --- a/core/model/models/zfs-vdev-extension.js +++ /dev/null @@ -1,43 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ZfsVdevExtension = Montage.specialize({ - _target_guid: { - value: null - }, - target_guid: { - set: function (value) { - if (this._target_guid !== value) { - this._target_guid = value; - } - }, - get: function () { - return this._target_guid; - } - }, - _vdev: { - value: null - }, - vdev: { - set: function (value) { - if (this._vdev !== value) { - this._vdev = value; - } - }, - get: function () { - return this._vdev; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "target_guid", - valueType: "String" - }, { - mandatory: false, - name: "vdev", - valueObjectPrototypeName: "ZfsVdev", - valueType: "object" - }] - } -}); diff --git a/core/model/models/zfs-vdev-stats-anonymous.js b/core/model/models/zfs-vdev-stats-anonymous.js deleted file mode 100644 index ee54221486..0000000000 --- a/core/model/models/zfs-vdev-stats-anonymous.js +++ /dev/null @@ -1,3 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ZfsVdevStatsAnonymous = Montage.specialize(); diff --git a/core/model/models/zfs-vdev.js b/core/model/models/zfs-vdev.js deleted file mode 100644 index 88f6a79548..0000000000 --- a/core/model/models/zfs-vdev.js +++ /dev/null @@ -1,131 +0,0 @@ -var Montage = require("montage").Montage; - -exports.ZfsVdev = Montage.specialize({ - _children: { - value: null - }, - children: { - set: function (value) { - if (this._children !== value) { - this._children = value; - } - }, - get: function () { - return this._children; - } - }, - _disk_id: { - value: null - }, - disk_id: { - set: function (value) { - if (this._disk_id !== value) { - this._disk_id = value; - } - }, - get: function () { - return this._disk_id; - } - }, - _guid: { - value: null - }, - guid: { - set: function (value) { - if (this._guid !== value) { - this._guid = value; - } - }, - get: function () { - return this._guid; - } - }, - _path: { - value: null - }, - path: { - set: function (value) { - if (this._path !== value) { - this._path = value; - } - }, - get: function () { - return this._path; - } - }, - _stats: { - value: null - }, - stats: { - set: function (value) { - if (this._stats !== value) { - this._stats = value; - } - }, - get: function () { - return this._stats; - } - }, - _status: { - value: null - }, - status: { - set: function (value) { - if (this._status !== value) { - this._status = value; - } - }, - get: function () { - return this._status; - } - }, - _type: { - value: null - }, - type: { - set: function (value) { - if (this._type !== value) { - this._type = value; - } - }, - get: function () { - return this._type; - } - } -}, { - propertyBlueprints: { - value: [{ - mandatory: false, - name: "children", - valueObjectPrototypeName: "ZfsVdev", - valueType: "array" - }, { - mandatory: false, - name: "disk_id", - valueType: "String" - }, { - mandatory: false, - name: "guid", - valueType: "String" - }, { - mandatory: false, - name: "path", - valueType: "String" - }, { - mandatory: false, - name: "stats", - readOnly: true, - valueType: "object" - }, { - mandatory: false, - name: "status", - readOnly: true, - valueType: "String" - }, { - mandatory: false, - name: "type", - valueObjectPrototypeName: "ZfsVdevType", - valueType: "object" - }] - } -}); diff --git a/core/model/property-type-service.js b/core/model/property-type-service.js deleted file mode 100644 index 21a086a832..0000000000 --- a/core/model/property-type-service.js +++ /dev/null @@ -1,72 +0,0 @@ -var Model = require('./model').Model; - -var PropertyTypeService = function() { - this._mappings = { - Share: { - properties: { - discriminator: 'type', - mapping: { - smb: Model.ShareSmb, - afp: Model.ShareAfp, - nfs: Model.ShareNfs - } - } - }, - Service: { - config: { - discriminator: 'name', - mapping: { - smb: Model.ServiceSmb, - sshd: Model.ServiceSshd, - nfs: Model.ServiceNfs, - afp: Model.ServiceAfp, - smartd: Model.ServiceSmartd - } - } - }, - Peer: { - credentials: { - discriminator: 'type', - mapping: { - ssh: Model.SshCredentials - } - } - }, - NetworkInterface: { - vlan: { - discriminator: 'type', - mapping: { - VLAN: Model.NetworkInterfaceVlan - } - }, - lagg: { - discriminator: 'type', - mapping: { - LAGG: Model.NetworkInterfaceLagg - } - }, - bridge: { - discriminator: 'type', - mapping: { - BRIDGE: Model.NetworkInterfaceBridge - } - } - } - }; - - this.getTypeForObjectProperty = function(object, data, propertyKey) { - if (object && object.constructor && object.constructor.Type) { - var objectTypeName = object.constructor.Type.typeName, - objectMappings = this._mappings[objectTypeName]; - if (objectMappings) { - var propertyMapping = objectMappings[propertyKey]; - if (propertyMapping) { - return propertyMapping.mapping[data[propertyMapping.discriminator]]; - } - } - } - return null; - }; -}; - -exports.propertyTypeService = new PropertyTypeService(); diff --git a/core/model/services.js b/core/model/services.js deleted file mode 100644 index 52d2f65dda..0000000000 --- a/core/model/services.js +++ /dev/null @@ -1,114 +0,0 @@ -var Montage = require("montage/core/core").Montage, - servicesMJSON = require("./services.mjson"); - - -//todo: need review with @benoit -var CRUD_MAP = { - create: "create", - read: "read", - update: "update", - delete: "delete" - }, - - CRUD_ARRAY = Object.keys(CRUD_MAP); - - -/** - * @class Services - * @extends Montage - */ -exports.Services = Montage.specialize(/* @lends Services# */null, { - - findServicesForType: { - value: function (type) { - var services = servicesMJSON[typeof type === "string" ? type : type.typeName]; - if (services) { - return services.instance; - } - return null; - } - }, - - findCreateServiceForType: { - value: function (type) { - return this._findCrudServiceForType(CRUD_MAP.create, type); - } - }, - - findReadServiceForType: { - value: function (type) { - return this._findCrudServiceForType(CRUD_MAP.read, type); - } - }, - - findUpdateServiceForType: { - value: function (type) { - return this._findCrudServiceForType(CRUD_MAP.update, type); - } - }, - - findDeleteServiceForType: { - value: function (type) { - return this._findCrudServiceForType(CRUD_MAP.delete, type); - } - }, - - - findInstanceServicesForType: { - value: function (type) { - return this._findServicesForType(type, true); - } - }, - - - findClassServicesForType: { - value: function (type) { - return this._findServicesForType(type, false); - } - }, - - - _findServicesForType: { - value: function (type, shouldGetInstanceServices) { - var servicesForType = servicesMJSON[type.typeName], - services = null; - - if (servicesForType) { - servicesForType = shouldGetInstanceServices ? servicesForType.instance : servicesForType.class; - - if (servicesForType) { - var servicesForTypeKeys = Object.keys(servicesForType), - servicesForTypeKey; - - for (var i = 0, length = servicesForTypeKeys.length; i < length; i++) { - servicesForTypeKey = servicesForTypeKeys[i]; - - if (CRUD_ARRAY.indexOf(servicesForTypeKey) === -1) { - if (!services) { - services = Object.create(null); - } - - services[servicesForTypeKey] = servicesForType[servicesForTypeKey]; - } - } - } - } - - return services; - } - }, - - _findCrudServiceForType: { - value: function (crudAction, type) { - var services = this.findServicesForType(type); - - if (services) { - return services[crudAction] || null; - } - - return null; - } - } - -}); - diff --git a/core/model/services.mjson b/core/model/services.mjson deleted file mode 100644 index 9070282798..0000000000 --- a/core/model/services.mjson +++ /dev/null @@ -1,4549 +0,0 @@ -{ - "Alert": { - "class": { - "dismiss": { - "method": "alert.dismiss", - "name": "call", - "namespace": "rpc" - }, - "dismissAll": { - "method": "alert.dismiss_all", - "name": "call", - "namespace": "rpc" - }, - "getAlertClasses": { - "method": "alert.get_alert_classes", - "name": "call", - "namespace": "rpc" - } - }, - "instance": { - "read": { - "method": "alert.query", - "name": "call", - "namespace": "rpc" - }, - "send": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "alert.send" - } - } - }, - "AlertFilter": { - "instance": { - "create": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "restrictions": { - "requiredFields": [ - "id", - "emitter", - "parameters" - ] - }, - "task": "alert.filter.create" - }, - "delete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "alert.filter.delete" - }, - "read": { - "method": "alert.filter.query", - "name": "call", - "namespace": "rpc" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "alert.filter.update" - } - } - }, - "AlertdAlert": { - "class": { - "cancel": { - "method": "alertd.alert.cancel", - "name": "call", - "namespace": "rpc" - }, - "emit": { - "method": "alertd.alert.emit", - "name": "call", - "namespace": "rpc" - } - } - }, - "AlertdManagement": { - "class": { - "die": { - "method": "alertd.management.die", - "name": "call", - "namespace": "rpc" - }, - "rescanPlugins": { - "method": "alertd.management.rescan_plugins", - "name": "call", - "namespace": "rpc" - } - } - }, - "Backup": { - "class": { - "supportedProviders": { - "method": "backup.supported_providers", - "name": "call", - "namespace": "rpc" - } - }, - "instance": { - "create": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "restrictions": { - "requiredFields": [ - "name", - "provider", - "dataset" - ] - }, - "task": "backup.create" - }, - "delete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "backup.delete" - }, - "query": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "backup.query" - }, - "read": { - "method": "backup.query", - "name": "call", - "namespace": "rpc" - }, - "restore": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "backup.restore" - }, - "sync": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "backup.sync" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "restrictions": { - "forbiddenFields": [ - "id", - "provider", - "dataset" - ] - }, - "task": "backup.update" - } - } - }, - "BackupS3": { - "instance": { - "get": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "backup.s3.get" - }, - "init": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "backup.s3.init" - }, - "list": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "backup.s3.list" - }, - "put": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "backup.s3.put" - } - } - }, - "BackupSsh": { - "instance": { - "delete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "backup.ssh.delete" - }, - "get": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "backup.ssh.get" - }, - "init": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "backup.ssh.init" - }, - "list": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "backup.ssh.list" - }, - "put": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "backup.ssh.put" - } - } - }, - "BootEnvironment": { - "instance": { - "activate": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "boot.environment.activate" - }, - "clone": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "boot.environment.clone" - }, - "delete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "boot.environment.delete" - }, - "read": { - "method": "boot.environment.query", - "name": "call", - "namespace": "rpc" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "boot.environment.update" - } - } - }, - "BootPool": { - "instance": { - "read": { - "method": "boot.pool.get_config", - "name": "call", - "namespace": "rpc" - } - } - }, - "CalendarTask": { - "instance": { - "changeTimezone": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "calendar_task.change_timezone" - }, - "command": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "calendar_task.command" - }, - "create": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "restrictions": { - "forbiddenFields": [ - "status" - ], - "requiredFields": [ - "name" - ] - }, - "task": "calendar_task.create" - }, - "delete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "calendar_task.delete" - }, - "read": { - "method": "calendar_task.query", - "name": "call", - "namespace": "rpc" - }, - "run": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "calendar_task.run" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "restrictions": { - "forbiddenFields": [ - "status" - ] - }, - "task": "calendar_task.update" - } - } - }, - "ContainerdDocker": { - "class": { - "connectContainerToNetwork": { - "method": "containerd.docker.connect_container_to_network", - "name": "call", - "namespace": "rpc" - }, - "createContainer": { - "method": "containerd.docker.create_container", - "name": "call", - "namespace": "rpc" - }, - "createExec": { - "method": "containerd.docker.create_exec", - "name": "call", - "namespace": "rpc" - }, - "createNetwork": { - "method": "containerd.docker.create_network", - "name": "call", - "namespace": "rpc" - }, - "deleteContainer": { - "method": "containerd.docker.delete_container", - "name": "call", - "namespace": "rpc" - }, - "deleteImage": { - "method": "containerd.docker.delete_image", - "name": "call", - "namespace": "rpc" - }, - "deleteNetwork": { - "method": "containerd.docker.delete_network", - "name": "call", - "namespace": "rpc" - }, - "disconnectContainerFromNetwork": { - "method": "containerd.docker.disconnect_container_from_network", - "name": "call", - "namespace": "rpc" - }, - "getHostStatus": { - "method": "containerd.docker.get_host_status", - "name": "call", - "namespace": "rpc" - }, - "hostNameByContainerId": { - "method": "containerd.docker.host_name_by_container_id", - "name": "call", - "namespace": "rpc" - }, - "hostNameByNetworkId": { - "method": "containerd.docker.host_name_by_network_id", - "name": "call", - "namespace": "rpc" - }, - "labelsToPresets": { - "method": "containerd.docker.labels_to_presets", - "name": "call", - "namespace": "rpc" - }, - "pull": { - "method": "containerd.docker.pull", - "name": "call", - "namespace": "rpc" - }, - "queryContainers": { - "method": "containerd.docker.query_containers", - "name": "call", - "namespace": "rpc" - }, - "queryImages": { - "method": "containerd.docker.query_images", - "name": "call", - "namespace": "rpc" - }, - "queryNetworks": { - "method": "containerd.docker.query_networks", - "name": "call", - "namespace": "rpc" - }, - "setApiForwarding": { - "method": "containerd.docker.set_api_forwarding", - "name": "call", - "namespace": "rpc" - }, - "start": { - "method": "containerd.docker.start", - "name": "call", - "namespace": "rpc" - }, - "stop": { - "method": "containerd.docker.stop", - "name": "call", - "namespace": "rpc" - } - } - }, - "CryptoCertificate": { - "class": { - "getCountryCodes": { - "method": "crypto.certificate.get_country_codes", - "name": "call", - "namespace": "rpc" - } - }, - "instance": { - "create": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "restrictions": { - "forbiddenFields": [ - "certificate_path", - "privatekey_path" - ], - "requiredFields": [ - "type", - "name", - "country", - "state", - "city", - "organization", - "email", - "common" - ] - }, - "task": "crypto.certificate.create" - }, - "delete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "crypto.certificate.delete" - }, - "import": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "crypto.certificate.import" - }, - "read": { - "method": "crypto.certificate.query", - "name": "call", - "namespace": "rpc" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "restrictions": { - "forbiddenFields": [ - "certificate_path", - "privatekey_path" - ] - }, - "task": "crypto.certificate.update" - } - } - }, - "DebugRemote": { - "class": { - "getStatus": { - "method": "debug.remote.get_status", - "name": "call", - "namespace": "rpc" - } - } - }, - "DebugdManagement": { - "class": { - "connect": { - "method": "debugd.management.connect", - "name": "call", - "namespace": "rpc" - }, - "disconnect": { - "method": "debugd.management.disconnect", - "name": "call", - "namespace": "rpc" - }, - "status": { - "method": "debugd.management.status", - "name": "call", - "namespace": "rpc" - }, - "upload": { - "method": "debugd.management.upload", - "name": "call", - "namespace": "rpc" - } - } - }, - "Directory": { - "instance": { - "create": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "directory.create" - }, - "delete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "directory.delete" - }, - "read": { - "method": "directory.query", - "name": "call", - "namespace": "rpc" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "directory.update" - } - } - }, - "Directoryservice": { - "instance": { - "read": { - "method": "directoryservice.get_config", - "name": "call", - "namespace": "rpc" - } - } - }, - "Discovery": { - "class": { - "getEventTypes": { - "method": "discovery.get_event_types", - "name": "call", - "namespace": "rpc" - }, - "getMethods": { - "method": "discovery.get_methods", - "name": "call", - "namespace": "rpc" - }, - "getSchema": { - "method": "discovery.get_schema", - "name": "call", - "namespace": "rpc" - }, - "getSchemaHash": { - "method": "discovery.get_schema_hash", - "name": "call", - "namespace": "rpc" - }, - "getServices": { - "method": "discovery.get_services", - "name": "call", - "namespace": "rpc" - }, - "getTasks": { - "method": "discovery.get_tasks", - "name": "call", - "namespace": "rpc" - } - } - }, - "Disk": { - "class": { - "getDiskConfig": { - "method": "disk.get_disk_config", - "name": "call", - "namespace": "rpc" - }, - "getDiskConfigById": { - "method": "disk.get_disk_config_by_id", - "name": "call", - "namespace": "rpc" - }, - "getPartitionConfig": { - "method": "disk.get_partition_config", - "name": "call", - "namespace": "rpc" - }, - "identify": { - "method": "disk.identify", - "name": "call", - "namespace": "rpc" - }, - "isOnline": { - "method": "disk.is_online", - "name": "call", - "namespace": "rpc" - }, - "keySlotsByPaths": { - "method": "disk.key_slots_by_paths", - "name": "call", - "namespace": "rpc" - }, - "partitionToDisk": { - "method": "disk.partition_to_disk", - "name": "call", - "namespace": "rpc" - }, - "pathToId": { - "method": "disk.path_to_id", - "name": "call", - "namespace": "rpc" - } - }, - "instance": { - "delete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "disk.delete" - }, - "erase": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "disk.erase" - }, - "formatBoot": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "disk.format.boot" - }, - "formatGpt": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "disk.format.gpt" - }, - "geliAttach": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "disk.geli.attach" - }, - "geliDetach": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "disk.geli.detach" - }, - "geliInit": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "disk.geli.init" - }, - "geliKill": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "disk.geli.kill" - }, - "geliMkeyBackup": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "disk.geli.mkey.backup" - }, - "geliMkeyRestore": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "disk.geli.mkey.restore" - }, - "geliUkeyDel": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "disk.geli.ukey.del" - }, - "geliUkeySet": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "disk.geli.ukey.set" - }, - "installBootloader": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "disk.install_bootloader" - }, - "iscsiTargetCreate": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "disk.iscsi.target.create" - }, - "iscsiTargetDelete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "disk.iscsi.target.delete" - }, - "iscsiTargetUpdate": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "disk.iscsi.target.update" - }, - "parallelTest": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "disk.parallel_test" - }, - "read": { - "method": "disk.query", - "name": "call", - "namespace": "rpc" - }, - "test": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "disk.test" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "restrictions": { - "forbiddenFields": [ - "name", - "serial", - "path", - "id", - "mediasize", - "status" - ] - }, - "task": "disk.update" - } - } - }, - "DiskEnclosure": { - "instance": { - "read": { - "method": "disk.enclosure.query", - "name": "call", - "namespace": "rpc" - } - } - }, - "DiskIscsiTarget": { - "instance": { - "read": { - "method": "disk.iscsi.target.query", - "name": "call", - "namespace": "rpc" - } - } - }, - "DockerCollection": { - "class": { - "fullQuery": { - "method": "docker.collection.full_query", - "name": "call", - "namespace": "rpc" - }, - "getEntries": { - "method": "docker.collection.get_entries", - "name": "call", - "namespace": "rpc" - } - }, - "instance": { - "create": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "restrictions": { - "forbiddenFields": [ - "images" - ] - }, - "task": "docker.collection.create" - }, - "delete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "docker.collection.delete" - }, - "read": { - "method": "docker.collection.query", - "name": "call", - "namespace": "rpc" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "restrictions": { - "forbiddenFields": [ - "images" - ] - }, - "task": "docker.collection.update" - } - } - }, - "DockerConfig": { - "instance": { - "read": { - "method": "docker.config.get_config", - "name": "call", - "namespace": "rpc" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "docker.config.update" - } - } - }, - "DockerContainer": { - "class": { - "createExec": { - "method": "docker.container.create_exec", - "name": "call", - "namespace": "rpc" - }, - "requestInteractiveConsole": { - "method": "docker.container.request_interactive_console", - "name": "call", - "namespace": "rpc" - }, - "requestSerialConsole": { - "method": "docker.container.request_serial_console", - "name": "call", - "namespace": "rpc" - } - }, - "instance": { - "create": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "restrictions": { - "requiredFields": [ - "names", - "image" - ] - }, - "task": "docker.container.create" - }, - "delete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "docker.container.delete" - }, - "read": { - "method": "docker.container.query", - "name": "call", - "namespace": "rpc" - }, - "start": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "docker.container.start" - }, - "stop": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "docker.container.stop" - } - } - }, - "DockerHost": { - "instance": { - "read": { - "method": "docker.host.query", - "name": "call", - "namespace": "rpc" - }, - "rollbackResource": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "docker.host.rollback_resource" - }, - "updateResource": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "docker.host.update_resource" - } - } - }, - "DockerImage": { - "class": { - "getCollectionImages": { - "method": "docker.image.get_collection_images", - "name": "call", - "namespace": "rpc" - }, - "readme": { - "method": "docker.image.readme", - "name": "call", - "namespace": "rpc" - }, - "search": { - "method": "docker.image.search", - "name": "call", - "namespace": "rpc" - } - }, - "instance": { - "delete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "docker.image.delete" - }, - "flush": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "docker.image.flush" - }, - "pull": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "docker.image.pull" - }, - "read": { - "method": "docker.image.query", - "name": "call", - "namespace": "rpc" - } - } - }, - "DockerNetwork": { - "instance": { - "connect": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "docker.network.connect" - }, - "create": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "restrictions": { - "requiredFields": [ - "name" - ] - }, - "task": "docker.network.create" - }, - "delete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "docker.network.delete" - }, - "disconnect": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "docker.network.disconnect" - }, - "read": { - "method": "docker.network.query", - "name": "call", - "namespace": "rpc" - } - } - }, - "DscachedAccount": { - "class": { - "authenticate": { - "method": "dscached.account.authenticate", - "name": "call", - "namespace": "rpc" - }, - "changePassword": { - "method": "dscached.account.change_password", - "name": "call", - "namespace": "rpc" - }, - "getgroupmembership": { - "method": "dscached.account.getgroupmembership", - "name": "call", - "namespace": "rpc" - }, - "getpwnam": { - "method": "dscached.account.getpwnam", - "name": "call", - "namespace": "rpc" - }, - "getpwuid": { - "method": "dscached.account.getpwuid", - "name": "call", - "namespace": "rpc" - }, - "getpwuuid": { - "method": "dscached.account.getpwuuid", - "name": "call", - "namespace": "rpc" - } - }, - "instance": { - "read": { - "method": "dscached.account.query", - "name": "call", - "namespace": "rpc" - } - } - }, - "DscachedGroup": { - "class": { - "getgrgid": { - "method": "dscached.group.getgrgid", - "name": "call", - "namespace": "rpc" - }, - "getgrnam": { - "method": "dscached.group.getgrnam", - "name": "call", - "namespace": "rpc" - }, - "getgruuid": { - "method": "dscached.group.getgruuid", - "name": "call", - "namespace": "rpc" - } - }, - "instance": { - "read": { - "method": "dscached.group.query", - "name": "call", - "namespace": "rpc" - } - } - }, - "DscachedHost": { - "class": { - "gethostbyaddr": { - "method": "dscached.host.gethostbyaddr", - "name": "call", - "namespace": "rpc" - }, - "gethostbyname": { - "method": "dscached.host.gethostbyname", - "name": "call", - "namespace": "rpc" - } - }, - "instance": { - "read": { - "method": "dscached.host.query", - "name": "call", - "namespace": "rpc" - } - } - }, - "DscachedManagement": { - "class": { - "cleanCache": { - "method": "dscached.management.clean_cache", - "name": "call", - "namespace": "rpc" - }, - "configureDirectory": { - "method": "dscached.management.configure_directory", - "name": "call", - "namespace": "rpc" - }, - "flushCache": { - "method": "dscached.management.flush_cache", - "name": "call", - "namespace": "rpc" - }, - "getCacheStats": { - "method": "dscached.management.get_cache_stats", - "name": "call", - "namespace": "rpc" - }, - "getRealms": { - "method": "dscached.management.get_realms", - "name": "call", - "namespace": "rpc" - }, - "getStatus": { - "method": "dscached.management.get_status", - "name": "call", - "namespace": "rpc" - }, - "normalizeParameters": { - "method": "dscached.management.normalize_parameters", - "name": "call", - "namespace": "rpc" - }, - "populateCaches": { - "method": "dscached.management.populate_caches", - "name": "call", - "namespace": "rpc" - }, - "reloadConfig": { - "method": "dscached.management.reload_config", - "name": "call", - "namespace": "rpc" - } - } - }, - "EtcdGeneration": { - "class": { - "generateAll": { - "method": "etcd.generation.generate_all", - "name": "call", - "namespace": "rpc" - }, - "generateFile": { - "method": "etcd.generation.generate_file", - "name": "call", - "namespace": "rpc" - }, - "generateGroup": { - "method": "etcd.generation.generate_group", - "name": "call", - "namespace": "rpc" - }, - "generatePlugin": { - "method": "etcd.generation.generate_plugin", - "name": "call", - "namespace": "rpc" - }, - "getGroups": { - "method": "etcd.generation.get_groups", - "name": "call", - "namespace": "rpc" - }, - "getManagedFiles": { - "method": "etcd.generation.get_managed_files", - "name": "call", - "namespace": "rpc" - } - } - }, - "EtcdManagement": { - "class": { - "die": { - "method": "etcd.management.die", - "name": "call", - "namespace": "rpc" - }, - "rescanPlugins": { - "method": "etcd.management.rescan_plugins", - "name": "call", - "namespace": "rpc" - } - } - }, - "Event": { - "class": { - "getMySubscriptions": { - "method": "event.get_my_subscriptions", - "name": "call", - "namespace": "rpc" - } - }, - "instance": { - "read": { - "method": "event.query", - "name": "call", - "namespace": "rpc" - } - } - }, - "Filesystem": { - "class": { - "download": { - "method": "filesystem.download", - "name": "call", - "namespace": "rpc" - }, - "getOpenFiles": { - "method": "filesystem.get_open_files", - "name": "call", - "namespace": "rpc" - }, - "listDir": { - "method": "filesystem.list_dir", - "name": "call", - "namespace": "rpc" - }, - "stat": { - "method": "filesystem.stat", - "name": "call", - "namespace": "rpc" - }, - "upload": { - "method": "filesystem.upload", - "name": "call", - "namespace": "rpc" - } - } - }, - "Group": { - "class": { - "nextGid": { - "method": "group.next_gid", - "name": "call", - "namespace": "rpc" - } - }, - "instance": { - "create": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "restrictions": { - "forbiddenFields": [ - "builtin" - ], - "requiredFields": [ - "name" - ] - }, - "task": "group.create" - }, - "delete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "group.delete" - }, - "read": { - "method": "group.query", - "name": "call", - "namespace": "rpc" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "restrictions": { - "forbiddenFields": [ - "builtin" - ] - }, - "task": "group.update" - } - } - }, - "Index": { - "instance": { - "read": { - "method": "index.query", - "name": "call", - "namespace": "rpc" - } - } - }, - "Ipfs": { - "class": { - "hashToLink": { - "method": "ipfs.hash_to_link", - "name": "call", - "namespace": "rpc" - } - } - }, - "Ipmi": { - "class": { - "channels": { - "method": "ipmi.channels", - "name": "call", - "namespace": "rpc" - }, - "isIpmiLoaded": { - "method": "ipmi.is_ipmi_loaded", - "name": "call", - "namespace": "rpc" - } - }, - "instance": { - "read": { - "method": "ipmi.query", - "name": "call", - "namespace": "rpc" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "ipmi.update" - } - } - }, - "KerberosKeytab": { - "instance": { - "create": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "restrictions": { - "requiredFields": [ - "name", - "keytab" - ] - }, - "task": "kerberos.keytab.create" - }, - "delete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "kerberos.keytab.delete" - }, - "read": { - "method": "kerberos.keytab.query", - "name": "call", - "namespace": "rpc" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "restrictions": { - "forbiddenFields": [ - "keytab", - "entries" - ] - }, - "task": "kerberos.keytab.update" - } - } - }, - "KerberosRealm": { - "instance": { - "create": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "kerberos.realm.create" - }, - "delete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "kerberos.realm.delete" - }, - "read": { - "method": "kerberos.realm.query", - "name": "call", - "namespace": "rpc" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "kerberos.realm.update" - } - } - }, - "Lock": { - "class": { - "acquire": { - "method": "lock.acquire", - "name": "call", - "namespace": "rpc" - }, - "getLocks": { - "method": "lock.get_locks", - "name": "call", - "namespace": "rpc" - }, - "init": { - "method": "lock.init", - "name": "call", - "namespace": "rpc" - }, - "isLocked": { - "method": "lock.is_locked", - "name": "call", - "namespace": "rpc" - }, - "release": { - "method": "lock.release", - "name": "call", - "namespace": "rpc" - } - } - }, - "Mail": { - "class": { - "send": { - "method": "mail.send", - "name": "call", - "namespace": "rpc" - } - }, - "instance": { - "read": { - "method": "mail.get_config", - "name": "call", - "namespace": "rpc" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "mail.update" - } - } - }, - "Management": { - "class": { - "collectDebug": { - "method": "management.collect_debug", - "name": "call", - "namespace": "rpc" - }, - "dieYouGravySuckingPigDog": { - "method": "management.die_you_gravy_sucking_pig_dog", - "name": "call", - "namespace": "rpc" - }, - "enableFeatures": { - "method": "management.enable_features", - "name": "call", - "namespace": "rpc" - }, - "getAvailableFeatures": { - "method": "management.get_available_features", - "name": "call", - "namespace": "rpc" - }, - "getConnectedClients": { - "method": "management.get_connected_clients", - "name": "call", - "namespace": "rpc" - }, - "getEnabledFeatures": { - "method": "management.get_enabled_features", - "name": "call", - "namespace": "rpc" - }, - "getEventSources": { - "method": "management.get_event_sources", - "name": "call", - "namespace": "rpc" - }, - "getLoggingLevel": { - "method": "management.get_logging_level", - "name": "call", - "namespace": "rpc" - }, - "getPluginNames": { - "method": "management.get_plugin_names", - "name": "call", - "namespace": "rpc" - }, - "getSenderAddress": { - "method": "management.get_sender_address", - "name": "call", - "namespace": "rpc" - }, - "kickSession": { - "method": "management.kick_session", - "name": "call", - "namespace": "rpc" - }, - "ping": { - "method": "management.ping", - "name": "call", - "namespace": "rpc" - }, - "reloadPlugins": { - "method": "management.reload_plugins", - "name": "call", - "namespace": "rpc" - }, - "restart": { - "method": "management.restart", - "name": "call", - "namespace": "rpc" - }, - "setLoggingLevel": { - "method": "management.set_logging_level", - "name": "call", - "namespace": "rpc" - }, - "startLogdb": { - "method": "management.start_logdb", - "name": "call", - "namespace": "rpc" - }, - "status": { - "method": "management.status", - "name": "call", - "namespace": "rpc" - }, - "stopLogdb": { - "method": "management.stop_logdb", - "name": "call", - "namespace": "rpc" - }, - "waitReady": { - "method": "management.wait_ready", - "name": "call", - "namespace": "rpc" - } - } - }, - "Neighbor": { - "instance": { - "read": { - "method": "neighbor.query", - "name": "call", - "namespace": "rpc" - } - } - }, - "NeighbordDiscovery": { - "class": { - "find": { - "method": "neighbord.discovery.find", - "name": "call", - "namespace": "rpc" - } - } - }, - "NeighbordManagement": { - "class": { - "die": { - "method": "neighbord.management.die", - "name": "call", - "namespace": "rpc" - } - } - }, - "NetworkConfig": { - "class": { - "getMyIps": { - "method": "network.config.get_my_ips", - "name": "call", - "namespace": "rpc" - } - }, - "instance": { - "read": { - "method": "network.config.get_config", - "name": "call", - "namespace": "rpc" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "network.config.update" - } - } - }, - "NetworkHost": { - "instance": { - "create": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "restrictions": { - "requiredFields": [ - "id", - "addresses" - ] - }, - "task": "network.host.create" - }, - "delete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "network.host.delete" - }, - "read": { - "method": "network.host.query", - "name": "call", - "namespace": "rpc" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "network.host.update" - } - } - }, - "NetworkInterface": { - "instance": { - "create": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "restrictions": { - "forbiddenFields": [ - "id", - "status" - ], - "requiredFields": [ - "type" - ] - }, - "task": "network.interface.create" - }, - "delete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "network.interface.delete" - }, - "down": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "network.interface.down" - }, - "read": { - "method": "network.interface.query", - "name": "call", - "namespace": "rpc" - }, - "renew": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "network.interface.renew" - }, - "up": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "network.interface.up" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "restrictions": { - "forbiddenFields": [ - "id", - "type", - "status" - ] - }, - "task": "network.interface.update" - } - } - }, - "NetworkRoute": { - "instance": { - "create": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "restrictions": { - "requiredFields": [ - "id", - "type", - "network", - "netmask", - "gateway" - ] - }, - "task": "network.route.create" - }, - "delete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "network.route.delete" - }, - "read": { - "method": "network.route.query", - "name": "call", - "namespace": "rpc" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "network.route.update" - } - } - }, - "NetworkdConfiguration": { - "class": { - "configureDns": { - "method": "networkd.configuration.configure_dns", - "name": "call", - "namespace": "rpc" - }, - "configureInterface": { - "method": "networkd.configuration.configure_interface", - "name": "call", - "namespace": "rpc" - }, - "configureNetwork": { - "method": "networkd.configuration.configure_network", - "name": "call", - "namespace": "rpc" - }, - "configureRoutes": { - "method": "networkd.configuration.configure_routes", - "name": "call", - "namespace": "rpc" - }, - "downInterface": { - "method": "networkd.configuration.down_interface", - "name": "call", - "namespace": "rpc" - }, - "getDefaultInterface": { - "method": "networkd.configuration.get_default_interface", - "name": "call", - "namespace": "rpc" - }, - "getDefaultRoutes": { - "method": "networkd.configuration.get_default_routes", - "name": "call", - "namespace": "rpc" - }, - "getDnsConfig": { - "method": "networkd.configuration.get_dns_config", - "name": "call", - "namespace": "rpc" - }, - "getNextName": { - "method": "networkd.configuration.get_next_name", - "name": "call", - "namespace": "rpc" - }, - "queryInterfaces": { - "method": "networkd.configuration.query_interfaces", - "name": "call", - "namespace": "rpc" - }, - "queryRoutes": { - "method": "networkd.configuration.query_routes", - "name": "call", - "namespace": "rpc" - }, - "renewLease": { - "method": "networkd.configuration.renew_lease", - "name": "call", - "namespace": "rpc" - }, - "upInterface": { - "method": "networkd.configuration.up_interface", - "name": "call", - "namespace": "rpc" - }, - "waitForDefaultInterface": { - "method": "networkd.configuration.wait_for_default_interface", - "name": "call", - "namespace": "rpc" - } - } - }, - "NtpServer": { - "instance": { - "create": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "restrictions": { - "requiredFields": [ - "address" - ] - }, - "task": "ntp_server.create" - }, - "delete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "ntp_server.delete" - }, - "read": { - "method": "ntp_server.query", - "name": "call", - "namespace": "rpc" - }, - "syncNow": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "ntp_server.sync_now" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "ntp_server.update" - } - } - }, - "Peer": { - "class": { - "peerTypes": { - "method": "peer.peer_types", - "name": "call", - "namespace": "rpc" - } - }, - "instance": { - "amazonS3Create": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "peer.amazon-s3.create" - }, - "amazonS3Delete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "peer.amazon-s3.delete" - }, - "amazonS3Update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "peer.amazon-s3.update" - }, - "create": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "restrictions": { - "requiredFields": [ - "type", - "credentials" - ] - }, - "task": "peer.create" - }, - "delete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "peer.delete" - }, - "freenasCreate": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "peer.freenas.create" - }, - "freenasCreateLocal": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "peer.freenas.create_local" - }, - "freenasDelete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "peer.freenas.delete" - }, - "freenasDeleteLocal": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "peer.freenas.delete_local" - }, - "freenasUpdate": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "peer.freenas.update" - }, - "freenasUpdateRemote": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "peer.freenas.update_remote" - }, - "read": { - "method": "peer.query", - "name": "call", - "namespace": "rpc" - }, - "sshCreate": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "peer.ssh.create" - }, - "sshDelete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "peer.ssh.delete" - }, - "sshUpdate": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "peer.ssh.update" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "peer.update" - }, - "vmwareCreate": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "peer.vmware.create" - }, - "vmwareDelete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "peer.vmware.delete" - }, - "vmwareUpdate": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "peer.vmware.update" - } - } - }, - "PeerAmazonS3": { - "instance": { - "read": { - "method": "peer.amazon-s3.query", - "name": "call", - "namespace": "rpc" - } - } - }, - "PeerFreenas": { - "class": { - "authWithCode": { - "method": "peer.freenas.auth_with_code", - "name": "call", - "namespace": "rpc" - }, - "createAuthCode": { - "method": "peer.freenas.create_auth_code", - "name": "call", - "namespace": "rpc" - }, - "getAuthCodes": { - "method": "peer.freenas.get_auth_codes", - "name": "call", - "namespace": "rpc" - }, - "invalidateCode": { - "method": "peer.freenas.invalidate_code", - "name": "call", - "namespace": "rpc" - }, - "voidAuthCodes": { - "method": "peer.freenas.void_auth_codes", - "name": "call", - "namespace": "rpc" - } - }, - "instance": { - "read": { - "method": "peer.freenas.query", - "name": "call", - "namespace": "rpc" - } - } - }, - "PeerSsh": { - "instance": { - "read": { - "method": "peer.ssh.query", - "name": "call", - "namespace": "rpc" - } - } - }, - "PeerVmware": { - "instance": { - "read": { - "method": "peer.vmware.query", - "name": "call", - "namespace": "rpc" - } - } - }, - "Plugin": { - "class": { - "registerEventType": { - "method": "plugin.register_event_type", - "name": "call", - "namespace": "rpc" - }, - "registerSchema": { - "method": "plugin.register_schema", - "name": "call", - "namespace": "rpc" - }, - "registerService": { - "method": "plugin.register_service", - "name": "call", - "namespace": "rpc" - }, - "resumeService": { - "method": "plugin.resume_service", - "name": "call", - "namespace": "rpc" - }, - "unregisterEventType": { - "method": "plugin.unregister_event_type", - "name": "call", - "namespace": "rpc" - }, - "unregisterSchema": { - "method": "plugin.unregister_schema", - "name": "call", - "namespace": "rpc" - }, - "unregisterService": { - "method": "plugin.unregister_service", - "name": "call", - "namespace": "rpc" - }, - "waitForService": { - "method": "plugin.wait_for_service", - "name": "call", - "namespace": "rpc" - } - } - }, - "Replication": { - "instance": { - "calculateDelta": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "replication.calculate_delta" - }, - "checkDatasets": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "replication.check_datasets" - }, - "cleanHistory": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "replication.clean_history" - }, - "create": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "restrictions": { - "requiredFields": [ - "name", - "slave", - "master", - "datasets" - ] - }, - "task": "replication.create" - }, - "delete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "replication.delete" - }, - "getLatestLink": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "replication.get_latest_link" - }, - "prepareSlave": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "replication.prepare_slave" - }, - "read": { - "method": "replication.query", - "name": "call", - "namespace": "rpc" - }, - "replicateDataset": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "replication.replicate_dataset" - }, - "reserveServices": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "replication.reserve_services" - }, - "roleUpdate": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "replication.role_update" - }, - "sync": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "replication.sync" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "replication.update" - }, - "updateLink": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "replication.update_link" - } - } - }, - "ReplicationTransport": { - "instance": { - "compress": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "replication.transport.compress" - }, - "decompress": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "replication.transport.decompress" - }, - "decrypt": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "replication.transport.decrypt" - }, - "encrypt": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "replication.transport.encrypt" - }, - "receive": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "replication.transport.receive" - }, - "send": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "replication.transport.send" - }, - "throttle": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "replication.transport.throttle" - } - } - }, - "RsyncdModule": { - "instance": { - "create": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "restrictions": { - "requiredFields": [ - "name", - "path" - ] - }, - "task": "rsyncd.module.create" - }, - "delete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "rsyncd.module.delete" - }, - "read": { - "method": "rsyncd.module.query", - "name": "call", - "namespace": "rpc" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "rsyncd.module.update" - } - } - }, - "Service": { - "class": { - "getServiceConfig": { - "method": "service.get_service_config", - "name": "call", - "namespace": "rpc" - } - }, - "instance": { - "manage": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "service.manage" - }, - "read": { - "method": "service.query", - "name": "call", - "namespace": "rpc" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "restrictions": { - "forbiddenFields": [ - "id", - "name", - "builtin", - "pid", - "state" - ] - }, - "task": "service.update" - } - } - }, - "ServiceAfp": { - "instance": { - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "service.afp.update" - } - } - }, - "ServiceConsul": { - "instance": { - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "service.consul.update" - } - } - }, - "ServiceDc": { - "class": { - "checkDcVmAvailability": { - "method": "service.dc.check_dc_vm_availability", - "name": "call", - "namespace": "rpc" - }, - "provideDcIp": { - "method": "service.dc.provide_dc_ip", - "name": "call", - "namespace": "rpc" - }, - "provideDcUrl": { - "method": "service.dc.provide_dc_url", - "name": "call", - "namespace": "rpc" - }, - "serviceRestart": { - "method": "service.dc.service_restart", - "name": "call", - "namespace": "rpc" - }, - "serviceStart": { - "method": "service.dc.service_start", - "name": "call", - "namespace": "rpc" - }, - "serviceStatus": { - "method": "service.dc.service_status", - "name": "call", - "namespace": "rpc" - }, - "serviceStop": { - "method": "service.dc.service_stop", - "name": "call", - "namespace": "rpc" - } - }, - "instance": { - "read": { - "method": "service.dc.get_config", - "name": "call", - "namespace": "rpc" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "service.dc.update" - } - } - }, - "ServiceDyndns": { - "class": { - "providers": { - "method": "service.dyndns.providers", - "name": "call", - "namespace": "rpc" - } - }, - "instance": { - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "service.dyndns.update" - } - } - }, - "ServiceFtp": { - "instance": { - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "service.ftp.update" - } - } - }, - "ServiceIpfs": { - "instance": { - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "service.ipfs.update" - } - } - }, - "ServiceIscsi": { - "instance": { - "read": { - "method": "service.iscsi.get_config", - "name": "call", - "namespace": "rpc" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "service.iscsi.update" - } - } - }, - "ServiceLldp": { - "instance": { - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "service.lldp.update" - } - } - }, - "ServiceNfs": { - "instance": { - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "service.nfs.update" - } - } - }, - "ServiceOpenvpn": { - "class": { - "getReadableConfig": { - "method": "service.openvpn.get_readable_config", - "name": "call", - "namespace": "rpc" - } - }, - "instance": { - "bridge": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "service.openvpn.bridge" - }, - "genKey": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "service.openvpn.gen_key" - }, - "read": { - "method": "service.openvpn.get_config", - "name": "call", - "namespace": "rpc" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "service.openvpn.update" - } - } - }, - "ServiceOpenvpnClientConfig": { - "class": { - "provideConfig": { - "method": "service.openvpn.client_config.provide_config", - "name": "call", - "namespace": "rpc" - }, - "provideTlsAuthKey": { - "method": "service.openvpn.client_config.provide_tls_auth_key", - "name": "call", - "namespace": "rpc" - } - } - }, - "ServiceRsyncd": { - "instance": { - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "service.rsyncd.update" - } - } - }, - "ServiceSmb": { - "class": { - "adEnabled": { - "method": "service.smb.ad_enabled", - "name": "call", - "namespace": "rpc" - } - }, - "instance": { - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "service.smb.update" - } - } - }, - "ServiceSnmp": { - "instance": { - "read": { - "method": "service.snmp.get_config", - "name": "call", - "namespace": "rpc" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "service.snmp.update" - } - } - }, - "ServiceSshd": { - "instance": { - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "service.sshd.update" - } - } - }, - "ServiceTftpd": { - "instance": { - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "service.tftpd.update" - } - } - }, - "ServiceUps": { - "class": { - "drivers": { - "method": "service.ups.drivers", - "name": "call", - "namespace": "rpc" - }, - "getUsbDevices": { - "method": "service.ups.get_usb_devices", - "name": "call", - "namespace": "rpc" - } - }, - "instance": { - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "service.ups.update" - } - } - }, - "ServiceWebdav": { - "instance": { - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "service.webdav.update" - } - } - }, - "ServicedJob": { - "class": { - "checkin": { - "method": "serviced.job.checkin", - "name": "call", - "namespace": "rpc" - }, - "get": { - "method": "serviced.job.get", - "name": "call", - "namespace": "rpc" - }, - "load": { - "method": "serviced.job.load", - "name": "call", - "namespace": "rpc" - }, - "pushStatus": { - "method": "serviced.job.push_status", - "name": "call", - "namespace": "rpc" - }, - "start": { - "method": "serviced.job.start", - "name": "call", - "namespace": "rpc" - }, - "stop": { - "method": "serviced.job.stop", - "name": "call", - "namespace": "rpc" - }, - "unload": { - "method": "serviced.job.unload", - "name": "call", - "namespace": "rpc" - }, - "wait": { - "method": "serviced.job.wait", - "name": "call", - "namespace": "rpc" - } - }, - "instance": { - "read": { - "method": "serviced.job.query", - "name": "call", - "namespace": "rpc" - } - } - }, - "ServicedManagement": { - "class": { - "shutdown": { - "method": "serviced.management.shutdown", - "name": "call", - "namespace": "rpc" - } - } - }, - "Session": { - "class": { - "getLiveUserSessions": { - "method": "session.get_live_user_sessions", - "name": "call", - "namespace": "rpc" - }, - "getMySessionId": { - "method": "session.get_my_session_id", - "name": "call", - "namespace": "rpc" - }, - "sendToAll": { - "method": "session.send_to_all", - "name": "call", - "namespace": "rpc" - }, - "sendToSession": { - "method": "session.send_to_session", - "name": "call", - "namespace": "rpc" - }, - "whoami": { - "method": "session.whoami", - "name": "call", - "namespace": "rpc" - } - }, - "instance": { - "read": { - "method": "session.query", - "name": "call", - "namespace": "rpc" - } - } - }, - "Share": { - "class": { - "getConnectedClients": { - "method": "share.get_connected_clients", - "name": "call", - "namespace": "rpc" - }, - "getDependencies": { - "method": "share.get_dependencies", - "name": "call", - "namespace": "rpc" - }, - "supportedTypes": { - "method": "share.supported_types", - "name": "call", - "namespace": "rpc" - } - }, - "instance": { - "create": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "restrictions": { - "requiredFields": [ - "name", - "type", - "target_type", - "target_path", - "properties" - ] - }, - "task": "share.create" - }, - "delete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "share.delete" - }, - "deleteDependent": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "share.delete_dependent" - }, - "export": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "share.export" - }, - "immutableSet": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "share.immutable.set" - }, - "import": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "share.import" - }, - "read": { - "method": "share.query", - "name": "call", - "namespace": "rpc" - }, - "terminateConnection": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "share.terminate_connection" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "share.update" - }, - "updateRelated": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "share.update_related" - } - } - }, - "ShareAfp": { - "instance": { - "create": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "share.afp.create" - }, - "delete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "share.afp.delete" - }, - "import": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "share.afp.import" - }, - "terminateConnection": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "share.afp.terminate_connection" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "share.afp.update" - } - } - }, - "ShareIscsi": { - "class": { - "generateSerial": { - "method": "share.iscsi.generate_serial", - "name": "call", - "namespace": "rpc" - } - }, - "instance": { - "create": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "share.iscsi.create" - }, - "delete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "share.iscsi.delete" - }, - "import": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "share.iscsi.import" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "share.iscsi.update" - } - } - }, - "ShareIscsiAuth": { - "instance": { - "create": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "restrictions": { - "requiredFields": [ - "type" - ] - }, - "task": "share.iscsi.auth.create" - }, - "delete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "share.iscsi.auth.delete" - }, - "read": { - "method": "share.iscsi.auth.query", - "name": "call", - "namespace": "rpc" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "share.iscsi.auth.update" - } - } - }, - "ShareIscsiPortal": { - "instance": { - "create": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "share.iscsi.portal.create" - }, - "delete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "share.iscsi.portal.delete" - }, - "read": { - "method": "share.iscsi.portal.query", - "name": "call", - "namespace": "rpc" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "share.iscsi.portal.update" - } - } - }, - "ShareIscsiTarget": { - "instance": { - "create": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "restrictions": { - "requiredFields": [ - "id" - ] - }, - "task": "share.iscsi.target.create" - }, - "delete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "share.iscsi.target.delete" - }, - "read": { - "method": "share.iscsi.target.query", - "name": "call", - "namespace": "rpc" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "share.iscsi.target.update" - } - } - }, - "ShareNfs": { - "instance": { - "create": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "share.nfs.create" - }, - "delete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "share.nfs.delete" - }, - "import": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "share.nfs.import" - }, - "terminateConnection": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "share.nfs.terminate_connection" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "share.nfs.update" - } - } - }, - "ShareSmb": { - "instance": { - "create": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "share.smb.create" - }, - "delete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "share.smb.delete" - }, - "import": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "share.smb.import" - }, - "terminateConnection": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "share.smb.terminate_connection" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "share.smb.update" - } - } - }, - "ShareWebdav": { - "instance": { - "create": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "share.webdav.create" - }, - "delete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "share.webdav.delete" - }, - "import": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "share.webdav.import" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "share.webdav.update" - } - } - }, - "Shell": { - "class": { - "execute": { - "method": "shell.execute", - "name": "call", - "namespace": "rpc" - }, - "getShells": { - "method": "shell.get_shells", - "name": "call", - "namespace": "rpc" - }, - "resize": { - "method": "shell.resize", - "name": "call", - "namespace": "rpc" - }, - "spawn": { - "method": "shell.spawn", - "name": "call", - "namespace": "rpc" - } - } - }, - "SimulatorDisk": { - "instance": { - "create": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "restrictions": { - "requiredFields": [ - "id" - ] - }, - "task": "simulator.disk.create" - }, - "delete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "simulator.disk.delete" - }, - "read": { - "method": "simulator.disk.query", - "name": "call", - "namespace": "rpc" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "restrictions": { - "forbiddenFields": [ - "id" - ] - }, - "task": "simulator.disk.update" - } - } - }, - "Stat": { - "class": { - "getDataSources": { - "method": "stat.get_data_sources", - "name": "call", - "namespace": "rpc" - }, - "getDataSourcesTree": { - "method": "stat.get_data_sources_tree", - "name": "call", - "namespace": "rpc" - }, - "getStats": { - "method": "stat.get_stats", - "name": "call", - "namespace": "rpc" - }, - "normalize": { - "method": "stat.normalize", - "name": "call", - "namespace": "rpc" - } - }, - "instance": { - "alertUpdate": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "stat.alert_update" - }, - "read": { - "method": "stat.query", - "name": "call", - "namespace": "rpc" - } - } - }, - "StatCpu": { - "instance": { - "read": { - "method": "stat.cpu.query", - "name": "call", - "namespace": "rpc" - } - } - }, - "StatDisk": { - "instance": { - "read": { - "method": "stat.disk.query", - "name": "call", - "namespace": "rpc" - } - } - }, - "StatNetwork": { - "instance": { - "read": { - "method": "stat.network.query", - "name": "call", - "namespace": "rpc" - } - } - }, - "StatSystem": { - "instance": { - "read": { - "method": "stat.system.query", - "name": "call", - "namespace": "rpc" - } - } - }, - "StatdAlert": { - "class": { - "setAlert": { - "method": "statd.alert.set_alert", - "name": "call", - "namespace": "rpc" - } - } - }, - "StatdOutput": { - "class": { - "disable": { - "method": "statd.output.disable", - "name": "call", - "namespace": "rpc" - }, - "enable": { - "method": "statd.output.enable", - "name": "call", - "namespace": "rpc" - }, - "getCurrentState": { - "method": "statd.output.get_current_state", - "name": "call", - "namespace": "rpc" - }, - "getDataSources": { - "method": "statd.output.get_data_sources", - "name": "call", - "namespace": "rpc" - }, - "getDataSourcesTree": { - "method": "statd.output.get_data_sources_tree", - "name": "call", - "namespace": "rpc" - }, - "getStats": { - "method": "statd.output.get_stats", - "name": "call", - "namespace": "rpc" - } - } - }, - "Support": { - "class": { - "categories": { - "method": "support.categories", - "name": "call", - "namespace": "rpc" - }, - "categoriesNoAuth": { - "method": "support.categories_no_auth", - "name": "call", - "namespace": "rpc" - } - } - }, - "Swap": { - "class": { - "info": { - "method": "swap.info", - "name": "call", - "namespace": "rpc" - } - } - }, - "Syslog": { - "instance": { - "read": { - "method": "syslog.query", - "name": "call", - "namespace": "rpc" - } - } - }, - "SystemAdvanced": { - "instance": { - "read": { - "method": "system.advanced.get_config", - "name": "call", - "namespace": "rpc" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "system.advanced.update" - } - } - }, - "SystemDataset": { - "class": { - "status": { - "method": "system_dataset.status", - "name": "call", - "namespace": "rpc" - } - } - }, - "SystemDevice": { - "class": { - "getClasses": { - "method": "system.device.get_classes", - "name": "call", - "namespace": "rpc" - }, - "getDevices": { - "method": "system.device.get_devices", - "name": "call", - "namespace": "rpc" - } - } - }, - "SystemDmi": { - "class": { - "get": { - "method": "system.dmi.get", - "name": "call", - "namespace": "rpc" - } - } - }, - "SystemGeneral": { - "class": { - "keymaps": { - "method": "system.general.keymaps", - "name": "call", - "namespace": "rpc" - }, - "timezones": { - "method": "system.general.timezones", - "name": "call", - "namespace": "rpc" - } - }, - "instance": { - "read": { - "method": "system.general.get_config", - "name": "call", - "namespace": "rpc" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "system.general.update" - } - } - }, - "SystemInfo": { - "class": { - "hardware": { - "method": "system.info.hardware", - "name": "call", - "namespace": "rpc" - }, - "hostUuid": { - "method": "system.info.host_uuid", - "name": "call", - "namespace": "rpc" - }, - "loadAvg": { - "method": "system.info.load_avg", - "name": "call", - "namespace": "rpc" - }, - "unameFull": { - "method": "system.info.uname_full", - "name": "call", - "namespace": "rpc" - }, - "version": { - "method": "system.info.version", - "name": "call", - "namespace": "rpc" - } - } - }, - "SystemTime": { - "instance": { - "read": { - "method": "system.time.get_config", - "name": "call", - "namespace": "rpc" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "restrictions": { - "forbiddenFields": [ - "boot_time", - "uptime" - ] - }, - "task": "system.time.update" - } - } - }, - "SystemUi": { - "instance": { - "read": { - "method": "system.ui.get_config", - "name": "call", - "namespace": "rpc" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "system.ui.update" - } - } - }, - "Task": { - "class": { - "abort": { - "method": "task.abort", - "name": "call", - "namespace": "rpc" - }, - "listExecutors": { - "method": "task.list_executors", - "name": "call", - "namespace": "rpc" - }, - "listResources": { - "method": "task.list_resources", - "name": "call", - "namespace": "rpc" - }, - "status": { - "method": "task.status", - "name": "call", - "namespace": "rpc" - }, - "submit": { - "method": "task.submit", - "name": "call", - "namespace": "rpc" - }, - "submitWithDownload": { - "method": "task.submit_with_download", - "name": "call", - "namespace": "rpc" - }, - "submitWithEnv": { - "method": "task.submit_with_env", - "name": "call", - "namespace": "rpc" - }, - "submitWithUpload": { - "method": "task.submit_with_upload", - "name": "call", - "namespace": "rpc" - }, - "wait": { - "method": "task.wait", - "name": "call", - "namespace": "rpc" - } - }, - "instance": { - "read": { - "method": "task.query", - "name": "call", - "namespace": "rpc" - } - } - }, - "Test": { - "class": { - "rpcerror": { - "method": "test.rpcerror", - "name": "call", - "namespace": "rpc" - }, - "sleep": { - "method": "test.sleep", - "name": "call", - "namespace": "rpc" - }, - "stream": { - "method": "test.stream", - "name": "call", - "namespace": "rpc" - }, - "wrappedStream": { - "method": "test.wrapped_stream", - "name": "call", - "namespace": "rpc" - } - } - }, - "Tunable": { - "instance": { - "create": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "restrictions": { - "requiredFields": [ - "var", - "value", - "type" - ] - }, - "task": "tunable.create" - }, - "delete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "tunable.delete" - }, - "read": { - "method": "tunable.query", - "name": "call", - "namespace": "rpc" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "tunable.update" - } - } - }, - "UiTransaction": { - "class": { - "acquire": { - "method": "ui.transaction.acquire", - "name": "call", - "namespace": "rpc" - }, - "getOne": { - "method": "ui.transaction.get_one", - "name": "call", - "namespace": "rpc" - }, - "release": { - "method": "ui.transaction.release", - "name": "call", - "namespace": "rpc" - } - } - }, - "Update": { - "class": { - "getCurrentTrain": { - "method": "update.get_current_train", - "name": "call", - "namespace": "rpc" - }, - "getUpdateOps": { - "method": "update.get_update_ops", - "name": "call", - "namespace": "rpc" - }, - "isUpdateAvailable": { - "method": "update.is_update_available", - "name": "call", - "namespace": "rpc" - }, - "obtainChangelog": { - "method": "update.obtain_changelog", - "name": "call", - "namespace": "rpc" - }, - "trains": { - "method": "update.trains", - "name": "call", - "namespace": "rpc" - }, - "updateInfo": { - "method": "update.update_info", - "name": "call", - "namespace": "rpc" - } - }, - "instance": { - "apply": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "update.apply" - }, - "check": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "update.check" - }, - "checkfetch": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "update.checkfetch" - }, - "download": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "update.download" - }, - "manual": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "update.manual" - }, - "read": { - "method": "update.get_config", - "name": "call", - "namespace": "rpc" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "update.update" - }, - "updatenow": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "update.updatenow" - }, - "verify": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "update.verify" - } - } - }, - "User": { - "class": { - "getProfilePicture": { - "method": "user.get_profile_picture", - "name": "call", - "namespace": "rpc" - }, - "nextUid": { - "method": "user.next_uid", - "name": "call", - "namespace": "rpc" - } - }, - "instance": { - "create": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "restrictions": { - "forbiddenFields": [ - "builtin" - ], - "requiredFields": [ - "username" - ] - }, - "task": "user.create" - }, - "delete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "user.delete" - }, - "read": { - "method": "user.query", - "name": "call", - "namespace": "rpc" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "restrictions": { - "forbiddenFields": [ - "builtin" - ] - }, - "task": "user.update" - } - } - }, - "Vm": { - "class": { - "getGuestInfo": { - "method": "vm.get_guest_info", - "name": "call", - "namespace": "rpc" - }, - "getHwVmCapabilities": { - "method": "vm.get_hw_vm_capabilities", - "name": "call", - "namespace": "rpc" - }, - "guestExec": { - "method": "vm.guest_exec", - "name": "call", - "namespace": "rpc" - }, - "guestGet": { - "method": "vm.guest_get", - "name": "call", - "namespace": "rpc" - }, - "guestLs": { - "method": "vm.guest_ls", - "name": "call", - "namespace": "rpc" - }, - "requestSerialConsole": { - "method": "vm.request_serial_console", - "name": "call", - "namespace": "rpc" - }, - "requestWebvncConsole": { - "method": "vm.request_webvnc_console", - "name": "call", - "namespace": "rpc" - } - }, - "instance": { - "cacheDelete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.cache.delete" - }, - "cacheFlush": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.cache.flush" - }, - "cacheUpdate": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.cache.update" - }, - "create": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "restrictions": { - "requiredFields": [ - "name", - "target" - ] - }, - "task": "vm.create" - }, - "delete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.delete" - }, - "export": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.export" - }, - "fileDownload": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.file.download" - }, - "fileInstall": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.file.install" - }, - "immutableSet": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.immutable.set" - }, - "import": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.import" - }, - "read": { - "method": "vm.query", - "name": "call", - "namespace": "rpc" - }, - "reboot": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.reboot" - }, - "start": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.start" - }, - "stop": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.stop" - }, - "templateDelete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.template.delete" - }, - "templateFetch": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.template.fetch" - }, - "templateIpfsFetch": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.template.ipfs.fetch" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.update" - } - } - }, - "VmConfig": { - "instance": { - "read": { - "method": "vm.config.get_config", - "name": "call", - "namespace": "rpc" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.config.update" - } - } - }, - "VmDatastore": { - "class": { - "supportedDrivers": { - "method": "vm.datastore.supported_drivers", - "name": "call", - "namespace": "rpc" - } - }, - "instance": { - "cloneBlockDevice": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.datastore.clone_block_device" - }, - "create": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.datastore.create" - }, - "createBlockDevice": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.datastore.create_block_device" - }, - "createDirectory": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.datastore.create_directory" - }, - "delete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.datastore.delete" - }, - "deleteBlockDevice": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.datastore.delete_block_device" - }, - "deleteDirectory": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.datastore.delete_directory" - }, - "localCreateDirectory": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.datastore.local.create_directory" - }, - "localDeleteDirectory": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.datastore.local.delete_directory" - }, - "localRenameDirectory": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.datastore.local.rename_directory" - }, - "nfsCreate": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.datastore.nfs.create" - }, - "nfsCreateDirectory": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.datastore.nfs.create_directory" - }, - "nfsDelete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.datastore.nfs.delete" - }, - "nfsDeleteDirectory": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.datastore.nfs.delete_directory" - }, - "nfsRenameDirectory": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.datastore.nfs.rename_directory" - }, - "nfsUpdate": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.datastore.nfs.update" - }, - "read": { - "method": "vm.datastore.query", - "name": "call", - "namespace": "rpc" - }, - "renameBlockDevice": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.datastore.rename_block_device" - }, - "renameDirectory": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.datastore.rename_directory" - }, - "resizeBlockDevice": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.datastore.resize_block_device" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.datastore.update" - }, - "volumeCreateBlockDevice": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.datastore.volume.create_block_device" - }, - "volumeCreateDirectory": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.datastore.volume.create_directory" - }, - "volumeDeleteBlockDevice": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.datastore.volume.delete_block_device" - }, - "volumeDeleteDirectory": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.datastore.volume.delete_directory" - }, - "volumeRenameBlockDevice": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.datastore.volume.rename_block_device" - }, - "volumeRenameDirectory": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.datastore.volume.rename_directory" - }, - "volumeResizeBlockDevice": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.datastore.volume.resize_block_device" - } - } - }, - "VmSnapshot": { - "instance": { - "create": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.snapshot.create" - }, - "delete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.snapshot.delete" - }, - "publish": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.snapshot.publish" - }, - "read": { - "method": "vm.snapshot.query", - "name": "call", - "namespace": "rpc" - }, - "rollback": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.snapshot.rollback" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vm.snapshot.update" - } - } - }, - "VmTemplate": { - "class": { - "getAllocationSize": { - "method": "vm.template.get_allocation_size", - "name": "call", - "namespace": "rpc" - } - }, - "instance": { - "read": { - "method": "vm.template.query", - "name": "call", - "namespace": "rpc" - } - } - }, - "Vmware": { - "class": { - "getDatastores": { - "method": "vmware.get_datastores", - "name": "call", - "namespace": "rpc" - } - } - }, - "VmwareDataset": { - "instance": { - "create": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "restrictions": { - "requiredFields": [ - "name", - "dataset", - "datastore", - "peer" - ] - }, - "task": "vmware.dataset.create" - }, - "delete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vmware.dataset.delete" - }, - "read": { - "method": "vmware.dataset.query", - "name": "call", - "namespace": "rpc" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "vmware.dataset.update" - } - } - }, - "Volume": { - "class": { - "decodePath": { - "method": "volume.decode_path", - "name": "call", - "namespace": "rpc" - }, - "find": { - "method": "volume.find", - "name": "call", - "namespace": "rpc" - }, - "findMedia": { - "method": "volume.find_media", - "name": "call", - "namespace": "rpc" - }, - "getAvailableDisks": { - "method": "volume.get_available_disks", - "name": "call", - "namespace": "rpc" - }, - "getCapabilities": { - "method": "volume.get_capabilities", - "name": "call", - "namespace": "rpc" - }, - "getDatasetPath": { - "method": "volume.get_dataset_path", - "name": "call", - "namespace": "rpc" - }, - "getDatasetTree": { - "method": "volume.get_dataset_tree", - "name": "call", - "namespace": "rpc" - }, - "getDiskLabel": { - "method": "volume.get_disk_label", - "name": "call", - "namespace": "rpc" - }, - "getDisksAllocation": { - "method": "volume.get_disks_allocation", - "name": "call", - "namespace": "rpc" - }, - "getVolumeDisks": { - "method": "volume.get_volume_disks", - "name": "call", - "namespace": "rpc" - }, - "resolvePath": { - "method": "volume.resolve_path", - "name": "call", - "namespace": "rpc" - }, - "vdevByGuid": { - "method": "volume.vdev_by_guid", - "name": "call", - "namespace": "rpc" - }, - "vdevRecommendations": { - "method": "volume.vdev_recommendations", - "name": "call", - "namespace": "rpc" - } - }, - "instance": { - "autoimport": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "volume.autoimport" - }, - "autoreplace": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "volume.autoreplace" - }, - "create": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "restrictions": { - "requiredFields": [ - "id", - "topology" - ] - }, - "task": "volume.create" - }, - "createAuto": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "volume.create_auto" - }, - "delete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "volume.delete" - }, - "deleteExported": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "volume.delete_exported" - }, - "export": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "volume.export" - }, - "import": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "volume.import" - }, - "importDisk": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "volume.import_disk" - }, - "keysBackup": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "volume.keys.backup" - }, - "keysBackupToFile": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "volume.keys.backup_to_file" - }, - "keysRestore": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "volume.keys.restore" - }, - "keysRestoreFromFile": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "volume.keys.restore_from_file" - }, - "lock": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "volume.lock" - }, - "read": { - "method": "volume.query", - "name": "call", - "namespace": "rpc" - }, - "rekey": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "volume.rekey" - }, - "scrub": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "volume.scrub" - }, - "unlock": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "volume.unlock" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "volume.update" - }, - "upgrade": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "volume.upgrade" - }, - "vdevOffline": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "volume.vdev.offline" - }, - "vdevOnline": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "volume.vdev.online" - }, - "vdevReplace": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "volume.vdev.replace" - } - } - }, - "VolumeDataset": { - "instance": { - "create": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "restrictions": { - "requiredFields": [ - "id", - "volume" - ] - }, - "task": "volume.dataset.create" - }, - "delete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "volume.dataset.delete" - }, - "read": { - "method": "volume.dataset.query", - "name": "call", - "namespace": "rpc" - }, - "temporaryMount": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "volume.dataset.temporary.mount" - }, - "temporaryUmount": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "volume.dataset.temporary.umount" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "volume.dataset.update" - } - } - }, - "VolumeSnapshot": { - "instance": { - "clone": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "volume.snapshot.clone" - }, - "create": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "volume.snapshot.create" - }, - "dataset": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "volume.snapshot_dataset" - }, - "delete": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "volume.snapshot.delete" - }, - "read": { - "method": "volume.snapshot.query", - "name": "call", - "namespace": "rpc" - }, - "rollback": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "volume.snapshot.rollback" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "volume.snapshot.update" - } - } - }, - "ZfsDataset": { - "class": { - "estimateSendSize": { - "method": "zfs.dataset.estimate_send_size", - "name": "call", - "namespace": "rpc" - }, - "getDependencies": { - "method": "zfs.dataset.get_dependencies", - "name": "call", - "namespace": "rpc" - }, - "getPropertiesAllowedValues": { - "method": "zfs.dataset.get_properties_allowed_values", - "name": "call", - "namespace": "rpc" - }, - "getSnapshots": { - "method": "zfs.dataset.get_snapshots", - "name": "call", - "namespace": "rpc" - } - }, - "instance": { - "read": { - "method": "zfs.dataset.query", - "name": "call", - "namespace": "rpc" - } - } - }, - "ZfsPool": { - "class": { - "ensureResilvered": { - "method": "zfs.pool.ensure_resilvered", - "name": "call", - "namespace": "rpc" - }, - "find": { - "method": "zfs.pool.find", - "name": "call", - "namespace": "rpc" - }, - "getBootPool": { - "method": "zfs.pool.get_boot_pool", - "name": "call", - "namespace": "rpc" - }, - "getCapabilities": { - "method": "zfs.pool.get_capabilities", - "name": "call", - "namespace": "rpc" - }, - "getDiskLabel": { - "method": "zfs.pool.get_disk_label", - "name": "call", - "namespace": "rpc" - }, - "getDisks": { - "method": "zfs.pool.get_disks", - "name": "call", - "namespace": "rpc" - }, - "vdevByGuid": { - "method": "zfs.pool.vdev_by_guid", - "name": "call", - "namespace": "rpc" - }, - "vdevByPath": { - "method": "zfs.pool.vdev_by_path", - "name": "call", - "namespace": "rpc" - } - }, - "instance": { - "create": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "zfs.pool.create" - }, - "destroy": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "zfs.pool.destroy" - }, - "destroyExported": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "zfs.pool.destroy_exported" - }, - "detach": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "zfs.pool.detach" - }, - "export": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "zfs.pool.export" - }, - "extend": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "zfs.pool.extend" - }, - "import": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "zfs.pool.import" - }, - "offlineDisk": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "zfs.pool.offline_disk" - }, - "onlineDisk": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "zfs.pool.online_disk" - }, - "read": { - "method": "zfs.pool.query", - "name": "call", - "namespace": "rpc" - }, - "replace": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "zfs.pool.replace" - }, - "scrub": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "zfs.pool.scrub" - }, - "update": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "zfs.pool.update" - }, - "upgrade": { - "method": "task.submit", - "name": "call", - "namespace": "rpc", - "task": "zfs.pool.upgrade" - } - } - }, - "ZfsSnapshot": { - "instance": { - "read": { - "method": "zfs.snapshot.query", - "name": "call", - "namespace": "rpc" - } - } - } -} \ No newline at end of file diff --git a/core/service/fake-montage-data-service.ts b/core/service/fake-montage-data-service.ts deleted file mode 100644 index a13d2b3643..0000000000 --- a/core/service/fake-montage-data-service.ts +++ /dev/null @@ -1,206 +0,0 @@ -import {MiddlewareClient} from './middleware-client'; -import {DatastoreService} from './datastore-service'; -import {CacheService} from './cache-service'; -import {processor as cleaningProcessor} from 'core/service/data-processor/cleaner'; -import {processor as diffProcessor} from 'core/service/data-processor/diff'; -import {processor as nullProcessor} from 'core/service/data-processor/null'; - -import {Model} from 'core/model/model'; - -import * as ChangeCase from 'change-case'; - -// DTM -export class FakeMontageDataService { - private static instance: FakeMontageDataService; - private middlewareClient: MiddlewareClient; - private datastoreService: DatastoreService; - private cacheService: CacheService; - private validPropertyRegex: RegExp; - private typePropertiesDescriptors: Map>; - - private constructor() { - this.middlewareClient = MiddlewareClient.getInstance(); - this.datastoreService = DatastoreService.getInstance(); - this.cacheService = CacheService.getInstance(); - this.validPropertyRegex = /[a-z0-9_]*/; - this.typePropertiesDescriptors = new Map>(); - } - - public static getInstance(): FakeMontageDataService { - if (!FakeMontageDataService.instance) { - FakeMontageDataService.instance = new FakeMontageDataService(); - } - return FakeMontageDataService.instance; - } - - public loginWithCredentials(login: string, password: string) { - return this.middlewareClient.connect(this.getURL()).then(() => { - return this.middlewareClient.login(login, password); - }).then(() => { - return this.middlewareClient.enableStreamingResponses(); - }); - } - - public fetchData(type: Object, criteria?: Object, isSingle?: boolean) { - let key = type.typeName, - entries; - if (this.cacheService.hasCacheKey(key) && (entries = this.cacheService.getCacheEntry(key)).length > 0) { - return Promise.resolve(entries); - } else { - return this.queryObjectsFromMiddleware(type, criteria, isSingle); - } - } - - public saveDataObject(object: Object, args?: Array) { - this.loadPropertyDescriptors(object); - return object._isNew ? this.create(object, args) : this.update(object, args); - } - - public deleteDataObject(object: Object, args?: Array) { - let typeName = object._objectType || - (object.Type && object.Type.typeName) || - (object.constructor.Type && object.constructor.Type.typeName); - return this.middlewareClient.submitTask(ChangeCase.dotCase(typeName) + '.delete', [object.id]); - } - - public getNewInstanceForType(type: Object): Promise { - let self = this; - return this.cacheService.registerTypeForKey(type, type.typeName).then(function () { - let instance = self.cacheService.getDataObject(type.typeName); - instance._isNew = true; - return instance; - }); - } - - public getEmptyCollectionForType(this: FakeMontageDataService, type: Object): Array { - return this.cacheService.registerTypeForKey(type, type.typeName).then(function () { - let emptyArray = []; - emptyArray._meta_data = { - collectionModelType: type - }; - return emptyArray; - }) - } - - public subscribeToEvents(name: string, type: Object) { - return Promise.all([ - this.cacheService.registerTypeForKey(type, type.typeName), - this.middlewareClient.subscribeToEvents(name) - ]); - } - - private loadPropertyDescriptors(object: Object) { - if (object.constructor.Type && object.constructor.Type.constructor) { - let propertyDescriptors = new Map(); - for (let descriptor of object.constructor.Type.constructor.propertyBlueprints) { - propertyDescriptors.set(descriptor.name, descriptor); - } - this.typePropertiesDescriptors.set(object.constructor.Type.typeName, propertyDescriptors); - } - } - - private update(object: Object, args?: Array) { - let type = object.constructor.Type, - typeName = type.typeName, - methodName = type.updateMethod || ChangeCase.dotCase(typeName) + '.update'; - - return this.middlewareClient.submitTask(methodName, [object.id, - diffProcessor.process( - cleaningProcessor.process( - object, - this.typePropertiesDescriptors.get(object.constructor.Type.typeName) - ), - typeName, - object.id - ) - ]); - } - - private create(object: Object, args?: Array) { - let type = object.constructor.Type, - typeName = type.typeName, - methodName = type.createMethod || ChangeCase.dotCase(typeName) + '.create'; - - return this.middlewareClient.submitTask(methodName, [ - nullProcessor.process( - cleaningProcessor.process( - object, - this.typePropertiesDescriptors.get(object.constructor.Type.typeName) - ) - ) - ]); - } - - private queryObjectsFromMiddleware(type: Object, criteria?: Object, isSingle?: boolean) { - let self = this, - typeName = type.typeName, - middlewareType = type.middlewareType || ChangeCase.paramCase(typeName), - methodName = type.queryMethod || ChangeCase.dotCase(typeName) + '.query', - limit = type === Model.Task ? 100 : -1, - middlewareCriteria = (criteria || limit !== -1) ? this.getMiddlewareCriteria(criteria, isSingle, limit) : []; - return Model.populateObjectPrototypeForType(type).then(function () { - return self.cacheService.registerTypeForKey(type, typeName); - }).then(function () { - return self.middlewareClient.callRpcMethod(methodName, middlewareCriteria); - }).then(function (entries) { - entries = Array.isArray(entries) ? entries : [entries]; - let cache = self.cacheService.initializeCacheKey(typeName); - self.datastoreService.import(typeName, entries); - self.middlewareClient.subscribeToEvents('entity-subscriber.' + middlewareType + '.changed'); - return cache; - }); - } - - private getMiddlewareCriteria(criteria, isSingle, limit): Array> { - criteria = criteria || {}; - let keys = Object.keys(criteria), - middlewareCriteria = [], - result, - key, value; - for (let i = 0, length = keys.length; i < length; i++) { - key = keys[i]; - value = criteria[key]; - if (typeof value === 'object') { - let subCriteria = this._getMiddlewareCriteriaFromObject(value); - Array.prototype.push.apply(middlewareCriteria, subCriteria.map(function (x) { - return [key + '.' + x[0], x[1], x[2]] - })); - } else { - middlewareCriteria.push([key, '=', value]); - } - } - if (isSingle || (limit && limit !== -1)) { - let params = ({} as any); - if (isSingle) { - params.single = true; - } - if (limit && limit !== -1) { - params.limit = limit; - } - result = [middlewareCriteria, params]; - } else { - result = [middlewareCriteria]; - } - return result; - } - - private getURL(): string { - let scheme = location.protocol === 'https:' ? 'wss' : 'ws', - host = this.getHost(); - return `${scheme}://${host}/dispatcher/socket`; - } - - private getHost(): string { - let result = location.host, - hostParam = location.href.split(';').filter( - (x) => x.split('=')[0] === 'host' - )[0]; - if (hostParam) { - let host = hostParam.split('=')[1]; - if (host && host.length > 0) { - result = host; - } - } - return result; - } -} diff --git a/src/application-delegate.js b/src/application-delegate.js index a78fa638a1..78e35bcf78 100644 --- a/src/application-delegate.js +++ b/src/application-delegate.js @@ -10,18 +10,15 @@ var ModelDescriptorService = require('core/service/model-descriptor-service').Mo StatisticsService = require('core/service/statistics-service').StatisticsService, PeeringService = require('core/service/peering-service').PeeringService, ReplicationService = require('core/service/replication-service').ReplicationService, - MailService = require('core/service/mail-service').MailService, RsyncdModuleService = require('core/service/rsyncd-module-service').RsyncdModuleService, SessionService = require('core/service/SessionService').SessionService, SystemService = require('core/service/system-service').SystemService, - SystemInfoService = require('core/service/system-info-service').SystemInfoService, ApplicationContextService = require('core/service/application-context-service').ApplicationContextService, WidgetService = require('core/service/widget-service').WidgetService, ShareService = require('core/service/share-service').ShareService, AccountsService = require('core/service/accounts-service').AccountsService, BytesService = require('core/service/bytes-service').BytesService, ValidationService = require('core/service/validation-service').ValidationService, - VirtualMachineService = require('core/service/virtual-machine-service').VirtualMachineService, PowerManagementService = require('core/service/power-management-service').PowerManagementService, NtpServerService = require('core/service/ntp-server-service.js').NtpServerService, SectionsDescriptors = require('data/sections-descriptors.json'), @@ -45,14 +42,11 @@ exports.ApplicationDelegate = Montage.specialize({ app.statisticsService = StatisticsService.instance; app.peeringService = PeeringService.instance; app.replicationService = ReplicationService.getInstance(); - app.mailService = MailService.instance; app.rsyncdModuleService = RsyncdModuleService.instance; app.sessionService = SessionService.getInstance(); app.systemService = SystemService.getInstance(); - app.systemInfoService = SystemInfoService.instance; app.shareService = ShareService.instance; app.accountsService = AccountsService.instance; - app.virtualMachineService = VirtualMachineService.instance; app.applicationContextService = ApplicationContextService.instance; app.widgetService = WidgetService.instance; app.validationService = ValidationService.instance; diff --git a/src/dao/FreeipaDirectoryParamsDao.ts b/src/dao/FreeipaDirectoryParamsDao.ts new file mode 100644 index 0000000000..859973a973 --- /dev/null +++ b/src/dao/FreeipaDirectoryParamsDao.ts @@ -0,0 +1,7 @@ +import {AbstractDao} from './abstract-dao'; +import {FreeipaDirectoryParams} from '../model/FreeipaDirectoryParams'; +export class FreeipaDirectoryParamsDao extends AbstractDao{ + public constructor() { + super(FreeipaDirectoryParams.getClassName()); + } +} diff --git a/src/dao/LdapDirectoryParamsDao.ts b/src/dao/LdapDirectoryParamsDao.ts new file mode 100644 index 0000000000..4dc382ca59 --- /dev/null +++ b/src/dao/LdapDirectoryParamsDao.ts @@ -0,0 +1,7 @@ +import {AbstractDao} from './abstract-dao'; +import {LdapDirectoryParams} from '../model/LdapDirectoryParams'; +export class LdapDirectoryParamsDao extends AbstractDao { + public constructor() { + super(LdapDirectoryParams.getClassName()); + } +} diff --git a/src/dao/NisDirectoryParamsDao.ts b/src/dao/NisDirectoryParamsDao.ts new file mode 100644 index 0000000000..2401521b78 --- /dev/null +++ b/src/dao/NisDirectoryParamsDao.ts @@ -0,0 +1,7 @@ +import {AbstractDao} from './abstract-dao'; +import {NisDirectoryParams} from '../model/NisDirectoryParams'; +export class NisDirectoryParamsDao extends AbstractDao { + public constructor() { + super(NisDirectoryParams.getClassName()); + } +} diff --git a/src/dao/WinbindDirectoryParamsDao.ts b/src/dao/WinbindDirectoryParamsDao.ts new file mode 100644 index 0000000000..c7c3bb715e --- /dev/null +++ b/src/dao/WinbindDirectoryParamsDao.ts @@ -0,0 +1,7 @@ +import {AbstractDao} from './abstract-dao'; +import {WinbindDirectoryParams} from '../model/WinbindDirectoryParams'; +export class WinbindDirectoryParamsDao extends AbstractDao { + public constructor() { + super(WinbindDirectoryParams.getClassName()); + } +} diff --git a/src/dao/abstract-dao.ts b/src/dao/abstract-dao.ts index f25a630f4f..bf9fb6bfe9 100644 --- a/src/dao/abstract-dao.ts +++ b/src/dao/abstract-dao.ts @@ -114,6 +114,7 @@ export class AbstractDao { let self = this; return Promise.resolve(new Object({ _isNew: true, + '%type': self.objectType, _objectType: self.objectType })); } diff --git a/src/dao/account-systems-dao.ts b/src/dao/account-systems-dao.ts index 26ec5e59ba..cff6dae85e 100644 --- a/src/dao/account-systems-dao.ts +++ b/src/dao/account-systems-dao.ts @@ -2,7 +2,7 @@ import { AbstractDao } from './abstract-dao'; import {Model} from "../model"; import {AccountSystem} from '../model/AccountSystem'; -export class AccountSystemDao extends AbstractDao { +export class AccountSystemDao extends AbstractDao { public constructor() { super(Model.AccountSystem); diff --git a/src/dao/alert-emitter-dao.ts b/src/dao/alert-emitter-dao.ts index 2cc01a4ed4..f9d065cf5b 100644 --- a/src/dao/alert-emitter-dao.ts +++ b/src/dao/alert-emitter-dao.ts @@ -1,15 +1,18 @@ import {AbstractDao} from './abstract-dao'; -import {Model} from '../model'; import {AlertEmitter} from '../model/AlertEmitter'; export class AlertEmitterDao extends AbstractDao { public constructor() { - super(Model.AlertEmitter, { + super(AlertEmitter.getClassName(), { queryMethod: 'alert.emitter.query', createMethod: 'alert.emitter.update', updateMethod: 'alert.emitter.update' }); } + + sendEmail(mailMessage: any, mailObject: any) { + return this.middlewareClient.callRpcMethod('alert.emitter.email.send', [mailMessage, mailObject]); + } } diff --git a/src/dao/group-dao.ts b/src/dao/group-dao.ts index b287e7ea4c..809c1881cb 100644 --- a/src/dao/group-dao.ts +++ b/src/dao/group-dao.ts @@ -8,5 +8,8 @@ export class GroupDao extends AbstractDao { super(Model.Group); } + getNextGid() { + return this.middlewareClient.callRpcMethod('group.next_gid'); + } } diff --git a/src/model/AbstractDataObject.ts b/src/model/AbstractDataObject.ts index cc22e8b1ec..f44ee5749a 100644 --- a/src/model/AbstractDataObject.ts +++ b/src/model/AbstractDataObject.ts @@ -3,13 +3,14 @@ export abstract class AbstractDataObject { public _isNew: boolean; public _objectType: string; public _tmpId: string; + public '%type': string; private static className: string; private static eventNames: ModelEventName; public static getClassName() { if (!this.className) { - this.className = this.toString().split(/\(|s+/)[0].split(/ |s+/)[1]; + this.className = this.toString().split(/\(|\s+/)[1].split(/ |\s+/)[0]; } return this.className; } @@ -22,7 +23,7 @@ export abstract class AbstractDataObject { } public constructor() { - this._objectType = this.constructor.toString().split(/\(|s+/)[0].split(/ |s+/)[1]; + this['%type'] = this._objectType = this.constructor.toString().split(/\(|\s+/)[1].split(/ |\s+/)[0]; } } diff --git a/src/model/Directory.ts b/src/model/Directory.ts index ade93a99be..b1b157ec24 100644 --- a/src/model/Directory.ts +++ b/src/model/Directory.ts @@ -1,4 +1,6 @@ import {AbstractDataObject} from './AbstractDataObject'; export class Directory extends AbstractDataObject { + type: string; + label: string; } diff --git a/src/model/FreeipaDirectoryParams.ts b/src/model/FreeipaDirectoryParams.ts new file mode 100644 index 0000000000..a2af5672d1 --- /dev/null +++ b/src/model/FreeipaDirectoryParams.ts @@ -0,0 +1,4 @@ +import {AbstractDataObject} from './AbstractDataObject'; + +export class FreeipaDirectoryParams extends AbstractDataObject { +} diff --git a/src/model/LdapDirectoryParams.ts b/src/model/LdapDirectoryParams.ts new file mode 100644 index 0000000000..18923a515e --- /dev/null +++ b/src/model/LdapDirectoryParams.ts @@ -0,0 +1,3 @@ +import {AbstractDataObject} from './AbstractDataObject'; +export class LdapDirectoryParams extends AbstractDataObject { +} diff --git a/src/model/NisDirectoryParams.ts b/src/model/NisDirectoryParams.ts new file mode 100644 index 0000000000..5ae32383e5 --- /dev/null +++ b/src/model/NisDirectoryParams.ts @@ -0,0 +1,3 @@ +import {AbstractDataObject} from './AbstractDataObject'; +export class NisDirectoryParams extends AbstractDataObject { +} diff --git a/src/model/WinbindDirectoryParams.ts b/src/model/WinbindDirectoryParams.ts new file mode 100644 index 0000000000..848cc101df --- /dev/null +++ b/src/model/WinbindDirectoryParams.ts @@ -0,0 +1,3 @@ +import {AbstractDataObject} from './AbstractDataObject'; +export class WinbindDirectoryParams extends AbstractDataObject{ +} diff --git a/src/model/services.js b/src/model/services.js new file mode 100644 index 0000000000..37e452da4e --- /dev/null +++ b/src/model/services.js @@ -0,0 +1,4 @@ +var Montage = require("montage/core/core").Montage; + +exports.Services = Montage.specialize(null, {}); + diff --git a/src/reducers/delete-overlay.ts b/src/reducers/delete-overlay.ts index 714593e900..25dab1df3d 100644 --- a/src/reducers/delete-overlay.ts +++ b/src/reducers/delete-overlay.ts @@ -5,13 +5,15 @@ export function deleteOverlay(previousState, action): Map { id = action.meta.id, taskId = action.meta.taskId, overlay = previousState.get('overlay'); - overlay = overlay.set( - type, - overlay.get(type).set( - id, - overlay.get(type).get(id).delete(taskId) - ) - ); + if (overlay.has(type) && overlay.get(type).has(id)) { + overlay = overlay.set( + type, + overlay.get(type).set( + id, + overlay.get(type).get(id).delete(taskId) + ) + ); + } return previousState.set('overlay', overlay); } diff --git a/src/repository/RsyncdModuleRepository.ts b/src/repository/RsyncdModuleRepository.ts new file mode 100644 index 0000000000..7db6c1d56a --- /dev/null +++ b/src/repository/RsyncdModuleRepository.ts @@ -0,0 +1,20 @@ +import {AbstractModelRepository} from './abstract-model-repository'; +import {RsyncdModule} from '../model/RsyncdModule'; +import {RsyncdModuleDao} from '../dao/rsyncd-module-dao'; + +export class RsyncdModuleRepository extends AbstractModelRepository { + private static instance: RsyncdModuleRepository; + + private constructor(private rsyncdModuleDao: RsyncdModuleDao) { + super(rsyncdModuleDao); + } + + public static getInstance() { + if (!RsyncdModuleRepository.instance) { + RsyncdModuleRepository.instance = new RsyncdModuleRepository( + new RsyncdModuleDao() + ); + } + return RsyncdModuleRepository.instance; + } +} diff --git a/src/repository/abstract-model-repository.ts b/src/repository/abstract-model-repository.ts index 9041ef044a..24a70de539 100644 --- a/src/repository/abstract-model-repository.ts +++ b/src/repository/abstract-model-repository.ts @@ -23,6 +23,10 @@ export abstract class AbstractModelRepository exte return this.dao.save(object, args); } + public delete(object: T, args?: Array): Promise { + return this.dao.delete(object, args); + } + public getNewInstance(): Promise { return this.dao.getNewInstance(); } diff --git a/src/repository/account-repository.ts b/src/repository/account-repository.ts index 69ea9e395e..5649112249 100644 --- a/src/repository/account-repository.ts +++ b/src/repository/account-repository.ts @@ -10,6 +10,17 @@ import {ModelEventName} from '../model-event-name'; import {Model} from '../model'; import {DatastoreService} from '../service/datastore-service'; import * as _ from 'lodash'; +import {FreeipaDirectoryParamsDao} from '../dao/FreeipaDirectoryParamsDao'; +import {User} from '../model/User'; +import {SubmittedTask} from '../model/SubmittedTask'; +import {Group} from '../model/Group'; +import {DirectoryServices} from '../model/DirectoryServices'; +import {AbstractDao} from '../dao/abstract-dao'; +import {AbstractDataObject} from '../model/AbstractDataObject'; +import {LdapDirectoryParams} from '../model/LdapDirectoryParams'; +import {LdapDirectoryParamsDao} from '../dao/LdapDirectoryParamsDao'; +import {NisDirectoryParamsDao} from '../dao/NisDirectoryParamsDao'; +import {WinbindDirectoryParamsDao} from '../dao/WinbindDirectoryParamsDao'; export class AccountRepository extends AbstractRepository { private static instance: AccountRepository; @@ -18,8 +29,9 @@ export class AccountRepository extends AbstractRepository { private groups: Map>; private directories: Map>; private groupsStreamId: string; - private usersStreamId: string; + private parametersDao: Map>; + private usersStreamId: string; public static readonly DIRECTORY_TYPES_LABELS = { winbind: 'Active Directory', freeipa: 'FreeIPA', @@ -30,15 +42,26 @@ export class AccountRepository extends AbstractRepository { private constructor(private userDao: UserDao, private groupDao: GroupDao, private datastoreService: DatastoreService, - private directoryServiceDao: DirectoryServicesDao, + private directoryServicesDao: DirectoryServicesDao, private directoryserviceConfigDao: DirectoryserviceConfigDao, private directoryDao: DirectoryDao, - private accountSystemDao: AccountSystemDao) { + private accountSystemDao: AccountSystemDao, + freeipaDirectoryParamsDao: FreeipaDirectoryParamsDao, + ldapDirectoryParamsDao: LdapDirectoryParamsDao, + nisDirectoryParamsDao: NisDirectoryParamsDao, + winbindDirectoryParamsDao: WinbindDirectoryParamsDao + ) { super([ Model.User, Model.Group, Model.Directory ]); + this.parametersDao = Map>().asMutable() + .set('freeipa', freeipaDirectoryParamsDao) + .set('ldap', ldapDirectoryParamsDao) + .set('nis', nisDirectoryParamsDao) + .set('winbind', winbindDirectoryParamsDao) + .asImmutable(); } public static getInstance() { @@ -50,7 +73,11 @@ export class AccountRepository extends AbstractRepository { new DirectoryServicesDao(), new DirectoryserviceConfigDao(), new DirectoryDao(), - new AccountSystemDao() + new AccountSystemDao(), + new FreeipaDirectoryParamsDao(), + new LdapDirectoryParamsDao(), + new NisDirectoryParamsDao(), + new WinbindDirectoryParamsDao() ); } return AccountRepository.instance; @@ -103,7 +130,7 @@ export class AccountRepository extends AbstractRepository { } public getDirectoryServicesEmptyList() { - return this.directoryServiceDao.getEmptyList(); + return this.directoryServicesDao.getEmptyList(); } public getAccountSystemEmptyList() { @@ -115,25 +142,25 @@ export class AccountRepository extends AbstractRepository { return this.groupDao.getNextSequenceForStream(streamId); } - public findUserWithName(name: string): Promise { + public findUserWithName(name: string): Promise { return this.userDao.findSingleEntry({username: name}); } - public saveUser(user: Object): Promise { + public saveUser(user: User): Promise { return this.userDao.save(user); } - public listGroups(): Promise> { + public listGroups(): Promise> { return this.groups ? Promise.resolve(this.groups.toSet().toJS()) : this.groupDao.list(); } - //TODO: ask only ids? (improvements) - public streamGroups(): Promise> { + // TODO: ask only ids? (improvements) + public streamGroups(): Promise> { let promise; if (this.groupsStreamId) { promise = Promise.resolve( - this.datastoreService.getState().get("streams").get(this.groupsStreamId) + this.datastoreService.getState().get('streams').get(this.groupsStreamId) ); } else { promise = this.groupDao.stream(true); @@ -162,12 +189,16 @@ export class AccountRepository extends AbstractRepository { return this.userDao.getNewInstance(); } + public getNextGid() { + return this.groupDao.getNextGid(); + } + public getNewGroup() { return this.groupDao.getNewInstance(); } - public getNewDirectoryServices(): Promise { - return this.directoryServiceDao.getNewInstance(); + public getNewDirectoryServices(): Promise { + return this.directoryServicesDao.getNewInstance(); } public getDirectoryServiceConfig(): Promise { @@ -185,10 +216,13 @@ export class AccountRepository extends AbstractRepository { } public getNewDirectoryForType(type: string) { - return this.directoryDao.getNewInstance().then(function (directory) { + return Promise.all([ + this.directoryDao.getNewInstance(), + this.parametersDao.get(type).getNewInstance() + ]).spread((directory, parameters) => { directory.type = type; directory._tmpId = type; - directory.parameters = {'%type': type + '-directory-params'}; + directory.parameters = parameters; directory.label = AccountRepository.DIRECTORY_TYPES_LABELS[type]; return directory; diff --git a/src/repository/alert-emitter-repository.ts b/src/repository/alert-emitter-repository.ts index f564872fc0..c631286968 100644 --- a/src/repository/alert-emitter-repository.ts +++ b/src/repository/alert-emitter-repository.ts @@ -1,7 +1,8 @@ import {AlertEmitterDao} from '../dao/alert-emitter-dao'; import {AbstractModelRepository} from './abstract-model-repository'; +import {AlertEmitter} from '../model/AlertEmitter'; -export class AlertEmitterRepository extends AbstractModelRepository { +export class AlertEmitterRepository extends AbstractModelRepository { private static instance: AlertEmitterRepository; private constructor(private alertEmitterDao: AlertEmitterDao) { @@ -16,5 +17,9 @@ export class AlertEmitterRepository extends AbstractModelRepository { } return AlertEmitterRepository.instance; } + + sendEmail(mailMessage: any, mailObject: any) { + return this.alertEmitterDao.sendEmail(mailMessage, mailObject); + } } diff --git a/src/repository/calendar-repository.ts b/src/repository/calendar-repository.ts index 1a190bf129..f208f3e104 100644 --- a/src/repository/calendar-repository.ts +++ b/src/repository/calendar-repository.ts @@ -6,6 +6,7 @@ import {ModelEventName} from '../model-event-name'; import {Map} from 'immutable'; import {Model} from '../model'; import {CalendarTask} from '../model/CalendarTask'; +import {SubmittedTask} from '../model/SubmittedTask'; export class CalendarRepository extends AbstractRepository { private static instance: CalendarRepository; @@ -230,6 +231,21 @@ export class CalendarRepository extends AbstractRepository { return this.calendarDao.getNewInstance(); } + public getNewCalendarTaskInstance(type, schedule, args = [], enabled = false, name?) { + return this.calendarTaskDao.getNewInstance().then(calendarTask => { + calendarTask.task = type; + calendarTask.schedule = schedule; + calendarTask.args = args; + calendarTask.enabled = enabled; + calendarTask.name = name; + return calendarTask; + }); + } + + public saveCalendarTask(calendarTask: CalendarTask): Promise { + return this.calendarTaskDao.save(calendarTask); + } + public getTasksScheduleOnDay(day: any) { let self = this; return this.listTasks().then(function(tasks) { diff --git a/src/service/EnumerationsService.ts b/src/service/EnumerationsService.ts new file mode 100644 index 0000000000..a958232c6a --- /dev/null +++ b/src/service/EnumerationsService.ts @@ -0,0 +1,8 @@ +import * as _ from 'lodash'; + +export class EnumerationsService { + // DTM + public static cleanupMontageMetadata(enumeration) { + return _.reject(_.keys(enumeration), function(value) { return value !== '_montage_metadata' }) + } +} diff --git a/src/service/calendar-service.js b/src/service/calendar-service.js index b28de60f59..9cdcd0ab17 100644 --- a/src/service/calendar-service.js +++ b/src/service/calendar-service.js @@ -1,9 +1,7 @@ var Montage = require("montage").Montage, - FreeNASService = require("core/service/freenas-service").FreeNASService, Promise = require("montage/core/promise").Promise, EventDispatcherService = require("core/service/event-dispatcher-service").EventDispatcherService, - CalendarRepository = require("core/repository/calendar-repository").CalendarRepository, - Model = require("core/model/model").Model; + CalendarRepository = require("core/repository/calendar-repository").CalendarRepository; var EMPTY_STRING = ''; @@ -12,10 +10,6 @@ var CalendarService = exports.CalendarService = Montage.specialize({ value: null }, - _dataService: { - value: null - }, - _tasks: { value: null }, @@ -61,7 +55,7 @@ var CalendarService = exports.CalendarService = Montage.specialize({ value: [ { unit: "second", - value: 1, + value: 1 }, { unit: "minute", @@ -101,7 +95,6 @@ var CalendarService = exports.CalendarService = Montage.specialize({ constructor: { value: function() { - this._dataService = FreeNASService.instance; this._eventDispatcherService = EventDispatcherService.getInstance(); this._eventDispatcherService.addEventListener("calendarTaskUpdated", this._handleTasksChange.bind(this)); this.addRangeAtPathChangeListener("_tasks", this, "_handleTasksChange"); @@ -215,27 +208,21 @@ var CalendarService = exports.CalendarService = Montage.specialize({ value: function(type, name, args, repetition) { var self = this; - return this._dataService.getNewInstanceForType(Model.CalendarTask).then(function(task) { - task.task = type; - task.name = name; - task.args = args; - task.enabled = true; - task.schedule = self._createScheduleWithRepeatDuration(self._getRepeatDuration(repetition)); - return self._dataService.saveDataObject(task); + return this._calendarRepository.getNewCalendarTaskInstance( + type, + self._createScheduleWithRepeatDuration(self._getRepeatDuration(repetition)), + args, + true, + name + ).then(function(calendarTask) { + return self._calendarRepository.saveCalendarTask(calendarTask); }); } }, getNewTask: { value: function(date, type) { - var self = this, - date = date || new Date(); - return this._dataService.getNewInstanceForType(Model.CalendarTask).then(function(task) { - task.task = type; - task.schedule = self._dateToSchedule(date); - task.args = []; - return task; - }); + return this._calendarRepository.getNewCalendarTaskInstance(type, this._dateToSchedule(date || new Date())); } }, diff --git a/src/service/mail-service.js b/src/service/mail-service.js deleted file mode 100644 index e139484209..0000000000 --- a/src/service/mail-service.js +++ /dev/null @@ -1,53 +0,0 @@ -var Montage = require("montage").Montage, - FreeNASService = require("core/service/freenas-service").FreeNASService, - Model = require("core/model/model").Model; - -var MailRepository = require("core/repository/mail-repository").MailRepository; - -var MailService = exports.MailService = Montage.specialize({ - _instance: { - value: null - }, - - _dataService: { - value: null - }, - - sendTestMail: { - value: function (mailMessage, mailObject) { - return this.mailRepository.sendTestMail(mailMessage, mailObject); - } - }, - - getMailData: { - value: function() { - var mailData = {}, - loadingPromises = []; - loadingPromises.push( - this._dataService.fetchData(Model.AlertEmitterEmail).then(function(Mail) { - mailData.mail = Mail[0]; - }) - ); - return Promise.all(loadingPromises).then(function() { - return mailData; - }); - } - }, - - saveMailData: { - value: function(mailData) { - return this._dataService.saveDataObject(mailData); - } - } -}, { - instance: { - get: function() { - if(!this._instance) { - this._instance = new MailService(); - this._instance._dataService = FreeNASService.instance; - this._instance.mailRepository = MailRepository.getInstance(); - } - return this._instance; - } - } -}); diff --git a/src/service/model-descriptor-service.ts b/src/service/model-descriptor-service.ts index 8934a36cd5..4dcd489eef 100644 --- a/src/service/model-descriptor-service.ts +++ b/src/service/model-descriptor-service.ts @@ -1,4 +1,5 @@ // DTM +import {AbstractDataObject} from '../model/AbstractDataObject'; declare let require: any; import { MiddlewareClient } from './middleware-client'; import { AbstractDao } from '../dao/abstract-dao'; @@ -12,14 +13,14 @@ export class ModelDescriptorService { private taskSchemaCache: Map>; private taskSchemaPromise: Promise>>; - private readonly UI_DESCRIPTOR_PREFIX = 'core/model/user-interface-descriptors/'; + private readonly UI_DESCRIPTOR_PREFIX = 'ui-descriptors/'; private readonly UI_DESCRIPTOR_SUFFIX = '-user-interface-descriptor.mjson'; private readonly DAO_PREFIX = 'core/dao/'; private readonly DAO_SUFFIX = '-dao'; public constructor(private middlewareClient: MiddlewareClient) { this.uiCache = new Map(); - this.daoCache = new Map>(); + this.daoCache = new Map>>(); } public static getInstance(): ModelDescriptorService { diff --git a/src/service/peering-service.js b/src/service/peering-service.js index 884f357a38..254dce3912 100644 --- a/src/service/peering-service.js +++ b/src/service/peering-service.js @@ -1,7 +1,7 @@ var Montage = require("montage").Montage, - FreeNASService = require("core/service/freenas-service").FreeNASService, - Promise = require("montage/core/promise").Promise, - Model = require("core/model/model").Model; + ModelDescriptorService = require('core/service/model-descriptor-service').ModelDescriptorService, + PeerRepository = require('core/repository/peer-repository').PeerRepository, + Model = require("core/model").Model; var PeeringService = exports.PeeringService = Montage.specialize({ @@ -36,6 +36,8 @@ var PeeringService = exports.PeeringService = Montage.specialize({ constructor: { value: function () { + this.modelDescriptorService = ModelDescriptorService.getInstance(); + this.peerRepository = PeerRepository.getInstance(); this.TYPE_TO_LABEL[ "freenas" ] = "Create Freenas Peering"; this.TYPE_TO_LABEL[ "amazon-s3" ] = "Create amazon-s3 Peering"; this.TYPE_TO_LABEL[ "ssh" ] = "Create ssh Peering"; @@ -59,12 +61,6 @@ var PeeringService = exports.PeeringService = Montage.specialize({ value: null }, - constructor: { - value: function() { - this._dataService = FreeNASService.instance; - } - }, - createSshPeer: { value: function () { return this._createNewPeer("ssh").then(function (peer) { @@ -95,14 +91,6 @@ var PeeringService = exports.PeeringService = Montage.specialize({ } }, - getSupportedTypes: { - value: function() { - return Model.populateObjectPrototypeForType(Model.Peer).then(function (Peer) { - return Peer.constructor.services.peerTypes(); - }) - } - }, - list: { value: function() { if (this._peers) { @@ -111,7 +99,7 @@ var PeeringService = exports.PeeringService = Montage.specialize({ return this._peersPromise; } else { var self = this; - return this._peersPromise = this._dataService.fetchData(Model.Peer).then(function(peers) { + return this._peersPromise = this.peerRepository.listPeers().then(function(peers) { return self._peers = peers; }); } @@ -121,7 +109,7 @@ var PeeringService = exports.PeeringService = Montage.specialize({ listPeers: { value: function() { - return this._dataService.fetchData(Model.Peer).then(function (peers) { + return this.peerRepository.listPeers().then(function (peers) { return peers; }); } @@ -129,27 +117,7 @@ var PeeringService = exports.PeeringService = Montage.specialize({ _createNewPeer: { value: function (peerType) { - var self = this; - return this._dataService.getNewInstanceForType(Model.Peer).then(function (peering) { - peering._isNewObject = true; - peering.type = peerType; - peering._action = peerType; - peering._label = self.TYPE_TO_LABEL[peerType]; - return self._getNewCredentialsForType(peerType).then(function (credentials) { - peering.credentials = credentials; - return peering; - }); - }) - } - }, - - _getNewCredentialsForType: { - value: function(type) { - var credentialsType = this._CREDENTIALS_PER_TYPE[type]; - return this._dataService.getNewInstanceForType(credentialsType.model).then(function(credentials) { - credentials['%type'] = credentialsType.type; - return credentials; - }); + return this.peerRepository.getNewPeerWithType(peerType); } } diff --git a/src/service/rsyncd-module-service.js b/src/service/rsyncd-module-service.js index ae2c1a36d3..a730566eaa 100644 --- a/src/service/rsyncd-module-service.js +++ b/src/service/rsyncd-module-service.js @@ -1,38 +1,25 @@ var Montage = require("montage").Montage, - FreeNASService = require("core/service/freenas-service").FreeNASService, - Model = require("core/model/model").Model; + RsyncdModuleRepository = require('core/repository/RsyncdModuleRepository').RsyncdModuleRepository; var RsyncdModuleService = exports.RsyncdModuleService = Montage.specialize({ _instance: { value: null }, - _dataService: { - value: null - }, - - _methods: { - value: null - }, - _rsycndModules: { value: null }, constructor: { value: function() { - var self = this; - this._dataService = FreeNASService.instance; - Model.populateObjectPrototypeForType(Model.RsyncdModule).then(function() { - self._methods = Model.RsyncdModule.objectPrototype.services; - }); + this.rsyncdModuleRepository = RsyncdModuleRepository.getInstance(); } }, list: { value: function() { var self = this; - return this._dataService.fetchData(Model.RsyncdModule).then(function(rsyncdModules) { + return this.rsyncdModuleRepository.list().then(function(rsyncdModules) { return self._rsycndModules = rsyncdModules; }); } @@ -40,7 +27,7 @@ var RsyncdModuleService = exports.RsyncdModuleService = Montage.specialize({ delete: { value: function(rsyncdModule) { - return this._dataService.deleteDataObject(rsyncdModule); + return this.rsyncdModuleRepository.delete(rsyncdModule); } } diff --git a/src/service/section/network-section-service.ts b/src/service/section/network-section-service.ts index 36b73e031b..5abb71c80f 100644 --- a/src/service/section/network-section-service.ts +++ b/src/service/section/network-section-service.ts @@ -112,8 +112,8 @@ export class NetworkSectionService extends AbstractSectionService { return this.networkRepository.isClientInterface(networkInterface).then(isClient => networkInterface._isClient = isClient); } - public getNewNetworkInterface() { - return this.networkInterfaceRepository.getNewInstance(); + public getNewNetworkInterface(type) { + return this.networkInterfaceRepository.getNewInterfaceWithType(type); } public handleDhcpChangeOnInterface(networkInterface: any) { diff --git a/src/service/section/service-section-service.ts b/src/service/section/service-section-service.ts index 8a658377ad..d3080e26b3 100644 --- a/src/service/section/service-section-service.ts +++ b/src/service/section/service-section-service.ts @@ -3,18 +3,23 @@ import {ServiceRepository} from '../../repository/service-repository'; import {AbstractSectionService} from './abstract-section-service-ng'; import {NetworkRepository} from '../../repository/network-repository'; import {VolumeRepository} from '../../repository/volume-repository'; +import {User} from '../../model/User'; +import {UserRepository} from '../../repository/UserRepository'; +import {AccountRepository} from '../../repository/account-repository'; export class ServiceSectionService extends AbstractSectionService { private systemRepository: SystemRepository; private serviceRepository: ServiceRepository; private networkRepository: NetworkRepository; private volumeRepository: VolumeRepository; + private accountRepository: AccountRepository; protected init() { this.systemRepository = SystemRepository.getInstance(); this.serviceRepository = ServiceRepository.getInstance(); this.networkRepository = NetworkRepository.getInstance(); this.volumeRepository = VolumeRepository.getInstance(); + this.accountRepository = AccountRepository.getInstance(); } public getSystemGeneral() { @@ -41,10 +46,20 @@ export class ServiceSectionService extends AbstractSectionService { return this.serviceRepository.provideDcUrl(); } + public listUsers() { + return this.accountRepository.listUsers(); + } + + public listGroups() { + return this.accountRepository.listGroups(); + } + public listVolumes() { return this.volumeRepository.listVolumes(); } + public getNextSequenceForStream(streamId: string) {} + protected loadEntries(): Promise> { return this.serviceRepository.listServicesCategories(); } diff --git a/src/service/section/storage-section-service.ts b/src/service/section/storage-section-service.ts index cca130633d..3b6d559e73 100644 --- a/src/service/section/storage-section-service.ts +++ b/src/service/section/storage-section-service.ts @@ -359,6 +359,14 @@ export class StorageSectionService extends AbstractSectionService { return this.accountRepository.searchGroup(value); } + public listUsers() { + return this.accountRepository.listUsers(); + } + + public listGroups() { + return this.accountRepository.listUsers(); + } + private cloneVdevs(vdevs: Array): Array { return _.map(vdevs, (vdev) => { let clone = _.cloneDeep(vdev); diff --git a/src/service/section/system-section-service.ts b/src/service/section/system-section-service.ts index f20910a392..b2ae20ce7e 100644 --- a/src/service/section/system-section-service.ts +++ b/src/service/section/system-section-service.ts @@ -41,10 +41,9 @@ export class SystemSectionService extends AbstractSectionService { private initialDiskAllocationPromise: Promise; private alertEmitterPushBulletRepository: AlertEmitterPushBulletRepository; private alertEmitterRepository: AlertEmitterRepository; - public readonly SELF_SIGNED = CryptoCertificateRepository.SELF_SIGNED; - public readonly CREATION = CryptoCertificateRepository.CREATION; + public readonly CREATION = CryptoCertificateRepository.CREATION; protected init() { this.systemRepository = SystemRepository.getInstance(); this.ntpServerRepository = NtpServerRepository.getInstance(); @@ -62,12 +61,6 @@ export class SystemSectionService extends AbstractSectionService { this.alertFilterRepository = AlertFilterRepository.getInstance(); this.alertEmitterPushBulletRepository = AlertEmitterPushBulletRepository.getInstance(); this.alertEmitterRepository = AlertEmitterRepository.getInstance(); - - - this.eventDispatcherService.addEventListener( - ModelEventName.Disk.listChange, - this.handleDisksChange.bind(this) - ); } protected loadEntries() { @@ -187,6 +180,10 @@ export class SystemSectionService extends AbstractSectionService { return this.alertEmitterRepository.save(alertEmitter); } + public sendEmail(mailMessage, mailObject) { + return this.alertEmitterRepository.sendEmail(mailMessage, mailObject); + } + public getAlertEmitterPushBullet() { return this.alertEmitterRepository.list().then(alertEmitters => _.find(alertEmitters, {config: {'%type': 'AlertEmitterPushbullet'}})); } @@ -195,10 +192,6 @@ export class SystemSectionService extends AbstractSectionService { return this.alertEmitterPushBulletRepository.getConfig(); } - public saveAlertEmitterPushBulletConfig (pushBulletConfig: any): SubmittedTask { - return this.alertEmitterPushBulletRepository.saveConfig(pushBulletConfig); - } - public saveCertificate(certificate: any) { return this.cryptoCertificateRepository.saveCryptoCertificate(certificate); } @@ -250,9 +243,13 @@ export class SystemSectionService extends AbstractSectionService { public listAlertFilters() { return this.alertFilterRepository.listAlertFilters(); } + public saveAlertFilters(alertFilters: Array) { return _.map(alertFilters, alertFilter => this.alertFilterRepository.save(alertFilter)); } + + public getNextSequenceForStream(streamId: string) {} + protected loadExtraEntries() { return undefined; } @@ -265,9 +262,6 @@ export class SystemSectionService extends AbstractSectionService { return undefined; } - private handleDisksChange(disks: Map>) { - } - private setKeepBootEnvironment(bootEnvironment: BootEnvironment, keep: boolean): Promise { bootEnvironment.keep = keep; return this.bootPoolRepository.saveBootEnvironment(bootEnvironment); diff --git a/src/service/section/vms-section-service.js b/src/service/section/vms-section-service.js index 54090bab85..da6df16175 100644 --- a/src/service/section/vms-section-service.js +++ b/src/service/section/vms-section-service.js @@ -1,14 +1,14 @@ var AbstractSectionService = require("core/service/section/abstract-section-service").AbstractSectionService, - VmGuestType = require("core/model/enumerations/vm-guest-type").VmGuestType, - VmConfigBootloader = require("core/model/enumerations/vm-config-bootloader").VmConfigBootloader, - VmDeviceDiskMode = require("core/model/enumerations/vm-device-disk-mode").VmDeviceDiskMode, - VmDeviceDiskTargetType = require("core/model/enumerations/vm-device-disk-target-type").VmDeviceDiskTargetType, - VmDeviceGraphicsResolution = require("core/model/enumerations/vm-device-graphics-resolution").VmDeviceGraphicsResolution, - VmDeviceNicDevice = require("core/model/enumerations/vm-device-nic-device").VmDeviceNicDevice, - VmDeviceNicMode = require("core/model/enumerations/vm-device-nic-mode").VmDeviceNicMode, - VmDeviceUsbDevice = require("core/model/enumerations/vm-device-usb-device").VmDeviceUsbDevice, - VmDeviceVolumeType = require("core/model/enumerations/vm-device-volume-type").VmDeviceVolumeType, - VmDatastoreNfsVersion = require("core/model/enumerations/vm-datastore-nfs-version").VmDatastoreNfsVersion, + VmGuestType = require("core/model/enumerations/VmGuestType").VmGuestType, + VmConfigBootloader = require("core/model/enumerations/VmConfigBootloader").VmConfigBootloader, + VmDeviceDiskMode = require("core/model/enumerations/VmDeviceDiskMode").VmDeviceDiskMode, + VmDeviceDiskTargetType = require("core/model/enumerations/VmDeviceDiskTargetType").VmDeviceDiskTargetType, + VmDeviceGraphicsResolution = require("core/model/enumerations/VmDeviceGraphicsResolution").VmDeviceGraphicsResolution, + VmDeviceNicDevice = require("core/model/enumerations/VmDeviceNicDevice").VmDeviceNicDevice, + VmDeviceNicMode = require("core/model/enumerations/VmDeviceNicMode").VmDeviceNicMode, + VmDeviceUsbDevice = require("core/model/enumerations/VmDeviceUsbDevice").VmDeviceUsbDevice, + VmDeviceVolumeType = require("core/model/enumerations/VmDeviceVolumeType").VmDeviceVolumeType, + VmDatastoreNfsVersion = require("core/model/enumerations/VmDatastoreNfsVersion").VmDatastoreNfsVersion, VmRepository = require("core/repository/vm-repository").VmRepository, VmDatastoreRepository = require("core/repository/VmDatastoreRepository").VmDatastoreRepository, VmSnapshotRepository = require("core/repository/VmSnapshotRepository").VmSnapshotRepository, @@ -24,6 +24,7 @@ var AbstractSectionService = require("core/service/section/abstract-section-serv ModelEventName = require("core/model-event-name").ModelEventName, Model = require("core/model").Model, uuid = require("uuid"), + EnumerationsService = require('core/service/EnumerationsService').EnumerationsService, _ = require("lodash"); exports.VmsSectionService = AbstractSectionService.specialize({ @@ -53,7 +54,7 @@ exports.VmsSectionService = AbstractSectionService.specialize({ "other32": "Other (32-bit)", "other64": "Other (64-bit)" }); - this._guestTypes = VmGuestType.members.map(function(x) { + this._guestTypes = EnumerationsService.cleanupMontageMetadata(VmGuestType).map(function(x) { return { label: labels.get(x, x), value: x diff --git a/src/service/section/wizard-section-service.js b/src/service/section/wizard-section-service.js index dcbec6b498..76d83074fe 100644 --- a/src/service/section/wizard-section-service.js +++ b/src/service/section/wizard-section-service.js @@ -1,5 +1,4 @@ var AbstractSectionService = require('core/service/section/abstract-section-service').AbstractSectionService, - NotificationCenterModule = require('core/backend/notification-center'), Application = require('montage/core/application').application, ModelDescriptorService = require('core/service/model-descriptor-service').ModelDescriptorService, TopologyService = require('core/service/topology-service').TopologyService, @@ -156,12 +155,6 @@ exports.WizardSectionService = AbstractSectionService.specialize({ } }, - notificationCenter: { - get: function () { - return NotificationCenterModule.defaultNotificationCenter; - } - }, - handleTaskDone: { value: function (event) { var notification = event.detail; diff --git a/src/service/share-service.js b/src/service/share-service.js index e1a61f81a3..de9257b36b 100644 --- a/src/service/share-service.js +++ b/src/service/share-service.js @@ -1,13 +1,9 @@ var Montage = require("montage").Montage, - ShareTargettype = require("core/model/enumerations/share-targettype").ShareTargettype, - application = require("montage/core/application").application, - FreeNASService = require("core/service/freenas-service").FreeNASService, + ShareTargettype = require("core/model/enumerations/ShareTargettype").ShareTargettype, BytesService = require("core/service/bytes-service").BytesService, ShareRepository = require("core/repository/share-repository").ShareRepository, ShareIscsiTargetRepository = require("core/repository/ShareIscsiTargetRepository").ShareIscsiTargetRepository, VolumeRepository = require("core/repository/volume-repository").VolumeRepository, - Promise = require("montage/core/promise").Promise, - Model = require("core/model/model").Model, _ = require("lodash"); var ShareService = exports.ShareService = Montage.specialize({ @@ -16,10 +12,6 @@ var ShareService = exports.ShareService = Montage.specialize({ value: null }, - _dataService: { - value: null - }, - createSmbShare: { value: function (volume) { return this._createNewShare(this.constructor.SHARE_TYPES.SMB, volume); @@ -111,7 +103,7 @@ var ShareService = exports.ShareService = Montage.specialize({ }, save: { - value: function (shareObject, isServiceEnabled) { + value: function (shareObject) { var saveSharePromise; // Clear up permissions @@ -125,11 +117,11 @@ var ShareService = exports.ShareService = Montage.specialize({ //FIXME: workaround for the SELECT component. Future dead code. if (shareObject.type === this.constructor.SHARE_TYPES.NFS) { - saveSharePromise = this._saveNfsShareObject(shareObject, isServiceEnabled); + saveSharePromise = this._saveNfsShareObject(shareObject); } else if (shareObject.type === this.constructor.SHARE_TYPES.ISCSI) { - saveSharePromise = this._saveIscsiShareObject(shareObject, isServiceEnabled); + saveSharePromise = this._saveIscsiShareObject(shareObject); } else if (shareObject.type === this.constructor.SHARE_TYPES.AFP) { - saveSharePromise = this._saveAfpShareObject(shareObject, isServiceEnabled); + saveSharePromise = this._saveAfpShareObject(shareObject); } else { saveSharePromise = this.shareRepository.saveShare(shareObject); } @@ -138,7 +130,7 @@ var ShareService = exports.ShareService = Montage.specialize({ }, _saveNfsShareObject: { - value: function(shareObject, isServiceEnabled) { + value: function(shareObject) { var properties = shareObject.properties; properties.maproot_user = properties.maproot_user != ' - ' ? properties.maproot_user : null; properties.maproot_group = properties.maproot_group != ' - ' ? properties.maproot_group : null; @@ -150,7 +142,7 @@ var ShareService = exports.ShareService = Montage.specialize({ }, _saveAfpShareObject: { - value: function(shareObject, isServiceEnabled) { + value: function(shareObject) { if (shareObject._isNew) { shareObject.properties.default_file_perms = this._isPermissionsDefined(shareObject.properties.default_file_perms) ? shareObject.properties.default_file_perms : null; @@ -205,7 +197,7 @@ var ShareService = exports.ShareService = Montage.specialize({ return this.shareRepository.saveShare(shareObject, datasetProperties) .then(function() { if (isNewShareObject) { - return self._dataService.getNewInstanceForType(Model.ShareIscsiTarget).then(function(target) { + return self.shareIscsiTargetRepository.getNewInstance().then(function(target) { var extentObject = { name: shareObject.name, number: shareObject.__extent ? shareObject.__extent.lun : 0 @@ -236,7 +228,7 @@ var ShareService = exports.ShareService = Montage.specialize({ value: function () { var self = this; - return this._dataService.fetchData(Model.ShareIscsiTarget).then(function (shareIscsiTargetCollection) { + return this.shareIscsiTargetRepository.list().then(function (shareIscsiTargetCollection) { return (self.shareIscsiTargetCollection = shareIscsiTargetCollection); }); } @@ -299,7 +291,6 @@ var ShareService = exports.ShareService = Montage.specialize({ get: function() { if (!this._instance) { this._instance = new ShareService(); - this._instance._dataService = FreeNASService.instance; this._instance._bytesService = BytesService.instance; this._instance.shareRepository = ShareRepository.getInstance(); this._instance.shareIscsiTargetRepository = ShareIscsiTargetRepository.getInstance(); diff --git a/src/service/storage-service.js b/src/service/storage-service.js deleted file mode 100644 index b94e669240..0000000000 --- a/src/service/storage-service.js +++ /dev/null @@ -1,253 +0,0 @@ -var Montage = require("montage").Montage, - FreeNASService = require("core/service/freenas-service").FreeNASService, - Promise = require("montage/core/promise").Promise, - Model = require("core/model/model").Model; - -var StorageService = exports.StorageService = Montage.specialize({ - - SCALED_NUMERIC_RE_: { - value: /^(\d+\.?\d{0,3})([KMGTPEZ]?)?[I]?[B]?$/i - }, - - SIZE_PREFIX_EXPONENTS: { - value: { - K: 1, - M: 2, - G: 3, - T: 4, - P: 5, - E: 6, - Z: 7 - } - }, - - _instance: { - value: null - }, - - _dataService: { - value: null - }, - - _volumes: { - value: null - }, - - _volumesPromise: { - value: null - }, - - _datasets: { - value: null - }, - - _datasetsPromise: { - value: null - }, - - _disks: { - value: null - }, - - _disksPromise: { - value: null - }, - - constructor: { - value: function() { - this._dataService = FreeNASService.instance; - } - }, - - listVolumeSnapshots: { - value: function() { - return this._dataService.fetchData(Model.VolumeSnapshot).then(function (snapshots) { - return snapshots; - }); - } - }, - - getShareData: { - value: function() { - return this._dataService.fetchData(Model.Share).then(function (shares) { - return shares; - }); - } - }, - - listVolumes: { - value: function() { - if (this._volumes) { - return Promise.resolve(this._volumes); - } else if (this._volumesPromise) { - return this._volumesPromise; - } else { - var self = this; - return this._volumesPromise = this._dataService.fetchData(Model.Volume).then(function(volumes) { - return self._volumes = volumes; - }); - } - } - }, - - listDatasets: { - value: function() { - if (this._datasets) { - return Promise.resolve(this._datasets); - } else if (this._datasetsPromise) { - return this._datasetsPromise; - } else { - var self = this; - return this._datasetsPromise = this._dataService.fetchData(Model.VolumeDataset).then(function(datasets) { - return self._datasets = datasets; - }); - } - } - }, - - listDisks: { - value: function() { - if (this._disks) { - return Promise.resolve(this._disks); - } else if (this._disksPromise) { - return this._disksPromise; - } else { - var self = this; - return this._disksPromise = this._dataService.fetchData(Model.Disk).then(function(disks) { - return self._disks = disks; - }); - } - } - }, - - initializeDatasetProperties: { - value: function(dataset) { - var self = this; - if (!dataset.properties) { - this._dataService.getNewInstanceForType(Model.VolumeDatasetProperties).then(function(newProperties) { - dataset.properties = newProperties; - - self._dataService.getNewInstanceForType(Model.VolumeDatasetPropertyAtime).then(function(newAtime) { - newAtime.source = "INHERITED"; - dataset.properties.atime = newAtime; - return self._dataService.getNewInstanceForType(Model.VolumeDatasetPropertyCasesensitivity); - }).then(function(newCasesensitivity) { - newCasesensitivity.source = "INHERITED"; - dataset.properties.casesensitivity = newCasesensitivity; - return self._dataService.getNewInstanceForType(Model.VolumeDatasetPropertyCompression); - }).then(function(newCompression) { - newCompression.source = "INHERITED"; - dataset.properties.compression = newCompression; - return self._dataService.getNewInstanceForType(Model.VolumeDatasetPropertyDedup); - }).then(function(newDedup) { - newDedup.source = "INHERITED"; - dataset.properties.dedup = newDedup; - return self._dataService.getNewInstanceForType(Model.VolumeDatasetPropertyQuota); - }).then(function(newQuota) { - dataset.properties.quota = newQuota; - return self._dataService.getNewInstanceForType(Model.VolumeDatasetPropertyRefquota); - }).then(function(newRefquota) { - dataset.properties.refquota = newRefquota; - return self._dataService.getNewInstanceForType(Model.VolumeDatasetPropertyVolblocksize); - }).then(function(newVolblocksize) { - newVolblocksize.parsed = 512; - dataset.properties.volblocksize = newVolblocksize; - return self._dataService.getNewInstanceForType(Model.VolumeDatasetPropertyRefreservation); - }).then(function(newRefreservation) { - dataset.properties.refreservation = newRefreservation; - return self._dataService.getNewInstanceForType(Model.VolumeDatasetPropertyReservation); - }).then(function(newReservation) { - dataset.properties.reservation = newReservation; - }); - }); - } - } - }, - - /* First shalt thou identify the Holy Prefix, then shalt thou multiply by a - power of 1024, no more, no less. 1024 shall be the number thou shalt - exponentiate, and the number of the exponentiation shall be 1024. 1000 - shalt thou not exponentiate, neither multiply thou 2, excepting that thou - then proceed to 1024. 1012 is right out. Once the number 1024, being the - correct base, be exponentiated, then multipliest thou the Holy Result of - FreeNAS by thy desired value, which being parsed from user input, shall - first be confirmed to be a number. - */ - convertSizeStringToBytes: { - value: function (size) { - var input, prefix, value; - if (typeof size === "string") { - input = size.match(this.SCALED_NUMERIC_RE_); - if (input) { - prefix = input[2]; - value = input[1]; - return parseInt(prefix ? value * Math.pow(1024, this.SIZE_PREFIX_EXPONENTS[prefix.toUpperCase()]) : parseInt(value)); - } - } - return null; - } - }, - - convertBytesToSizeString: { - value: function(bytes) { - var result = bytes, - sizePrefixes = Object.keys(this.SIZE_PREFIX_EXPONENTS), - prefixIndex = 0; - - if (typeof bytes === "number") { - while (result % 1024 === 0) { - prefixIndex++; - result = result / 1024; - } - - for (var i=1, length = sizePrefixes.length; i<=length; i++) { - if (this.SIZE_PREFIX_EXPONENTS[sizePrefixes[i]] === prefixIndex) { - result += sizePrefixes[i] + "iB"; - break; - } - } - result += ""; - } - return result; - } - }, - - isRootDataset: { - value: function (dataset) { - return dataset.name === dataset.volume; - } - }, - - ensureDefaultPermissionsAreSet: { - value: function(share) { - if (!share.permissions || !share.permissions.user || !share.permissions.group) { - var permissionsPromise = share.permissions ? - Promise.resolve(share.permissions) : this._dataService.getNewInstanceForType(Model.Permissions); - - return permissionsPromise.then(function (permissions) { - if (!permissions.user) { - permissions.user = 'root'; - } - if (!permissions.group) { - permissions.group = 'wheel'; - } - - share.permissions = permissions; - return share; - }); - } - return Promise.resolve(share); - } - } - - -}, { - instance: { - get: function() { - if (!this._instance) { - this._instance = new StorageService(); - } - return this._instance; - } - } -}); diff --git a/src/service/support-service.js b/src/service/support-service.js index f5fe1e5bf1..803c593270 100644 --- a/src/service/support-service.js +++ b/src/service/support-service.js @@ -1,9 +1,8 @@ var Montage = require("montage").Montage, - NotificationCenterModule = require("core/backend/notification-center"), SupportCategoryDao = require("core/dao/support-category-dao").SupportCategoryDao, SupportTicketDao = require("core/dao/support-ticket-dao").SupportTicketDao; -var SupportService = exports.SupportService = Montage.specialize({ +exports.SupportService = Montage.specialize({ _instance: { value: null }, @@ -47,7 +46,6 @@ var SupportService = exports.SupportService = Montage.specialize({ this._instance = new this(); this._instance._supportCategoryDao = new SupportCategoryDao(); this._instance._supportTicketDao = new SupportTicketDao(); - this._instance._notificationCenter = NotificationCenterModule.defaultNotificationCenter; } return this._instance; } diff --git a/src/service/system-info-service.js b/src/service/system-info-service.js deleted file mode 100644 index 5886c44377..0000000000 --- a/src/service/system-info-service.js +++ /dev/null @@ -1,68 +0,0 @@ -var Montage = require("montage").Montage, - MiddlewareClient = require("core/service/middleware-client").MiddlewareClient, - FreeNASService = require("core/service/freenas-service").FreeNASService, - Model = require("core/model/model").Model; - -var SystemInfoService = exports.SystemInfoService = Montage.specialize({ - _NAMESPACE: { - value: 'system.info.' - }, - - _instance: { - value: null - }, - - _dataService: { - value: null - }, - - getVersion: { - value: function() { - return this._callBackend('version'); - } - }, - - getHardware: { - value: function() { - return this._callBackend('hardware'); - } - }, - - getUname: { - value: function() { - return this._callBackend('uname_full'); - } - }, - - getTime: { - value: function() { - return this._dataService.fetchData(Model.SystemTime).then(function(systemTime) { - return systemTime[0]; - }); - } - }, - - getLoad: { - value: function() { - return this._callBackend('load_avg'); - } - }, - - _callBackend: { - value: function(method, args) { - return this._middlewareClient.callRpcMethod(this._NAMESPACE + method, args); - } - } - -}, { - instance: { - get: function() { - if (!this._instance) { - this._instance = new SystemInfoService(); - this._instance._dataService = FreeNASService.instance; - this._instance._middlewareClient = MiddlewareClient.getInstance() - } - return this._instance; - } - } -}); diff --git a/src/service/virtual-machine-service.js b/src/service/virtual-machine-service.js deleted file mode 100644 index 9101102586..0000000000 --- a/src/service/virtual-machine-service.js +++ /dev/null @@ -1,129 +0,0 @@ -var Montage = require("montage").Montage, - VmRepository - MiddlewareClient = require("core/service/middleware-client").MiddlewareClient, - FreeNASService = require("core/service/freenas-service").FreeNASService, - Model = require("core/model/model").Model, - VmDeviceType = require("core/model/enumerations/vm-device-type").VmDeviceType; - -var VirtualMachineService = exports.VirtualMachineService = Montage.specialize({ - _instance: { - value: null - }, - - _dataService: { - value: null - }, - - _backendBridge: { - value: null - }, - - _hardwareCapabilitiesPromise: { - value: null - }, - - createCdromDevice: { - value: function() { - return this._createNewDevice(VmDeviceType.CDROM); - } - }, - - createDiskDevice: { - value: function() { - return this._createNewDevice(VmDeviceType.DISK); - } - }, - - createGraphicsDevice: { - value: function() { - return this._createNewDevice(VmDeviceType.GRAPHICS); - } - }, - - createNicDevice: { - value: function() { - return this._createNewDevice(VmDeviceType.NIC); - } - }, - - createUsbDevice: { - value: function() { - return this._createNewDevice(VmDeviceType.USB); - } - }, - - _createNewDevice: { - value: function(type) { - var self = this; - return this._dataService.getNewInstanceForType(Model.VmDevice).then(function(device) { - device.type = type; - device._isNewObject = true; - self.setDeviceDefaults(device); - return device; - }); - } - }, - - setDeviceDefaults: { - value: function(device) { - device.properties = device.properties || {}; - switch (device.type) { - case VmDeviceType.CDROM: - break; - case VmDeviceType.DISK: - device.properties.mode = device.properties.mode || "AHCI"; - device.properties.target_type = device.properties.target_type || "FILE"; - break; - case VmDeviceType.GRAPHICS: - device.properties.resolution = device.properties.resolution || "1024x768"; - break; - case VmDeviceType.NIC: - device.properties.device = device.properties.device || "VIRTIO"; - device.properties.mode = device.properties.mode || "NAT"; - break; - case VmDeviceType.USB: - device.properties.device = device.properties.device || "tablet"; - break; - } - } - }, - - listVirtualMachines: { - value: function() { - return this._dataService.fetchData(Model.Vm); - } - }, - - getTemplates: { - value: function() { - var self = this; - return this._middlewareClient.callRpcMethod("vm.template.query", []).then(function(templates) { - var results = []; - for (var i = 0, length = templates.data.length; i < length; i++) { - results.push(self._dataService.mapRawDataToType(templates.data[i], Model.Vm)); - } - return Promise.all(results); - }); - } - }, - - getHardwareCapabilities: { - value: function() { - return this._hardwareCapabilitiesPromise = this._hardwareCapabilitiesPromise || - this._middlewareClient.callRpcMethod("vm.get_hw_vm_capabilities", []).then(function(response) { - return response.data; - }); - } - } -}, { - instance: { - get: function() { - if (!this._instance) { - this._instance = new VirtualMachineService(); - this._instance._dataService = FreeNASService.instance; - this._instance._middlewareClient = MiddlewareClient.getInstance(); - } - return this._instance; - } - } -}); diff --git a/src/systemjs_config.js b/src/systemjs_config.js index 930a765f91..889cbbcac5 100644 --- a/src/systemjs_config.js +++ b/src/systemjs_config.js @@ -18,7 +18,8 @@ SystemJS.config({ bluebird: './node_modules/montage/node_modules/bluebird/js/browser/bluebird.min.js', core: './core', dao: './core/dao', - data: './data' + data: './data', + "ui-descriptors": './ui-descriptors' }, meta: { '*.mjson': { diff --git a/tests/e2e/tests/accounts/05_kerberos.js b/tests/e2e/tests/accounts/05_kerberos.js index 34570fbbdf..93d5a97df0 100644 --- a/tests/e2e/tests/accounts/05_kerberos.js +++ b/tests/e2e/tests/accounts/05_kerberos.js @@ -11,13 +11,13 @@ module.exports = { .waitForElementVisible('.CascadingListItem:nth-child(4) div.KerberosRealm'); browser.expect.element('.CascadingListItem:nth-child(4) div.KerberosRealm .Inspector-header').text.to.equal(''); }, - 'Kerberos tabs': function(browser) { + 'Kerberos tabs': ''+function(browser) { browser .press('.CascadingListItem:nth-child(2) .DirectoryServices-body .List-item:nth-child(6)') .waitForElementVisible('.CascadingListItem:nth-child(3) div.Viewer'); browser.expect.element('.CascadingListItem:nth-child(3) div.Viewer .Viewer-title').text.to.equal('Kerberos Tabs'); }, - 'Create kerberos tab': function(browser) { + 'Create kerberos tab': ''+function(browser) { browser .press('.CascadingListItem:nth-child(3) div.Viewer .Viewer-createButton') .waitForElementVisible('.CascadingListItem:nth-child(4) div.KerberosKeytab'); diff --git a/tests/e2e/tests/network/04_settings.js b/tests/e2e/tests/network/04_settings.js index 964ac21850..21dfdfd6a4 100644 --- a/tests/e2e/tests/network/04_settings.js +++ b/tests/e2e/tests/network/04_settings.js @@ -4,6 +4,6 @@ module.exports = { .press('.CascadingListItem:nth-child(1) [data-montage-id=settings]') .waitForElementVisible('.CascadingListItem:nth-child(2) div.SectionSettings'); browser.expect.element('.CascadingListItem:nth-child(2) div.SectionSettings .Inspector-header').text.to.equal('Network settings'); - browser.expect.element('.CascadingListItem:nth-child(2) div.SectionSettings div.Settings').to.be.present.before(5000); + browser.expect.element('.CascadingListItem:nth-child(2) div.SectionSettings div.Network-settings').to.be.present.before(5000); } }; diff --git a/core/model/user-interface-descriptors/account-category-user-interface-descriptor.mjson b/ui-descriptors/account-category-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/account-category-user-interface-descriptor.mjson rename to ui-descriptors/account-category-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/account-system-user-interface-descriptor.mjson b/ui-descriptors/account-system-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/account-system-user-interface-descriptor.mjson rename to ui-descriptors/account-system-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/alert-emitter-email-user-interface-descriptor.mjson b/ui-descriptors/alert-emitter-email-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/alert-emitter-email-user-interface-descriptor.mjson rename to ui-descriptors/alert-emitter-email-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/alert-filter-user-interface-descriptor.mjson b/ui-descriptors/alert-filter-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/alert-filter-user-interface-descriptor.mjson rename to ui-descriptors/alert-filter-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/calendar-custom-schedule-user-interface-descriptor.mjson b/ui-descriptors/calendar-custom-schedule-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/calendar-custom-schedule-user-interface-descriptor.mjson rename to ui-descriptors/calendar-custom-schedule-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/calendar-task-user-interface-descriptor.mjson b/ui-descriptors/calendar-task-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/calendar-task-user-interface-descriptor.mjson rename to ui-descriptors/calendar-task-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/calendar-user-interface-descriptor.mjson b/ui-descriptors/calendar-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/calendar-user-interface-descriptor.mjson rename to ui-descriptors/calendar-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/crypto-certificate-user-interface-descriptor.mjson b/ui-descriptors/crypto-certificate-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/crypto-certificate-user-interface-descriptor.mjson rename to ui-descriptors/crypto-certificate-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/detached-volume-user-interface-descriptor.mjson b/ui-descriptors/detached-volume-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/detached-volume-user-interface-descriptor.mjson rename to ui-descriptors/detached-volume-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/directory-services-user-interface-descriptor.mjson b/ui-descriptors/directory-services-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/directory-services-user-interface-descriptor.mjson rename to ui-descriptors/directory-services-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/directory-user-interface-descriptor.mjson b/ui-descriptors/directory-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/directory-user-interface-descriptor.mjson rename to ui-descriptors/directory-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/disk-user-interface-descriptor.mjson b/ui-descriptors/disk-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/disk-user-interface-descriptor.mjson rename to ui-descriptors/disk-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/docker-collection-user-interface-descriptor.mjson b/ui-descriptors/docker-collection-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/docker-collection-user-interface-descriptor.mjson rename to ui-descriptors/docker-collection-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/docker-container-creator-user-interface-descriptor.mjson b/ui-descriptors/docker-container-creator-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/docker-container-creator-user-interface-descriptor.mjson rename to ui-descriptors/docker-container-creator-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/docker-container-logs-user-interface-descriptor.mjson b/ui-descriptors/docker-container-logs-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/docker-container-logs-user-interface-descriptor.mjson rename to ui-descriptors/docker-container-logs-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/docker-container-section-user-interface-descriptor.mjson b/ui-descriptors/docker-container-section-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/docker-container-section-user-interface-descriptor.mjson rename to ui-descriptors/docker-container-section-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/docker-container-user-interface-descriptor.mjson b/ui-descriptors/docker-container-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/docker-container-user-interface-descriptor.mjson rename to ui-descriptors/docker-container-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/docker-host-user-interface-descriptor.mjson b/ui-descriptors/docker-host-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/docker-host-user-interface-descriptor.mjson rename to ui-descriptors/docker-host-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/docker-image-pull-user-interface-descriptor.mjson b/ui-descriptors/docker-image-pull-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/docker-image-pull-user-interface-descriptor.mjson rename to ui-descriptors/docker-image-pull-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/docker-image-readme-user-interface-descriptor.mjson b/ui-descriptors/docker-image-readme-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/docker-image-readme-user-interface-descriptor.mjson rename to ui-descriptors/docker-image-readme-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/docker-image-user-interface-descriptor.mjson b/ui-descriptors/docker-image-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/docker-image-user-interface-descriptor.mjson rename to ui-descriptors/docker-image-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/docker-network-user-interface-descriptor.mjson b/ui-descriptors/docker-network-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/docker-network-user-interface-descriptor.mjson rename to ui-descriptors/docker-network-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/encrypted-volume-actions-user-interface-descriptor.mjson b/ui-descriptors/encrypted-volume-actions-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/encrypted-volume-actions-user-interface-descriptor.mjson rename to ui-descriptors/encrypted-volume-actions-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/encrypted-volume-importer-user-interface-descriptor.mjson b/ui-descriptors/encrypted-volume-importer-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/encrypted-volume-importer-user-interface-descriptor.mjson rename to ui-descriptors/encrypted-volume-importer-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/group-user-interface-descriptor.mjson b/ui-descriptors/group-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/group-user-interface-descriptor.mjson rename to ui-descriptors/group-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/ipmi-user-interface-descriptor.mjson b/ui-descriptors/ipmi-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/ipmi-user-interface-descriptor.mjson rename to ui-descriptors/ipmi-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/kerberos-keytab-user-interface-descriptor.mjson b/ui-descriptors/kerberos-keytab-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/kerberos-keytab-user-interface-descriptor.mjson rename to ui-descriptors/kerberos-keytab-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/kerberos-realm-user-interface-descriptor.mjson b/ui-descriptors/kerberos-realm-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/kerberos-realm-user-interface-descriptor.mjson rename to ui-descriptors/kerberos-realm-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/network-config-user-interface-descriptor.mjson b/ui-descriptors/network-config-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/network-config-user-interface-descriptor.mjson rename to ui-descriptors/network-config-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/network-interface-bridge-user-interface-descriptor.mjson b/ui-descriptors/network-interface-bridge-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/network-interface-bridge-user-interface-descriptor.mjson rename to ui-descriptors/network-interface-bridge-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/network-interface-lagg-user-interface-descriptor.mjson b/ui-descriptors/network-interface-lagg-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/network-interface-lagg-user-interface-descriptor.mjson rename to ui-descriptors/network-interface-lagg-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/network-interface-user-interface-descriptor.mjson b/ui-descriptors/network-interface-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/network-interface-user-interface-descriptor.mjson rename to ui-descriptors/network-interface-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/network-interface-vlan-user-interface-descriptor.mjson b/ui-descriptors/network-interface-vlan-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/network-interface-vlan-user-interface-descriptor.mjson rename to ui-descriptors/network-interface-vlan-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/network-overview-user-interface-descriptor.mjson b/ui-descriptors/network-overview-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/network-overview-user-interface-descriptor.mjson rename to ui-descriptors/network-overview-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/network-route-user-interface-descriptor.mjson b/ui-descriptors/network-route-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/network-route-user-interface-descriptor.mjson rename to ui-descriptors/network-route-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/ntp-server-user-interface-descriptor.mjson b/ui-descriptors/ntp-server-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/ntp-server-user-interface-descriptor.mjson rename to ui-descriptors/ntp-server-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/peer-user-interface-descriptor.mjson b/ui-descriptors/peer-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/peer-user-interface-descriptor.mjson rename to ui-descriptors/peer-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/replication-options-user-interface-descriptor.mjson b/ui-descriptors/replication-options-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/replication-options-user-interface-descriptor.mjson rename to ui-descriptors/replication-options-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/replication-user-interface-descriptor.mjson b/ui-descriptors/replication-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/replication-user-interface-descriptor.mjson rename to ui-descriptors/replication-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/rsyncd-module-user-interface-descriptor.mjson b/ui-descriptors/rsyncd-module-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/rsyncd-module-user-interface-descriptor.mjson rename to ui-descriptors/rsyncd-module-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/scrub-user-interface-descriptor.mjson b/ui-descriptors/scrub-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/scrub-user-interface-descriptor.mjson rename to ui-descriptors/scrub-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/section-settings-user-interface-descriptor.mjson b/ui-descriptors/section-settings-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/section-settings-user-interface-descriptor.mjson rename to ui-descriptors/section-settings-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/section-user-interface-descriptor.mjson b/ui-descriptors/section-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/section-user-interface-descriptor.mjson rename to ui-descriptors/section-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/service-user-interface-descriptor.mjson b/ui-descriptors/service-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/service-user-interface-descriptor.mjson rename to ui-descriptors/service-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/services-category-user-interface-descriptor.mjson b/ui-descriptors/services-category-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/services-category-user-interface-descriptor.mjson rename to ui-descriptors/services-category-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/services.mjson b/ui-descriptors/services.mjson similarity index 100% rename from core/model/user-interface-descriptors/services.mjson rename to ui-descriptors/services.mjson diff --git a/core/model/user-interface-descriptors/share-user-interface-descriptor.mjson b/ui-descriptors/share-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/share-user-interface-descriptor.mjson rename to ui-descriptors/share-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/system-general-user-interface-descriptor.mjson b/ui-descriptors/system-general-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/system-general-user-interface-descriptor.mjson rename to ui-descriptors/system-general-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/system-section-user-interface-descriptor.mjson b/ui-descriptors/system-section-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/system-section-user-interface-descriptor.mjson rename to ui-descriptors/system-section-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/tunable-user-interface-descriptor.mjson b/ui-descriptors/tunable-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/tunable-user-interface-descriptor.mjson rename to ui-descriptors/tunable-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/user-user-interface-descriptor.mjson b/ui-descriptors/user-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/user-user-interface-descriptor.mjson rename to ui-descriptors/user-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/vm-clone-user-interface-descriptor.mjson b/ui-descriptors/vm-clone-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/vm-clone-user-interface-descriptor.mjson rename to ui-descriptors/vm-clone-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/vm-datastore-user-interface-descriptor.mjson b/ui-descriptors/vm-datastore-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/vm-datastore-user-interface-descriptor.mjson rename to ui-descriptors/vm-datastore-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/vm-device-user-interface-descriptor.mjson b/ui-descriptors/vm-device-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/vm-device-user-interface-descriptor.mjson rename to ui-descriptors/vm-device-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/vm-readme-user-interface-descriptor.mjson b/ui-descriptors/vm-readme-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/vm-readme-user-interface-descriptor.mjson rename to ui-descriptors/vm-readme-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/vm-snapshot-user-interface-descriptor.mjson b/ui-descriptors/vm-snapshot-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/vm-snapshot-user-interface-descriptor.mjson rename to ui-descriptors/vm-snapshot-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/vm-user-interface-descriptor.mjson b/ui-descriptors/vm-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/vm-user-interface-descriptor.mjson rename to ui-descriptors/vm-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/vm-volume-user-interface-descriptor.mjson b/ui-descriptors/vm-volume-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/vm-volume-user-interface-descriptor.mjson rename to ui-descriptors/vm-volume-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/vmware-dataset-user-interface-descriptor.mjson b/ui-descriptors/vmware-dataset-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/vmware-dataset-user-interface-descriptor.mjson rename to ui-descriptors/vmware-dataset-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/volume-dataset-user-interface-descriptor.mjson b/ui-descriptors/volume-dataset-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/volume-dataset-user-interface-descriptor.mjson rename to ui-descriptors/volume-dataset-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/volume-importer-user-interface-descriptor.mjson b/ui-descriptors/volume-importer-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/volume-importer-user-interface-descriptor.mjson rename to ui-descriptors/volume-importer-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/volume-media-importer-user-interface-descriptor.mjson b/ui-descriptors/volume-media-importer-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/volume-media-importer-user-interface-descriptor.mjson rename to ui-descriptors/volume-media-importer-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/volume-snapshot-user-interface-descriptor.mjson b/ui-descriptors/volume-snapshot-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/volume-snapshot-user-interface-descriptor.mjson rename to ui-descriptors/volume-snapshot-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/volume-user-interface-descriptor.mjson b/ui-descriptors/volume-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/volume-user-interface-descriptor.mjson rename to ui-descriptors/volume-user-interface-descriptor.mjson diff --git a/core/model/user-interface-descriptors/zfs-topology-user-interface-descriptor.mjson b/ui-descriptors/zfs-topology-user-interface-descriptor.mjson similarity index 100% rename from core/model/user-interface-descriptors/zfs-topology-user-interface-descriptor.mjson rename to ui-descriptors/zfs-topology-user-interface-descriptor.mjson diff --git a/ui/abstract/abstract-inspector.js b/ui/abstract/abstract-inspector.js index fc50711d5a..54389f6222 100644 --- a/ui/abstract/abstract-inspector.js +++ b/ui/abstract/abstract-inspector.js @@ -1,6 +1,7 @@ var AbstractComponentActionDelegate = require("ui/abstract/abstract-component-action-delegate").AbstractComponentActionDelegate, EventDispatcherService = require('core/service/event-dispatcher-service').EventDispatcherService, DatastoreService = require("core/service/datastore-service").DatastoreService, + EnumerationsService = require('core/service/EnumerationsService').EnumerationsService, _ = require("lodash"); exports.AbstractInspector = AbstractComponentActionDelegate.specialize({ @@ -133,6 +134,12 @@ exports.AbstractInspector = AbstractComponentActionDelegate.specialize({ } }, + cleanupEnumeration: { + value: function(enumeration) { + return EnumerationsService.cleanupMontageMetadata(enumeration); + } + }, + _recursivelyIgnore: { value: function(parts, objectPart, referencePart) { _.forEach(parts, function(part, depth) { diff --git a/ui/abstract/abstract-multiple-edit-controller.js b/ui/abstract/abstract-multiple-edit-controller.js deleted file mode 100644 index 9e84557609..0000000000 --- a/ui/abstract/abstract-multiple-edit-controller.js +++ /dev/null @@ -1,194 +0,0 @@ -var Component = require("montage/ui/component").Component, - NotificationCenterModule = require("core/backend/notification-center"); - -exports.AbstractMultipleEditController = Component.specialize({ - - _taskIds: { - value: null - }, - - initialize: { - value: function(sectionService) { - this._sectionService = sectionService; - - return this._load(); - } - }, - - revert: { - value: function() { - return this._reset(); - } - }, - - save: { - value: function() { - var self = this, - valuesMap = {}, - promises = []; - - for (var i = 0; i < this.values.length; i++) { - var value = this.values[i]; - if (!value.persistedId) { // created - promises.push(this._saveRaw(value)); - } else { - valuesMap[value.persistedId] = value; - } - } - - for (var i = 0; i < this._objects.length; i++) { - var object = this._objects[i]; - var value = valuesMap[object.persistedId]; - if (!value) { // deleted - promises.push(this.deleteObject(object)); - } else if (this.isValueUpdated(value, object)) { // updated - promises.push(this._saveRaw(value)); - } - } - - return Promise.all(promises).then(function(taskIds) { - return self._startTaskDoneListener(taskIds); - }); - } - }, - - handleObjectsRangeChange: { - value: function(plus, minus, index) { - return this._reset(); - } - }, - - handleTaskDone: { - value: function(event) { - var taskId = event.detail.jobId; - if (this._taskIds && this._taskIds.length) { - this._taskIds.delete(taskId); - if (!this._taskIds.length) { - this._reset(); - this._stopTaskDoneListener(); - } - } - } - }, - - _load: { - value: function() { - var self = this; - return this.loadObjects().then(function(objects) { - self._objects = objects; - self._objects.addRangeChangeListener(self, "objects"); - - return self._reset(); - }); - } - }, - - _reset: { - value: function() { - this.values = this._objects.map(this.mapObjectToValues); - return Promise.resolve(); - } - }, - - _saveRaw: { - value: function(value) { - var self = this; - return this.getNewInstance() - .then(function(object) { - object._isNew = !value.persistedId; - self.mergeValuesToObject(value, object); - return self.saveObject(object); - }); - } - }, - - _startTaskDoneListener: { - value: function(taskIds) { - if (taskIds && taskIds.length) { - this._taskIds = taskIds; - - // Subscribe to task done events to be able to - // reset UI on the completion of tasks submitted - NotificationCenterModule.defaultNotificationCenter.addEventListener("taskDone", this); - } - } - }, - - _stopTaskDoneListener: { - value: function() { - this._taskIds = null; - NotificationCenterModule.defaultNotificationCenter.removeEventListener("taskDone", this); - } - }, - - /** - * Returns new model object - * - * @return {Model} - */ - getNewInstance: { - value: Function.noop - }, - - /** - * Load model objects - * - * @return {Promise} - */ - loadObjects: { - value: Function.noop - }, - - /** - * Save model object - * - * @param {Model} object Object to save - * @return {Promise} - */ - saveObject: { - value: Function.noop - }, - - /** - * Delete model object - * - * @param {Model} object Object to delete - * @return {Promise} - */ - deleteObject: { - value: Function.noop - }, - - /** - * Creates raw data object from model object - * - * @param {Model} object Model object to map - * @return {Object} - */ - mapObjectToValues: { - value: Function.noop - }, - - /** - * Merge raw data back to model object - * - * @param {Object} data Data to be merged - * @param {Model} object Model object - * @return {Model} - */ - mergeValuesToObject: { - value: Function.noop - }, - - /** - * Check if the value is updated from initial model object - * - * @param {Object} value Potentionally updated value - * @param {Model} object Original model object - * @return {bool} - */ - isValueUpdated: { - value: Function.noop - } - -}); diff --git a/ui/controls/cascading-list.reel/cascading-list-item.reel/cascading-list-item.js b/ui/controls/cascading-list.reel/cascading-list-item.reel/cascading-list-item.js index e679d24492..c23c2f89b1 100644 --- a/ui/controls/cascading-list.reel/cascading-list-item.reel/cascading-list-item.js +++ b/ui/controls/cascading-list.reel/cascading-list-item.reel/cascading-list-item.js @@ -164,7 +164,7 @@ exports.CascadingListItem = Component.specialize({ _removeObjectDeletedListener: { value: function () { - if (this._objectDeletedListener && this._data && this._data.object) { + if (this._objectDeletedListener && this._data && this._data.object && ModelEventChange[this._data.objectType]) { this.eventDispatcherService.removeEventListener(ModelEventChange[this._data.objectType].remove(this._data.object.id), this._objectDeletedListener); } } diff --git a/ui/dashboard/notifications.reel/notifications.js b/ui/dashboard/notifications.reel/notifications.js index 5b144dbe2f..636f427b37 100644 --- a/ui/dashboard/notifications.reel/notifications.js +++ b/ui/dashboard/notifications.reel/notifications.js @@ -1,7 +1,6 @@ var AbstractComponentActionDelegate = require("ui/abstract/abstract-component-action-delegate").AbstractComponentActionDelegate, Notification = require("ui/dashboard/notifications.reel/notification.reel").Notification, - RoutingService = require("core/service/routing-service").RoutingService, - notificationCenter = require("core/backend/notification-center").defaultNotificationCenter; + RoutingService = require("core/service/routing-service").RoutingService; exports.Notifications = AbstractComponentActionDelegate.specialize({ templateDidLoad: { @@ -10,12 +9,6 @@ exports.Notifications = AbstractComponentActionDelegate.specialize({ } }, - notificationCenter: { - get: function () { - return this.constructor.notificationCenter; - } - }, - handleRetryButtonAction: { value: function (event) { var iteration = this.items._findIterationContainingElement(event.target.element); @@ -48,10 +41,4 @@ exports.Notifications = AbstractComponentActionDelegate.specialize({ } } -}, { - - notificationCenter: { - value: notificationCenter - } - }); diff --git a/ui/dashboard/sideboard.reel/sideboard.js b/ui/dashboard/sideboard.reel/sideboard.js index b2f4bf3ce2..459f3b7d9a 100644 --- a/ui/dashboard/sideboard.reel/sideboard.js +++ b/ui/dashboard/sideboard.reel/sideboard.js @@ -1,5 +1,4 @@ -var AbstractComponentActionDelegate = require("ui/abstract/abstract-component-action-delegate").AbstractComponentActionDelegate, - notificationCenter = require("core/backend/notification-center").defaultNotificationCenter; +var AbstractComponentActionDelegate = require("ui/abstract/abstract-component-action-delegate").AbstractComponentActionDelegate; /** * @class Sideboard @@ -9,8 +8,6 @@ exports.Sideboard = AbstractComponentActionDelegate.specialize({ enterDocument: { value: function (isFirstTime) { AbstractComponentActionDelegate.prototype.enterDocument.call(this, isFirstTime); - - this.notifications = notificationCenter.notifications; } }, @@ -23,5 +20,5 @@ exports.Sideboard = AbstractComponentActionDelegate.specialize({ this.isCollapsed = !this.isCollapsed; } } - + }); diff --git a/ui/inspectors/calendar-task.reel/calendar-task.js b/ui/inspectors/calendar-task.reel/calendar-task.js index e74a8a6e2a..0adc34e757 100644 --- a/ui/inspectors/calendar-task.reel/calendar-task.js +++ b/ui/inspectors/calendar-task.reel/calendar-task.js @@ -1,5 +1,4 @@ var AbstractInspector = require("ui/abstract/abstract-inspector").AbstractInspector, - Model = require("core/model/model").Model, _ = require("lodash"); exports.CalendarTask = AbstractInspector.specialize({ diff --git a/ui/inspectors/calendar-task.reel/rsync-args.reel/rsync-args.js b/ui/inspectors/calendar-task.reel/rsync-args.reel/rsync-args.js index 945aab30d1..7ccf31b086 100644 --- a/ui/inspectors/calendar-task.reel/rsync-args.reel/rsync-args.js +++ b/ui/inspectors/calendar-task.reel/rsync-args.reel/rsync-args.js @@ -1,7 +1,6 @@ var AbstractInspector = require("ui/abstract/abstract-inspector").AbstractInspector, RsyncCopyRsyncdirection = require('core/model/enumerations/rsync-copy-rsyncdirection').RsyncCopyRsyncdirection, - RsyncCopyRsyncmode = require('core/model/enumerations/rsync-copy-rsyncmode').RsyncCopyRsyncmode, - Model = require("core/model/model").Model; + RsyncCopyRsyncmode = require('core/model/enumerations/rsync-copy-rsyncmode').RsyncCopyRsyncmode; @@ -10,14 +9,14 @@ exports.RsyncArgs = AbstractInspector.specialize({ value: function() { var self = this; - this.rsyncDirections = RsyncCopyRsyncdirection.members.map(function(x) { + this.rsyncDirections = this.cleanupEnumeration(RsyncCopyRsyncdirection).map(function(x) { return { label: x.toLowerCase().toCapitalized(), value: x }; }); - this.rsyncModes = RsyncCopyRsyncmode.members.map(function(x) { + this.rsyncModes = this.cleanupEnumeration(RsyncCopyRsyncmode).map(function(x) { return { label: x.toLowerCase().toCapitalized(), value: x diff --git a/ui/inspectors/calendar-task.reel/smart-args.reel/smart-args.js b/ui/inspectors/calendar-task.reel/smart-args.reel/smart-args.js index fc80cc769e..0024178620 100644 --- a/ui/inspectors/calendar-task.reel/smart-args.reel/smart-args.js +++ b/ui/inspectors/calendar-task.reel/smart-args.reel/smart-args.js @@ -9,7 +9,7 @@ exports.SmartArgs = AbstractInspector.specialize({ this._sectionService.listDisks().then(function(disks) { self.disks = _.sortBy(_.filter(disks, { online: true }), 'path'); }); - this.testTypes = DiskSelftestType.members.map(function(x) { + this.testTypes = this.cleanupEnumeration(DiskSelftestType).map(function(x) { return { label: x.toLowerCase().toCapitalized(), value: x diff --git a/ui/inspectors/calendar-task.reel/snapshot-args.reel/snapshot-args.js b/ui/inspectors/calendar-task.reel/snapshot-args.reel/snapshot-args.js index a124034dce..7c68d810d1 100644 --- a/ui/inspectors/calendar-task.reel/snapshot-args.reel/snapshot-args.js +++ b/ui/inspectors/calendar-task.reel/snapshot-args.reel/snapshot-args.js @@ -1,13 +1,5 @@ -/** - * @module ui/inspectors/calendar-task.reel/snapshot-args.reel - */ -var Component = require("montage/ui/component").Component, - Model = require("core/model/model").Model; - -/** - * @class SnapshotArgs - * @extends Component - */ +var Component = require("montage/ui/component").Component; + exports.SnapshotArgs = Component.specialize(/** @lends SnapshotArgs# */ { enterDocument: { diff --git a/ui/inspectors/rsyncd-module.reel/rsyncd-module.js b/ui/inspectors/rsyncd-module.reel/rsyncd-module.js index 0970e11df6..8007c08c5d 100644 --- a/ui/inspectors/rsyncd-module.reel/rsyncd-module.js +++ b/ui/inspectors/rsyncd-module.reel/rsyncd-module.js @@ -1,6 +1,5 @@ var AbstractInspector = require("ui/abstract/abstract-inspector").AbstractInspector, - RsyncdModuleMode = require("core/model/enumerations/rsyncd-module-mode").RsyncdModuleMode, - Model = require("core/model/model").Model, + RsyncdModuleMode = require("core/model/enumerations/RsyncdModuleMode").RsyncdModuleMode, Promise = require("montage/core/promise").Promise; @@ -9,7 +8,7 @@ exports.RsyncdModule = AbstractInspector.specialize({ _loadUsersIfNeeded: { value: function() { var self = this; - return this.application.dataService.fetchData(Model.User).then(function (users) { + return this._sectionService.listUsers().then(function (users) { return self.users = users; }); } @@ -18,7 +17,7 @@ exports.RsyncdModule = AbstractInspector.specialize({ _loadGroupsIfNeeded: { value: function() { var self = this; - return this.application.dataService.fetchData(Model.Group).then(function(groups) { + return this._sectionService.listGroups().then(function(groups) { return self.groups = groups; }); } @@ -37,7 +36,7 @@ exports.RsyncdModule = AbstractInspector.specialize({ }); - this.rsyncdModeOptions = RsyncdModuleMode.members.map(function(x) { + this.rsyncdModeOptions = this.cleanupEnumeration(RsyncdModuleMode).map(function(x) { return { value: x, label: x diff --git a/ui/inspectors/service.reel/afp-service.reel/afp-service.js b/ui/inspectors/service.reel/afp-service.reel/afp-service.js index f29f9b99b6..b6ae772868 100644 --- a/ui/inspectors/service.reel/afp-service.reel/afp-service.js +++ b/ui/inspectors/service.reel/afp-service.reel/afp-service.js @@ -1,10 +1,5 @@ -var Component = require("montage/ui/component").Component, - Model = require("core/model/model").Model; +var Component = require("montage/ui/component").Component; -/** - * @class AfpService - * @extends Component - */ exports.AfpService = Component.specialize({ users: { @@ -15,7 +10,7 @@ exports.AfpService = Component.specialize({ value: function () { var self = this; - this.application.dataService.fetchData(Model.User).then(function(users) { + this.sectionService.listUsers().then(function(users) { self.users = users; }); } diff --git a/ui/inspectors/service.reel/service.html b/ui/inspectors/service.reel/service.html index 4434992a2a..6c5261eb18 100644 --- a/ui/inspectors/service.reel/service.html +++ b/ui/inspectors/service.reel/service.html @@ -64,8 +64,8 @@ "bindings": { "moduleId": {"<-": "'ui/inspectors/service.reel/' + @owner.name + '-service.reel'"}, "object": {"<-": "@owner.object.config"}, - "context": {"<-": "@owner.context"} - + "context": {"<-": "@owner.context"}, + "component.sectionService": {"<-": "@owner._sectionService"} } } } diff --git a/ui/inspectors/service.reel/smb-service.reel/smb-service.js b/ui/inspectors/service.reel/smb-service.reel/smb-service.js index fe6610d3b9..2884318c49 100644 --- a/ui/inspectors/service.reel/smb-service.reel/smb-service.js +++ b/ui/inspectors/service.reel/smb-service.reel/smb-service.js @@ -1,5 +1,4 @@ -var AbstractInspector = require("ui/abstract/abstract-inspector").AbstractInspector, - Model = require("core/model/model").Model; +var AbstractInspector = require("ui/abstract/abstract-inspector").AbstractInspector; exports.SmbService = AbstractInspector.specialize({ @@ -153,7 +152,7 @@ exports.SmbService = AbstractInspector.specialize({ value: function () { var self = this; - return this.application.dataService.fetchData(Model.User).then(function (users) { + return this.sectionService.listUsers().then(function (users) { self.users = users; }); } diff --git a/ui/inspectors/service.reel/snmp-service.reel/snmp-service.js b/ui/inspectors/service.reel/snmp-service.reel/snmp-service.js index 564a2c694f..380bdd75fd 100644 --- a/ui/inspectors/service.reel/snmp-service.reel/snmp-service.js +++ b/ui/inspectors/service.reel/snmp-service.reel/snmp-service.js @@ -1,6 +1,6 @@ var Component = require("montage/ui/component").Component, - ServiceSnmpV3authtype = require("core/model/enumerations/service-snmp-v3authtype").ServiceSnmpV3authtype, - ServiceSnmpV3privacyprotocol = require("core/model/enumerations/service-snmp-v3privacyprotocol").ServiceSnmpV3privacyprotocol; + ServiceSnmpV3authtype = require("core/model/enumerations/ServiceSnmpV3authtype").ServiceSnmpV3authtype, + ServiceSnmpV3privacyprotocol = require("core/model/enumerations/ServiceSnmpV3privacyprotocol").ServiceSnmpV3privacyprotocol; /** * @class SnmpService diff --git a/ui/inspectors/service.reel/tftpd-service.reel/tftpd-service.js b/ui/inspectors/service.reel/tftpd-service.reel/tftpd-service.js index 83ba848cd2..f56707ff9a 100644 --- a/ui/inspectors/service.reel/tftpd-service.reel/tftpd-service.js +++ b/ui/inspectors/service.reel/tftpd-service.reel/tftpd-service.js @@ -1,5 +1,4 @@ -var Component = require("montage/ui/component").Component, - Model = require("core/model/model").Model; +var Component = require("montage/ui/component").Component; /** * @class TftpdService @@ -15,7 +14,7 @@ exports.TftpdService = Component.specialize({ value: function () { var self = this; - this.application.dataService.fetchData(Model.User).then(function(users) { + this.sectionService.listUsers().then(function(users) { self.users = users; }); } diff --git a/ui/inspectors/service.reel/ups-service.reel/ups-service.js b/ui/inspectors/service.reel/ups-service.reel/ups-service.js index 0143a053f0..2c09be4b86 100644 --- a/ui/inspectors/service.reel/ups-service.reel/ups-service.js +++ b/ui/inspectors/service.reel/ups-service.reel/ups-service.js @@ -1,6 +1,6 @@ var AbstractInspector = require("ui/abstract/abstract-inspector").AbstractInspector, - ServiceUpsShutdownmode = require("core/model/enumerations/service-ups-shutdownmode").ServiceUpsShutdownmode, - ServiceUpsMode = require("core/model/enumerations/service-ups-mode").ServiceUpsMode, + ServiceUpsShutdownmode = require("core/model/enumerations/ServiceUpsShutdownmode").ServiceUpsShutdownmode, + ServiceUpsMode = require("core/model/enumerations/ServiceUpsMode").ServiceUpsMode, Units = require('core/Units'); exports.UpsService = AbstractInspector.specialize({ @@ -8,13 +8,13 @@ exports.UpsService = AbstractInspector.specialize({ value: function () { var self = this; this.timerUnits = Units.SECONDS; - this.modeOptions = ServiceUpsMode.members.map(function (x) { + this.modeOptions = this.cleanupEnumeration(ServiceUpsMode).map(function (x) { return { label: x, value: x }; }); - this.shutdownModeOptions = ServiceUpsShutdownmode.members.map(function (x) { + this.shutdownModeOptions = this.cleanupEnumeration(ServiceUpsShutdownmode).map(function (x) { return { label: x, value: x diff --git a/ui/inspectors/services-category.reel/_share.css b/ui/inspectors/services-category.reel/_share.css deleted file mode 100644 index 4460ab9284..0000000000 --- a/ui/inspectors/services-category.reel/_share.css +++ /dev/null @@ -1 +0,0 @@ -.Share {} diff --git a/ui/inspectors/services-category.reel/share.html b/ui/inspectors/services-category.reel/share.html deleted file mode 100644 index 2a6d11a711..0000000000 --- a/ui/inspectors/services-category.reel/share.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - - - - - - diff --git a/ui/inspectors/services-category.reel/share.js b/ui/inspectors/services-category.reel/share.js deleted file mode 100644 index 4c7cb59a28..0000000000 --- a/ui/inspectors/services-category.reel/share.js +++ /dev/null @@ -1,114 +0,0 @@ -var AbstractInspector = require("ui/abstract/abstract-inspector").AbstractInspector, - Model = require("core/model/model").Model; - -/** - * @class Share - * @extends Component - */ -exports.Share = AbstractInspector.specialize({ - EMPTY_STRING: { - value: '' - }, - - LINE_START: { - value: '^' - }, - - _volumeService: { - value: null - }, - - _targetPath: { - value: null - }, - - _loadingPromise: { - value: null - }, - - targetPath: { - get: function() { - return this._targetPath; - }, - set: function(targetPath) { - var self = this; - if (this._targetPath != targetPath) { - self._targetPath = targetPath; - } - } - }, - - pathConverter: { - value: null - }, - - - enterDocument: { - value: function(isFirsttime) { - this.super(); - var self = this; - if (isFirsttime) { - this._loadingPromise = this._loadVolumeService().then(function() { - self._loadPathConverter(); - }); - } - this._loadingPromise.then(function() { - self.targetPath = self.object.target_path || ''; - }); - } - }, - - save: { - value: function() { - var self = this; - - return this._addTargetTypeToObject().then(function () { - self.application.dataService.saveDataObject(self.object); - }); - } - }, - - _addTargetTypeToObject: { - value: function() { - var self = this; - return this._volumeService.decodePath(this._targetPath).then(function(pathComponents) { - if (pathComponents[2].length > 0) { - self.object.target_type = 'DIRECTORY'; - self.object.target_path = self._targetPath; - } else { - self.object.target_type = 'DATASET'; - self.object.target_path = pathComponents[1]; - } - - }); - } - }, - - _loadVolumeService: { - value: function() { - var self = this; - return Model.populateObjectPrototypeForType(Model.Volume).then(function(Volume) { - self._volumeService = Volume.constructor; - }); - } - }, - - _loadPathConverter: { - value: function() { - var self = this; - return this._volumeService.getDatasetPath(this.object.volume.id).then(function(datasetPath) { - var volumeIdRegExp = new RegExp(self.LINE_START+self.object.volume.id), - volumePathRegExp = new RegExp(self.LINE_START+datasetPath); - self.pathConverter = { - convert: function(value) { - return value.replace(volumePathRegExp, self.EMPTY_STRING).replace(volumeIdRegExp, self.EMPTY_STRING); - }, - revert: function(value) { - return datasetPath + value; - } - }; - self.targetPath = self.targetPath+''; - }); - } - } -}); diff --git a/ui/sections/accounts/inspectors/directory-services.reel/directory-service.reel/directory-service.html b/ui/sections/accounts/inspectors/directory-services.reel/directory-service.reel/directory-service.html index d83e459605..d3d83ed4c9 100644 --- a/ui/sections/accounts/inspectors/directory-services.reel/directory-service.reel/directory-service.html +++ b/ui/sections/accounts/inspectors/directory-services.reel/directory-service.reel/directory-service.html @@ -53,7 +53,8 @@ }, "bindings": { "moduleId": {"<-": "'ui/sections/accounts/inspectors/directory-services.reel/' + @owner.object.type + '-service.reel'"}, - "object": {"<-": "@owner.object"} + "object": {"<-": "@owner.object"}, + "component.sectionService": {"<-": "@owner._sectionService"} } }, diff --git a/ui/sections/accounts/inspectors/directory-services.reel/directory-service.reel/directory-service.js b/ui/sections/accounts/inspectors/directory-services.reel/directory-service.reel/directory-service.js index 12dada0f44..90f80dbfca 100644 --- a/ui/sections/accounts/inspectors/directory-services.reel/directory-service.reel/directory-service.js +++ b/ui/sections/accounts/inspectors/directory-services.reel/directory-service.reel/directory-service.js @@ -1,10 +1,3 @@ -/** - * @module ui/directory-service.reel - */ var AbstractInspector = require("ui/abstract/abstract-inspector").AbstractInspector; -/** - * @class DirectoryService - * @extends Component - */ exports.DirectoryService = AbstractInspector.specialize({}); diff --git a/ui/sections/accounts/inspectors/directory-services.reel/freeipa-service.reel/freeipa-service.js b/ui/sections/accounts/inspectors/directory-services.reel/freeipa-service.reel/freeipa-service.js index bff3168e2a..75f7562c37 100644 --- a/ui/sections/accounts/inspectors/directory-services.reel/freeipa-service.reel/freeipa-service.js +++ b/ui/sections/accounts/inspectors/directory-services.reel/freeipa-service.reel/freeipa-service.js @@ -1,30 +1,3 @@ -/** - * @module ui/freeipa-service.reel - */ -var Component = require("montage/ui/component").Component, - Model = require("core/model/model").Model; +var Component = require("montage/ui/component").Component; -/** - * @class FreeipaService - * @extends Component - */ -exports.FreeipaService = Component.specialize(/** @lends FreeipaService# */ { - - enterDocument: { - value: function () { - this._populateObjectIfNeeded(); - } - }, - - _populateObjectIfNeeded: { - value: function () { - if (this.object && !this.object.parameters) { - var self = this; - - return this.application.dataService.getNewInstanceForType(Model.FreeipaDirectoryParams).then(function (freeipaDirectoryParams) { - return (self.object.parameters = freeipaDirectoryParams); - }); - } - } - } -}); +exports.FreeipaService = Component.specialize(); diff --git a/ui/sections/accounts/inspectors/directory-services.reel/ldap-service.reel/ldap-service.js b/ui/sections/accounts/inspectors/directory-services.reel/ldap-service.reel/ldap-service.js index edc93979ba..b5ff1cdd65 100644 --- a/ui/sections/accounts/inspectors/directory-services.reel/ldap-service.reel/ldap-service.js +++ b/ui/sections/accounts/inspectors/directory-services.reel/ldap-service.reel/ldap-service.js @@ -1,30 +1,3 @@ -/** - * @module ui/ldap-service.reel - */ -var Component = require("montage/ui/component").Component, - Model = require("core/model/model").Model; +var Component = require("montage/ui/component").Component; -/** - * @class LdapService - * @extends Component - */ -exports.LdapService = Component.specialize(/** @lends LdapService# */ { - - enterDocument: { - value: function () { - this._populateObjectIfNeeded(); - } - }, - - _populateObjectIfNeeded: { - value: function () { - if (this.object && !this.object.parameters) { - var self = this; - - return this.application.dataService.getNewInstanceForType(Model.LdapDirectoryParams).then(function (ldapDirectoryParams) { - return self.object.parameters = ldapDirectoryParams; - }); - } - } - } -}); +exports.LdapService = Component.specialize(); diff --git a/ui/sections/accounts/inspectors/directory-services.reel/nis-service.reel/nis-service.js b/ui/sections/accounts/inspectors/directory-services.reel/nis-service.reel/nis-service.js index 3162a5b422..19574d88ce 100644 --- a/ui/sections/accounts/inspectors/directory-services.reel/nis-service.reel/nis-service.js +++ b/ui/sections/accounts/inspectors/directory-services.reel/nis-service.reel/nis-service.js @@ -1,30 +1,3 @@ -/** - * @module ui/nis-service.reel - */ -var Component = require("montage/ui/component").Component, - Model = require("core/model/model").Model; +var Component = require("montage/ui/component").Component; -/** - * @class NisService - * @extends Component - */ -exports.NisService = Component.specialize(/** @lends NisService# */ { - - enterDocument: { - value: function () { - this._populateObjectIfNeeded(); - } - }, - - _populateObjectIfNeeded: { - value: function () { - if (this.object && !this.object.parameters) { - var self = this; - - return this.application.dataService.getNewInstanceForType(Model.NisDirectoryParams).then(function (nisDirectoryParams) { - return self.object.parameters = nisDirectoryParams; - }); - } - } - } -}); +exports.NisService = Component.specialize(); diff --git a/ui/sections/accounts/inspectors/directory-services.reel/winbind-service.reel/winbind-service.js b/ui/sections/accounts/inspectors/directory-services.reel/winbind-service.reel/winbind-service.js index 215c36aa01..6fce877f87 100644 --- a/ui/sections/accounts/inspectors/directory-services.reel/winbind-service.reel/winbind-service.js +++ b/ui/sections/accounts/inspectors/directory-services.reel/winbind-service.reel/winbind-service.js @@ -1,5 +1,4 @@ var Component = require("montage/ui/component").Component, - Model = require("core/model/model").Model, WinbindDirectoryParamsSaslWrapping = require('core/model/enumerations/WinbindDirectoryParamsSaslWrapping').WinbindDirectoryParamsSaslWrapping, _ = require('lodash'); @@ -10,30 +9,9 @@ exports.WinbindService = Component.specialize({ enterDocument: { value: function () { - var self = this; - this.isLoading = true; - this._populateObjectIfNeeded().then(function() { - if (!self.object.parameters.sasl_wrapping) { - self.object.parameters.sasl_wrapping = 'PLAIN'; - } - self.isLoading = false; - }); - } - }, - - _populateObjectIfNeeded: { - value: function () { - var promise; - if (this.object && !this.object.parameters) { - var self = this; - - promise = this.application.dataService.getNewInstanceForType(Model.WinbindDirectoryParams).then(function (winbindDirectoryParams) { - return self.object.parameters = winbindDirectoryParams; - }); - } else { - promise = Promise.resolve(); + if (!this.object.parameters.sasl_wrapping) { + this.object.parameters.sasl_wrapping = 'PLAIN'; } - return promise; } } diff --git a/ui/sections/accounts/inspectors/group.reel/group.js b/ui/sections/accounts/inspectors/group.reel/group.js index d13a6c3905..ee77002add 100644 --- a/ui/sections/accounts/inspectors/group.reel/group.js +++ b/ui/sections/accounts/inspectors/group.reel/group.js @@ -1,10 +1,5 @@ -var AbstractInspector = require("ui/abstract/abstract-inspector").AbstractInspector, - Model = require("core/model/model").Model; +var AbstractInspector = require("ui/abstract/abstract-inspector").AbstractInspector; -/** - * @class Group - * @extends Component - */ exports.Group = AbstractInspector.specialize({ _object: { value: null @@ -58,9 +53,7 @@ exports.Group = AbstractInspector.specialize({ _getNextAvailableGroupID: { value: function() { var self = this; - return Model.populateObjectPrototypeForType(Model.Group).then(function (Group) { - return Group.constructor.services.nextGid(); - }).then(function(groupId) { + return this._sectionService.getNextGid().then(function(groupId) { self.nextGroupId = self.object.gid = groupId; }); } diff --git a/ui/sections/accounts/inspectors/user.reel/user.js b/ui/sections/accounts/inspectors/user.reel/user.js index aa57d2abb2..d79d55e134 100644 --- a/ui/sections/accounts/inspectors/user.reel/user.js +++ b/ui/sections/accounts/inspectors/user.reel/user.js @@ -1,5 +1,4 @@ var AbstractInspector = require("ui/abstract/abstract-inspector").AbstractInspector, - Model = require("core/model/model").Model, _ = require("lodash"), Promise = require("montage/core/promise").Promise, Converter = require("montage/core/converter/converter").Converter, @@ -102,8 +101,8 @@ exports.User = AbstractInspector.specialize({ delete this.object.home; } - let wheel = _.find(this.groupOptions, function(x) { return x.name === "wheel"; }); - let hasWheel = _.includes(this.object.groups, wheel.id); + var wheel = _.find(this.groupOptions, function(x) { return x.name === "wheel"; }); + var hasWheel = _.includes(this.object.groups, wheel.id); if (this.object.sudo && !hasWheel) { this.object.groups.push(wheel.id); } else if (!this.object.sudo && hasWheel) { @@ -113,7 +112,7 @@ exports.User = AbstractInspector.specialize({ } } } - + return this._sectionService.saveUser(this.object).then(function(taskSubmission) { return taskSubmission.taskPromise; }).then(function() { diff --git a/ui/sections/network/inspectors/network-interface-creator.reel/_network-interface-creator.css b/ui/sections/network/inspectors/network-interface-creator.reel/_network-interface-creator.css deleted file mode 100644 index 57694ace20..0000000000 --- a/ui/sections/network/inspectors/network-interface-creator.reel/_network-interface-creator.css +++ /dev/null @@ -1 +0,0 @@ -.NetworkInterfaceCreator .Inspector-body { margin-top: 0; } diff --git a/ui/sections/network/inspectors/network-interface-creator.reel/network-interface-creator.html b/ui/sections/network/inspectors/network-interface-creator.reel/network-interface-creator.html deleted file mode 100644 index b07dbc7350..0000000000 --- a/ui/sections/network/inspectors/network-interface-creator.reel/network-interface-creator.html +++ /dev/null @@ -1,70 +0,0 @@ - - - - - - - - -
-
-
-
-
-
-
- - diff --git a/ui/sections/network/inspectors/network-interface-creator.reel/network-interface-creator.js b/ui/sections/network/inspectors/network-interface-creator.reel/network-interface-creator.js deleted file mode 100644 index e7da23f52a..0000000000 --- a/ui/sections/network/inspectors/network-interface-creator.reel/network-interface-creator.js +++ /dev/null @@ -1,86 +0,0 @@ -var AbstractInspector = require("ui/abstract/abstract-inspector").AbstractInspector, - Model = require("core/model/model").Model, - CascadingList = require("ui/controls/cascading-list.reel").CascadingList; - -/** - * @class NetworkInterfaceCreator - * @extends Component - */ -exports.NetworkInterfaceCreator = AbstractInspector.specialize({ - newVlan: { - value: null - }, - - newLagg: { - value: null - }, - - newBridge: { - value: null - }, - - parentCascadingListItem: { - get: function () { - return CascadingList.findCascadingListItemContextWithComponent(this); - } - }, - - - enterDocument: { - value: function(isFirstTime) { - this.super(); - var self = this; - if (isFirstTime) { - this._dataService = this.application.dataService; - this.addPathChangeListener("parentCascadingListItem.selectedObject", this, "_handleSelectionChange"); - } - this.createNewInterface('Vlan').then(function(vlan) { - self.newVlan = vlan; - }); - this.createNewInterface('Lagg').then(function(lagg) { - lagg.lagg.protocol = 'NONE'; - self.newLagg = lagg; - }); - this.createNewInterface('Bridge').then(function(bridge) { - self.newBridge = bridge; - }); - if (this.parentCascadingListItem) { - this.parentCascadingListItem.selectedObject = null; - } - } - }, - - createNewInterface: { - value: function(type) { - var self = this, - newInterface; - return this._sectionService.getNewNetworkInterface().then(function(networkInterface) { - newInterface = networkInterface; - newInterface.type = type.toUpperCase(); - newInterface._isNewObject = true; - newInterface.aliases = []; - // FIXME: Hacks around combination of name not being nullable in the middleware - // and certain form elements initializing the bound value to null. Remove if - // either issue is resolved. - // - // FIXME: NetworkInterfaceVlan, NetworkInterfaceLagg and NetworkInterfaceBridge should be real classes (needs middleware evolution) - newInterface.name = ""; - return self._dataService.getNewInstanceForType(Model['NetworkInterface' + type + 'Properties']); - }).then(function(properties) { - newInterface[type.toLowerCase()] = properties; - return newInterface; - }); - } - }, - - _handleSelectionChange: { - value: function () { - if (this.parentCascadingListItem && this.parentCascadingListItem.selectedObject) { - if (this._inDocument) { - this.parentCascadingListItem.cascadingList.pop(); - } - } - } - } - -}); diff --git a/ui/sections/network/inspectors/network-interface.reel/lagg.reel/lagg.js b/ui/sections/network/inspectors/network-interface.reel/lagg.reel/lagg.js index a8c95114cd..a5d42703df 100644 --- a/ui/sections/network/inspectors/network-interface.reel/lagg.reel/lagg.js +++ b/ui/sections/network/inspectors/network-interface.reel/lagg.reel/lagg.js @@ -1,5 +1,5 @@ var Component = require("montage/ui/component").Component, - NetworkAggregationProtocols = require("core/model/enumerations/network-aggregation-protocols").NetworkAggregationProtocols; + NetworkAggregationProtocols = require("core/model/enumerations/NetworkAggregationProtocols").NetworkAggregationProtocols; /** * @class Lagg diff --git a/ui/sections/storage/inspectors/available-disks.reel/available-disks.js b/ui/sections/storage/inspectors/available-disks.reel/available-disks.js index 41b2729e24..7a2a88b108 100644 --- a/ui/sections/storage/inspectors/available-disks.reel/available-disks.js +++ b/ui/sections/storage/inspectors/available-disks.reel/available-disks.js @@ -1,5 +1,4 @@ -var Component = require("montage/ui/component").Component, - Model = require("core/model/model").Model; +var Component = require("montage/ui/component").Component; exports.AvailableDisks = Component.specialize({ enterDocument: { @@ -30,7 +29,7 @@ exports.AvailableDisks = Component.specialize({ } } } - }, + }, _handleDisksChange: { value: function() { diff --git a/ui/sections/storage/inspectors/disk.reel/disk.js b/ui/sections/storage/inspectors/disk.reel/disk.js index e9333bc2eb..dcabdd0675 100644 --- a/ui/sections/storage/inspectors/disk.reel/disk.js +++ b/ui/sections/storage/inspectors/disk.reel/disk.js @@ -1,5 +1,5 @@ var AbstractInspector = require("ui/abstract/abstract-inspector").AbstractInspector, - DiskAcousticlevel = require("core/model/enumerations/disk-acousticlevel").DiskAcousticlevel; + DiskAcousticlevel = require("core/model/enumerations/DiskAcousticlevel").DiskAcousticlevel; exports.Disk = AbstractInspector.specialize({ enterDocument: { @@ -13,7 +13,7 @@ exports.Disk = AbstractInspector.specialize({ templateDidLoad: { value: function() { - this.acousticLevelOptions = DiskAcousticlevel.members.map(function(x) { + this.acousticLevelOptions = this.cleanupEnumeration(DiskAcousticlevel).map(function(x) { return { label: x, value: x diff --git a/ui/sections/storage/inspectors/overview.reel/volume-overview-item.reel/volume-overview-item.js b/ui/sections/storage/inspectors/overview.reel/volume-overview-item.reel/volume-overview-item.js index ce5fad6b02..87ef7b95c7 100644 --- a/ui/sections/storage/inspectors/overview.reel/volume-overview-item.reel/volume-overview-item.js +++ b/ui/sections/storage/inspectors/overview.reel/volume-overview-item.reel/volume-overview-item.js @@ -1,6 +1,5 @@ var Component = require("montage/ui/component").Component, - EventDispatcherService = require('core/service/event-dispatcher-service').EventDispatcherService, - Model = require("core/model/model").Model; + EventDispatcherService = require('core/service/event-dispatcher-service').EventDispatcherService; exports.VolumeOverviewItem = Component.specialize(/** @lends VolumeOverviewItem# */ { isExpanded: { diff --git a/ui/sections/storage/inspectors/share.reel/iscsi-share.reel/iscsi-share.js b/ui/sections/storage/inspectors/share.reel/iscsi-share.reel/iscsi-share.js index 5ed275f14b..be94461333 100644 --- a/ui/sections/storage/inspectors/share.reel/iscsi-share.reel/iscsi-share.js +++ b/ui/sections/storage/inspectors/share.reel/iscsi-share.reel/iscsi-share.js @@ -1,6 +1,6 @@ var AbstractShareInspector = require("../abstract-share-inspector").AbstractShareInspector, - ShareIscsiRpm = require("core/model/enumerations/share-iscsi-rpm").ShareIscsiRpm, - ShareIscsiBlocksize = require("core/model/enumerations/share-iscsi-blocksize").ShareIscsiBlocksize, + ShareIscsiRpm = require("core/model/enumerations/ShareIscsiRpm").ShareIscsiRpm, + ShareIscsiBlocksize = require("core/model/enumerations/ShareIscsiBlocksize").ShareIscsiBlocksize, Units = require('core/Units'), _ = require("lodash"); diff --git a/ui/sections/storage/inspectors/share.reel/nfs-share.reel/nfs-share.js b/ui/sections/storage/inspectors/share.reel/nfs-share.reel/nfs-share.js index 234f841e8b..ad29dc8c23 100644 --- a/ui/sections/storage/inspectors/share.reel/nfs-share.reel/nfs-share.js +++ b/ui/sections/storage/inspectors/share.reel/nfs-share.reel/nfs-share.js @@ -1,10 +1,5 @@ -var AbstractShareInspector = require("../abstract-share-inspector").AbstractShareInspector, - Model = require("core/model/model").Model; +var AbstractShareInspector = require("../abstract-share-inspector").AbstractShareInspector; -/** - * @class NfsShare - * @extends Component - */ exports.NfsShare = AbstractShareInspector.specialize({ securityOptions: { @@ -19,24 +14,12 @@ exports.NfsShare = AbstractShareInspector.specialize({ templateDidLoad: { value: function() { var self = this; - this._loadUsers().then(function(users) { + this._sectionService.listUsers().then(function(users) { self.users = users; }); - this._loadGroups().then(function(groups) { + this._sectionService.listGroups().then(function(groups) { self.groups = groups; }); } - }, - - _loadUsers: { - value: function() { - return this.application.dataService.fetchData(Model.User); - } - }, - - _loadGroups: { - value: function() { - return this.application.dataService.fetchData(Model.Group); - } } }); diff --git a/ui/sections/storage/inspectors/share.reel/share-owner.reel/_share-owner.css b/ui/sections/storage/inspectors/share.reel/share-owner.reel/_share-owner.css deleted file mode 100644 index 83651f2864..0000000000 --- a/ui/sections/storage/inspectors/share.reel/share-owner.reel/_share-owner.css +++ /dev/null @@ -1,3 +0,0 @@ -.ShareOwner { - -} \ No newline at end of file diff --git a/ui/sections/storage/inspectors/share.reel/share-owner.reel/share-owner.html b/ui/sections/storage/inspectors/share.reel/share-owner.reel/share-owner.html deleted file mode 100644 index 75dfe2ae7d..0000000000 --- a/ui/sections/storage/inspectors/share.reel/share-owner.reel/share-owner.html +++ /dev/null @@ -1,60 +0,0 @@ - - - - - - - - -
-
-
-
- - diff --git a/ui/sections/storage/inspectors/share.reel/share-owner.reel/share-owner.js b/ui/sections/storage/inspectors/share.reel/share-owner.reel/share-owner.js deleted file mode 100644 index 69d3fbac5d..0000000000 --- a/ui/sections/storage/inspectors/share.reel/share-owner.reel/share-owner.js +++ /dev/null @@ -1,98 +0,0 @@ -/** - * @module ui/share-owner.reel - */ -var Component = require("montage/ui/component").Component, - Model = require("core/model/model").Model, - Promise = require("montage/core/promise").Promise; - - -/** - * @class ShareOwner - * @extends Component - */ -exports.ShareOwner = Component.specialize(/** @lends ShareOwner# */ { - - users: { - value: null - }, - - groups: { - value: null - }, - - _object: { - value: null - }, - - object: { - get: function() { - return this._object; - }, - set: function(object) { - if (this._object !== object) { - this._object = object; - - if (object) { - this._ensureDefaultPermissionsAreSet(); - } - } - } - }, - - _fetchUsersPromise: { - value: null - }, - - _fetchGroupsPromise: { - value: null - }, - - templateDidLoad: { - value: function () { - //Preload data before entering in the dom, in order to avoid graphic glitches - this._loadUsersIfNeeded(); - this._loadGroupsIfNeeded(); - } - }, - - enterDocument: { - value: function () { - this._loadUsersIfNeeded(); - this._loadGroupsIfNeeded(); - this._ensureDefaultPermissionsAreSet(); - } - }, - - _ensureDefaultPermissionsAreSet: { - value: function () { - return this.application.shareService.ensureDefaultPermissionsAreSet(this._object); - } - }, - - _loadUsersIfNeeded: { - value: function() { - if ((!this._fetchGroupsPromise && !this.users) || (this.users && this.users.length === 0)) { - var self = this; - - this._fetchUsersPromise = this.application.dataService.fetchData(Model.User).then(function (users) { - self.users = users; - self._fetchUsersPromise = null; - }); - } - } - }, - - _loadGroupsIfNeeded: { - value: function() { - if ((!this._fetchGroupsPromise && !this.groups) || (this.groups && this.groups.length === 0)) { - var self = this; - - this._fetchGroupsPromise = this.application.dataService.fetchData(Model.Group).then(function (groups) { - self.groups = groups; - self._fetchGroupsPromise = null; - }); - } - } - } - -}); diff --git a/ui/sections/storage/inspectors/snapshot.reel/snapshot.js b/ui/sections/storage/inspectors/snapshot.reel/snapshot.js index 4a8bf7c6b9..eb71ec163d 100644 --- a/ui/sections/storage/inspectors/snapshot.reel/snapshot.js +++ b/ui/sections/storage/inspectors/snapshot.reel/snapshot.js @@ -1,5 +1,4 @@ -var AbstractInspector = require("ui/abstract/abstract-inspector").AbstractInspector, - Model = require("core/model/model").Model; +var AbstractInspector = require("ui/abstract/abstract-inspector").AbstractInspector; exports.Snapshot = AbstractInspector.specialize(/** @lends Snapshot# */ { diff --git a/ui/sections/storage/inspectors/vmware-snapshot.reel/vmware-snapshot.js b/ui/sections/storage/inspectors/vmware-snapshot.reel/vmware-snapshot.js index 9c70f69934..c22ab365a3 100644 --- a/ui/sections/storage/inspectors/vmware-snapshot.reel/vmware-snapshot.js +++ b/ui/sections/storage/inspectors/vmware-snapshot.reel/vmware-snapshot.js @@ -1,5 +1,5 @@ var AbstractInspector = require("ui/abstract/abstract-inspector").AbstractInspector, - VmwareDatasetFilterOp = require("core/model/enumerations/vmware-dataset-filter-op").VmwareDatasetFilterOp; + VmwareDatasetFilterOp = require("core/model/enumerations/VmwareDatasetFilterOp").VmwareDatasetFilterOp; exports.VmwareSnapshot = AbstractInspector.specialize({ _inspectorTemplateDidLoad: { @@ -10,7 +10,7 @@ exports.VmwareSnapshot = AbstractInspector.specialize({ self.peerOptions = peers; self._handlePeerChange(); }); - this.filterOptions = VmwareDatasetFilterOp.members.map(function(x) { + this.filterOptions = this.cleanupEnumeration(VmwareDatasetFilterOp).map(function(x) { return { value: x, label: x diff --git a/ui/sections/storage/inspectors/volume-creator.reel/volume-creator.js b/ui/sections/storage/inspectors/volume-creator.reel/volume-creator.js index 7237ebac31..0e69599937 100644 --- a/ui/sections/storage/inspectors/volume-creator.reel/volume-creator.js +++ b/ui/sections/storage/inspectors/volume-creator.reel/volume-creator.js @@ -1,12 +1,9 @@ var AbstractInspector = require("ui/abstract/abstract-inspector").AbstractInspector, EventDispatcherService = require("core/service/event-dispatcher-service").EventDispatcherService, - Model = require("core/model/model").Model, RoutingService = require("core/service/routing-service").RoutingService, CascadingList = require("ui/controls/cascading-list.reel").CascadingList; exports.VolumeCreator = AbstractInspector.specialize({ - - _object: { value: null }, @@ -91,12 +88,8 @@ exports.VolumeCreator = AbstractInspector.specialize({ object = object || this._object; var self = this; this._sectionService.clearReservedDisks(); - return this.application.dataService.getNewInstanceForType(Model.ZfsTopology).then(function(topology) { + return this._sectionService.getNewTopology().then(function(topology) { object.topology = topology; - object.topology.cache = []; - object.topology.data = []; - object.topology.log = []; - object.topology.spare = []; if (self.disks) { self.disks.map(function(x) { diff --git a/ui/sections/storage/inspectors/volume-dataset.reel/volume-dataset-permissions.reel/volume-dataset-permissions.js b/ui/sections/storage/inspectors/volume-dataset.reel/volume-dataset-permissions.reel/volume-dataset-permissions.js index a65c7b8e3c..06a15217a0 100644 --- a/ui/sections/storage/inspectors/volume-dataset.reel/volume-dataset-permissions.reel/volume-dataset-permissions.js +++ b/ui/sections/storage/inspectors/volume-dataset.reel/volume-dataset-permissions.reel/volume-dataset-permissions.js @@ -1,10 +1,6 @@ -/** - * @module ui/volume-dataset-permissions.reel - */ var AbstractInspector = require("ui/abstract/abstract-inspector").AbstractInspector, - Model = require("core/model/model").Model, UnixPermissionsConverter = require("core/converter/unix-permissions-converter").UnixPermissionsConverter, - VolumeDatasetPermissionstype = require('core/model/enumerations/volume-dataset-permissionstype').VolumeDatasetPermissionstype; + VolumeDatasetPermissionstype = require('core/model/enumerations/VolumeDatasetPermissionsType').VolumeDatasetPermissionsType; /** * @class VolumeDatasetPermissions @@ -81,7 +77,7 @@ exports.VolumeDatasetPermissions = AbstractInspector.specialize(/** @lends Volum if ((!this._fetchGroupsPromise && !this.users) || (this.users && this.users.length === 0)) { var self = this; - this._fetchUsersPromise = this.application.dataService.fetchData(Model.User).then(function (users) { + this._fetchUsersPromise = this._sectionService.listUsers().then(function (users) { self.users = users; self._fetchUsersPromise = null; }); @@ -94,7 +90,7 @@ exports.VolumeDatasetPermissions = AbstractInspector.specialize(/** @lends Volum if ((!this._fetchGroupsPromise && !this.groups) || (this.groups && this.groups.length === 0)) { var self = this; - this._fetchGroupsPromise = this.application.dataService.fetchData(Model.Group).then(function (groups) { + this._fetchGroupsPromise = this._sectionService.listGroups().then(function (groups) { self.groups = groups; self._fetchGroupsPromise = null; }); diff --git a/ui/sections/storage/inspectors/volume-dataset.reel/volume-dataset-settings.reel/volume-dataset-settings.js b/ui/sections/storage/inspectors/volume-dataset.reel/volume-dataset-settings.reel/volume-dataset-settings.js index b5dbfdcb6f..ca8acc8103 100644 --- a/ui/sections/storage/inspectors/volume-dataset.reel/volume-dataset-settings.reel/volume-dataset-settings.js +++ b/ui/sections/storage/inspectors/volume-dataset.reel/volume-dataset-settings.reel/volume-dataset-settings.js @@ -1,7 +1,7 @@ var AbstractInspector = require("ui/abstract/abstract-inspector").AbstractInspector, - COMPRESSION_OPTIONS = require("core/model/enumerations/volume-dataset-property-compression-value").VolumeDatasetPropertyCompressionValue, - DEDUP_OPTIONS = require("core/model/enumerations/volume-dataset-property-dedup-value").VolumeDatasetPropertyDedupValue, - VOLBLOCKSIZE_OPTIONS = require("core/model/enumerations/volume-dataset-property-volblocksize-value").VolumeDatasetPropertyVolblocksizeValue, + COMPRESSION_OPTIONS = require("core/model/enumerations/VolumeDatasetPropertycompressionValue").VolumeDatasetPropertycompressionValue, + DEDUP_OPTIONS = require("core/model/enumerations/VolumeDatasetPropertydedupValue").VolumeDatasetPropertydedupValue, + VOLBLOCKSIZE_OPTIONS = require("core/model/enumerations/VolumeDatasetPropertyvolblocksizeValue").VolumeDatasetPropertyvolblocksizeValue, Units = require('core/Units'), _ = require("lodash"); @@ -188,7 +188,7 @@ exports.VolumeDatasetSettings = AbstractInspector.specialize({ _initializePropertyOptions: { value: function(optionEnum, isRoot) { - var keys = Object.keys(optionEnum), key, + var keys = this.cleanupEnumeration(optionEnum), key, options = [], option; for (var i = 0, length = keys.length; i < length; i++) { key = keys[i]; diff --git a/ui/sections/system/inspectors/alert.reel/mail.reel/mail.js b/ui/sections/system/inspectors/alert.reel/mail.reel/mail.js index b60b8d512a..42679b4e58 100644 --- a/ui/sections/system/inspectors/alert.reel/mail.reel/mail.js +++ b/ui/sections/system/inspectors/alert.reel/mail.reel/mail.js @@ -1,20 +1,11 @@ -/** - * @module ui/mail.reel - */ var AbstractInspector = require("ui/abstract/abstract-inspector").AbstractInspector, - Component = require("montage/ui/component").Component, - Model = require("core/model/model").Model, - MailEncryptionType = require("core/model/enumerations/mail-encryption-type").MailEncryptionType; + MailEncryptionType = require("core/model/enumerations/MailEncryptionType").MailEncryptionType; -/** - * @class Mail - * @extends Component - */ exports.Mail = AbstractInspector.specialize(/** @lends Mail# */ { handleSendTestMailAction: { value: function() { - this.application.mailService.sendTestMail({ + this._sectionService.sendEmail({ "from_address": this.alertEmitterEmail.config.from_address, "subject": "test mail", "to": this.alertEmitterEmail.config.to, @@ -40,9 +31,10 @@ exports.Mail = AbstractInspector.specialize(/** @lends Mail# */ { this.isLoading = true; this.encryptionOptions = []; this.pushbullet = {}; - for (var i = 0; i < MailEncryptionType.members.length; i++) { - this.encryptionOptions.push({label: MailEncryptionType.members[i], value: MailEncryptionType[MailEncryptionType.members[i]]}); - }; + var cleanupEnumeration = this.cleanupEnumeration(MailEncryptionType); + for (var i = 0; i < cleanupEnumeration.length; i++) { + this.encryptionOptions.push({label: cleanupEnumeration[i], value: cleanupEnumeration}); + } this._sectionService.getAlertEmitterEmail().then(function(alertEmitterEmail) { self.alertEmitterEmail = alertEmitterEmail; if (!alertEmitterEmail.config.to) { diff --git a/ui/sections/system/inspectors/crypto-certificate.reel/crypto-certificate-creation.reel/crypto-certificate-creation.js b/ui/sections/system/inspectors/crypto-certificate.reel/crypto-certificate-creation.reel/crypto-certificate-creation.js index df7a55a360..640010cb4b 100644 --- a/ui/sections/system/inspectors/crypto-certificate.reel/crypto-certificate-creation.reel/crypto-certificate-creation.js +++ b/ui/sections/system/inspectors/crypto-certificate.reel/crypto-certificate-creation.reel/crypto-certificate-creation.js @@ -2,10 +2,10 @@ var AbstractInspector = require("ui/abstract/abstract-inspector").AbstractInspec EventDispatcherService = require("core/service/event-dispatcher-service").EventDispatcherService, DataObjectChangeService = require("core/service/data-object-change-service").DataObjectChangeService, ModelEventName = require("core/model-event-name").ModelEventName, - CryptoCertificateDigestalgorithm = require("core/model/enumerations/crypto-certificate-digestalgorithm").CryptoCertificateDigestalgorithm, + CryptoCertificateDigestalgorithm = require("core/model/enumerations/CryptoCertificateDigestalgorithm").CryptoCertificateDigestalgorithm, _ = require("lodash"); -exports.CryptoCertificateCreation = AbstractInspector.specialize(/** @lends CryptoCertificateCreation# */ { +exports.CryptoCertificateCreation = AbstractInspector.specialize({ keyLenghtOptions: { value: [ {label: 1024, value: 1024}, @@ -30,9 +30,9 @@ exports.CryptoCertificateCreation = AbstractInspector.specialize(/** @lends Cryp value: function () { var self = this; this._eventDispatcherService = EventDispatcherService.getInstance() - this._dataObjectChangeService = new DataObjectChangeService(); + this._dataObjectChangeService = new DataObjectChangeService(); this.SELF_SIGNED = this._sectionService.SELF_SIGNED; - this.algorithmOptions = CryptoCertificateDigestalgorithm.members.map(function(x) { + this.algorithmOptions = _.map(this.cleanupEnumeration(CryptoCertificateDigestalgorithm), function(x) { return { label: x, value: x @@ -66,8 +66,8 @@ exports.CryptoCertificateCreation = AbstractInspector.specialize(/** @lends Cryp this.object.lifetime = 3000; var self = this; this._sectionService.listCertificates().then(function (certificates) { - self.certificates = certificates; - }) + self.certificates = certificates; + }); this.availableCertsEventListener = this._eventDispatcherService.addEventListener(ModelEventName.CryptoCertificate.listChange, this._handleChange.bind(this)); } } diff --git a/ui/sections/system/inspectors/mail.reel/mail.js b/ui/sections/system/inspectors/mail.reel/mail.js index 1d0ae9d10f..e3b83a3fd5 100644 --- a/ui/sections/system/inspectors/mail.reel/mail.js +++ b/ui/sections/system/inspectors/mail.reel/mail.js @@ -1,5 +1,5 @@ var AbstractInspector = require("ui/abstract/abstract-inspector").AbstractInspector, - MailEncryptionType = require("core/model/enumerations/mail-encryption-type").MailEncryptionType, + MailEncryptionType = require("core/model/enumerations/MailEncryptionType").MailEncryptionType, _ = require("lodash"); exports.Mail = AbstractInspector.specialize(/** @lends Mail# */ { @@ -16,7 +16,7 @@ exports.Mail = AbstractInspector.specialize(/** @lends Mail# */ { if(isFirstTime) { this.isLoading = true; this.encryptionOptions = []; - this.encryptionOptions = MailEncryptionType.members.map(function(x) { + this.encryptionOptions = this.cleanupEnumeration(MailEncryptionType).map(function(x) { return { label: x, value: x diff --git a/ui/sections/system/inspectors/serial-console.reel/serial-console.js b/ui/sections/system/inspectors/serial-console.reel/serial-console.js index 41bff80e16..2158c8f3bf 100644 --- a/ui/sections/system/inspectors/serial-console.reel/serial-console.js +++ b/ui/sections/system/inspectors/serial-console.reel/serial-console.js @@ -1,5 +1,5 @@ var AbstractInspector = require("ui/abstract/abstract-inspector").AbstractInspector, - SystemAdvancedSerialspeed = require("core/model/enumerations/system-advanced-serialspeed").SystemAdvancedSerialspeed, + SystemAdvancedSerialspeed = require("core/model/enumerations/SystemAdvancedSerialspeed").SystemAdvancedSerialspeed, _ = require("lodash"); exports.SerialConsole = AbstractInspector.specialize({ diff --git a/ui/sections/system/inspectors/system-section.reel/system-section.js b/ui/sections/system/inspectors/system-section.reel/system-section.js index 6d76ad9914..e71a13d59e 100644 --- a/ui/sections/system/inspectors/system-section.reel/system-section.js +++ b/ui/sections/system/inspectors/system-section.reel/system-section.js @@ -1,5 +1,4 @@ -var AbstractInspector = require("ui/abstract/abstract-inspector").AbstractInspector, - Model = require("core/model/model").Model; +var AbstractInspector = require("ui/abstract/abstract-inspector").AbstractInspector; /** * @class SystemSection diff --git a/ui/sections/system/inspectors/tunable.reel/tunable.js b/ui/sections/system/inspectors/tunable.reel/tunable.js index 41749454ed..cff304cbb0 100644 --- a/ui/sections/system/inspectors/tunable.reel/tunable.js +++ b/ui/sections/system/inspectors/tunable.reel/tunable.js @@ -1,6 +1,5 @@ var AbstractInspector = require("ui/abstract/abstract-inspector").AbstractInspector, - Model = require("core/model/model").Model, - TunableType = require("core/model/enumerations/tunable-type").TunableType; + TunableType = require("core/model/enumerations/TunableType").TunableType; exports.Tunable = AbstractInspector.specialize({ typeOptions: { @@ -12,7 +11,7 @@ exports.Tunable = AbstractInspector.specialize({ this.typeOptions = TunableType.members; } }, - + enterDocument: { value: function(isFirstTime) { this.super(); diff --git a/ui/sections/vms/inspectors/settings.reel/settings.js b/ui/sections/vms/inspectors/settings.reel/settings.js index f68f4c7281..4ad18053be 100644 --- a/ui/sections/vms/inspectors/settings.reel/settings.js +++ b/ui/sections/vms/inspectors/settings.reel/settings.js @@ -1,5 +1,4 @@ -var AbstractInspector = require("ui/abstract/abstract-inspector").AbstractInspector, - Model = require("core/model/model").Model; +var AbstractInspector = require("ui/abstract/abstract-inspector").AbstractInspector; exports.Settings = AbstractInspector.specialize({ additional_templates: { diff --git a/ui/sections/vms/inspectors/virtual-machine-device-creator.reel/virtual-machine-device-creator.html b/ui/sections/vms/inspectors/virtual-machine-device-creator.reel/virtual-machine-device-creator.html deleted file mode 100644 index 15cf2af41f..0000000000 --- a/ui/sections/vms/inspectors/virtual-machine-device-creator.reel/virtual-machine-device-creator.html +++ /dev/null @@ -1,75 +0,0 @@ - - - - - - - - -
-
-
-
-
-
-
- - diff --git a/ui/sections/vms/inspectors/virtual-machine-device-creator.reel/virtual-machine-device-creator.js b/ui/sections/vms/inspectors/virtual-machine-device-creator.reel/virtual-machine-device-creator.js deleted file mode 100644 index 8dc8065797..0000000000 --- a/ui/sections/vms/inspectors/virtual-machine-device-creator.reel/virtual-machine-device-creator.js +++ /dev/null @@ -1,88 +0,0 @@ -var Component = require("montage/ui/component").Component, - Model = require("core/model/model").Model, - CascadingList = require("ui/controls/cascading-list.reel").CascadingList; - -/** - * @class VirtualMachineDeviceCreator - * @extends Component - */ -exports.VirtualMachineDeviceCreator = Component.specialize({ - - newCdromDevice: { - value: null - }, - - newDiskDevice: { - value: null - }, - - newGraphicsDevice: { - value: null - }, - - newNicDevice: { - value: null - }, - - newUsbDevice: { - value: null - }, - - parentCascadingListItem: { - get: function () { - return CascadingList.findCascadingListItemContextWithComponent(this); - } - }, - - enterDocument: { - value: function(isFirstTime) { - var self = this; - if (isFirstTime) { - this._virtualMachineService = this.application.virtualMachineService; - this.addPathChangeListener("parentCascadingListItem.selectedObject", this, "_handleSelectionChange"); - } - - this._canDrawGate.setField(this.constructor.DRAW_GATE_FIELD, false); - this._populateNewDeviceObjectList().then(function() { - self._canDrawGate.setField(this.constructor.DRAW_GATE_FIELD, true); - }); - if (this.parentCascadingListItem) { - this.parentCascadingListItem.selectedObject = null; - } - } - }, - - _populateNewDeviceObjectList: { - value: function () { - var virtualMachineService = this._virtualMachineService; - - return Promise.all([ - virtualMachineService.createCdromDevice(), - virtualMachineService.createDiskDevice(), - virtualMachineService.createGraphicsDevice(), - virtualMachineService.createNicDevice(), - virtualMachineService.createUsbDevice() - ]).bind(this).then(function (devices) { - this.newCdromDevice = devices[0]; - this.newDiskDevice = devices[1]; - this.newGraphicsDevice = devices[2]; - this.newNicDevice = devices[3]; - this.newUsbDevice = devices[4]; - }); - } - }, - - _handleSelectionChange: { - value: function () { - if (this.parentCascadingListItem && this.parentCascadingListItem.selectedObject) { - if (this._inDocument) { - this.parentCascadingListItem.cascadingList.pop(); - } - } - } - } -}, { - DRAW_GATE_FIELD: { - value: "devicesLoaded" - } -}); diff --git a/ui/services/services.reel/_services.css b/ui/services/services.reel/_services.css deleted file mode 100644 index ed5b12bbad..0000000000 --- a/ui/services/services.reel/_services.css +++ /dev/null @@ -1,3 +0,0 @@ -.Services { - -} \ No newline at end of file diff --git a/ui/services/services.reel/services.html b/ui/services/services.reel/services.html deleted file mode 100644 index 87bb5b12e1..0000000000 --- a/ui/services/services.reel/services.html +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - -
-
-
- - diff --git a/ui/services/services.reel/services.js b/ui/services/services.reel/services.js deleted file mode 100644 index b32c0b3f65..0000000000 --- a/ui/services/services.reel/services.js +++ /dev/null @@ -1,73 +0,0 @@ -var Component = require("montage/ui/component").Component, - Promise = require("montage/core/promise").Promise, - Model = require("core/model/model").Model; - -/** - * @class Services - * @extends Component - */ -exports.Services = Component.specialize({ - services: { - value: null - }, - - categories: { - value: null - }, - - enterDocument: { - value: function(isFirstTime) { - if (isFirstTime) { - var self = this; - self._listServices().then(function (services) { - return Promise.all([ - self._getServicesCategory('Sharing', services, [ - 'smb', - 'nfs', - 'afp', - 'webdav', - 'iscsi' - ]), - self._getServicesCategory('Management', services, [ - 'sshd', - 'smartd', - 'dyndns', - 'snmp', - 'lldp', - 'ups', - 'dc' - ]), - self._getServicesCategory('File Transfer', services, [ - 'ftp', - 'rsyncd', - 'tftpd' - ]) - ]); - }).then(function(categories) { - categories.forEach(function(category) { - category._objectType = 'ServicesCategory'; - }); - categories._objectType = 'ServicesCategory'; - self.categories = categories; - }); - } - } - }, - - _listServices: { - value: function() { - return this.application.dataService.fetchData(Model.Service); - } - }, - - _getServicesCategory: { - value: function(name, services, typesInCategory) { - return this.application.dataService.getNewInstanceForType(Model.ServicesCategory).then(function(category) { - category.name = name; - category.services = services; - category.types = typesInCategory.map(function(x) { return 'service-' + x; }); - return category; - }); - } - } -}); diff --git a/ui/widgets/cpu-temperature.reel/cpu-temperature.js b/ui/widgets/cpu-temperature.reel/cpu-temperature.js index f66b3d878c..decc921e26 100644 --- a/ui/widgets/cpu-temperature.reel/cpu-temperature.js +++ b/ui/widgets/cpu-temperature.reel/cpu-temperature.js @@ -1,14 +1,12 @@ -/** - * @module ui/cpu-temperature.reel - */ var Component = require("montage/ui/component").Component, - Model = require("core/model/model").Model; + SystemService = require('core/service/system-service').SystemService; -/** - * @class CpuTemperature - * @extends Component - */ exports.CpuTemperature = Component.specialize(/** @lends CpuTemperature# */ { + templateDidLoad: { + value: function() { + this.systemService = SystemService.getInstance(); + } + }, _cpus: { value: null @@ -19,7 +17,7 @@ exports.CpuTemperature = Component.specialize(/** @lends CpuTemperature# */ { var self = this; if (isFirstTime) { - return this.application.systemInfoService.getHardware().then(function(hardware) { + return this.systemService.getHardware().then(function(hardware) { var cpus = []; for (var i = 0; i < hardware.cpu_cores; i++) { cpus.push('cputemp-' + i); diff --git a/ui/widgets/disk-temperature.reel/disk-temperature.js b/ui/widgets/disk-temperature.reel/disk-temperature.js index f8a42c6e48..a210d9fbb3 100644 --- a/ui/widgets/disk-temperature.reel/disk-temperature.js +++ b/ui/widgets/disk-temperature.reel/disk-temperature.js @@ -1,24 +1,20 @@ -/** - * @module ui/disk-temperature.reel - */ var Component = require("montage/ui/component").Component, - Model = require("core/model/model").Model; + DiskRepository = require('core/repository/disk-repository').DiskRepository; -/** - * @class DiskTemperature - * @extends Component - */ -exports.DiskTemperature = Component.specialize(/** @lends DiskTemperature# */ { +exports.DiskTemperature = Component.specialize({ + templateDidLoad: { + value: function() { + this.diskRepository = DiskRepository.getInstance(); + } + }, enterDocument: { - value: function (isFirstTime) { + value: function () { var self = this; - if (!this.disks) { - this.application.dataService.fetchData(Model.Disk).then(function(disks) { - self.disks = disks; - }); - } + this.diskRepository.listDisks().then(function(disks) { + self.disks = disks; + }); } } }); diff --git a/ui/widgets/disk-traffic.reel/disk-traffic.js b/ui/widgets/disk-traffic.reel/disk-traffic.js index 247da99a54..3800e97d25 100644 --- a/ui/widgets/disk-traffic.reel/disk-traffic.js +++ b/ui/widgets/disk-traffic.reel/disk-traffic.js @@ -1,25 +1,22 @@ -/** - * @module ui/disk-traffic.reel - */ var Component = require("montage/ui/component").Component, - Model = require("core/model/model").Model; + DiskRepository = require('core/repository/disk-repository').DiskRepository; -/** - * @class DiskTraffic - * @extends Component - */ exports.DiskTraffic = Component.specialize(/** @lends DiskTraffic# */ { + templateDidLoad: { + value: function() { + this.diskRepository = DiskRepository.getInstance(); + } + }, + enterDocument: { value: function() { - if (!this.disks) { - var self = this; - this.application.dataService.fetchData(Model.Disk).then(function(disks) { - self.disks = disks.filter(function(disk) { - return !!disk.online; - }); - self._refreshChart(); + var self = this; + this.diskRepository.listDisks().then(function(disks) { + self.disks = disks.filter(function(disk) { + return !!disk.online; }); - } + self._refreshChart(); + }); } }, diff --git a/ui/widgets/network-traffic.reel/network-traffic.js b/ui/widgets/network-traffic.reel/network-traffic.js index d468db0a35..d1d0bfa46a 100644 --- a/ui/widgets/network-traffic.reel/network-traffic.js +++ b/ui/widgets/network-traffic.reel/network-traffic.js @@ -1,11 +1,12 @@ var Component = require("montage/ui/component").Component, - Model = require("core/model/model").Model; + NetworkRepository = require('core/repository/network-repository').NetworkRepository; -/** - * @class NetworkTraffic - * @extends Component - */ exports.NetworkTraffic = Component.specialize({ + templateDidLoad: { + value: function() { + this.networkRepository = NetworkRepository.getInstance(); + } + }, _card: { value: null @@ -25,13 +26,10 @@ exports.NetworkTraffic = Component.specialize({ enterDocument: { value: function () { - if (!this.interfaces) { - var self = this; - - this.application.dataService.fetchData(Model.NetworkInterface).then(function (interfaces) { - self.interfaces = interfaces; - }); - } + var self = this; + this.networkRepository.listNetworkInterfaces().then(function (interfaces) { + self.interfaces = interfaces; + }); } },