open-nomad/ui/app/models/network.js
2019-09-04 09:39:56 -05:00

13 lines
336 B
JavaScript

import attr from 'ember-data/attr';
import Fragment from 'ember-data-model-fragments/fragment';
import { array } from 'ember-data-model-fragments/attributes';
export default Fragment.extend({
device: attr('string'),
cidr: attr('string'),
ip: attr('string'),
mode: attr('string'),
mbits: attr('number'),
ports: array(),
});