Skip to content

Commit

Permalink
migrate to short_description in admin; add Open vSwitch alternative (…
Browse files Browse the repository at this point in the history
…better) setup
  • Loading branch information
michelkaeser committed Aug 13, 2015
1 parent cb3e751 commit ade581d
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 3 deletions.
38 changes: 37 additions & 1 deletion docs/install/networking/openvswitch.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,40 @@ We saw this quite often. The solution is to restart the Open vSwitch services on
$ service openvswitch-ipsec restart && service openvswitch-switch restart
```

> Other services connecting to remote nodes via the internal network might need a restart as well, as soon as the connections have been established.
> Other services connecting to remote nodes via the internal network might need a restart as well, as soon as the connections have been established.
<!--### 2. Connections between the nodes are really slow
The commands below may result in a better OVS configuration. We had no success with that however.
```bash
# create OVS bridge
ovs-vsctl add-br ovsbr0
# add physical eth0
ovs-vsctl add-port ovsbr0 eth0
# assign eth0 address to the bridge
ifconfig eth0 0
ifconfig ovsbr0 172.16.231.138 netmask 255.255.255.0
ifconfig ovsbr0 mtu 1420 # needed for GRE + IPSec
# set new default route
route del default
route add default ovsbr0
# add ipynbsrv port
ovs-vsctl add-port ovsbr0 ipynbsrv0 -- set interface ipynbsrv0 type=internal
ifconfig ipynbsrv0 192.168.0.2 netmask 255.255.0.0
# establish GRE connections
ovs-vsctl add-port ovsbr0 gre_master_slave1 -- set interface gre_master_slave1 type=ipsec_gre options:remote_ip=172.16.231.139 options:psk=ipynbsrv
# in /etc/rc.local
ifconfig eth0 0
ifconfig ovsbr0 172.16.231.138 netmask 255.255.255.0
ifconfig ovsbr0 mtu 1420
route del default
route add default ovsbr0
ifconfig ipynbsrv0 192.168.0.1 netmask 255.255.0.0
```-->
4 changes: 2 additions & 2 deletions ipynbsrv/admin/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ class ContainerImageAdmin(admin.ModelAdmin):
Admin model for the `ContainerImage` model.
"""

list_display = ['get_friendly_name', 'description', 'is_internal', 'is_public']
list_display = ['get_friendly_name', 'short_description', 'is_internal', 'is_public']
list_filter = [
'is_internal',
'is_public',
Expand All @@ -299,7 +299,7 @@ class ContainerImageAdmin(admin.ModelAdmin):

fieldsets = [
('General Properties', {
'fields': ['name', 'description', 'owner']
'fields': ['name', 'short_description', 'description', 'owner']
}),
('Backend Properties', {
'classes': ['collapse'],
Expand Down

0 comments on commit ade581d

Please sign in to comment.