I need some ideas here - I'm stumped!

Well folks the little one needs her own bed now (almost a year old). My trailer has an upper bunk/cabinet I want to use for her to sleep in but I need to figure out a way to keep her from falling out and landing on my head while I sleep!

So far the only idea I have is to use a heavy cargo net (1"-2" webbing) attached to the ceiling and the cabinet with eye screws and carabiners so I could hook/unhook it when I need to.
Am I crazy here?
Here are a couple pictures to show what I'm working with. I want to keep the cabinet functional if possible.

So far the only idea I have is to use a heavy cargo net (1"-2" webbing) attached to the ceiling and the cabinet with eye screws and carabiners so I could hook/unhook it when I need to.
Am I crazy here?
Here are a couple pictures to show what I'm working with. I want to keep the cabinet functional if possible.