Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / ui / new_ui / ui / app / models / port.js @ 75e13060

History | View | Annotate | Download (391 Bytes)

1
App.Port = DS.Model.extend({
2

    
3
    device_id  : DS.belongsTo('vm', {async:true}),
4
    network_id : DS.belongsTo('network', {async:true}),
5

    
6
});
7

    
8

    
9
App.Port.FIXTURES = [
10
    {
11
        id: 1,
12
        device_id: 1,
13
        network_id: 1,
14
    }, 
15
    {
16
        id: 2,
17
        device_id: 1,
18
        network_id: 1,
19
    }, 
20
    {
21
        id: 3,
22
        device_id: 1,
23
        network_id: 1,
24
    }, 
25
];