open-nomad/ui/app/models/network.js

13 lines
336 B
JavaScript
Raw Normal View History

2017-09-19 14:47:10 +00:00
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'),
2017-09-19 14:47:10 +00:00
mbits: attr('number'),
ports: array(),
2017-09-19 14:47:10 +00:00
});