fix set command for object refs

...and add the peer field to router/bridge ports

Signed-off-by: Guillermo Ontanon <guillermo@midokura.jp>